Categorygithub.com/tokenized/logger
modulepackage
0.1.3
Repository: https://github.com/tokenized/logger.git
Documentation: pkg.go.dev

# README

Logger

Logger supports logging.

# Functions

No description provided by the author
ContextWithLogConfig returns a context with the specified logging config attached.
ContextWithLogFields returns a context with a field added to the logger.
ContextWithLogger returns a context with the specified logging attached.
ContextWithLogSetup returns a context with the specified logging config attached.
ContextWithLogSubSystem returns a context with the logging subsystem attached.
ContextWithLogTrace returns a context with a trace field added to the logger.
ContextWithNoLogger returns a context with no logging.
ContextWithOutLogSubSystem returns a context with the logging subsystem cleared.
Debug adds a debug level entry to the log.
DebugWithFields adds a debug level entry to the log with the included zap fields.
Elapsed write elapsed time in milliseconds to the Logger.
No description provided by the author
Error adds a error level entry to the log.
ErrorWithFields adds a error level entry to the log with the included zap fields.
Fatal adds a fatal level entry to the log and then calls os.Exit(1).
FatalWithFields adds a fatal level entry to the log with the included zap fields.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Info adds a info level entry to the log.
InfoWithFields adds a info level entry to the log with the included zap fields.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Log an entry to the main Outputs if: There is no subsystem specified or if the current subsystem is included in the attached Config.IncludedSubSystems.
LogDepth is the same as Log, but the number of levels above the current call in the stack from which to get the file name/line of code can be specified as depth.
LogDepth is the same as Log, but the number of levels above the current call in the stack from which to get the file name/line of code can be specified as depth with the included zap fields.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewConfig creates a new config with the specified values.
NewConfigFromSetup creates a new config from a setup config.
NewEmptyConfig creates a new config that doesn't log.
No description provided by the author
NewWaitingWarning creates a repeated warning message when waiting for something to complete.
Panic adds a panic level entry to the log and then calls panic().
PanicWithFields adds a panic level entry to the log with the included zap fields.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Verbose adds a verbose level entry to the log.
VerboseWithFields adds a verbose level entry to the log with the included zap fields.
Warn adds a warn level entry to the log.
WarnWithFields adds a warn level entry to the log with the included zap fields.

# Constants

No description provided by the author
No description provided by the author
file name and line number.
date in the local time zone: 2018/01/01.
level of log entry.
microseconds .123123.
time in the local time zone: 06:54:32.
unix timestamp with microseconds.
No description provided by the author
No description provided by the author
No description provided by the author
Calls exit.
No description provided by the author
Calls panic.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Config defines the logging configuration for the context it is attached to.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
Logger defines an interface that is compatible with golang's standard log system.

# Type aliases

No description provided by the author
No description provided by the author