Variable: SERVICE_LOGS
const SERVICE_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_LOCK_RECOVERY_NO_ARTIFACTS: "[DatabaseService] No stale lock artifacts detected during recovery attempt {attempt}";
DATABASE_LOCK_RECOVERY_RELOCATED: "[DatabaseService] Relocated {count} stale lock artifact(s) blocking initialization";
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";
IPC_DELETE_ALL_SITES_COMPLETED: "[IpcService] delete-all-sites completed, deleted {deletedCount} site(s)";
IPC_DELETE_ALL_SITES_HANDLER_CALLED: "[IpcService] delete-all-sites handler invoked";
IPC_SERVICE_CLEANUP: "[IpcService] Cleaning up IPC handlers";
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:59
Service-related log message templates.
Type Declarationโ
APPLICATION_ACTIVATEDโ
readonly APPLICATION_ACTIVATED: "[ApplicationService] App activated" = "[ApplicationService] App activated";
Application activated
APPLICATION_CLEANUP_COMPLETEโ
readonly APPLICATION_CLEANUP_COMPLETE: "[ApplicationService] Cleanup completed" = "[ApplicationService] Cleanup completed";
Application cleanup completed
APPLICATION_CLEANUP_STARTโ
readonly APPLICATION_CLEANUP_START: "[ApplicationService] Starting cleanup" = "[ApplicationService] Starting cleanup";
Application cleanup started
APPLICATION_CREATING_WINDOWโ
readonly APPLICATION_CREATING_WINDOW: "[ApplicationService] No windows open, creating main window" = "[ApplicationService] No windows open, creating main window";
Application creating window
APPLICATION_INITIALIZINGโ
readonly APPLICATION_INITIALIZING: "[ApplicationService] Initializing application services" = "[ApplicationService] Initializing application services";
Application service initialization
APPLICATION_QUITTINGโ
readonly APPLICATION_QUITTING: "[ApplicationService] Quitting app (non-macOS)" = "[ApplicationService] Quitting app (non-macOS)";
Application quitting
APPLICATION_READYโ
readonly APPLICATION_READY: "[ApplicationService] App ready - initializing services" = "[ApplicationService] App ready - initializing services";
Application app ready
APPLICATION_SERVICES_INITIALIZEDโ
readonly APPLICATION_SERVICES_INITIALIZED: "[ApplicationService] All services initialized successfully" = "[ApplicationService] All services initialized successfully";
Application services initialized
APPLICATION_WINDOWS_CLOSEDโ
readonly APPLICATION_WINDOWS_CLOSED: "[ApplicationService] All windows closed" = "[ApplicationService] All windows closed";
Application all windows closed
DATABASE_BACKUP_CREATEDโ
readonly DATABASE_BACKUP_CREATED: "[DatabaseBackup] Database backup created successfully" = "[DatabaseBackup] Database backup created successfully";
Database backup created
DATABASE_CONNECTION_CLOSEDโ
readonly DATABASE_CONNECTION_CLOSED: "[DatabaseService] Database connection closed safely" = "[DatabaseService] Database connection closed safely";
Database connection closed
DATABASE_INDEXES_CREATEDโ
readonly DATABASE_INDEXES_CREATED: "[DatabaseSchema] All indexes created successfully" = "[DatabaseSchema] All indexes created successfully";
Database indexes created
DATABASE_INITIALIZEDโ
readonly DATABASE_INITIALIZED: "[DatabaseService] Database initialized successfully" = "[DatabaseService] Database initialized successfully";
Database initialized successfully
DATABASE_LOCK_RECOVERY_NO_ARTIFACTSโ
readonly DATABASE_LOCK_RECOVERY_NO_ARTIFACTS: "[DatabaseService] No stale lock artifacts detected during recovery attempt {attempt}" = "[DatabaseService] No stale lock artifacts detected during recovery attempt {attempt}";
Database recovery performed without finding artifacts
DATABASE_LOCK_RECOVERY_RELOCATEDโ
readonly DATABASE_LOCK_RECOVERY_RELOCATED: "[DatabaseService] Relocated {count} stale lock artifact(s) blocking initialization" = "[DatabaseService] Relocated {count} stale lock artifact(s) blocking initialization";
Database recovered by relocating stale lock artifacts
DATABASE_MONITOR_VALIDATION_INITIALIZEDโ
readonly DATABASE_MONITOR_VALIDATION_INITIALIZED: "[DatabaseSchema] Monitor type validation initialized" = "[DatabaseSchema] Monitor type validation initialized";
Database monitor validation initialized
DATABASE_MONITOR_VALIDATION_READYโ
readonly DATABASE_MONITOR_VALIDATION_READY: "[DatabaseSchema] Monitor type validation framework ready" = "[DatabaseSchema] Monitor type validation framework ready";
Database monitor validation ready
DATABASE_SCHEMA_CREATEDโ
readonly DATABASE_SCHEMA_CREATED: "[DatabaseSchema] Database schema created successfully" = "[DatabaseSchema] Database schema created successfully";
Database schema created
DATABASE_TABLES_CREATEDโ
readonly DATABASE_TABLES_CREATED: "[DatabaseSchema] All tables created successfully" = "[DatabaseSchema] All tables created successfully";
Database tables created
IPC_DELETE_ALL_SITES_COMPLETEDโ
readonly IPC_DELETE_ALL_SITES_COMPLETED: "[IpcService] delete-all-sites completed, deleted {deletedCount} site(s)" = "[IpcService] delete-all-sites completed, deleted {deletedCount} site(s)";
Delete-all-sites IPC handler completed
IPC_DELETE_ALL_SITES_HANDLER_CALLEDโ
readonly IPC_DELETE_ALL_SITES_HANDLER_CALLED: "[IpcService] delete-all-sites handler invoked" = "[IpcService] delete-all-sites handler invoked";
Delete-all-sites IPC handler invoked
IPC_SERVICE_CLEANUPโ
readonly IPC_SERVICE_CLEANUP: "[IpcService] Cleaning up IPC handlers" = "[IpcService] Cleaning up IPC handlers";
IPC service cleanup
MONITOR_MANAGER_APPLYING_INTERVALSโ
readonly MONITOR_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โ
readonly MONITOR_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โ
readonly MONITOR_REMOVED_FROM_SITE: "[SiteManager] Monitor {monitorId} removed from site {siteIdentifier}" = "[SiteManager] Monitor {monitorId} removed from site {siteIdentifier}";
Monitor removed from site
MONITOR_STARTEDโ
readonly MONITOR_STARTED: "Started monitoring for monitor {monitorId} on site {siteIdentifier}" = "Started monitoring for monitor {monitorId} on site {siteIdentifier}";
Monitor started
MONITOR_STOPPEDโ
readonly MONITOR_STOPPED: "Stopped monitoring for monitor {monitorId} on site {siteIdentifier}" = "Stopped monitoring for monitor {monitorId} on site {siteIdentifier}";
Monitor stopped
SITE_ADDED_SUCCESSโ
readonly SITE_ADDED_SUCCESS: "Site added successfully: {identifier} ({name})" = "Site added successfully: {identifier} ({name})";
Site added successfully
SITE_MANAGER_INITIALIZEDโ
readonly SITE_MANAGER_INITIALIZED: "[SiteManager] Initialized with {count} sites in cache" = "[SiteManager] Initialized with {count} sites in cache";
Site manager initialized
SITE_MANAGER_INITIALIZED_WITH_CACHEโ
readonly SITE_MANAGER_INITIALIZED_WITH_CACHE: "[SiteManager] Initialized with StandardizedCache" = "[SiteManager] Initialized with StandardizedCache";
Site manager initialized with cache
SITE_MANAGER_LOADING_CACHEโ
readonly SITE_MANAGER_LOADING_CACHE: "[SiteManager] Initializing - loading sites into cache" = "[SiteManager] Initializing - loading sites into cache";
Site manager cache loading
UPDATER_QUIT_INSTALLโ
readonly UPDATER_QUIT_INSTALL: "[AutoUpdaterService] Quitting and installing update" = "[AutoUpdaterService] Quitting and installing update";
Auto updater messages