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

discontinuedreplaced by: log_pro

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 #

pub package Last Commits Pull Requests Code size License

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,
);
1
likes
0
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

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 categorize and filter logs effectively.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on loggery