package
0.0.1
Repository: https://github.com/zzylol/victoriametrics.git
Documentation: pkg.go.dev

# Functions

Errorf logs error message.
ErrorfSkipframes logs error message and skips the given number of frames for the caller.
Fatalf logs fatal message and terminates the app.
Infof logs info message.
Init initializes the logger.
InitNoLogFlags initializes the logger without writing flags to stdout InitNoLogFlags must be called after flag.Parse().
Panicf logs panic message and panics.
ResetOutputForTest set logger output to default value.
SetOutputForTests redefine output for logger.
StdErrorLogger returns standard error logger.
Warnf logs warn message.
WarnfSkipframes logs warn message and skips the given number of frames for the caller.
WithThrottler returns a logger throttled by time - only one message in throttle duration will be logged.

# Structs

LogThrottler is a logger, which throttles log messages passed to Warnf and Errorf.