logger

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hook

type Hook struct {
	Ctx       *context.Context
	LogLevels []log.Level
}

func (*Hook) Fire

func (hook *Hook) Fire(entry *log.Entry) error

func (*Hook) Levels

func (hook *Hook) Levels() []log.Level

type Logger

type Logger struct {
}

func (*Logger) Debug

func (logger *Logger) Debug(message string)

func (*Logger) Error

func (logger *Logger) Error(message string)

func (*Logger) Fatal

func (logger *Logger) Fatal(message string)

func (*Logger) Info

func (logger *Logger) Info(message string)

func (*Logger) Print

func (logger *Logger) Print(message string)

func (*Logger) Trace

func (logger *Logger) Trace(message string)

func (*Logger) Warning

func (logger *Logger) Warning(message string)

Jump to

Keyboard shortcuts

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