Commit 71dba0e 1 parent 6150719 commit 71dba0e Copy full SHA for 71dba0e
File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,16 @@ import (
9
9
10
10
//LogConfig is a configuration for logger
11
11
type LogConfig struct {
12
- Title string `yaml:"title" json:"title"`
13
- Type string `yaml:"type" json:"type"`
14
- NetworkType string `yaml:"network type" json:"network type"`
15
- Host string `yaml:"host" json:"host"`
16
- Severity string `yaml:"severity" json:"severity"`
17
- Facility string `yaml:"facility" json:"facility"`
18
- Port string `yaml:"port" json:"port"`
19
- FilePath string `yaml:"file path" json:"file path"`
20
- FileName string `yaml:"file name" json:"file name"`
21
- DebugMode bool `yaml:"debug mode" json:"debug mode"`
12
+ Title string `yaml:"title" json:"title" toml:"title" `
13
+ Type string `yaml:"type" json:"type" toml:"type" `
14
+ NetworkType string `yaml:"network type" json:"network type" toml:"network_type" `
15
+ Host string `yaml:"host" json:"host" toml:"host" `
16
+ Severity string `yaml:"severity" json:"severity" toml:"severity" `
17
+ Facility string `yaml:"facility" json:"facility" toml:"facility" `
18
+ Port string `yaml:"port" json:"port" toml:"port" `
19
+ FilePath string `yaml:"file path" json:"file path" toml:"file_path" `
20
+ FileName string `yaml:"file name" json:"file name" toml:"file_name" `
21
+ DebugMode bool `yaml:"debug mode" json:"debug mode" toml:"debug_mode" `
22
22
}
23
23
24
24
type ctxlog struct {}
You can’t perform that action at this time.
0 commit comments