C-DEngine 5.105

TheSystemMessageLog Methods

The TheSystemMessageLog type exposes the following members.

Methods


  Name Description
Public method ChangeMaxLogEntries
Allows to change the amount of messages kept in the RAM buffer of the SystemLog
Public method CloneBase
Clonse an incoming object into this object
(Inherited from TheDataBase.)
Public method CloneTo
Clones the metadata of the current class to a new class provided to the method
(Inherited from TheMetaDataBase.)
Public method Dispose()()()()
Disposes the log
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FireEvent
Fire an Event on a property
(Inherited from TheDataBase.)
Public method GetHashCode (Inherited from Object.)
Public method GetLastError
Retrieves the last error written to the Log
Public method GetType (Inherited from Object.)
Public method IsEventRegistered
Returns true if the requested eThingEvents has registered callbacks
(Inherited from TheDataBase.)
Protected method MemberwiseClone (Inherited from Object.)
Public method NotifyMirror
If called from a derived class and the class was stored in a StorageMirror, this method will call the "NotifyOfUpdate" method in the StorageMirror to inform all Notification Clients that this record has changed. This is VERY Expensive! Do not call too often! This does not work with StorageMirrors that require a PostSalt (unique table name)
(Inherited from TheDataBase.)
Protected method OnPropertyChanged (Inherited from TheBindableBase.)
Public method RegisterEvent
Register a callback that will be fired on a Property Event
(Inherited from TheDataBase.)
Public method RegisterEvent2
Register a callback that will be fired on a Property Event
(Inherited from TheDataBase.)
Protected method SetProperty``1 (Inherited from TheBindableBase.)
Public method ToString (Inherited from Object.)
Public method UnregisterEvent
Unregister a previously registered callback
(Inherited from TheDataBase.)
Public method UnregisterEvent2
Unregister a previously registered callback
(Inherited from TheDataBase.)
Public method Static member WriteLog
Main Log entry for the CDE System Log
Public method WriteToLog(Int32, TSM)
Writes a TSM to the SystemLog with a given ID
Public method WriteToLog(TSM, Int32, Boolean)
Writes a TSM to The SystemLog
Public method WriteToLog(eDEBUG_LEVELS, Int32, String, String, eMsgLevel, Boolean)
Writes to the SystemLog
Public method WriteToLog(Int32, TSM, Boolean)
Writes a TSM to the SystemLog with a given ID
Public method WriteToLogSafe(Int32, eDEBUG_LEVELS, Func<(Of <<'(TSM>)>>))
Writes a TSM to the SystemLog with a given ID, if the logLevel is greater than the configured debug level (TheBaseAssets.MyServiceHostInfo.DebugLevel). The TSM is only created if logging will actually occur. If the TSM creation fails, an alternate text is logged.
Public method WriteToLogSafe(Int32, eDEBUG_LEVELS, Func<(Of <<'(TSM>)>>), Boolean)
Writes a TSM to the SystemLog with a given ID, if the logLevel is greater than the configured debug level (TheBaseAssets.MyServiceHostInfo.DebugLevel). The TSM is only created if logging will actually occur. If the TSM creation fails, an alternate text is logged.