LogConfig constructor
LogConfig({})
Creates a new LogConfig with custom display options.
All options are enabled by default.
Configuration class that controls the appearance and content of log output.
Used by various log printers to determine which pieces of information should be included and how they should be formatted.
Implementation
LogConfig({
this.showTimestamp = true,
this.showTimeOnly = true,
this.showDateOnly = true,
this.showLevel = true,
this.showTag = true,
this.showThread = true,
this.useHumanReadableTime = true,
this.showEmoji = true,
this.showLocation = true,
List<LogStep>? steps,
}) : steps = steps ?? LogStep.defaultSteps;