LoggerOptions constructor

const LoggerOptions({
  1. LogStyle trace = const LogStyle(),
  2. LogStyle info = const LogStyle(textColor: textColorGreen),
  3. LogStyle warn = const LogStyle(textColor: textColorMagenta),
  4. LogStyle error = const LogStyle(textColor: textColorRed, attr: Attribute.reverse),
  5. LogStyle debug = const LogStyle(),
  6. LogStyle module = const LogStyle(textColor: textColorCyan),
  7. LogStyle service = const LogStyle(textColor: textColorCyan),
  8. LogStyle date = const LogStyle(attr: Attribute.dim),
  9. 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,
});