package
0.0.0-20250220232038-fb2fd8af7512
Repository: https://github.com/letsencrypt/boulder.git
Documentation: pkg.go.dev
# Functions
Get obtains the singleton Logger.
New returns a new Logger that uses the given syslog.Writer as a backend and also writes to stdout/stderr.
NewMock creates a mock logger.
NewWaitingMock creates a mock logger implementing the writer interface.
Set configures the singleton Logger.
StdoutLogger returns a Logger that writes solely to stdout and stderr.
UseMock sets a mock logger as the default logger, and returns it.
# Structs
Mock is a logger that stores all log messages in memory to be examined by a test.
WaitingMock is a logger that stores all messages in memory to be examined by a test with methods.
# Interfaces
A Logger logs messages with explicit priority levels.