Documentation ¶
Index ¶
- Variables
- func CheckFileName(name string) bool
- func Cleanup()
- func LogMessage(name string, note string, msg interfaces.IMsg)
- func LogParcel(name string, note string, msg string)
- func LogPrintf(name string, format string, more ...interface{})
- func LookupName(s string) string
- func SplitUpDebugLogRegEx(DebugLogRegEx string) (string, string)
- func StateLogMessage(FactomNodeName string, DBHeight int, CurrentMinute int, logName string, ...)
- func StateLogPrintf(FactomNodeName string, DBHeight int, CurrentMinute int, logName string, ...)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TestRegex *regexp.Regexp
)
Functions ¶
func CheckFileName ¶
Check a filename and see if logging is on for that filename If it never ben see then check with the regex. If it has been seen then just look it up in the map assumes traceMutex is locked already
func Cleanup ¶
func Cleanup()
unused -- of.File is written by direct calls to write and not buffered and the os closes the files on exit.
func LogMessage ¶
func LogMessage(name string, note string, msg interfaces.IMsg)
func SplitUpDebugLogRegEx ¶
func StateLogMessage ¶
func StateLogMessage(FactomNodeName string, DBHeight int, CurrentMinute int, logName string, comment string, msg interfaces.IMsg)
Log a message with a state timestamp
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.