snapshot of https://github.com/traggo/server.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
build / build (push) Failing after 3s
Some checks failed
build / build (push) Failing after 3s
This commit is contained in:
10
config/error.go
Normal file
10
config/error.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package config
|
||||
|
||||
import "github.com/rs/zerolog"
|
||||
|
||||
// FutureLog is an intermediate type for log messages. It is used before the config was loaded because without loaded
|
||||
// config we do not know the log level, so we log these messages once the config was initialized.
|
||||
type FutureLog struct {
|
||||
Level zerolog.Level
|
||||
Msg string
|
||||
}
|
||||
Reference in New Issue
Block a user