package
1.0.34
Repository: https://github.com/go-masonry/mortar.git
Documentation: pkg.go.dev

# Packages

Package mock_log is a generated GoMock package.

# Functions

ParseLevel tries to parse level from string, if unable to parse a Trace level will be returned as a default.

# Constants

DebugLevel defines debug log level.
ErrorLevel defines error log level.
InfoLevel defines info log level.
TraceLevel defines trace log level.
WarnLevel defines warn log level.

# Interfaces

Builder defines log configuration options.
Fields part of the Logger interface.
Logger is a simple interface that defines logging in the system.
LoggerConfiguration get some of the logger configuration options and also the implementation.
Messages part of the Logger interface.

# Type aliases

ContextExtractor is an alias for a function that extract values from context Make sure that this function returns fast and is "thread safe".
Level is a log level enum.