color_logger 1.0.2
color_logger: ^1.0.2 copied to clipboard

Simple way to output timestamped logs messages with color in stdout.

Color Logger #

Alt text

Usage #

A simple usage example:

import 'package:color_logger/color_logger.dart';

void main() {
  var console = ColorLogger();
  console.log('This is a none');
  console.log('This is a success', status: LogStatus.success);
  console.log('This is a error',  status: LogStatus.error);
  console.log('This is a warning',  status: LogStatus.warning);
  console.log('This is a info',  status: LogStatus.info);
  console.log('This is a debug',  status: LogStatus.debug);
}
5
likes
130
pub points
50%
popularity

Publisher

sensmon.pet

Simple way to output timestamped logs messages with color in stdout.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

ansicolor

More

Packages that depend on color_logger