Log Methods |
The Log type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | GetErrorMessage(String, Exception) |
Get error message
|
![]() ![]() | GetErrorMessage(String, Exception, AppIdentity) |
Get error message by source, exception and identity
|
![]() ![]() | GetEventId |
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.
|
![]() ![]() | GetShortErrorMessage |
Get error message without the stack trace, only the source and the reference number
|
![]() ![]() | Initialize |
Method to initialize static members of the class
|
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |