Skip to main content

%Library.SysLogTable

Class %Library.SysLogTable Extends %Library.Persistent [ Not ProcedureBlock, System = 3 ]

Having this class that maps onto the data structure for the system log entries allows us to use the SQL projection to query the log. The log entries are inserted without using this class in case objects are not available at that time.

Properties

Category

Property Category As %String(MAXLEN = 24);

LogLevel

Property LogLevel As %Integer;

Message

Property Message As %String(MAXLEN = 256);

Pid

Property Pid As %String(MAXLEN = 16);

Namespace

Property Namespace As %String(MAXLEN = 32);

Routine

Property Routine As %String(MAXLEN = 32);

TimeAdded

Property TimeAdded As %TimeStamp;

Tag

Property Tag As %String(MAXLEN = 16);

SessionId

Property SessionId As %String(MAXLEN = 16);