日志初始配置添加自定义标签
This commit is contained in:
@@ -38,7 +38,11 @@ abstract class Logger {
|
||||
class LoggerConfig {
|
||||
String host;
|
||||
String serviceName;
|
||||
Map<String, String>? lables;
|
||||
bool print;
|
||||
LoggerConfig(
|
||||
{required this.host, required this.serviceName, this.print = false});
|
||||
{required this.host,
|
||||
required this.serviceName,
|
||||
this.print = false,
|
||||
this.lables});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user