colored_log 1.0.0 copy "colored_log: ^1.0.0" to clipboard
colored_log: ^1.0.0 copied to clipboard

An awesome logging package for dart. Makes debugging and development more interesting

example/colored_log_example.dart

import 'package:colored_log/colored_log.dart';

void main() {
  // Red-colored text
  // name is optional
  ColoredLog.red(
    "This is a red log message.",
    name: 'Red Log',
  );

  // Custom background color
  ColoredLog.black(
    "This log has a green background.",
    background: LogColor.green,
  );

  // Bold yellow text
  ColoredLog.yellow(
    "This log is bold and yellow.",
    style: LogStyle.bold,
  );

  // Italicized
  ColoredLog(
    "This log is italicized and underlined.",
    style: LogStyle.italicized,
  );

  // Blinking text
  ColoredLog.red(
    "This is a blinking log!",
    style: LogStyle.blinkSlow,
  );
}
3
likes
0
points
44
downloads

Publisher

verified publisherwaygosquad.com

Weekly Downloads

An awesome logging package for dart. Makes debugging and development more interesting

Repository (GitHub)
View/report issues

Topics

#cli #logging #debug

License

unknown (license)

More

Packages that depend on colored_log