Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalLogger ¶
type LocalLogger struct { LogPath string `env:"LOG_PATH"` LogLevel string `env:"LOG_LEVEL"` // contains filtered or unexported fields }
func NewLocalLog ¶
func NewLocalLog(logPath, logLevel string) *LocalLogger
func (*LocalLogger) Debugf ¶
func (l *LocalLogger) Debugf(format string, args ...interface{})
func (*LocalLogger) Errorf ¶
func (l *LocalLogger) Errorf(format string, args ...interface{})
Errorf logs a formatted error message.
func (*LocalLogger) Infof ¶
func (l *LocalLogger) Infof(format string, args ...interface{})
Infof logs a formatted informational message.
func (*LocalLogger) Warnf ¶
func (l *LocalLogger) Warnf(format string, args ...interface{})
Warnf logs a formatted warning message.
Click to show internal directories.
Click to hide internal directories.