Click or drag to resize

ObjTypeLogConfig Class

Configuration of if/when we want to log changes to a data object of a certain type. We log to the Windows Event Log, Splunk etc. based on the "Log configuration" configuration data object.
Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogic.LoggingObjTypeLogConfig

Namespace:  Omada.OE.AppLogic.Logging
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public class ObjTypeLogConfig

The ObjTypeLogConfig type exposes the following members.

Constructors
  NameDescription
Public methodObjTypeLogConfig
Top
Properties
  NameDescription
Public propertyDataObjectType
Configuration is for data objects of this type.
Public propertyEventCategory
We'll log the change as belonging to this category.
Public propertyEventId
We'll log using this EventId.
Public propertyEventText
We'll log this text for the change.
Public propertyLogCreation
Log when data object gets created?
Public propertyLogUpdate
Log when data object gets changed?
Public propertyModifiedProperties
Only if one or more of these properties are modified we will log the change. Only relevant when a data object is being modified (not when it is created).
Public propertyObjectIdentificationProperties
List of properties on the data object which should be added to the log entry to easy identify the object
Top
Methods
  NameDescription
Public methodAddPostFilter
Data object has to meet these expressions after it gets created/modified for us to log the change.
Public methodAddPreFilter
Data object has to meet these expressions before it gets modified for us to log the change. Only relevant when a data object is being modified (not when it is created).
Public methodMatches
Public methodVerify
Verifies the configuration and returns true if it is valid
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