evtreporter

package
v0.52.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package evtreporter provides helpers for writing events to the Windows Event Log

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

type Reporter interface {
	ReportEvent(
		Type uint,
		Category uint,
		EventID uint,
		UserSID *windows.SID,
		Strings []string,
		RawData []uint8,
	) error
	Close()
}

Reporter is an interface for writing an event to a Windows Event Log

func New

func New(channelName string, api evtapi.API) (Reporter, error)

New constructs a new Reporter. Call Close() when done to release resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL