Class LoggerUtils

java.lang.Object
com.lucimber.dbus.util.LoggerUtils

public final class LoggerUtils extends Object
Provides common methods necessary for logging and standard logging markers for categorizing log output.

The class provides the following types of markers: High-level categories like SASL, DBUS, TRANSPORT, MARSHALLING, etc.

Example usage:


 LOGGER.info(LoggerUtils.SASL, "Authentication completed successfully");
 LOGGER.debug(LoggerUtils.DBUS, "Sending Hello method call");
 LOGGER.trace(LoggerUtils.MARSHALLING, "Encoding message body");
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Marker
    Connection state management.
    static final org.slf4j.Marker
    D-Bus protocol operations.
    static final org.slf4j.Marker
    Handler pipeline management.
    static final org.slf4j.Marker
    Health monitoring.
    static final org.slf4j.Marker
    Message marshalling and unmarshalling operations.
    static final org.slf4j.Marker
    Authentication processes.
    static final org.slf4j.Marker
    Network transport operations.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SASL

      public static final org.slf4j.Marker SASL
      Authentication processes.
    • DBUS

      public static final org.slf4j.Marker DBUS
      D-Bus protocol operations.
    • TRANSPORT

      public static final org.slf4j.Marker TRANSPORT
      Network transport operations.
    • MARSHALLING

      public static final org.slf4j.Marker MARSHALLING
      Message marshalling and unmarshalling operations.
    • HANDLER_LIFECYCLE

      public static final org.slf4j.Marker HANDLER_LIFECYCLE
      Handler pipeline management.
    • CONNECTION

      public static final org.slf4j.Marker CONNECTION
      Connection state management.
    • HEALTH

      public static final org.slf4j.Marker HEALTH
      Health monitoring.