logging

package
v0.4.27-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: ISC Imports: 4 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 {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(stdout io.Writer, stderr io.Writer) *Logger

func (*Logger) Debug

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

func (*Logger) EnableInfo

func (l *Logger) EnableInfo()

func (*Logger) EnableTrace

func (l *Logger) EnableTrace(traces string)

func (*Logger) Error

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

func (*Logger) Info

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

func (*Logger) Printf

func (l *Logger) Printf(format string, args ...interface{})

func (*Logger) Stderr

func (l *Logger) Stderr(format string, args ...interface{})

func (*Logger) Stdout

func (l *Logger) Stdout(format string, args ...interface{})

func (*Logger) Trace

func (l *Logger) Trace(subsystem string, format string, args ...interface{})

func (*Logger) Warn

func (l *Logger) Warn(format string, args ...interface{})

Jump to

Keyboard shortcuts

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