LoggerExtensionsToMessageLevel Method

Converts a LogLevel to a MessageLevel.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.165 -- Release Build+c5c5438fa1484896bd3bdb0196ac975199ade88c
public static MessageLevel ToMessageLevel(
	this LogLevel level
)

Parameters

level  LogLevel
LogLevel to convert.

Return Value

MessageLevel
MessageLevel equivalent of the specified LogLevel.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type LogLevel. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

Note that Trace has no equivalent MessageLevel.

See Also