BaseCollectingTraceListener.TraceCore Method (String, TraceEventType, String, Object[]) |
Sends an event to PostSharp where the text is provided as a formatting string and an array of parameters.
Namespace: PostSharp.Patterns.Diagnostics.Backends.Trace
Assembly: PostSharp.Patterns.Diagnostics.Backends.Tracing (in PostSharp.Patterns.Diagnostics.Backends.Tracing.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
protected abstract void TraceCore( string eventSource, TraceEventType eventType, string format, Object[] data )
Parameters
- eventSource
- Type: System.String
Name of the trace source that's attempting to create an event. - eventType
- Type: System.Diagnostics.TraceEventType
Log level of the event. - format
- Type: System.String
Format of the message to be printed, with number- or text-based placeholders. - data
- Type: System.Object[]
Arguments for the format. Must not be null.