C-DEngine 5.105

TheSystemMessageLog Members

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.

Fields


  Name Description
Public field LogFilterLevel
Any Message with a eMsgLevel lower than this will be written to the log
Public field LogWriteBuffer
Amount of messages to be buffered until written to disk. If set to zero - no messages are written to disk (which is the default)
Public field LogWriteFilterLevel
Any Message with a eMsgLevel lower than this will be written to file (if the LogWriteBuffer is >0)
Public field MaxLogFiles
Amount of Files allowed in the directory
Public field MaxLogFileSize
Specify the maximum Log File Size
Public field MessageFilterLevel
Any message with a eMsgLevel lower than this filter will be displayed in the UX

Properties


  Name Description
Public property cdeA
Access Level Mask 0=Everyone; 1=Untrusted Guest; 2=Trusted Guest; 4=Trusted Member1; 8=Trusted Member2; 16=Truested Member3; 32=Senior Member 1; 64=Senior Member 2; 128=Admin;
(Inherited from TheMetaDataBase.)
Public property cdeAVA
Availability of this record The higher this number the higher the availability of this record The Storage Service might store the data in multiple location to ensure maximum availability
(Inherited from TheDataBase.)
Public property cdeCTIM
Timestamp of this class. Will be set to DateTimeOffset.Now on creation of the Class
(Inherited from TheDataBase.)
Public property cdeEXP
Expiration in Seconds of the class If a derived class is stored in a StorageMirror and cdeEXP is set to>0, the StorageMirror will automatically delete this record after the time has passed
(Inherited from TheDataBase.)
Public property cdeF
Feature ID
(Inherited from TheMetaDataBase.)
Public property cdeM
The Cookie or Meta information for this class
(Inherited from TheMetaDataBase.)
Public property cdeMID
Unique Key for the class derived from TheDataBase. this will be used in the StorageService as the Unique Index in the SQL Tables
(Inherited from TheDataBase.)
Public property cdeN
Guid of Hosting Node - new in 4.108: Moved from MetaDataBase to here
(Inherited from TheDataBase.)
Public property cdeO
Owner Guid
(Inherited from TheMetaDataBase.)
Public property cdePRI
Priority of this record. A lower number means a higher priority. Data with higher priority will be retrieved faster than those with lower prio
(Inherited from TheDataBase.)
Public property cdeSEQ
Sequence number
(Inherited from TheMetaDataBase.)
Public property cdeU
User ID owning this resource
(Inherited from TheMetaDataBase.)
Public property LogFilePath
Path to the Log File

Events


  Name Description
Public event PropertyChanged
Multicast event for property change notifications.
(Inherited from TheBindableBase.)