//
pkg.gl
Category
github.com/things-go/aliyun-iot
logger
package
0.0.3-rc0
Repository:
https://github.com/things-go/aliyun-iot.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
2
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.