ILog. LogError Method (Exception, String,Object[] )

Relativity Kepler
Error level logging with an exception.

Namespace:  Relativity.Kepler.Logging
Assembly:  Relativity.Kepler (in Relativity.Kepler.dll) Version: local build
Syntax

C#
void LogError(
	Exception exception,
	string messageTemplate,
	params Object[] propertyValues
)

Parameters

exception
Type: System.Exception
An exception to add to the information logged. Shows stack trace and error message.
messageTemplate
Type: System.String
Structured logging template.
Examples

messageTemplate: "I am logging the {UserName} and its permission {@Permission} object", propertyValues: "myUserName123", permission
propertyValues
Type:System.Object[]
params for each brace'd item in the messageTemplate.
See Also

Reference