Documentation ¶
Overview ¶
Package jotrotate provides a pre-canned way to add jot logging with file rotation, along with command-line options for controlling it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PathToLog string
PathToLog holds the path to the log file that was configured on the command line when using ParseAndSetup().
Functions ¶
func ParseAndSetup ¶
ParseAndSetup adds command-line options for controlling logging, parses the command line, then instantiates a rotator and attaches it to jot. Returns the remaining arguments that weren't used for option content.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.