Documentation ¶
Overview ¶
Package file implements an output module for logging to a file using rlog.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileLogger ¶
NewFileLogger enables logging to a file. The path (path/filename) can be specified either relative to the application directory or as full path (example: "myLog.txt"). When removeNewlines is set, newlines and tabs are replaced with ASCII characters as in syslog. If overwrite is set, the log file is overwritten each time the application is restarted. If disabled, logs are appended.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.