loggery 0.0.1
loggery: ^0.0.1 copied to clipboard
log it is a custom logging package for Flutter that simplifies tracking and debugging app behavior. It supports various log levels, such as debug, info, warning, and error, allowing developers to cate [...]
Loggery #
Logger is a custom logging package for Flutter that simplifies tracking and debugging app behavior. It supports various log levels, such as debug, info, warning, and error, allowing developers to categorize and filter logs effectively.
Resources: #
Getting Started #
Just create an instance of Logger and start logging:
Loggery logger = Loggery();
logger.error("error");
Output #
Default styles
Simple styles
Custom styles ex (line length - border shape)
Custom message styles (Default - Divided into equal lines - Put a border at the beginning of each line)

Use Print instead of log

Documentation #
Log level #
You can log with different levels:
Loggery loggery = Loggery();
loggery.info("info");
loggery.error("error");
loggery.normal("normal");
loggery.warning("warning");
loggery.magenta("magenta");
loggery.logit("logit");
loggery.grey("grey");
loggery.green("green");
loggery.risk("risk");
loggery.whiteBlack("whiteBlack");
loggery.normal("normal");
loggery.prt("go", logColor: LogColors.red);
Customize
Loggery printIt = Loggery(
isLoggingEnabled: true,
usePrint: true,
addEnterAtFirst: true,
lineLength: 100,
);
Options #
When you are finished with the debugging stage, you can stop Loggery without delete or commit it.
Loggery printIt = Loggery(
isLoggingEnabled: false,
);