logging

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: GPL-3.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Debug(topic string, format string, args ...interface{})
	Info(topic string, format string, args ...interface{})
	Warning(topic string, format string, args ...interface{})
	Error(topic string, format string, args ...interface{})
	Critical(topic string, format string, args ...interface{})
}

type Logrus

type Logrus struct {
	// contains filtered or unexported fields
}

func NewLogrus

func NewLogrus(level string) *Logrus

func (*Logrus) Critical

func (l *Logrus) Critical(topic string, format string, args ...interface{})

func (*Logrus) Debug

func (l *Logrus) Debug(topic string, format string, args ...interface{})

func (*Logrus) Error

func (l *Logrus) Error(topic string, format string, args ...interface{})

func (*Logrus) Info

func (l *Logrus) Info(topic string, format string, args ...interface{})

func (*Logrus) Warning

func (l *Logrus) Warning(topic string, format string, args ...interface{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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