Share via


LoggingEventSource.Keywords Class

Definition

Defines the different ways data can be formatted in an event.

public: ref class LoggingEventSource::Keywords abstract sealed
public static class LoggingEventSource.Keywords
type LoggingEventSource.Keywords = class
Public Class LoggingEventSource.Keywords
Inheritance
LoggingEventSource.Keywords

Fields

FormattedMessage

Turns on the 'FormatMessage' event when ILogger.Log() is called. Provides the formatted string version of the information.

JsonMessage

Turns on the 'MessageJson' event when ILogger.Log() is called. Provides a JSON representation of the Arguments.

Message

Turns on the 'Message' event when ILogger.Log() is called. Provides information in a programmatic (unformatted) way.

Meta

Events about the LoggingEventSource itself (that is, they did not come from ILogger).

Applies to