Variable: DEBUG_LOGS
const
DEBUG_LOGS: {APPLICATION_CLEANUP_SERVICE
:"[ApplicationService] Cleaning up {name}"
;APPLICATION_FORWARDING_CACHE_INVALIDATION
:"[ApplicationService] Forwarding cache invalidation to renderer"
;APPLICATION_FORWARDING_MONITOR_STATUS
:"[ApplicationService] Forwarding monitor status change to renderer"
;APPLICATION_FORWARDING_MONITOR_UP
:"[ApplicationService] Monitor recovered - forwarding to renderer"
;APPLICATION_FORWARDING_MONITORING_STARTED
:"[ApplicationService] Forwarding monitoring started to renderer"
;APPLICATION_FORWARDING_MONITORING_STOPPED
:"[ApplicationService] Forwarding monitoring stopped to renderer"
;BACKGROUND_LOAD_COMPLETE
:"[SiteManager] Background site load completed: {identifier}"
;BACKGROUND_LOAD_START
:"[SiteManager] Loading site in background: {identifier}"
;EVENT_BUS_CLEARED
:"[TypedEventBus:{busId}] Cleared {count} middleware functions"
;EVENT_BUS_CREATED
:"[TypedEventBus:{busId}] Created new event bus (max middleware: {maxMiddleware})"
;EVENT_BUS_EMISSION_START
:"[TypedEventBus:{busId}] Starting emission of '{eventName}' [{correlationId}]"
;EVENT_BUS_EMISSION_SUCCESS
:"[TypedEventBus:{busId}] Successfully emitted '{eventName}' [{correlationId}]"
;EVENT_BUS_LISTENER_REGISTERED
:"[TypedEventBus:{busId}] Registered listener for '{eventName}'"
;EVENT_BUS_LISTENER_REMOVED
:"[TypedEventBus:{busId}] Removed listener(s) for '{eventName}'"
;EVENT_BUS_MIDDLEWARE_REMOVED
:"[TypedEventBus:{busId}] Removed middleware (remaining: {count})"
;EVENT_BUS_ONE_TIME_LISTENER
:"[TypedEventBus:{busId}] Registered one-time listener for '{eventName}'"
;HISTORY_ENTRY_ADDED
:"[HistoryManipulation] Added history entry for monitor: {monitorId} - Status: {status}"
;MONITOR_AUTO_STARTED
:"[MonitorManager] Auto-started monitoring for new monitor: {monitorId}"
;MONITOR_CHECK_START
:"Checking monitor: site={siteIdentifier}, id={monitorId}, operation={operationId}"
;MONITOR_INTERVALS_APPLIED
:"[MonitorManager] Applied interval for monitor {monitorId}: {interval}s"
;MONITOR_MANAGER_AUTO_STARTING_SITE
:"[MonitorManager] Auto-starting monitoring for site: {identifier}"
;MONITOR_MANAGER_INTERVALS_SETTING
:"[MonitorManager] Applying default intervals for site: {identifier}"
;MONITOR_MANAGER_NO_MONITORS_FOUND
:"[MonitorManager] No monitors found for site: {identifier}"
;MONITOR_MANAGER_SETUP_MONITORS
:"[MonitorManager] Setting up {count} new monitors for site: {identifier}"
;MONITOR_MANAGER_SKIP_AUTO_START
:"[MonitorManager] Skipping auto-start for new monitors - site monitoring disabled"
;MONITOR_MANAGER_SKIP_INDIVIDUAL
:"[MonitorManager] Skipping monitor {monitorId} - individual monitoring disabled"
;MONITOR_MANAGER_SKIP_NEW_INDIVIDUAL
:"[MonitorManager] Skipping new monitor {monitorId} - individual monitoring disabled"
;MONITOR_MANAGER_VALID_MONITORS
:"[MonitorManager] No valid new monitors found for site: {identifier}"
;MONITOR_RESPONSE_TIME
:"[HttpMonitor] URL {url} responded with status {status} in {responseTime}ms"
;OPERATION_CANCELLED
:"Cancelled {count} operations for monitor {monitorId}"
;OPERATION_COMPLETED
:"Completed operation {operationId} for monitor {monitorId}"
;OPERATION_TIMEOUT_SCHEDULED
:"Scheduled timeout for operation {operationId} ({timeoutMs}ms)"
;SITE_BACKGROUND_LOAD_FAILED
:"[SiteManager] Site not found during background load: {identifier}"
;SITE_CACHE_MISS_ERROR
:"[SiteManager] Failed to emit cache miss event"
;SITE_LOADING_ERROR_IGNORED
:"[SiteManager] Background loading error ignored"
; }
Defined in: shared/utils/logTemplates.ts:169
Debug and diagnostic log templates.
Type Declarationโ
APPLICATION_CLEANUP_SERVICEโ
readonly
APPLICATION_CLEANUP_SERVICE:"[ApplicationService] Cleaning up {name}"
="[ApplicationService] Cleaning up {name}"
Application cleanup service
APPLICATION_FORWARDING_CACHE_INVALIDATIONโ
readonly
APPLICATION_FORWARDING_CACHE_INVALIDATION:"[ApplicationService] Forwarding cache invalidation to renderer"
="[ApplicationService] Forwarding cache invalidation to renderer"
Application forwarding events
APPLICATION_FORWARDING_MONITOR_STATUSโ
readonly
APPLICATION_FORWARDING_MONITOR_STATUS:"[ApplicationService] Forwarding monitor status change to renderer"
="[ApplicationService] Forwarding monitor status change to renderer"
APPLICATION_FORWARDING_MONITOR_UPโ
readonly
APPLICATION_FORWARDING_MONITOR_UP:"[ApplicationService] Monitor recovered - forwarding to renderer"
="[ApplicationService] Monitor recovered - forwarding to renderer"
APPLICATION_FORWARDING_MONITORING_STARTEDโ
readonly
APPLICATION_FORWARDING_MONITORING_STARTED:"[ApplicationService] Forwarding monitoring started to renderer"
="[ApplicationService] Forwarding monitoring started to renderer"
APPLICATION_FORWARDING_MONITORING_STOPPEDโ
readonly
APPLICATION_FORWARDING_MONITORING_STOPPED:"[ApplicationService] Forwarding monitoring stopped to renderer"
="[ApplicationService] Forwarding monitoring stopped to renderer"
BACKGROUND_LOAD_COMPLETEโ
readonly
BACKGROUND_LOAD_COMPLETE:"[SiteManager] Background site load completed: {identifier}"
="[SiteManager] Background site load completed: {identifier}"
Background operations
BACKGROUND_LOAD_STARTโ
readonly
BACKGROUND_LOAD_START:"[SiteManager] Loading site in background: {identifier}"
="[SiteManager] Loading site in background: {identifier}"
EVENT_BUS_CLEAREDโ
readonly
EVENT_BUS_CLEARED:"[TypedEventBus:{busId}] Cleared {count} middleware functions"
="[TypedEventBus:{busId}] Cleared {count} middleware functions"
Event bus operations
EVENT_BUS_CREATEDโ
readonly
EVENT_BUS_CREATED:"[TypedEventBus:{busId}] Created new event bus (max middleware: {maxMiddleware})"
="[TypedEventBus:{busId}] Created new event bus (max middleware: {maxMiddleware})"
EVENT_BUS_EMISSION_STARTโ
readonly
EVENT_BUS_EMISSION_START:"[TypedEventBus:{busId}] Starting emission of '{eventName}' [{correlationId}]"
="[TypedEventBus:{busId}] Starting emission of '{eventName}' [{correlationId}]"
EVENT_BUS_EMISSION_SUCCESSโ
readonly
EVENT_BUS_EMISSION_SUCCESS:"[TypedEventBus:{busId}] Successfully emitted '{eventName}' [{correlationId}]"
="[TypedEventBus:{busId}] Successfully emitted '{eventName}' [{correlationId}]"
EVENT_BUS_LISTENER_REGISTEREDโ
readonly
EVENT_BUS_LISTENER_REGISTERED:"[TypedEventBus:{busId}] Registered listener for '{eventName}'"
="[TypedEventBus:{busId}] Registered listener for '{eventName}'"
EVENT_BUS_LISTENER_REMOVEDโ
readonly
EVENT_BUS_LISTENER_REMOVED:"[TypedEventBus:{busId}] Removed listener(s) for '{eventName}'"
="[TypedEventBus:{busId}] Removed listener(s) for '{eventName}'"
EVENT_BUS_MIDDLEWARE_REMOVEDโ
readonly
EVENT_BUS_MIDDLEWARE_REMOVED:"[TypedEventBus:{busId}] Removed middleware (remaining: {count})"
="[TypedEventBus:{busId}] Removed middleware (remaining: {count})"
EVENT_BUS_ONE_TIME_LISTENERโ
readonly
EVENT_BUS_ONE_TIME_LISTENER:"[TypedEventBus:{busId}] Registered one-time listener for '{eventName}'"
="[TypedEventBus:{busId}] Registered one-time listener for '{eventName}'"
HISTORY_ENTRY_ADDEDโ
readonly
HISTORY_ENTRY_ADDED:"[HistoryManipulation] Added history entry for monitor: {monitorId} - Status: {status}"
="[HistoryManipulation] Added history entry for monitor: {monitorId} - Status: {status}"
History operations
MONITOR_AUTO_STARTEDโ
readonly
MONITOR_AUTO_STARTED:"[MonitorManager] Auto-started monitoring for new monitor: {monitorId}"
="[MonitorManager] Auto-started monitoring for new monitor: {monitorId}"
Monitor lifecycle
MONITOR_CHECK_STARTโ
readonly
MONITOR_CHECK_START:"Checking monitor: site={siteIdentifier}, id={monitorId}, operation={operationId}"
="Checking monitor: site={siteIdentifier}, id={monitorId}, operation={operationId}"
MONITOR_INTERVALS_APPLIEDโ
readonly
MONITOR_INTERVALS_APPLIED:"[MonitorManager] Applied interval for monitor {monitorId}: {interval}s"
="[MonitorManager] Applied interval for monitor {monitorId}: {interval}s"
MONITOR_MANAGER_AUTO_STARTING_SITEโ
readonly
MONITOR_MANAGER_AUTO_STARTING_SITE:"[MonitorManager] Auto-starting monitoring for site: {identifier}"
="[MonitorManager] Auto-starting monitoring for site: {identifier}"
MONITOR_MANAGER_INTERVALS_SETTINGโ
readonly
MONITOR_MANAGER_INTERVALS_SETTING:"[MonitorManager] Applying default intervals for site: {identifier}"
="[MonitorManager] Applying default intervals for site: {identifier}"
MONITOR_MANAGER_NO_MONITORS_FOUNDโ
readonly
MONITOR_MANAGER_NO_MONITORS_FOUND:"[MonitorManager] No monitors found for site: {identifier}"
="[MonitorManager] No monitors found for site: {identifier}"
MONITOR_MANAGER_SETUP_MONITORSโ
readonly
MONITOR_MANAGER_SETUP_MONITORS:"[MonitorManager] Setting up {count} new monitors for site: {identifier}"
="[MonitorManager] Setting up {count} new monitors for site: {identifier}"
MONITOR_MANAGER_SKIP_AUTO_STARTโ
readonly
MONITOR_MANAGER_SKIP_AUTO_START:"[MonitorManager] Skipping auto-start for new monitors - site monitoring disabled"
="[MonitorManager] Skipping auto-start for new monitors - site monitoring disabled"
MONITOR_MANAGER_SKIP_INDIVIDUALโ
readonly
MONITOR_MANAGER_SKIP_INDIVIDUAL:"[MonitorManager] Skipping monitor {monitorId} - individual monitoring disabled"
="[MonitorManager] Skipping monitor {monitorId} - individual monitoring disabled"
MONITOR_MANAGER_SKIP_NEW_INDIVIDUALโ
readonly
MONITOR_MANAGER_SKIP_NEW_INDIVIDUAL:"[MonitorManager] Skipping new monitor {monitorId} - individual monitoring disabled"
="[MonitorManager] Skipping new monitor {monitorId} - individual monitoring disabled"
MONITOR_MANAGER_VALID_MONITORSโ
readonly
MONITOR_MANAGER_VALID_MONITORS:"[MonitorManager] No valid new monitors found for site: {identifier}"
="[MonitorManager] No valid new monitors found for site: {identifier}"
MONITOR_RESPONSE_TIMEโ
readonly
MONITOR_RESPONSE_TIME:"[HttpMonitor] URL {url} responded with status {status} in {responseTime}ms"
="[HttpMonitor] URL {url} responded with status {status} in {responseTime}ms"
OPERATION_CANCELLEDโ
readonly
OPERATION_CANCELLED:"Cancelled {count} operations for monitor {monitorId}"
="Cancelled {count} operations for monitor {monitorId}"
Operation management
OPERATION_COMPLETEDโ
readonly
OPERATION_COMPLETED:"Completed operation {operationId} for monitor {monitorId}"
="Completed operation {operationId} for monitor {monitorId}"
OPERATION_TIMEOUT_SCHEDULEDโ
readonly
OPERATION_TIMEOUT_SCHEDULED:"Scheduled timeout for operation {operationId} ({timeoutMs}ms)"
="Scheduled timeout for operation {operationId} ({timeoutMs}ms)"
SITE_BACKGROUND_LOAD_FAILEDโ
readonly
SITE_BACKGROUND_LOAD_FAILED:"[SiteManager] Site not found during background load: {identifier}"
="[SiteManager] Site not found during background load: {identifier}"
Site operations
SITE_CACHE_MISS_ERRORโ
readonly
SITE_CACHE_MISS_ERROR:"[SiteManager] Failed to emit cache miss event"
="[SiteManager] Failed to emit cache miss event"
SITE_LOADING_ERROR_IGNOREDโ
readonly
SITE_LOADING_ERROR_IGNORED:"[SiteManager] Background loading error ignored"
="[SiteManager] Background loading error ignored"