Class MarkerLoggingAdapter

java.lang.Object
org.apache.pekko.event.BusLogging
org.apache.pekko.event.MarkerLoggingAdapter
All Implemented Interfaces:
LoggingAdapter
Direct Known Subclasses:
DiagnosticMarkerBusLoggingAdapter, NoMarkerLogging$

public class MarkerLoggingAdapter extends BusLogging
LoggingAdapter extension which adds Marker support.
  • Constructor Details

  • Method Details

    • bus

      public LoggingBus bus()
      Overrides:
      bus in class BusLogging
    • debug

      public void debug(LogMarker marker, String message)
      Log message at debug level. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • debug

      public void debug(LogMarker marker, String template, Object arg1)
      Message template with 1 replacement argument. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".

      If arg1 is an Array it will be expanded into replacement arguments, which is useful when there are more than four arguments.

      See Also:
    • debug

      public void debug(LogMarker marker, String template, Object arg1, Object arg2)
      Message template with 2 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • debug

      public void debug(LogMarker marker, String template, Object arg1, Object arg2, Object arg3)
      Message template with 3 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • debug

      public void debug(LogMarker marker, String template, Object arg1, Object arg2, Object arg3, Object arg4)
      Message template with 4 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • error

      public void error(LogMarker marker, Throwable cause, String message)
      Log message at error level, including the exception that caused the error. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • error

      public void error(LogMarker marker, Throwable cause, String template, Object arg1)
      Message template with 1 replacement argument. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".

      If arg1 is an Array it will be expanded into replacement arguments, which is useful when there are more than four arguments.

      See Also:
    • error

      public void error(LogMarker marker, Throwable cause, String template, Object arg1, Object arg2)
      Message template with 2 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • error

      public void error(LogMarker marker, Throwable cause, String template, Object arg1, Object arg2, Object arg3)
      Message template with 3 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • error

      public void error(LogMarker marker, Throwable cause, String template, Object arg1, Object arg2, Object arg3, Object arg4)
      Message template with 4 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • error

      public void error(LogMarker marker, String message)
      Log message at error level, without providing the exception that caused the error. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • error

      public void error(LogMarker marker, String template, Object arg1)
      Message template with 1 replacement argument. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".

      If arg1 is an Array it will be expanded into replacement arguments, which is useful when there are more than four arguments.

      See Also:
    • error

      public void error(LogMarker marker, String template, Object arg1, Object arg2)
      Message template with 2 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • error

      public void error(LogMarker marker, String template, Object arg1, Object arg2, Object arg3)
      Message template with 3 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • error

      public void error(LogMarker marker, String template, Object arg1, Object arg2, Object arg3, Object arg4)
      Message template with 4 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • info

      public void info(LogMarker marker, String message)
      Log message at info level. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • info

      public void info(LogMarker marker, String template, Object arg1)
      Message template with 1 replacement argument. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".

      If arg1 is an Array it will be expanded into replacement arguments, which is useful when there are more than four arguments.

      See Also:
    • info

      public void info(LogMarker marker, String template, Object arg1, Object arg2)
      Message template with 2 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • info

      public void info(LogMarker marker, String template, Object arg1, Object arg2, Object arg3)
      Message template with 3 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • info

      public void info(LogMarker marker, String template, Object arg1, Object arg2, Object arg3, Object arg4)
      Message template with 4 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • isDebugEnabled

      public boolean isDebugEnabled(LogMarker marker)
    • isErrorEnabled

      public boolean isErrorEnabled(LogMarker marker)
    • isInfoEnabled

      public boolean isInfoEnabled(LogMarker marker)
    • isWarningEnabled

      public boolean isWarningEnabled(LogMarker marker)
    • log

      public void log(LogMarker marker, Logging.LogLevel level, String message)
      Log message at the specified log level.
    • logClass

      public Class<?> logClass()
      Overrides:
      logClass in class BusLogging
    • logSource

      public String logSource()
      Overrides:
      logSource in class BusLogging
    • loggingFilterWithMarker

      public LoggingFilterWithMarker loggingFilterWithMarker()
    • warning

      public void warning(LogMarker marker, String message)
      Log message at warning level. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • warning

      public void warning(LogMarker marker, String template, Object arg1)
      Message template with 1 replacement argument. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".

      If arg1 is an Array it will be expanded into replacement arguments, which is useful when there are more than four arguments.

      See Also:
    • warning

      public void warning(LogMarker marker, String template, Object arg1, Object arg2)
      Message template with 2 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • warning

      public void warning(LogMarker marker, String template, Object arg1, Object arg2, Object arg3)
      Message template with 3 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also:
    • warning

      public void warning(LogMarker marker, String template, Object arg1, Object arg2, Object arg3, Object arg4)
      Message template with 4 replacement arguments. The marker argument can be picked up by various logging frameworks such as slf4j to mark this log statement as "special".
      See Also: