Documentation ¶
Index ¶
- Constants
- func Close()
- func CloseFile()
- func CloseStderr()
- func CloseStdout()
- func Debug(format string, values ...any)
- func Error(format string, values ...any)
- func Fatal(format string, values ...any)
- func GetFlag() uint32
- func GetMask() uint32
- func Info(format string, values ...any)
- func SetFlag(f uint32)
- func SetLogFile(path string) error
- func SetMask(m uint32)
- func SetSeparatorEnd(sep string)
- func SetSeparatorEndEnd(end string)
- func SetSeparatorStart(sep string)
- func Trace(format string, values ...any)
- func Unknown(format string, values ...any)
- func Warning(format string, values ...any)
- type Paper
Constants ¶
View Source
const ( MaskUNKNOWN = 1 << iota MaskDEBUG MaskTRACE MaskINFO MaskWARNING MaskERROR MaskFATAL MaskStd = MaskINFO | MaskWARNING | MaskERROR | MaskFATAL MaskAll = MaskUNKNOWN | MaskDEBUG | MaskTRACE | MaskINFO | MaskWARNING | MaskERROR | MaskFATAL )
View Source
const ( FlagDate = 1 << iota FlagTime FlagLongFile FlagShortFile FlagFunc FlagPrefix FlagSuffix FlagStd = FlagDate | FlagTime | FlagPrefix FlagAll = FlagDate | FlagTime | FlagShortFile | FlagFunc | FlagPrefix | FlagSuffix )
Variables ¶
This section is empty.
Functions ¶
func Close ¶
func Close()
func CloseFile ¶
func CloseFile()
func CloseStderr ¶
func CloseStderr()
func CloseStdout ¶
func CloseStdout()
Types ¶
type Paper ¶
Click to show internal directories.
Click to hide internal directories.