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 shutdown
    ErrorFileHandler
    Separate file handler for ERROR and SEVERE logs only Helps in quickly identifying critical issues
    FastFormatter
    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 handlers
    LoggerManager
    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:

Since:
1.0.0
Copyright © 2024 IBM Corporation

Copyright © 2024 IBM Corporation. All rights reserved.