log_pro 0.0.4 copy "log_pro: ^0.0.4" to clipboard
log_pro: ^0.0.4 copied to clipboard

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

example/main.dart

import 'package:log_pro/log_pro.dart';

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

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

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

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

Publisher

unverified uploader

Weekly Downloads

log_pro 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 log_pro