HybridPrinter constructor
HybridPrinter(
- LogPrinter realPrinter, {
- LogPrinter? debug,
- LogPrinter? verbose,
- LogPrinter? wtf,
- LogPrinter? info,
- LogPrinter? warning,
- LogPrinter? error,
Implementation
HybridPrinter(
LogPrinter realPrinter, {
LogPrinter? debug,
LogPrinter? verbose,
LogPrinter? wtf,
LogPrinter? info,
LogPrinter? warning,
LogPrinter? error,
}) : _printerMap = {
Level.debug: debug ?? realPrinter,
Level.verbose: verbose ?? realPrinter,
Level.wtf: wtf ?? realPrinter,
Level.info: info ?? realPrinter,
Level.warning: warning ?? realPrinter,
Level.error: error ?? realPrinter,
};