wineventlog

package
Version: v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package wineventlog provides access to the Windows Event Log API used in all versions of Windows since Vista (i.e. Windows 7+ and Windows Server 2008+). This is distinct from the Event Logging API that was used in Windows XP, Windows Server 2003, and Windows 2000.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	// System context properties.
	ProviderName      string            `json:",omitempty"`
	ProviderGUID      string            `json:",omitempty"`
	EventID           uint16            `json:",omitempty"`
	Qualifiers        uint16            `json:",omitempty"`
	TimeCreated       *time.Time        `json:",omitempty"`
	RecordID          uint64            `json:",omitempty"`
	ActivityID        string            `json:",omitempty"`
	RelatedActivityID string            `json:",omitempty"`
	ProcessID         uint32            `json:",omitempty"`
	ThreadID          uint32            `json:",omitempty"`
	Channel           string            `json:",omitempty"`
	Computer          string            `json:",omitempty"`
	UserSID           *eventlogging.SID `json:",omitempty"`
	Version           uint8             `json:",omitempty"`

	Message    string `json:",omitempty"`
	MessageErr error

	Level    string `json:",omitempty"`
	LevelErr error

	Task    string `json:",omitempty"`
	TaskErr error

	Opcode    string `json:",omitempty"`
	OpcodeErr error

	Keywords      []string `json:",omitempty"`
	KeywordsError error
}

Event holds the data from the a log record.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL