log

package
v0.0.0-...-bb18b8d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL