Documentation ¶
Index ¶
Constants ¶
View Source
const ( OPTION_LEVEL = "level" OPTION_FILE = "file" )
Variables ¶
View Source
var (
WithLevel, GetLevel = option.New[string](OPTION_LEVEL)
WithFile, GetFile = option.New[string](OPTION_FILE)
)
Functions ¶
func DefaultNewLoggerOptions ¶
Types ¶
type NewLoggerOption ¶
type NewLoggerOption = option.ApplyOption
Click to show internal directories.
Click to hide internal directories.