log_pro 0.0.4 log_pro: ^0.0.4 copied to clipboard
log_pro is a custom logging package for Flutter that simplifies tracking and debugging app behavior.
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.");
}