共用方式為


LoggingEventSource.Keywords Class

Definition

This is public from an EventSource consumer point of view, but since these definitions are not needed outside this class

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. It gives the formatted string version of the information.

JsonMessage

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

Message

Turns on the 'Message' event when ILogger.Log() is called. It gives the information in a programmatic (not formatted) way

Meta

Meta events are events about the LoggingEventSource itself (that is they did not come from ILogger

Applies to