Class LoggingHandler

    • Field Detail

      • NEWLINE

        private static final java.lang.String NEWLINE
      • BYTE2HEX

        private static final java.lang.String[] BYTE2HEX
      • HEXPADDING

        private static final java.lang.String[] HEXPADDING
      • BYTEPADDING

        private static final java.lang.String[] BYTEPADDING
      • BYTE2CHAR

        private static final char[] BYTE2CHAR
      • hexDump

        private final boolean hexDump
    • Constructor Detail

      • LoggingHandler

        public LoggingHandler()
        Creates a new instance whose logger name is the fully qualified class name of the instance with hex dump enabled.
      • LoggingHandler

        public LoggingHandler​(InternalLogLevel level)
        Creates a new instance whose logger name is the fully qualified class name of the instance.
        Parameters:
        level - the log level
      • LoggingHandler

        public LoggingHandler​(boolean hexDump)
        Creates a new instance whose logger name is the fully qualified class name of the instance.
        Parameters:
        hexDump - true if and only if the hex dump of the received message is logged
      • LoggingHandler

        public LoggingHandler​(InternalLogLevel level,
                              boolean hexDump)
        Creates a new instance whose logger name is the fully qualified class name of the instance.
        Parameters:
        level - the log level
        hexDump - true if and only if the hex dump of the received message is logged
      • LoggingHandler

        public LoggingHandler​(java.lang.Class<?> clazz)
        Creates a new instance with the specified logger name and with hex dump enabled.
      • LoggingHandler

        public LoggingHandler​(java.lang.Class<?> clazz,
                              boolean hexDump)
        Creates a new instance with the specified logger name.
        Parameters:
        hexDump - true if and only if the hex dump of the received message is logged
      • LoggingHandler

        public LoggingHandler​(java.lang.Class<?> clazz,
                              InternalLogLevel level)
        Creates a new instance with the specified logger name.
        Parameters:
        level - the log level
      • LoggingHandler

        public LoggingHandler​(java.lang.Class<?> clazz,
                              InternalLogLevel level,
                              boolean hexDump)
        Creates a new instance with the specified logger name.
        Parameters:
        level - the log level
        hexDump - true if and only if the hex dump of the received message is logged
      • LoggingHandler

        public LoggingHandler​(java.lang.String name)
        Creates a new instance with the specified logger name and with hex dump enabled.
      • LoggingHandler

        public LoggingHandler​(java.lang.String name,
                              boolean hexDump)
        Creates a new instance with the specified logger name.
        Parameters:
        hexDump - true if and only if the hex dump of the received message is logged
      • LoggingHandler

        public LoggingHandler​(java.lang.String name,
                              InternalLogLevel level,
                              boolean hexDump)
        Creates a new instance with the specified logger name.
        Parameters:
        level - the log level
        hexDump - true if and only if the hex dump of the received message is logged