package
0.0.0-20250227074813-fa837b7fbe29
Repository: https://github.com/pingostack/livhub.git
Documentation: pkg.go.dev
# Functions
Debug logs a message at DebugLevel using the default logger.
Debugf logs a formatted message at DebugLevel using the default logger.
DefaultConfig returns a Config with default settings.
Error logs a message at ErrorLevel using the default logger.
Errorf logs a formatted message at ErrorLevel using the default logger.
Fatal logs a message at FatalLevel using the default logger.
Fatalf logs a formatted message at FatalLevel using the default logger.
GetDefaultLogger returns the current default logger.
Info logs a message at InfoLevel using the default logger.
Infof logs a formatted message at InfoLevel using the default logger.
NewLogger creates a new zap logger with lumberjack for log rotation.
NewLoggerWithConfig creates a new zap logger with the provided configuration.
NewLogrusLoggerWithConfig creates a new Logger implementation using logrus with custom configuration.
SetDefaultLogger sets the default logger implementation.
SetLevel sets the log level of the default logger.
Warn logs a message at WarnLevel using the default logger.
Warnf logs a formatted message at WarnLevel using the default logger.
WithError returns a new logger with the specified error.
WithField returns a new logger with the specified field.
WithFields returns a new logger with the specified fields.
No description provided by the author
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
# Structs
Config holds configuration options for the logger This can include log level, output format, etc.
# Interfaces
Logger defines the interface that any logging implementation must satisfy.
# Type aliases
Level represents the severity level of a log message.
No description provided by the author