LoggerOptions constructor
const
LoggerOptions({
- LogStyle trace = const LogStyle(),
- LogStyle info = const LogStyle(textColor: textColorGreen),
- LogStyle warn = const LogStyle(textColor: textColorMagenta),
- LogStyle error = const LogStyle(textColor: textColorRed, attr: Attribute.reverse),
- LogStyle debug = const LogStyle(),
- LogStyle module = const LogStyle(textColor: textColorCyan),
- LogStyle service = const LogStyle(textColor: textColorCyan),
- LogStyle date = const LogStyle(attr: Attribute.dim),
- bool enableAnsi = true,
Implementation
const LoggerOptions({
this.trace = const LogStyle(),
this.info = const LogStyle(textColor: textColorGreen),
this.warn = const LogStyle(textColor: textColorMagenta),
this.error =
const LogStyle(textColor: textColorRed, attr: Attribute.reverse),
this.debug = const LogStyle(),
this.module = const LogStyle(textColor: textColorCyan),
this.service = const LogStyle(textColor: textColorCyan),
this.date = const LogStyle(attr: Attribute.dim),
this.enableAnsi = true,
});