logger

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(config *config.LoggingInfo, debug bool) (types.Logger, error)

func NewTermLogger

func NewTermLogger(debug bool) types.TermLogger

Types

type LoggerImpl

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

func (*LoggerImpl) Debug

func (l *LoggerImpl) Debug(message string, fields types.LogArg)

func (*LoggerImpl) Error

func (l *LoggerImpl) Error(message string, fields types.LogArg)

func (*LoggerImpl) Fatal

func (l *LoggerImpl) Fatal(message string, fields types.LogArg)

func (*LoggerImpl) Info

func (l *LoggerImpl) Info(message string, fields types.LogArg)

type ProxyLogger

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

func (*ProxyLogger) Debug

func (l *ProxyLogger) Debug(message string, fields types.LogArg)

func (*ProxyLogger) Error

func (l *ProxyLogger) Error(message string, fields types.LogArg)

func (*ProxyLogger) Fatal

func (l *ProxyLogger) Fatal(message string, fields types.LogArg)

func (*ProxyLogger) Header

func (l *ProxyLogger) Header(message string)

func (*ProxyLogger) Info

func (l *ProxyLogger) Info(message string, fields types.LogArg)

Jump to

Keyboard shortcuts

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