Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Trace *log.Logger Info *logrus.Logger Warning *logrus.Logger Error *logrus.Logger )
View Source
var Logfile *os.File
const LOG_FILE = "servercore-log.txt"
Functions ¶
func CloseLogFile ¶
func CloseLogFile()
func ExtractPayload ¶
func GetOutboundIP ¶
func GetOutboundIP() string
Get preferred outbound ip of this machine, or sets it to localhost
func TrimLogFile ¶
* * The log file is trimmed to 20% of its size when exceeding 10MB. *
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.