Click or drag to resize

Log Class

Log class
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelLog

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public class Log

The Log type exposes the following members.

Constructors
  NameDescription
Public methodLog
Top
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