type go.uber.org/zap/zapcore.Level
62 uses
go.uber.org/zap/zapcore (current package)
core.go#L51: func (nopCore) Enabled(Level) bool { return false }
core.go#L77: func (c *ioCore) Level() Level {
encoder.go#L40: type LevelEncoder func(Level, PrimitiveArrayEncoder)
encoder.go#L44: func LowercaseLevelEncoder(l Level, enc PrimitiveArrayEncoder) {
encoder.go#L50: func LowercaseColorLevelEncoder(l Level, enc PrimitiveArrayEncoder) {
encoder.go#L60: func CapitalLevelEncoder(l Level, enc PrimitiveArrayEncoder) {
encoder.go#L66: func CapitalColorLevelEncoder(l Level, enc PrimitiveArrayEncoder) {
entry.go#L144: Level Level
hook.go#L48: func (h *hooked) Level() Level {
increase_level.go#L49: func (c *levelFilterCore) Enabled(lvl Level) bool {
increase_level.go#L53: func (c *levelFilterCore) Level() Level {
level.go#L32: type Level int8
level.go#L37: DebugLevel Level = iota - 1
level.go#L69: func ParseLevel(text string) (Level, error) {
level.go#L70: var level Level
level.go#L78: Level() Level
level.go#L98: func LevelOf(enab LevelEnabler) Level {
level.go#L113: func (l Level) String() string {
level.go#L135: func (l Level) CapitalString() string {
level.go#L160: func (l Level) MarshalText() ([]byte, error) {
level.go#L170: func (l *Level) UnmarshalText(text []byte) error {
level.go#L180: func (l *Level) unmarshalText(text []byte) bool {
level.go#L203: func (l *Level) Set(s string) error {
level.go#L208: func (l *Level) Get() interface{} {
level.go#L213: func (l Level) Enabled(lvl Level) bool {
level.go#L228: Enabled(Level) bool
level_strings.go#L26: _levelToColor = map[Level]color.Color{
level_strings.go#L37: _levelToLowercaseColorString = make(map[Level]string, len(_levelToColor))
level_strings.go#L38: _levelToCapitalColorString = make(map[Level]string, len(_levelToColor))
sampler.go#L44: func (cs *counters) get(lvl Level, key string) *counter {
sampler.go#L199: func (s *sampler) Level() Level {
tee.go#L56: func (mc multiCore) Level() Level {
tee.go#L66: func (mc multiCore) Enabled(lvl Level) bool {
go.uber.org/zap
flag.go#L35: func LevelFlag(name string, defaultLevel zapcore.Level, usage string) *zapcore.Level {
global.go#L86: func NewStdLogAt(l *Logger, level zapcore.Level) (*log.Logger, error) {
global.go#L119: func RedirectStdLogAt(l *Logger, level zapcore.Level) (func(), error) {
global.go#L123: func redirectStdLogAt(l *Logger, level zapcore.Level) (func(), error) {
global.go#L141: func levelToFunc(logger *Logger, lvl zapcore.Level) (func(string, ...Field), error) {
http_handler.go#L83: Level zapcore.Level `json:"level"`
http_handler.go#L110: func decodePutRequest(contentType string, r *http.Request) (zapcore.Level, error) {
http_handler.go#L117: func decodePutURL(r *http.Request) (zapcore.Level, error) {
http_handler.go#L122: var l zapcore.Level
http_handler.go#L129: func decodePutJSON(body io.Reader) (zapcore.Level, error) {
http_handler.go#L131: Level *zapcore.Level `json:"level"`
level.go#L57: type LevelEnablerFunc func(zapcore.Level) bool
level.go#L60: func (f LevelEnablerFunc) Enabled(lvl zapcore.Level) bool { return f(lvl) }
level.go#L87: func NewAtomicLevelAt(l zapcore.Level) AtomicLevel {
level.go#L112: func (lvl AtomicLevel) Enabled(l zapcore.Level) bool {
level.go#L117: func (lvl AtomicLevel) Level() zapcore.Level {
level.go#L118: return zapcore.Level(int8(lvl.l.Load()))
level.go#L122: func (lvl AtomicLevel) SetLevel(l zapcore.Level) {
level.go#L139: var l zapcore.Level
logger.go#L213: func (log *Logger) Level() zapcore.Level {
logger.go#L220: func (log *Logger) Check(lvl zapcore.Level, msg string) *zapcore.CheckedEntry {
logger.go#L228: func (log *Logger) Log(lvl zapcore.Level, msg string, fields ...Field) {
logger.go#L321: func (log *Logger) check(lvl zapcore.Level, msg string) *zapcore.CheckedEntry {
sugar.go#L121: func (s *SugaredLogger) Level() zapcore.Level {
sugar.go#L307: func (s *SugaredLogger) log(lvl zapcore.Level, template string, fmtArgs []interface{}, context []interface{}) {
sugar.go#L321: func (s *SugaredLogger) logln(lvl zapcore.Level, fmtArgs []interface{}, context []interface{}) {
go.uber.org/zap/internal
level_enabler.go#L36: Level() zapcore.Level
|
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. |