SAIF.Application.LogView overview¶
Documentation context: Packaged Component (NuGet)
SAIF.Application.LogView is a BOF component library that persists and retrieves application error and audit-message records through the App_Error and App_Info tables. It packages single-record and collection-style business objects for logging, lookup, filtering, paging support, and SQL Server full-text search across stored error and audit text.
Purpose¶
- Provide reusable business objects for creating application error log rows and application info or audit log rows.
- Provide filtered collection retrieval for log-view use cases, including date filtering, machine, application, environment, and user filters, row-count paging support, and full-text search.
Responsibilities¶
- Persist
App_Errorrows throughclsAppErrorand search them throughclsAppErrorCollection. - Persist
App_Inforows throughclsAppInfoand search them throughclsAppInfoCollection. - Normalize free-text search input into SQL Server
CONTAINS(...)predicates. - Expose the standalone
TIMEUNITS,COMPARISONS,STATISTICFIELDS, andSearchTypesenums used by the library's public surface.
Key components¶
clsAppError: single-row business object forApp_Errorinserts, retrieval, and deleted-flag updates.clsAppErrorCollection: filtered collection object forApp_Errorsearches and total-count retrieval.clsAppInfo: single-row business object forApp_Infoinserts and retrieval.clsAppInfoCollection: filtered collection object forApp_Infosearches with defaultEPAYandDirectDepositexclusion.TIMEUNITS,COMPARISONS, andSTATISTICFIELDS: standalone public enums declared inclsResources.vb.SearchTypes: public enum that selects whichApp_Infotext columns participate in full-text search.
Related documentation¶
- Index
- Architecture
- Dependencies
- Operations and processes
- Business rules
- Database tables
- SQL catalog
- API reference
Sources¶
Application\SAIF.Application.LogView\clsAppError.vbApplication\SAIF.Application.LogView\clsAppErrorCollection.vbApplication\SAIF.Application.LogView\clsAppInfo.vbApplication\SAIF.Application.LogView\clsAppInfoCollection.vbApplication\SAIF.Application.LogView\clsResources.vbApplication\SAIF.Application.LogView\modLogViewExtensions.vbApplication\SAIF.Application.LogView\SAIF.BOF.Application.LogView.vbprojApplication\SAIF.Application.LogView\SAIF.BOF.Application.LogView.nuspec