logger top-level property Null safety

Logger logger
read / write

Implementation

var logger = Logger(
  level: Level.nothing,
  printer: PrefixPrinter(
    PrettyPrinter(
      methodCount: 0, // number of method calls to be displayed
      errorMethodCount: 8, // number of method calls if stacktrace is provided
      lineLength: 100, // width of the output
      colors: true, // Colorful log messages
      printEmojis: true, // Print an emoji for each log message
      printTime: true, // Should each log print contain a timestamp
    ),
    info: '[Sendbird][I]',
    error: '[Sendbird][E]',
    warning: '[Sendbird][W]',
  ),
);