Skip to main content

DocBook.ErrorLog

persistent class DocBook.ErrorLog extends %Library.Persistent

SQL Table Name: DocBook.ErrorLog

A list of errors found while loading the DocBook content.

Property Inventory

Method Inventory

Properties

property ErrorTime as %TimeStamp [ InitialExpression = $ZDT($H,3) ];
Time of the error
Property methods: ErrorTimeDisplayToLogical(), ErrorTimeGet(), ErrorTimeGetStored(), ErrorTimeIsValid(), ErrorTimeLogicalToDisplay(), ErrorTimeNormalize(), ErrorTimeOdbcToLogical(), ErrorTimeSet()
property SourceFile as cdata (MAXLEN = 100);
Source file containing the error
Property methods: SourceFileGet(), SourceFileGetStored(), SourceFileIsValid(), SourceFileSet()
property Type as cdata (MAXLEN = 100);
Type of error
Property methods: TypeGet(), TypeGetStored(), TypeIsValid(), TypeSet()
property blockID as id;
blockId of object containing error (if known)
Property methods: blockIDGet(), blockIDGetStored(), blockIDIsValid(), blockIDSet()
property content as cdata (MAXLEN = 2000);
Content of the error block
Property methods: contentGet(), contentGetStored(), contentIsValid(), contentSet()

Methods

classmethod GenerateXMLReport(verbose As %Boolean = 0)
classmethod GetCount() as %Integer
Returns a count of errors
classmethod List()
List the error log
classmethod Reset()
Reset the error log
classmethod ResetForFile(file As cdata)
Reset the error log for a given file

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (DocBook.ErrorLog)

^DocBook.ErrorLogD(ID)
=
%%CLASSNAME
ErrorTime
SourceFile
Type
content
blockID
FeedbackOpens in a new tab