sprint 1.0.1 copy "sprint: ^1.0.1" to clipboard
sprint: ^1.0.1 copied to clipboard

outdated

Fully-documented, simple and complete message-printing library

example/example.dart

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() {}
4
likes
0
pub points
53%
popularity

Publisher

verified publishervxern.dev

Fully-documented, simple and complete message-printing library

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ansicolor

More

Packages that depend on sprint