internal

package
v1.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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.

Directories

Path Synopsis
Package bufferpool houses zap's shared internal buffer pool.
Package bufferpool houses zap's shared internal buffer pool.
Package color adds coloring functionality for TTY output.
Package color adds coloring functionality for TTY output.
Package exit provides stubs so that unit tests can exercise code that calls os.Exit(1).
Package exit provides stubs so that unit tests can exercise code that calls os.Exit(1).
Package pool provides internal pool utilities.
Package pool provides internal pool utilities.
readme generates Zap's README from a template.
readme generates Zap's README from a template.
Package stacktrace provides support for gathering stack traces efficiently.
Package stacktrace provides support for gathering stack traces efficiently.
Package ztest provides low-level helpers for testing log output.
Package ztest provides low-level helpers for testing log output.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL