LoggingOptions constructor
const
LoggingOptions({})
Constructs an instance of LoggingOptions.
showTime: Whether to include the timestamp in the log message. Defaults totrue.showEmoji: Whether to include an emoji representing the log level. Defaults totrue.logInRelease: Whether logging is enabled in release builds. Defaults tofalse.level: The minimum log level that will be displayed. Defaults to LogLevel.info.chunkSize: The maximum size of a log message chunk. Defaults to 1024.coloredOutput: Whether to use colored text for the console output. Defaults tofalse.formatter: An optional custom formatter for log messages. If not provided, a default formatter is used.
Implementation
const LoggingOptions({
this.level = LogLevel.info,
this.showTime = true,
this.showEmoji = true,
this.logInRelease = false,
this.useDebugPrint = false,
this.formatter,
});