LogConfig constructor
const
LogConfig({})
Creates a new log configuration.
Implementation
const LogConfig({
this.enabled = false,
this.globalLevel = LogLevel.info,
this.enableClientLogs = true,
this.enableAgentLogs = true,
this.enableToolLogs = true,
this.enableConsoleOutput = true,
this.enableFileOutput = false,
this.logFilePath,
}) : assert(!enableFileOutput || (enableFileOutput && logFilePath != null),
'logFilePath must be provided when enableFileOutput is true');