package
0.0.0-20230706040353-d5b0b989b1c9
Repository: https://github.com/tencentmusic/evhub.git
Documentation: pkg.go.dev

# Functions

Close flushes any buffered log entries.
No description provided by the author
Debug logs a message with some additional context.
Debugf uses fmt.Sprintf to log a templated message.
Error logs a message with some additional context.
Errorf uses fmt.Sprintf to log a templated message.
Fatal logs a message with some additional context, then calls os.Exit.
Fatalf uses fmt.Sprintf to log a templated message, then calls os.Exit.
No description provided by the author
No description provided by the author
Info logs a message with some additional context.
Infof uses fmt.Sprintf to log a templated message.
Init init the logger.
LevelHandler returns an HTTP handler that can dynamically modifies the log level.
New returns a Logger instance.
Panic logs a message with some additional context, then panics.
Panicf uses fmt.Sprintf to log a templated 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
SetLevel alters the logging level.
No description provided by the author
No description provided by the author
No description provided by the author
Warn logs a message with some additional context.
Warnf uses fmt.Sprintf to log a templated message.
No description provided by the author

# Constants

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
LevelDebug logs are typically voluminous, and are usually disabled in production.
LevelError logs are high-priority.
LevelFatal logs a message, then calls os.Exit(1).
LevelInfo is the default logging priority.
LevelPanic logs a message, then panics.
LevelWarn logs are more important than Info, but don't need individual human review.
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

# Variables

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

# Structs

Config is the configuration of the log.

# Interfaces

Logger is the fundamental interface for all log operations.

# Type aliases

No description provided by the author
A Level is a logging priority.