package
0.0.0-20240224082647-fac769ef5aa3
Repository: https://github.com/wangzhen94/iam.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package distribution implements a logger which compatible to logrus/std log/prometheus.
No description provided by the author
Package klog init klog logger.
Package logrus adds a hook to the logrus logger hooks.

# Functions

No description provided by the author
Debug method output debug level log.
Debugf method output debug level log.
Debugw method output debug level log.
Error method output error level log.
Errorf method output error level log.
Errorw method output error level log.
Fatal method output fatal level log.
Fatalf method output fatal level log.
Fatalw method output Fatalw level log.
Flush calls the underlying Core's Sync method, flushing any buffered log entries.
No description provided by the author
Info method output info level log.
Infof method output info level log.
Infow method output info level log.
No description provided by the author
L method output with specified context value.
New create logger by opts which can custmoized by command arguments.
NewLogger creates a new logr.Logger using the given Zap Logger to log.
NewOptions creates an Options object with default parameters.
Panic method output panic level log and shutdown application.
Panicf method output panic level log and shutdown application.
Panicw method output panic level log.
StdErrLogger returns logger of standard library which writes to supplied zap logger at error level.
StdInfoLogger returns logger of standard library which writes to supplied zap logger at info level.
SugaredLogger returns global sugared logger.
No description provided by the author
Warn method output warning level log.
Warnf method output warning level log.
Warnw method output warning level log.
No description provided by the author
WithName adds a new path segment to the logger's name.
WithValues creates a child logger and adds adds Zap fields to it.
ZapLogger used for other log wrapper such as klog.

# Constants

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

# Variables

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
DebugLevel logs are typically voluminous, and are usually disabled in production.
No description provided by the author
No description provided by the author
No description provided by the author
ErrorLevel logs are high-priority.
No description provided by the author
FatalLevel logs a message, then calls os.Exit(1).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InfoLevel is the default logging priority.
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
PanicLevel logs a message, then panics.
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
WarnLevel logs are more important than Info, but don't need individual human review.

# Structs

Options contains configuration items related to log.

# Interfaces

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

# Type aliases

Field is an alias for the field structure in the underlying log frame.
Level is an alias for the level structure in the underlying log frame.