package
1.9.2
Repository: https://github.com/tkestack/tke.git
Documentation: pkg.go.dev

# Packages

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

# Functions

CheckIntLevel used for other log wrapper such as klog which return if logging a message at the specified level is enabled.
Debug method output debug level log.
Debugf method output debug level log.
Error method output error level log.
Errorf method output error level log.
Fatal method output fatal level log.
Fatalf method output fatal level log.
Flush calls the underlying Core's Sync method, flushing any buffered log entries.
FromContext returns the value of the log key on the ctx.
Info method output info level log.
Infof method output info level log.
No description provided by the author
Init initializes logger by opts which can custmoized by command arguments.
NewLogger creates a new logr.Logger using the given Zap Logger to log.
NewOptions creates a Options object with default parameters.
Panic method output panic level log and shutdown application.
Panicf method output panic level log and shutdown application.
ParseFormat takes a string format and returns the log format constant.
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.
No description provided by the author
Warn method output warning level log.
Warnf method output warning level log.
No description provided by the author
No description provided by the author
ZapLogger used for other log wrapper such as klog.

# Constants

FlagLevel means the log level.

# 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.
DPanicLevel logs are particularly important errors.
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

InfoLogger represents the ability to log non-error messages, at a particular verbosity.
Logger represents the ability to log messages, both errors and not.

# Type aliases

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