extlogrus

package
v0.0.0-...-aa3d5c5 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	options *LoggerOptions,
) dinfra.Logger

Types

type LogLevel

type LogLevel string
const (
	Trace LogLevel = "trace"
	Debug LogLevel = "debug"
	Info  LogLevel = "info"
	Warn  LogLevel = "warn"
	Fatal LogLevel = "fatal"
)

type LoggerOptions

type LoggerOptions struct {
	MinLevel LogLevel
}

func NewDefaultOptions

func NewDefaultOptions() *LoggerOptions

Jump to

Keyboard shortcuts

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