autoproxy

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(v ...interface{})

func Errorf

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

func Fatal

func Fatal(v ...interface{})

func Fatalf

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

func Info

func Info(v ...interface{})

func Infof

func Infof(format string, v ...interface{})

func LogInit

func LogInit(cfg LogConfig) error

func LogPrefix

func LogPrefix(s string)

func Warn

func Warn(v ...interface{})

func Warnf

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

Types

type LOG_LEVEL

type LOG_LEVEL int
const (
	INFO LOG_LEVEL = iota
	WARNING
	ERROR
	EXCEPT
)

type LogFile

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

func NewLogFile

func NewLogFile(dir string, size int, num int) (*LogFile, error)

func (*LogFile) Write

func (lf *LogFile) Write(p []byte) (n int, err error)

func (*LogFile) WriteToFile

func (lf *LogFile) WriteToFile(p []byte)

Jump to

Keyboard shortcuts

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