talker_logger 0.3.2 copy "talker_logger: ^0.3.2" to clipboard
talker_logger: ^0.3.2 copied to clipboard

outdated

Logger core package for talker (advanced error handler and logger package)

example/talker_logger_example.dart

import 'package:talker_logger/talker_logger.dart';

void main() {
  final logger = TalkerLogger(
    settings: const TalkerLoggerSettings(
      level: LogLevel.info,
    ),
  );

  logger.log('Test debug');
  logger.log('Test info', level: LogLevel.info);
  logger.log('Test critical', level: LogLevel.critical);
  logger.log('Test error', level: LogLevel.error);
  logger.log('Test fine', level: LogLevel.fine);
  logger.log('Test good', level: LogLevel.good);
  logger.log('Test warning', level: LogLevel.warning);
  logger.log('Test verbose', level: LogLevel.verbose);
  logger.log('Test custom pen log', pen: AnsiPen()..xterm(49));
}
46
likes
0
pub points
90%
popularity

Publisher

verified publisherfrezycode.com

Logger core package for talker (advanced error handler and logger package)

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ansicolor

More

Packages that depend on talker_logger