mir_log

package
v0.0.0-...-ccaa6ab Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(options ...func(*mirLog))

func WithLogLevel

func WithLogLevel(logLevel LogLevel) func(*mirLog)

func WithTimeFormatUnix

func WithTimeFormatUnix() func(*mirLog)

Types

type LogLevel

type LogLevel = string
var (
	LogLevelTrace   LogLevel = "trace"
	LogLevelDebug   LogLevel = "debug"
	LogLevelInfo    LogLevel = "info"
	LogLevelWarning LogLevel = "warn"
	LogLevelError   LogLevel = "error"
	LogLevelFatal   LogLevel = "fatal"
)

Jump to

Keyboard shortcuts

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