Logger.stderr constructor

const Logger.stderr({
  1. bool color,
})

Creates a logger that prints warnings to standard error, with terminal colors if color is true (default false).

Implementation

const factory Logger.stderr({bool color}) = StderrLogger;