log

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogFile *os.File

Functions

func InitWithLogLevel added in v0.5.1

func InitWithLogLevel(logLevel LogLevel, logPath string) error

Types

type LogFilter added in v0.5.1

type LogFilter string

string representation that directly corresponds to zerolog.Level

type LogLevel added in v0.5.1

type LogLevel string

string representation that directly corresponds to zerolog.Level

const (
	DEBUG    LogLevel = "debug"
	INFO     LogLevel = "info"
	WARN     LogLevel = "warn"
	ERROR    LogLevel = "error"
	DISABLED LogLevel = "disabled"
	TRACE    LogLevel = "trace"
)

func (*LogLevel) Set added in v0.5.1

func (ll *LogLevel) Set(v string) error

func (LogLevel) String added in v0.5.1

func (ll LogLevel) String() string

func (LogLevel) Type added in v0.5.1

func (df LogLevel) Type() string

type LogLevelList added in v0.5.1

type LogLevelList []LogLevel

string representation that directly corresponds to zerolog.Level

Jump to

Keyboard shortcuts

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