Skip to main content

HS.HC.Util.Installer.Log

persistent class HS.HC.Util.Installer.Log extends %Library.Persistent

SQL Table Name: HS_HC_Util_Installer.Log

Table to store all records of namespace activation logs.

Property Inventory

Properties

property Classname as %Dictionary.Classname [ Required ];
Class from which text was logged.
Property methods: ClassnameGet(), ClassnameGetStored(), ClassnameIsValid(), ClassnameSet()
property Increment as %Integer [ Required ];
Matches increment of log files indicating which activation this is. Helpful to easily track what the latest activation was/view records for a specific activation.
Property methods: IncrementDisplayToLogical(), IncrementGet(), IncrementGetStored(), IncrementIsValid(), IncrementLogicalToDisplay(), IncrementNormalize(), IncrementSet()
property Method as %Dictionary.Identifier [ Required ];
Method from which text was logged.
Property methods: MethodGet(), MethodGetStored(), MethodIsValid(), MethodSet()
property Namespace as %String (MAXLEN = 64, MINLEN = 1) [ Required ];
Namespace for which log statement is reported.
Property paraneters copied from Config.Namespaces.
Property methods: NamespaceDisplayToLogical(), NamespaceGet(), NamespaceGetStored(), NamespaceIsValid(), NamespaceLogicalToDisplay(), NamespaceLogicalToOdbc(), NamespaceNormalize(), NamespaceSet()
property Severity as %Integer (DISPLAYLIST = ",INFO,WARNING,ERROR", VALUELIST = ",0,1,2") [ Required ];
Severity level of entry.
Property methods: SeverityDisplayToLogical(), SeverityGet(), SeverityGetStored(), SeverityIsValid(), SeverityLogicalToDisplay(), SeverityNormalize(), SeveritySet()
property Text as %String) [ Required ];
Line of text to log
Property methods: TextDisplayToLogical(), TextGet(), TextGetStored(), TextIsValid(), TextLogicalToDisplay(), TextLogicalToOdbc(), TextNormalize(), TextSet()
property Timestamp as %TimeStamp [ Required ];
Time at which text was logged.
Property methods: TimestampDisplayToLogical(), TimestampGet(), TimestampGetStored(), TimestampIsValid(), TimestampLogicalToDisplay(), TimestampNormalize(), TimestampOdbcToLogical(), TimestampSet()

Indexes

index ($Log on ) [Extent, Type = bitmap];
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (NamespaceIdx on Namespace) [Type = bitmap];
Index on namespace to get all log entries for a particular namespace.
index (NamespaceIncrementIdx on Namespace,Increment) [Type = bitmap];
Index on namespace and increment to get all log entries for a particular activation of a namespace.
index (NamespaceSeverityIdx on Namespace,Severity) [Type = bitmap];
Index on namespace and severity to get all log entries for a particular namespace of a specific severity level.

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (HS.HC.Util.Installer.Log)

^HS.HC.Util.Installer.LogD(ID)
=
%%CLASSNAME
Increment
Namespace
Severity
Text
Classname
MethodName
Timestamp
Method
FeedbackOpens in a new tab