slog

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const LogSpitDay string = "day"
View Source
const LogSpitMonth string = "month"

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

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

func NewLog

func NewLog(cf *config.Config) *Log

func (*Log) Debug

func (l *Log) Debug(args ...interface{})

func (*Log) Debugf

func (l *Log) Debugf(template string, args ...interface{})

func (*Log) Error

func (l *Log) Error(args ...interface{})

func (*Log) Errorf

func (l *Log) Errorf(template string, args ...interface{})

func (*Log) Info

func (l *Log) Info(args ...interface{})

func (*Log) Infof

func (l *Log) Infof(template string, args ...interface{})

func (*Log) Panic

func (l *Log) Panic(args ...interface{})

func (*Log) Panicf

func (l *Log) Panicf(template string, args ...interface{})

func (*Log) Sync

func (l *Log) Sync() error

func (*Log) Warn

func (l *Log) Warn(args ...interface{})

func (*Log) Warnf

func (l *Log) Warnf(template string, args ...interface{})

Jump to

Keyboard shortcuts

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