Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsPathOrExit ¶
func CloseLogFile ¶
func CloseLogFile() error
CloseLogFile closes the log file if it's open. This should be called when the application is shutting down.
func OpenLogFile ¶
OpenLogFile creates and returns a file for logging at the specified path. It creates the directory structure if it doesn't exist. The file handle is stored in a global variable and can be closed with CloseLogFile().
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.