color_logger 1.0.2 copy "color_logger: ^1.0.2" to clipboard
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);
}
7
likes
150
points
120
downloads

Publisher

verified publishersensmon.pet

Weekly Downloads

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