日志初始配置添加自定义标签

This commit is contained in:
2025-09-09 15:32:40 +08:00
parent 2d46fcaec3
commit 8076acc373
4 changed files with 25 additions and 13 deletions

View File

@@ -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});
}