Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
TraceLogging wrapper macro that adds custom information about the event into the PDB.
Syntax
void TraceLoggingCustomAttribute(
[in] key,
[in] value
);
Parameters
[in] key
A string literal with the key for the custom attribute.
[in] value
A string literal with the value of the custom attribute.
Return value
None
Remarks
TraceLoggingCustomAttribute("key", "value")
can be used as a parameter to an
invocation of a
TraceLoggingWrite macro. Most
TraceLogging events do not need custom attributes and should not use
TraceLoggingCustomAttribute.
Custom attributes are stored in the PDB. They are not available at runtime.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | traceloggingprovider.h |