Click or drag to resize

Log Methods

The Log type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetErrorMessage(String, Exception)
Get error message
Public methodStatic memberGetErrorMessage(String, Exception, AppIdentity)
Get error message by source, exception and identity
Public methodStatic memberGetEventId
The method translates the exception stack into an EventId. If the stack contains an EnvironmentException then the EventId is taken from that exception object. Otherwise it looks for known SQL exceptions.
Public methodStatic memberGetShortErrorMessage
Get error message without the stack trace, only the source and the reference number
Protected methodStatic memberInitialize
Method to initialize static members of the class
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also