Asper Header  1.0.14
The header injector extension
Loading...
Searching...
No Matches
LoggerInternals Class Reference

Core utility infrastructure for logging operations and formatting. More...

Collaboration diagram for LoggerInternals:
Collaboration graph

Public Member Functions

 constructor ()
 Constructor for LoggerInternals.
 

Detailed Description

Core utility infrastructure for logging operations and formatting.

Provides the foundational utilities required by both console and GUI logging systems. This class encapsulates common operations like timestamp generation, log level prefix formatting, stack trace analysis, and configuration queries to ensure consistency across all logging channels.

Design Philosophy:

  • Single Responsibility: Each method handles one specific aspect of logging
  • Reusability: Shared by multiple logging classes to avoid code duplication
  • Performance: Optimized implementations for frequently called operations
  • Reliability: Robust error handling for stack trace analysis and timing

Core Responsibilities:

  • Timestamp Generation: High-precision datetime formatting with milliseconds
  • Log Level Management: Standardized prefix generation for all log levels
  • Caller Identification: Stack trace analysis to identify calling functions
  • Configuration Access: Centralized access to debug and extension settings
  • Installation Detection: Determines if extension is in development or production mode

Thread Safety: All methods are stateless and thread-safe, relying only on parameters and configuration state for their operations.

Definition at line 109 of file logger.ts.

Member Function Documentation

◆ constructor()

LoggerInternals::constructor ( )
inline

Constructor for LoggerInternals.

Initializes the internal logging utilities. No configuration required.

Definition at line 115 of file logger.ts.


The documentation for this class was generated from the following file: