//
pkg.gl
Category
github.com/thinkgos/x
lib
logger
package
0.4.1
Repository:
https://github.com/thinkgos/x.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
0
Files
76 SLOC
#
Functions
New
New new std logger with option.
NewDiscard
NewDiscard a discard logger on which always succeed without doing anything.
WithEnable
WithEnable enable log or not.
#
Structs
Discard
Discard is an logger on which all Write calls succeed without doing anything.
Std
Std 标准输出, os.Stdout, os.Stderr, os.Stdin, ioutil.Discard.
#
Interfaces
Logger
Logger log interface.
#
Type aliases
Option
Option option.