sprint 1.0.0 sprint: ^1.0.0 copied to clipboard
Fully-documented, simple and complete message-printing library
import 'package:sprint/sprint.dart';
class Server {
final Sprint log = Sprint('Server');
// ( Just some very important server variables here :) )
Future init() async {
doWork();
try {
doErrorProneAndCrucialWork();
} catch (exception) {
log.error('Failed to initialise server');
return;
}
log.info('Initialised server');
}
}
void doWork() {}
void doErrorProneAndCrucialWork() {}
void main() {}