log

package
v0.2.38 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close

func DebugPrint

func DebugPrint(format string, values ...interface{})

DebugPrint

func GetWriter

func GetWriter() io.Writer

GetWriter

func IsDebug

func IsDebug() bool

IsDebug

func PanicPrint added in v0.0.30

func PanicPrint(format string, values ...interface{})

PanicPrint

Types

type LogConfig

type LogConfig struct {
	Debug       bool   `json:"debug"`
	Writer      string `json:"writer"`
	LogFilePath string `json:"logFilePath"`
	File        *os.File
}

func (LogConfig) String

func (l LogConfig) String() string

Jump to

Keyboard shortcuts

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