logger

package
v0.0.0-...-750c461 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: BSD-3-Clause-Clear Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ModInfo = "Logger"

ModInfo test comment

Functions

func D

func D(tag string, fmtInfo string, extInfo ...interface{})

D for output DEBUG information

func E

func E(tag string, fmtInfo string, extInfo ...interface{})

E for output ERROR information

func F

func F(tag string, fmtInfo string, extInfo ...interface{})

F for output FATAL information, program will be terminated immediately

func I

func I(tag string, fmtInfo string, extInfo ...interface{})

I for output general information

func OutputFileInfo

func OutputFileInfo() bool

OutputFileInfo for getting the current file info output status

func SetLoggerWriter

func SetLoggerWriter(w io.Writer)

func SetMute

func SetMute(mute bool)

func SetMuteEx

func SetMuteEx(level string, mute bool)

func SetOutputFileInfo

func SetOutputFileInfo(enable bool) bool

SetOutputFileInfo for enable/disable file info in log

func W

func W(tag string, fmtInfo string, extInfo ...interface{})

W for output WARNING information

Types

This section is empty.

Jump to

Keyboard shortcuts

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