Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookmarkHandle ¶
type BookmarkHandle uint64
type EventHandle ¶
type EventHandle uint64
type ListenerHandle ¶
type ListenerHandle uint64
type LogEventCallback ¶
type LogEventCallback interface {
PublishError(error)
PublishEvent(EventHandle, string)
}
type LogEventCallbackWrapper ¶
type LogEventCallbackWrapper struct {
// contains filtered or unexported fields
}
type PublisherHandle ¶
type PublisherHandle uint64
type RenderedFields ¶
type SysRenderContext ¶
type SysRenderContext uint64
type WinLogEvent ¶
type WinLogEvent struct {
// From EvtRender
ProviderName string
EventId uint64
Qualifiers uint64
Level uint64
Task uint64
Opcode uint64
Created time.Time
RecordId uint64
ProcessId uint64
ThreadId uint64
Channel string
ComputerName string
Version uint64
RenderedFieldsErr error
// From EvtFormatMessage
Msg string
LevelText string
TaskText string
OpcodeText string
Keywords []string
ChannelText string
ProviderText string
IdText string
PublisherHandleErr error
// XML body
Xml string
XmlErr error
// Serialied XML bookmark to
// restart at this event
Bookmark string
// Subscribed channel from which the event was retrieved,
// which may be different than the event's channel
SubscribedChannel string
}
Stores the common fields from a log event
type WinLogWatcher ¶
type WinLogWatcher struct {
// contains filtered or unexported fields
}
Watches one or more event log channels and publishes events and errors to Go channels
Click to show internal directories.
Click to hide internal directories.