logd 0.1.2 copy "logd: ^0.1.2" to clipboard
logd: ^0.1.2 copied to clipboard

A flexible Dart logging library for Flutter and standalone apps, featuring hierarchical loggers, customizable handlers, formatters, sinks, filters, stack trace integration, and timezone-aware timestam [...]

example/lib/main.dart

import 'package:logger/logd.dart';

void main() {
  Logger.global.traceBuffer
    ?..writeln('clicked on button')
    ..sync();

  Logger.global.debugBuffer
    ?..writeln('User logged in')
    ..writeln('ID: 12345')
    ..writeln('From IP: 192.168.1.1')
    ..sync();

  Logger.global.errorBuffer
    ?..writeln('Failed to connect to API')
    ..writeln('Timeout after 5s')
    ..writeln('Retry count: 3')
    ..sync();
}
3
likes
0
points
240
downloads

Publisher

unverified uploader

Weekly Downloads

A flexible Dart logging library for Flutter and standalone apps, featuring hierarchical loggers, customizable handlers, formatters, sinks, filters, stack trace integration, and timezone-aware timestamps for efficient debugging and monitoring.

Homepage
Repository (GitHub)
View/report issues

Topics

#logging #dart-logger #flutter-logging #hierarchical-logging #debug-tools

License

unknown (license)

Dependencies

flutter

More

Packages that depend on logd