%Installer.AbstractLogger
Class %Installer.AbstractLogger Extends %RegisteredObject [ ServerOnly = 1, System = 3 ]
Logging interface for the %Installer
Properties
CaptureIO
Property CaptureIO As %Boolean [ InitialExpression = 0, Internal, Private ];
Flag to determine if WRITE's should be captured
LogDepth
Property LogDepth As %Integer [ InitialExpression = 0, Internal, Private ];
Counter of begin/end logging calls (to allow for nested installers)
CurrentState
Property CurrentState As %String(MAXLEN = "") [ Internal, Private ];
Prior redirect state $lb(redirec,mnemonic routine)
CurrentLine
Property CurrentLine As %String(MAXLEN = 32000) [ Internal, Private ];
Current line of output
Methods
BeginLogging
Method BeginLogging() As %Status
Called to indicate that logging is going to start
EndLogging
Method EndLogging() As %Status
Called to indicate when a manifest is done logging.
LogEntry
Method LogEntry(pLevel As %Integer, pTopic As %String, ByRef pArgs)
Log a message to the install log
%OnNew
Method %OnNew(pCaptureIO As %Boolean = 0) As %Status [ Internal, ProcedureBlock = 1, ServerOnly = 1 ]
Initialize this logger
%OnClose
Method %OnClose() As %Status [ Internal, ProcedureBlock = 1, ServerOnly = 1 ]
Cleanup when this logger instance is closed.
enableIOCapture
Method enableIOCapture() As %Status [ Internal, Private, ProcedureBlock = 0 ]
Enable I/O capture
disableIOCapture
Method disableIOCapture() As %Status [ Internal, Private, ProcedureBlock = 0 ]
Disable I/O capture
flushIO
Method flushIO(pLimit As %Integer = 0) [ Internal, ProcedureBlock = 0 ]
Flush captured I/O to the log