Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

internal

v1.28.0
go.uber.org/zap/internal

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

2 matches

Top ↑

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

Types

LeveledEnabler

type LeveledEnabler interface {
	zapcore.LevelEnabler

	Level() zapcore.Level
}

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.

Dependency graph