logger

package
v2.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(message string)

func Debugf

func Debugf(message string, args ...any)

func Error

func Error(message string)

func Errorf

func Errorf(message string, args ...any)

func Fatal

func Fatal(message string)

func Fatalf

func Fatalf(message string, args ...any)

func Info

func Info(message string)

func Infof

func Infof(message string, args ...any)

func Init

func Init(options Options)

Init set logfile to "" to disable the file logger

func Silly

func Silly(message string)

func Sillyf

func Sillyf(message string, args ...any)

func Warn

func Warn(message string)

func Warnf

func Warnf(message string, args ...any)

Types

type LogLevel

type LogLevel int

type Options

type Options struct {
	*lumberjack.Logger
	Level string
}

Jump to

Keyboard shortcuts

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