Documentation
¶
Overview ¶
Package evtlog provides access to the Windows Event Log.
Index ¶
Constants ¶
View Source
const ( ErrorType = EventType(windows.EVENTLOG_ERROR_TYPE) WarningType = EventType(windows.EVENTLOG_WARNING_TYPE) InformationType = EventType(windows.EVENTLOG_INFORMATION_TYPE) )
View Source
const MaxMsgSize = 31839
MaxMsgSize is the max size of a UTF-16 formatted Event Log message
Variables ¶
This section is empty.
Functions ¶
func BytesToUTF16 ¶
BytesToUTF16 converts byte slice b to UTF-16.
func EventIsRegistered ¶
EventIsRegistered returns if source src is registered with the Application Event Log.
Types ¶
Click to show internal directories.
Click to hide internal directories.