package
0.4.25
Repository: https://github.com/zilliztech/milvus-backup.git
Documentation: pkg.go.dev

# Functions

Debug logs a message at DebugLevel.
DefaultTimeEncoder serializes time.Time to a human-readable formatted string.
Error logs a message at ErrorLevel.
Fatal logs a message at FatalLevel.
GetLevel gets the logging level.
Info logs a message at InfoLevel.
InitLogger initializes a zap logger.
InitLoggerWithWriteSyncer initializes a zap logger with specified write syncer.
InitTestLogger initializes a logger for unit tests.
L returns the global Logger, which can be reconfigured with ReplaceGlobals.
NewTextCore creates a Core that writes logs to a WriteSyncer.
NewTextEncoder creates a fast, low-allocation Text encoder.
Panic logs a message at PanicLevel.
R returns utils.ReconfigurableRateLimiter.
RatedDebug print logs at debug level it limit log print to avoid too many logs return true if log successfully.
RatedInfo print logs at info level it limit log print to avoid too many logs return true if log successfully.
RatedWarn print logs at warn level it limit log print to avoid too many logs return true if log successfully.
ReplaceGlobals replaces the global Logger and SugaredLogger.
S returns the global SugaredLogger, which can be reconfigured with ReplaceGlobals.
SetLevel alters the logging level.
ShortCallerEncoder serializes a caller in file:line format.
Sync flushes any buffered log entries.
Warn logs a message at WarnLevel.
With creates a child logger and adds structured context to it.

# Variables

Get retrieves a buffer from the pool, creating one if necessary.

# Structs

Config serializes log related config in toml/json.
FileLogConfig serializes file log related config in toml/json.
ZapProperties records some information about zap.