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.​Convert­Level Method

BaseCollectingTraceListener.ConvertLevel Method

Gets the PostSharp log level that corresponds to the given eventType.

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 LogLevel ConvertLevel(
	TraceEventType eventType
)

Parameters

eventType
Type: System.Diagnostics.TraceEventType

Return Value

Type: LogLevel
See Also