LogSettings constructor
const
LogSettings({})
创建日志配置
filters 过滤器列表
useHistory 是否保存历史,默认为 true
maxHistoryItems 最大历史条数,默认为 1000
useConsoleLogs 是否输出控制台,默认为 true
enableColors 是否启用彩色日志,默认为 false
Implementation
const LogSettings({
this.filters = const [],
this.useHistory = true,
this.maxHistoryItems = 1000,
this.useConsoleLogs = true,
this.enableColors = false,
});