Use strings
This commit is contained in:
parent
9864972f8b
commit
0ca7bb0cf3
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ var once sync.Once
|
|||
|
||||
var log zerolog.Logger
|
||||
|
||||
func Get(c string, l int) zerolog.Logger {
|
||||
func Get(c string, l string) zerolog.Logger {
|
||||
once.Do(func() {
|
||||
zerolog.TimeFieldFormat = time.RFC3339Nano
|
||||
|
||||
|
|
Loading…
Reference in a new issue