winlog

package
v0.0.0-...-dfc23e4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

README

Overview

The Winlog package is a native Go Windows Event Log API. Supported features include full reading, filtering and rendering of event logs on Windows from a go binary.

Features

  • Reading Event Logs - Event logs are read using native Microsoft syscalls for log reading that is quick and requires minimal resources.

  • Filtering Event Logs - Event logs that are read can be tailored using standard XML filtering strings.

  • Rendering Event Logs - If the full text of an event log is desired, it can be rendered in its entirety for use elsewhere.

Requirements

Any version of Windows 10 and Windows Server 2012 R2 and up are compatible with this library.

How to use this library

See the examples folder for additional help and examples demonstrating the use of this library.

Contact

We have a public discussion list at google-winops@googlegroups.com

Disclaimer

This is not an official Google product.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
examples
pullsub
Binary pullsub is an example application using the Windows Event Log API "pull" subscription model to print events to the console.
Binary pullsub is an example application using the Windows Event Log API "pull" subscription model to print events to the console.
Package fakewinlog provides test doubles (fakes and stubs) for the simple package.
Package fakewinlog provides test doubles (fakes and stubs) for the simple package.
Package simple provides a simple interface to communicate with Windows Event Log, but hides any Windows specific names/structs.
Package simple provides a simple interface to communicate with Windows Event Log, but hides any Windows specific names/structs.
Package wevtapi includes documented Windows Event Log constants, enumerations, functions, structures.
Package wevtapi includes documented Windows Event Log constants, enumerations, functions, structures.

Jump to

Keyboard shortcuts

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