logger

package module
v0.0.0-...-8c3d0c4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevelopmentLogger

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

func NewDevelopmentLogger

func NewDevelopmentLogger() *DevelopmentLogger

func (*DevelopmentLogger) Debug

func (logger *DevelopmentLogger) Debug(msg string)

func (*DevelopmentLogger) Error

func (logger *DevelopmentLogger) Error(msg string)

func (*DevelopmentLogger) Info

func (logger *DevelopmentLogger) Info(msg string)

func (*DevelopmentLogger) Warn

func (logger *DevelopmentLogger) Warn(msg string)

type Logger

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

func New

func New() *Logger

func (*Logger) Debug

func (logger *Logger) Debug(msg string)

func (*Logger) Error

func (logger *Logger) Error(msg string)

func (*Logger) Info

func (logger *Logger) Info(msg string)

func (*Logger) Warn

func (logger *Logger) Warn(msg string)

type RotationLogger

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

func NewRotationLogger

func NewRotationLogger() *RotationLogger

func (*RotationLogger) Debug

func (logger *RotationLogger) Debug(msg string)

func (*RotationLogger) Error

func (logger *RotationLogger) Error(msg string)

func (*RotationLogger) Info

func (logger *RotationLogger) Info(msg string)

func (*RotationLogger) Warn

func (logger *RotationLogger) Warn(msg string)

Jump to

Keyboard shortcuts

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