Click or drag to resize

LoggingHelperAddErrorLog Method (ILogReceiver, Exception)

To record an error to the log.

Namespace:  StockSharp.Logging
Assembly:  StockSharp.Logging (in StockSharp.Logging.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public static void AddErrorLog(
	this ILogReceiver receiver,
	Exception exception
)

Parameters

receiver
Type: StockSharp.LoggingILogReceiver
Logs receiver.
exception
Type: SystemException
Error details.

Usage Note

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