log

package
v0.0.0-...-cd93cf5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleLogger

type ConsoleLogger struct{}

func (*ConsoleLogger) Debug

func (l *ConsoleLogger) Debug(msg string)

func (*ConsoleLogger) Error

func (l *ConsoleLogger) Error(msg string)

type Logger

type Logger interface {
	Debug(msg string)
	Error(msg string)
}

func NewSyslogLogger

func NewSyslogLogger() Logger

type SyslogLogger

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

func (*SyslogLogger) Debug

func (l *SyslogLogger) Debug(msg string)

func (*SyslogLogger) Error

func (l *SyslogLogger) Error(msg string)

Jump to

Keyboard shortcuts

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