sprint 1.0.0 sprint: ^1.0.0 copied to clipboard
Fully-documented, simple and complete message-printing library
sprint - The simplest way to print messages in your Dart application
Usage #
If you wish to be verbose, you may use the long function names:
final log = Sprint('SampleModule');
log.debug('Debug message');
log.success('Success message');
log.info('Info message');
log.warning('Warning message');
log.error('Error message');
But if you prefer to be brief, use short call names instead:
final log = Sprint('SampleModule');
log.d('Debug message');
log.s('Success message');
log.i('Info message');
log.w('Warning message');
log.e('Error message');
Most of the time, however, you will just need to use the Sprint instance name:
final log = Sprint('SampleModule');
log('Info message');