Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log, FileOnly, ArmaOnly zerolog.Logger
Functions ¶
func RotateLogs ¶
func RotateLogs()
Types ¶
type LoggerOptionsType ¶
type LoggerOptionsType struct { // LogPath is the path to the log file Path string // LogAddonName is the name of the addon that will be used to send log messages to arma AddonName string // LogExtensionName is the name of the extension that will be used to send log messages to arma ExtensionName string // ExtensionVersion is the version of this extension ExtensionVersion string // LogDebug determines if we should send Debug level messages to file & arma Debug bool // LogTrace is used to determine if file should receive trace level, regardless of debug Trace bool }
var ActiveOptions *LoggerOptionsType = &LoggerOptionsType{}
Click to show internal directories.
Click to hide internal directories.