Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLoggerNotExist = xerrors.New("logger does not exist")
Functions ¶
Types ¶
type Option ¶
type Option func(*config)
func OptLevelFromEnv ¶
func OptLevelFromEnv() Option
func OptSetLevel ¶
func OptSetLogFile ¶
func OptWithoutCall ¶ added in v1.1.2
func OptWithoutCall() Option
func OptWithoutColor ¶ added in v1.1.2
func OptWithoutColor() Option
Click to show internal directories.
Click to hide internal directories.