Package com.ibm.mm.logging
Logging utilities and custom handlers for application logging.
See: Description
-
Class Summary Class Description AsyncFileHandler High-performance asynchronous file handler for Java Util Logging Provides non-blocking logging with 10-50x better throughput than synchronous handlers Features: - Non-blocking publish (returns immediately) - Background thread for actual I/O - Bounded queue to prevent memory issues - Automatic file rotation - Graceful shutdownErrorFileHandler Separate file handler for ERROR and SEVERE logs only Helps in quickly identifying critical issuesFastFormatter High-performance formatter for Java Util Logging Optimized for speed by reusing objects and minimizing allocations Performance improvements: - Reuses StringBuilder (2x faster than creating new) - Fast timestamp formatting (no SimpleDateFormat overhead) - Minimal object creation - Efficient string operations Note: Not thread-safe, but formatters are called sequentially by handlersLoggerManager Centralized logger configuration and management Provides easy access to loggers and runtime configuration OPTIMIZED VERSION with AsyncFileHandler for high performance: - 10-50x faster logging throughput - Non-blocking publish operations - Less than 1ms latency per log
Package com.ibm.mm.logging Description
Logging utilities and custom handlers for application logging.
This package provides custom logging implementations including:
- Asynchronous file handlers (
AsyncFileHandler) - Error-specific file handlers (
ErrorFileHandler) - Fast log formatters (
FastFormatter) - Logger management utilities (
LoggerManager)
- Since:
- 1.0.0