xlog

package
v0.2.25 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbortErr

func AbortErr(err error)

Types

type Verbose

type Verbose struct {
	VerboseEnabled bool
	LogEnabled     bool
	LogFile        string
	LogFileMaxSize int64
}
var GVerbose Verbose

GVerbose is a global verbose

func (Verbose) Error

func (v Verbose) Error(fmt_ string, args ...interface{})

func (Verbose) Info

func (v Verbose) Info(fmt_ string, args ...interface{})

func (Verbose) Log

func (v Verbose) Log(level, fmt_ string, args ...interface{})

func (Verbose) Trace

func (v Verbose) Trace(fmt_ string, args ...interface{})

func (Verbose) TraceStruct

func (v Verbose) TraceStruct(s interface{})

func (Verbose) TruncatLog

func (v Verbose) TruncatLog()

Jump to

Keyboard shortcuts

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