11 lines
325 B
Go
11 lines
325 B
Go
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
|
|
}
|