Class SecureELFFormatter


  • public class SecureELFFormatter
    extends Formatter
    This Formatter is the custom defined Formatter for DSAME which formats the logRecord according to ELF. For details of ELF specification pls refer www.w3.org/TR/WD-logfile.html. This Formatter will put the version number and Fields as the first 2 lines and the data corresponding to each field follows. If a field is not selected a "-" is put.
    • Constructor Detail

      • SecureELFFormatter

        public SecureELFFormatter()
        returns a ELF Formatter
    • Method Detail

      • format

        public String format​(LogRecord logRecord)
        Format the given record as per ELF and return a formatted string.

        For ELF Specifications refer

      • www.w3.org/TR/WD-logfile.html
Specified by:
format in class Formatter
Parameters:
logRecord - The logRecord to be formatted
Returns:
The string formed by formatting the logRecord