entao_log 2.0.2 copy "entao_log: ^2.0.2" to clipboard
entao_log: ^2.0.2 copied to clipboard

Dart log.

dart log #

Example #


void main() async {
  xlog.pipe(ConsolePrinter());
  // xlog.pipe(FilePrinter(File('/Users/xxx/Downloads/a.txt'), delay: 1000).on(level: LogLevel.info));
  // xlog.pipe(DirPrinter(dir: Directory("/Users/xxx/Downloads/xlog"), delay: 1000).on(level: LogLevel.error));
  logd("Hello", "Tom", 1, 2, 3);
  loge("Hello", "Tom", 1, 2, 3, name: "tom", $tag:'Animal');

  var lg = TagLog("yet");
  lg.e("tag log hello");
  lg.i("tag log info", 12, 3);
}

0
likes
120
points
288
downloads

Publisher

unverified uploader

Weekly Downloads

Dart log.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

entao_lint, path, println

More

Packages that depend on entao_log