com.ibm.mm.logging
Class FastFormatter
- java.lang.Object
-
- java.util.logging.Formatter
-
- com.ibm.mm.logging.FastFormatter
-
public class FastFormatter extends java.util.logging.FormatterHigh-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
-
-
Constructor Summary
Constructors Constructor and Description FastFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Stringformat(java.util.logging.LogRecord record)Format a log record efficiently
-