type go.uber.org/zap.AtomicLevel
16 uses
go.uber.org/zap (current package)
config.go#L62: Level AtomicLevel `json:"level" yaml:"level"`
config.go#L250: if cfg.Level == (AtomicLevel{}) {
http_handler.go#L71: func (lvl AtomicLevel) ServeHTTP(w http.ResponseWriter, r *http.Request) {
http_handler.go#L78: func (lvl AtomicLevel) serveHTTP(w http.ResponseWriter, r *http.Request) error {
level.go#L71: type AtomicLevel struct {
level.go#L75: var _ internal.LeveledEnabler = AtomicLevel{}
level.go#L79: func NewAtomicLevel() AtomicLevel {
level.go#L80: lvl := AtomicLevel{l: new(atomic.Int32)}
level.go#L87: func NewAtomicLevelAt(l zapcore.Level) AtomicLevel {
level.go#L99: func ParseAtomicLevel(text string) (AtomicLevel, error) {
level.go#L112: func (lvl AtomicLevel) Enabled(l zapcore.Level) bool {
level.go#L117: func (lvl AtomicLevel) Level() zapcore.Level {
level.go#L122: func (lvl AtomicLevel) SetLevel(l zapcore.Level) {
level.go#L127: func (lvl AtomicLevel) String() string {
level.go#L134: func (lvl *AtomicLevel) UnmarshalText(text []byte) error {
level.go#L151: func (lvl AtomicLevel) MarshalText() (text []byte, err error) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |