logger

package
v0.0.0-...-5c9ab3f Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	LogDir string
	// contains filtered or unexported fields
}

func New

func New(options ...Options) (*Logger, error)

func (*Logger) Debug

func (l *Logger) Debug(message string)

func (*Logger) Error

func (l *Logger) Error(message string)

func (*Logger) Fatal

func (l *Logger) Fatal(message string)

func (*Logger) Info

func (l *Logger) Info(message string)

func (*Logger) Print

func (l *Logger) Print(message string)

func (*Logger) Trace

func (l *Logger) Trace(message string)

func (*Logger) Warning

func (l *Logger) Warning(message string)

type Options

type Options = func(*Logger)

Jump to

Keyboard shortcuts

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