Click or drag to resize

LoggingHelperGetLogLevel Method

Get LogLevel for the source. If the value is equal to Inherit, then parental source level is taken.

Namespace:  StockSharp.Logging
Assembly:  StockSharp.Logging (in StockSharp.Logging.dll) Version: (4.4.17)
public static LogLevels GetLogLevel(
	this ILogSource source


Type: StockSharp.LoggingILogSource
The log source.

Return Value

Type: LogLevels
Logging level.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILogSource. 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).
See Also