Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugLoggingEnabled = GetEnvProp("DEBUG_LOGGING", "false") == "true" || GetEnvProp("DEBUG_LOGGING", "false") == "trace"
DebugLoggingEnabled is a flag that indicates whether or not to print debug logs.
View Source
var ProtocolMap = map[int]string{}/* 138 elements not displayed */
ProtocolMap is a map of protocol number to short description of the protocol.
View Source
var TraceLoggingEnabled = GetEnvProp("DEBUG_LOGGING", "false") == "trace"
TraceLoggingEnabled is a flag that indicates whether or not to print Ztrace logs.
Functions ¶
func CurrentMemoryInfo ¶
CurrentMemoryInfo returns information about the current state of memory usage
func GetEnvProp ¶
GetEnvProp returns the value of the given environment variable, or the defaultValue if the environment variable has not been specified
func PrintMemUsage ¶
func PrintMemUsage(prefix string)
PrintMemUsage prints information about memory usage to the system log
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.