PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Trace Namespace / Base­Collecting­Trace­Listener Class / Base­Collecting­Trace­Listener Methods / Base­Collecting­Trace­Listener.​Trace­Core Method / Base­Collecting­Trace­Listener.​Trace­Core Method (String, Trace­Event­Type, String)

BaseCollectingTraceListener.TraceCore Method (String, TraceEventType, String)

Sends an event to PostSharp where you provide the text in its final formatted form.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Trace
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Tracing (in PostSharp.Patterns.Diagnostics.Backends.Tracing.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
protected abstract void TraceCore(
	string eventSource,
	TraceEventType eventType,
	string text
)

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.
text
Type: System.String
Formatted message to be printed.
See Also