log

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DebugLogger *log.Logger
	InfoLogger  *log.Logger
	ErrorLogger *log.Logger
	PanicLogger *log.Logger
	FatalLogger *log.Logger
)

Functions

func Debug

func Debug(v ...interface{})

func DebugF

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

func DebugLn

func DebugLn(v ...interface{})

func Dir

func Dir() string

Dir returns "$HOME/.GoChat/log/yyyy-mm-dd".

func Error

func Error(v ...interface{})

func ErrorF

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

func ErrorLn

func ErrorLn(v ...interface{})

func Fatal

func Fatal(v ...interface{})

func FatalF

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

func FatalLn

func FatalLn(v ...interface{})

func Info

func Info(v ...interface{})

func InfoF

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

func InfoLn

func InfoLn(v ...interface{})

func IsNotExist

func IsNotExist() bool

func Panic

func Panic(v ...interface{})

func PanicF

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

func PanicLn

func PanicLn(v ...interface{})

func Path

func Path(name string) string

Path returns "$HOME/.GoChat/log/yyyy-mm-dd/name.log".

Types

This section is empty.

Jump to

Keyboard shortcuts

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