Class CIM_LogRecord
extends CIM_RecordForLog

The LogRecord object can describe the definitional format for entries in a MessageLog, or can be used to instantiate the actual records in the Log. The latter approach provides a great deal more semantic definition and management control over the individual entries in a MessageLog, than do the record manipulation methods of the Log class. It is recommended that the data in individual Log entries be modeled using subclasses of LogRecord, to avoid the creation of LogRecords with one property (such as RecordData) without semantics. Definitional formats for LogRecords could be specified by establishing a naming convention for the RecordID and Message Timestamp key properties.

Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods


Class Hierarchy

CIM_ManagedElement
   |
   +--CIM_RecordForLog
   |
   +--CIM_LogRecord

Direct Known Subclasses

Class Qualifiers

NameData TypeValue
DescriptionstringThe LogRecord object can describe the definitional format for entries in a MessageLog, or can be used to instantiate the actual records in the Log. The latter approach provides a great deal more semantic definition and management control over the individual entries in a MessageLog, than do the record manipulation methods of the Log class. It is recommended that the data in individual Log entries be modeled using subclasses of LogRecord, to avoid the creation of LogRecords with one property (such as RecordData) without semantics. Definitional formats for LogRecords could be specified by establishing a naming convention for the RecordID and Message Timestamp key properties.
UMLPackagePathstringCIM::System::Logs
Versionstring2.11.0

Class Properties

Local Class Properties

NameData TypeDefault ValueQualifiers
NameData TypeValue
CreationClassNamestring
DescriptionstringCreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.
Keybooleantrue
MaxLenuint32256
DataFormatstring
DeprecatedstringCIM_LogRecord.RecordFormat
DescriptionstringA free-form string describing the LogRecord's data structure.
LogCreationClassNamestring
DescriptionstringThe scoping Log's CreationClassName.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_MessageLog.CreationClassName
LogNamestring
DescriptionstringThe scoping Log's Name.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_MessageLog.Name
MessageTimestampdatetime
DescriptionstringA LogRecord's key structure includes a timestamp for the entry. If the timestamp for the entry is unknown, the value 99990101000000.000000+000 SHOULD be used.
Keybooleantrue
RecordIDstring
DescriptionstringRecordID, with the MessageTimestamp property, serve to uniquely identify the LogRecord within a MessageLog. Note that this property is different than the RecordNumber parameters of the MessageLog methods. The latter are ordinal values only, useful to track position when iterating through a Log. On the other hand, RecordID is truly an identifier for an instance of LogRecord. It may be set to the record's ordinal position, but this is not required.
Keybooleantrue
MaxLenuint32256

Inherited Properties

NameData TypeClass Origin
CaptionstringCIM_ManagedElement
DescriptionstringCIM_ManagedElement
ElementNamestringCIM_ManagedElement
InstanceIDstringCIM_ManagedElement
LocalestringCIM_RecordForLog
PerceivedSeverityuint16CIM_RecordForLog
RecordDatastringCIM_RecordForLog
RecordFormatstringCIM_RecordForLog

Class Methods