By writing the string-formatted log entry to the application log in Microsoft Windows Event Log, this inversion control method handles the request to persist a formatted log entry to the underlying channel or media.

Namespace: Keystone.Almanac.EventLog
Assembly: Keystone.Almanac.EventLog (in Keystone.Almanac.EventLog.dll)

protected override void OnAddFormattedEntry( 
FormattedLogEntryPersistenceContext<string> persistenceContext 
)
This language is not supported or no code example is available.

Parameters

persistenceContext

Type: FormattedLogEntryPersistenceContext<string>

The information required to add the formatted log entry to the persistent media.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono