2
0
mirror of https://gitee.ltd/lxh/logger.git synced 2025-10-23 14:56:16 +08:00

🆕新增一个配置项,调控堆栈打印级别

This commit is contained in:
comma
2025-10-14 16:32:03 +08:00
parent b82db96722
commit 28c0c31ff9
5 changed files with 61 additions and 31 deletions

View File

@@ -8,8 +8,9 @@ type Config struct {
}
type Logger struct {
Encoder string `yaml:"encoder"`
Level string `yaml:"level"`
Encoder string `yaml:"encoder"`
Level string `yaml:"level"`
StackLevel string `yaml:"stack_level"`
}
type File struct {