...

Package internal

import "go.uber.org/zap/internal"
Overview
Index
Subdirectories

Overview ▾

Package internal and its subpackages hold types and functionality that are not part of Zap's public API.

Index ▾

Package files

level_enabler.go

type LeveledEnabler

LeveledEnabler is an interface satisfied by LevelEnablers that are able to report their own level.

This interface is defined to use more conveniently in tests and non-zapcore packages. This cannot be imported from zapcore because of the cyclic dependency.

type LeveledEnabler interface {
    zapcore.LevelEnabler

    Level() zapcore.Level
}

Subdirectories

Name Synopsis
..