logger

package
v0.0.0-...-e59334c Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 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 {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(filename string, time, debug, trace, pid bool) *Logger

func (*Logger) Debugf

func (sl *Logger) Debugf(format string, v ...interface{})

func (*Logger) Errorf

func (sl *Logger) Errorf(format string, v ...interface{})

func (*Logger) Fatalf

func (sl *Logger) Fatalf(format string, v ...interface{})

func (*Logger) Noticef

func (sl *Logger) Noticef(format string, v ...interface{})

func (*Logger) ReOpenLogFile

func (sl *Logger) ReOpenLogFile()

func (*Logger) Tracef

func (sl *Logger) Tracef(format string, v ...interface{})

func (*Logger) Warnf

func (sl *Logger) Warnf(format string, v ...interface{})

Jump to

Keyboard shortcuts

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