Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.09 KB

loggingactivity_logevent_2134360499.md

File metadata and controls

30 lines (21 loc) · 1.09 KB
-api-id -api-type
M:Windows.Foundation.Diagnostics.LoggingActivity.LogEvent(System.String,Windows.Foundation.Diagnostics.LoggingFields)
winrt method

Windows.Foundation.Diagnostics.LoggingActivity.LogEvent

-description

Logs an event with the specified name and fields.

-parameters

-param eventName

The name for this event.

-param fields

The fields for this event. May be null.

-remarks

The level is set to LoggingLevel.Verbose.

Methods that accept a LoggingFields parameter also accept null. A null value is semantically equivalent to a newly-constructed or cleared LoggingFields object and represents an empty payload.

-examples

-see-also

LogEvent(String), LogEvent(String, LoggingFields, LoggingLevel), LogEvent(String, LoggingFields, LoggingLevel, LoggingOptions)