package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

InitCRDBLogConfig sets up an interceptor for the CockroachDB log in order to redirect logs to a roachprod logger.
RootLogger creates a Logger.
TestingCRDBLogConfig is meant to be used in unit tests to reset the CRDB log, it's interceptor, and the redirect log config.

# Constants

NoTee configures the logger to only output to files.
TeeToStdout configures the logger to report both to a file and stdout.

# Variables

QuietStderr is a logger option that suppresses Stderr.
QuietStdout is a logger option that suppresses Stdout.

# Structs

Config configures a logger.
Logger logs to a file in artifacts and stdio simultaneously.

# Type aliases

TeeOptType is an option to RootLogger.