loggery 1.0.1 copy "loggery: ^1.0.1" to clipboard
loggery: ^1.0.1 copied to clipboard

discontinuedreplaced by: log_pro

Logger is a custom logging package for Flutter that simplifies tracking and debugging app behavior.

example/main.dart

import 'package:loggery/loggery.dart';

void main() {
  // Create a Loggery instance
  final loggery = Loggery();
  //stop log
  // final loggery = Loggery(isLoggingEnabled: false);

  //use print
  final ptr = Loggery(title: "Loggery", usePrint: true, isLoggingEnabled: true);

  // Example log messages
  loggery.info("This is an informational message.");
  loggery.warning("This is a warning message.");
  loggery.error("An error occurred.");
  loggery.risk("This is a high-risk message.");
  loggery.normal("Normal logging message here.");
  loggery.magenta("Magenta logging message here.");
  loggery.logit("Logit logging message here.");
  loggery.grey("Grey logging message here.");
  loggery.green("Green logging message here.");
  loggery.whiteBlack("White and black logging message here.");

  // Example print messages
  ptr.info("This is an informational message.");
}
1
likes
160
points
38
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

Logger is a custom logging package for Flutter that simplifies tracking and debugging app behavior.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on loggery