Variable: SERVICE_LOGS
constSERVICE_LOGS: {APPLICATION_ACTIVATED:"[ApplicationService] App activated";APPLICATION_CLEANUP_COMPLETE:"[ApplicationService] Cleanup completed";APPLICATION_CLEANUP_START:"[ApplicationService] Starting cleanup";APPLICATION_CREATING_WINDOW:"[ApplicationService] No windows open, creating main window";APPLICATION_INITIALIZING:"[ApplicationService] Initializing application services";APPLICATION_QUITTING:"[ApplicationService] Quitting app (non-macOS)";APPLICATION_READY:"[ApplicationService] App ready - initializing services";APPLICATION_SERVICES_INITIALIZED:"[ApplicationService] All services initialized successfully";APPLICATION_WINDOWS_CLOSED:"[ApplicationService] All windows closed";DATABASE_BACKUP_CREATED:"[DatabaseBackup] Database backup created successfully";DATABASE_CONNECTION_CLOSED:"[DatabaseService] Database connection closed safely";DATABASE_INDEXES_CREATED:"[DatabaseSchema] All indexes created successfully";DATABASE_INITIALIZED:"[DatabaseService] Database initialized successfully";DATABASE_MONITOR_VALIDATION_INITIALIZED:"[DatabaseSchema] Monitor type validation initialized";DATABASE_MONITOR_VALIDATION_READY:"[DatabaseSchema] Monitor type validation framework ready";DATABASE_SCHEMA_CREATED:"[DatabaseSchema] Database schema created successfully";DATABASE_TABLES_CREATED:"[DatabaseSchema] All tables created successfully";HISTORY_BULK_INSERT:"[HistoryManipulation] Bulk inserted {count} history entries for monitor: {monitorId}";IPC_SERVICE_CLEANUP:"[IpcService] Cleaning up IPC handlers";MIGRATION_APPLYING:"Applying migration: {monitorType} {fromVersion} -> {toVersion}";MIGRATION_REGISTERED:"Registered migration for {monitorType}: {fromVersion} โ {toVersion}";MONITOR_MANAGER_APPLYING_INTERVALS:"[MonitorManager] Completed applying default intervals for site: {identifier}";MONITOR_MANAGER_AUTO_STARTING:"[MonitorManager] Completed auto-starting monitoring for site: {identifier}";MONITOR_REMOVED_FROM_SITE:"[SiteManager] Monitor {monitorId} removed from site {siteIdentifier}";MONITOR_STARTED:"Started monitoring for monitor {monitorId} on site {siteIdentifier}";MONITOR_STOPPED:"Stopped monitoring for monitor {monitorId} on site {siteIdentifier}";SITE_ADDED_SUCCESS:"Site added successfully: {identifier} ({name})";SITE_MANAGER_INITIALIZED:"[SiteManager] Initialized with {count} sites in cache";SITE_MANAGER_INITIALIZED_WITH_CACHE:"[SiteManager] Initialized with StandardizedCache";SITE_MANAGER_LOADING_CACHE:"[SiteManager] Initializing - loading sites into cache";UPDATER_QUIT_INSTALL:"[AutoUpdaterService] Quitting and installing update"; }
Defined in: shared/utils/logTemplates.ts:53
Service-related log message templates.
Type Declarationโ
APPLICATION_ACTIVATEDโ
readonlyAPPLICATION_ACTIVATED:"[ApplicationService] App activated"="[ApplicationService] App activated"
Application activated
APPLICATION_CLEANUP_COMPLETEโ
readonlyAPPLICATION_CLEANUP_COMPLETE:"[ApplicationService] Cleanup completed"="[ApplicationService] Cleanup completed"
Application cleanup completed
APPLICATION_CLEANUP_STARTโ
readonlyAPPLICATION_CLEANUP_START:"[ApplicationService] Starting cleanup"="[ApplicationService] Starting cleanup"
Application cleanup started
APPLICATION_CREATING_WINDOWโ
readonlyAPPLICATION_CREATING_WINDOW:"[ApplicationService] No windows open, creating main window"="[ApplicationService] No windows open, creating main window"
Application creating window
APPLICATION_INITIALIZINGโ
readonlyAPPLICATION_INITIALIZING:"[ApplicationService] Initializing application services"="[ApplicationService] Initializing application services"
Application service initialization
APPLICATION_QUITTINGโ
readonlyAPPLICATION_QUITTING:"[ApplicationService] Quitting app (non-macOS)"="[ApplicationService] Quitting app (non-macOS)"
Application quitting
APPLICATION_READYโ
readonlyAPPLICATION_READY:"[ApplicationService] App ready - initializing services"="[ApplicationService] App ready - initializing services"
Application app ready
APPLICATION_SERVICES_INITIALIZEDโ
readonlyAPPLICATION_SERVICES_INITIALIZED:"[ApplicationService] All services initialized successfully"="[ApplicationService] All services initialized successfully"
Application services initialized
APPLICATION_WINDOWS_CLOSEDโ
readonlyAPPLICATION_WINDOWS_CLOSED:"[ApplicationService] All windows closed"="[ApplicationService] All windows closed"
Application all windows closed
DATABASE_BACKUP_CREATEDโ
readonlyDATABASE_BACKUP_CREATED:"[DatabaseBackup] Database backup created successfully"="[DatabaseBackup] Database backup created successfully"
Database backup created
DATABASE_CONNECTION_CLOSEDโ
readonlyDATABASE_CONNECTION_CLOSED:"[DatabaseService] Database connection closed safely"="[DatabaseService] Database connection closed safely"
Database connection closed
DATABASE_INDEXES_CREATEDโ
readonlyDATABASE_INDEXES_CREATED:"[DatabaseSchema] All indexes created successfully"="[DatabaseSchema] All indexes created successfully"
Database indexes created
DATABASE_INITIALIZEDโ
readonlyDATABASE_INITIALIZED:"[DatabaseService] Database initialized successfully"="[DatabaseService] Database initialized successfully"
Database initialized successfully
DATABASE_MONITOR_VALIDATION_INITIALIZEDโ
readonlyDATABASE_MONITOR_VALIDATION_INITIALIZED:"[DatabaseSchema] Monitor type validation initialized"="[DatabaseSchema] Monitor type validation initialized"
Database monitor validation initialized
DATABASE_MONITOR_VALIDATION_READYโ
readonlyDATABASE_MONITOR_VALIDATION_READY:"[DatabaseSchema] Monitor type validation framework ready"="[DatabaseSchema] Monitor type validation framework ready"
Database monitor validation ready
DATABASE_SCHEMA_CREATEDโ
readonlyDATABASE_SCHEMA_CREATED:"[DatabaseSchema] Database schema created successfully"="[DatabaseSchema] Database schema created successfully"
Database schema created
DATABASE_TABLES_CREATEDโ
readonlyDATABASE_TABLES_CREATED:"[DatabaseSchema] All tables created successfully"="[DatabaseSchema] All tables created successfully"
Database tables created
HISTORY_BULK_INSERTโ
readonlyHISTORY_BULK_INSERT:"[HistoryManipulation] Bulk inserted {count} history entries for monitor: {monitorId}"="[HistoryManipulation] Bulk inserted {count} history entries for monitor: {monitorId}"
History bulk insert
IPC_SERVICE_CLEANUPโ
readonlyIPC_SERVICE_CLEANUP:"[IpcService] Cleaning up IPC handlers"="[IpcService] Cleaning up IPC handlers"
IPC service cleanup
MIGRATION_APPLYINGโ
readonlyMIGRATION_APPLYING:"Applying migration: {monitorType} {fromVersion} -> {toVersion}"="Applying migration: {monitorType} {fromVersion} -> {toVersion}"
Migration system
MIGRATION_REGISTEREDโ
readonlyMIGRATION_REGISTERED:"Registered migration for {monitorType}: {fromVersion} โ {toVersion}"="Registered migration for {monitorType}: {fromVersion} โ {toVersion}"
MONITOR_MANAGER_APPLYING_INTERVALSโ
readonlyMONITOR_MANAGER_APPLYING_INTERVALS:"[MonitorManager] Completed applying default intervals for site: {identifier}"="[MonitorManager] Completed applying default intervals for site: {identifier}"
Monitor manager applying intervals
MONITOR_MANAGER_AUTO_STARTINGโ
readonlyMONITOR_MANAGER_AUTO_STARTING:"[MonitorManager] Completed auto-starting monitoring for site: {identifier}"="[MonitorManager] Completed auto-starting monitoring for site: {identifier}"
Monitor manager auto-starting
MONITOR_REMOVED_FROM_SITEโ
readonlyMONITOR_REMOVED_FROM_SITE:"[SiteManager] Monitor {monitorId} removed from site {siteIdentifier}"="[SiteManager] Monitor {monitorId} removed from site {siteIdentifier}"
Monitor removed from site
MONITOR_STARTEDโ
readonlyMONITOR_STARTED:"Started monitoring for monitor {monitorId} on site {siteIdentifier}"="Started monitoring for monitor {monitorId} on site {siteIdentifier}"
Monitor started
MONITOR_STOPPEDโ
readonlyMONITOR_STOPPED:"Stopped monitoring for monitor {monitorId} on site {siteIdentifier}"="Stopped monitoring for monitor {monitorId} on site {siteIdentifier}"
Monitor stopped
SITE_ADDED_SUCCESSโ
readonlySITE_ADDED_SUCCESS:"Site added successfully: {identifier} ({name})"="Site added successfully: {identifier} ({name})"
Site added successfully
SITE_MANAGER_INITIALIZEDโ
readonlySITE_MANAGER_INITIALIZED:"[SiteManager] Initialized with {count} sites in cache"="[SiteManager] Initialized with {count} sites in cache"
Site manager initialized
SITE_MANAGER_INITIALIZED_WITH_CACHEโ
readonlySITE_MANAGER_INITIALIZED_WITH_CACHE:"[SiteManager] Initialized with StandardizedCache"="[SiteManager] Initialized with StandardizedCache"
Site manager initialized with cache
SITE_MANAGER_LOADING_CACHEโ
readonlySITE_MANAGER_LOADING_CACHE:"[SiteManager] Initializing - loading sites into cache"="[SiteManager] Initializing - loading sites into cache"
Site manager cache loading
UPDATER_QUIT_INSTALLโ
readonlyUPDATER_QUIT_INSTALL:"[AutoUpdaterService] Quitting and installing update"="[AutoUpdaterService] Quitting and installing update"
Auto updater messages