LoggerExtensionsToMessageLevel Method

Converts a LogLevel to a MessageLevel.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
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