Class FastLogFormatter

java.lang.Object
java.util.logging.Formatter
services.moleculer.logger.FastLogFormatter

public class FastLogFormatter extends Formatter
Fast log formatter for AsyncFileLogger. Generates nice, human-readable logs. The lines of the generated log file are readable by humans and machines.
  • Field Details

    • BREAK

      protected static final char[] BREAK
    • BREAK_STRING

      protected static final String BREAK_STRING
    • AT

      protected static final char[] AT
    • JAVA

      protected static final char[] JAVA
    • SEVERE

      protected static final char[] SEVERE
    • WARNING

      protected static final char[] WARNING
    • INFO

      protected static final char[] INFO
    • CONFIG

      protected static final char[] CONFIG
    • FINE

      protected static final char[] FINE
    • FINER

      protected static final char[] FINER
    • FINEST

      protected static final char[] FINEST
    • line

      protected final StringBuilder line
    • position

      protected volatile int position
  • Constructor Details

    • FastLogFormatter

      public FastLogFormatter()
  • Method Details