proctologger 1.0.7 copy "proctologger: ^1.0.7" to clipboard
proctologger: ^1.0.7 copied to clipboard

retractedoutdated

Easy to use logger for dart and flutter apps which prints beautiful logs.

example/main.dart

import 'package:proctologger/logic/states/state_channel.dart';
import 'package:proctologger/proctologger.dart';

var logger = Logger();

void main() {
  demo();
}

void demo() {
  logger.info(
    "This is an info message",
  );
  logger.info(
    "Here is a very long information message to demonstrate multi-line handling and tags",
  );
  logger.warning(
    "This is a warning message",
  );
  logger.action(
    "This is an action message",
  );
  logger.database(
    "This is a database message",
  );
  logger.error(
    "This is an error message",
  );
  logger.debug("This is a variable to debug");
  logger.info(
    "This is an info message",
    channel: LoggerChannelState.app,
    tags: ["tag", "Another tag"]
  );
  logger.debug(
    logger.parameters,
    channel: LoggerChannelState.app,
    message: "Debugging variable @parameters",
  );
}
3
likes
0
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

Easy to use logger for dart and flutter apps which prints beautiful logs.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl

More

Packages that depend on proctologger