logX

package
v0.0.0-...-7d1b39b Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	Logger *log.Logger
}

func NewDefaultLogger

func NewDefaultLogger() *Log

func (*Log) FilePath

func (l *Log) FilePath(path string) (*os.File, error)

func (*Log) Log

func (l *Log) Log(level kralog.Level, keyVal ...interface{}) error

func (*Log) SetLevel

func (l *Log) SetLevel(level kralog.Level)

func (*Log) SetOutput

func (l *Log) SetOutput(w io.Writer)

func (*Log) SetTimeFileName

func (l *Log) SetTimeFileName(name string, flag bool) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳