Package akka.event

Class MarkerLoggingAdapter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LoggingBus bus()  
      void debug​(LogMarker marker, java.lang.String message)
      Log message at debug level.
      void debug​(LogMarker marker, java.lang.String template, java.lang.Object arg1)
      Message template with 1 replacement argument.
      void debug​(LogMarker marker, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2)
      Message template with 2 replacement arguments.
      void debug​(LogMarker marker, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
      Message template with 3 replacement arguments.
      void debug​(LogMarker marker, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4)
      Message template with 4 replacement arguments.
      void error​(LogMarker marker, java.lang.String message)
      Log message at error level, without providing the exception that caused the error.
      void error​(LogMarker marker, java.lang.String template, java.lang.Object arg1)
      Message template with 1 replacement argument.
      void error​(LogMarker marker, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2)
      Message template with 2 replacement arguments.
      void error​(LogMarker marker, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
      Message template with 3 replacement arguments.
      void error​(LogMarker marker, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4)
      Message template with 4 replacement arguments.
      void error​(LogMarker marker, java.lang.Throwable cause, java.lang.String message)
      Log message at error level, including the exception that caused the error.
      void error​(LogMarker marker, java.lang.Throwable cause, java.lang.String template, java.lang.Object arg1)
      Message template with 1 replacement argument.
      void error​(LogMarker marker, java.lang.Throwable cause, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2)
      Message template with 2 replacement arguments.
      void error​(LogMarker marker, java.lang.Throwable cause, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
      Message template with 3 replacement arguments.
      void error​(LogMarker marker, java.lang.Throwable cause, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4)
      Message template with 4 replacement arguments.
      void info​(LogMarker marker, java.lang.String message)
      Log message at info level.
      void info​(LogMarker marker, java.lang.String template, java.lang.Object arg1)
      Message template with 1 replacement argument.
      void info​(LogMarker marker, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2)
      Message template with 2 replacement arguments.
      void info​(LogMarker marker, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
      Message template with 3 replacement arguments.
      void info​(LogMarker marker, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4)
      Message template with 4 replacement arguments.
      boolean isDebugEnabled​(LogMarker marker)  
      boolean isErrorEnabled​(LogMarker marker)  
      boolean isInfoEnabled​(LogMarker marker)  
      boolean isWarningEnabled​(LogMarker marker)  
      void log​(LogMarker marker, Logging.LogLevel level, java.lang.String message)
      Log message at the specified log level.
      java.lang.Class<?> logClass()  
      LoggingFilterWithMarker loggingFilterWithMarker()  
      java.lang.String logSource()  
      void warning​(LogMarker marker, java.lang.String message)
      Log message at warning level.
      void warning​(LogMarker marker, java.lang.String template, java.lang.Object arg1)
      Message template with 1 replacement argument.
      void warning​(LogMarker marker, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2)
      Message template with 2 replacement arguments.
      void warning​(LogMarker marker, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
      Message template with 3 replacement arguments.
      void warning​(LogMarker marker, java.lang.String template, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4)
      Message template with 4 replacement arguments.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MarkerLoggingAdapter

        public MarkerLoggingAdapter​(LoggingBus bus,
                                    java.lang.String logSource,
                                    java.lang.Class<?> logClass,
                                    LoggingFilter loggingFilter)
      • MarkerLoggingAdapter

        public MarkerLoggingAdapter​(LoggingBus bus,
                                    java.lang.String logSource,
                                    java.lang.Class<?> logClass)
    • Method Detail

      • debug

        public void debug​(LogMarker marker,
                          java.lang.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".
        Parameters:
        marker - (undocumented)
        message - (undocumented)
        See Also:
        LoggingAdapter
      • debug

        public void debug​(LogMarker marker,
                          java.lang.String template,
                          java.lang.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.

        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        See Also:
        LoggingAdapter
      • debug

        public void debug​(LogMarker marker,
                          java.lang.String template,
                          java.lang.Object arg1,
                          java.lang.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".
        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        See Also:
        LoggingAdapter
      • debug

        public void debug​(LogMarker marker,
                          java.lang.String template,
                          java.lang.Object arg1,
                          java.lang.Object arg2,
                          java.lang.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".
        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        arg3 - (undocumented)
        See Also:
        LoggingAdapter
      • debug

        public void debug​(LogMarker marker,
                          java.lang.String template,
                          java.lang.Object arg1,
                          java.lang.Object arg2,
                          java.lang.Object arg3,
                          java.lang.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".
        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        arg3 - (undocumented)
        arg4 - (undocumented)
        See Also:
        LoggingAdapter
      • error

        public void error​(LogMarker marker,
                          java.lang.Throwable cause,
                          java.lang.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".
        Parameters:
        marker - (undocumented)
        cause - (undocumented)
        message - (undocumented)
        See Also:
        LoggingAdapter
      • error

        public void error​(LogMarker marker,
                          java.lang.Throwable cause,
                          java.lang.String template,
                          java.lang.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.

        Parameters:
        marker - (undocumented)
        cause - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        See Also:
        LoggingAdapter
      • error

        public void error​(LogMarker marker,
                          java.lang.Throwable cause,
                          java.lang.String template,
                          java.lang.Object arg1,
                          java.lang.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".
        Parameters:
        marker - (undocumented)
        cause - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        See Also:
        LoggingAdapter
      • error

        public void error​(LogMarker marker,
                          java.lang.Throwable cause,
                          java.lang.String template,
                          java.lang.Object arg1,
                          java.lang.Object arg2,
                          java.lang.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".
        Parameters:
        marker - (undocumented)
        cause - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        arg3 - (undocumented)
        See Also:
        LoggingAdapter
      • error

        public void error​(LogMarker marker,
                          java.lang.Throwable cause,
                          java.lang.String template,
                          java.lang.Object arg1,
                          java.lang.Object arg2,
                          java.lang.Object arg3,
                          java.lang.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".
        Parameters:
        marker - (undocumented)
        cause - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        arg3 - (undocumented)
        arg4 - (undocumented)
        See Also:
        LoggingAdapter
      • error

        public void error​(LogMarker marker,
                          java.lang.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".
        Parameters:
        marker - (undocumented)
        message - (undocumented)
        See Also:
        LoggingAdapter
      • error

        public void error​(LogMarker marker,
                          java.lang.String template,
                          java.lang.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.

        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        See Also:
        LoggingAdapter
      • error

        public void error​(LogMarker marker,
                          java.lang.String template,
                          java.lang.Object arg1,
                          java.lang.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".
        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        See Also:
        LoggingAdapter
      • error

        public void error​(LogMarker marker,
                          java.lang.String template,
                          java.lang.Object arg1,
                          java.lang.Object arg2,
                          java.lang.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".
        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        arg3 - (undocumented)
        See Also:
        LoggingAdapter
      • error

        public void error​(LogMarker marker,
                          java.lang.String template,
                          java.lang.Object arg1,
                          java.lang.Object arg2,
                          java.lang.Object arg3,
                          java.lang.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".
        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        arg3 - (undocumented)
        arg4 - (undocumented)
        See Also:
        LoggingAdapter
      • info

        public void info​(LogMarker marker,
                         java.lang.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".
        Parameters:
        marker - (undocumented)
        message - (undocumented)
        See Also:
        LoggingAdapter
      • info

        public void info​(LogMarker marker,
                         java.lang.String template,
                         java.lang.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.

        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        See Also:
        LoggingAdapter
      • info

        public void info​(LogMarker marker,
                         java.lang.String template,
                         java.lang.Object arg1,
                         java.lang.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".
        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        See Also:
        LoggingAdapter
      • info

        public void info​(LogMarker marker,
                         java.lang.String template,
                         java.lang.Object arg1,
                         java.lang.Object arg2,
                         java.lang.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".
        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        arg3 - (undocumented)
        See Also:
        LoggingAdapter
      • info

        public void info​(LogMarker marker,
                         java.lang.String template,
                         java.lang.Object arg1,
                         java.lang.Object arg2,
                         java.lang.Object arg3,
                         java.lang.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".
        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        arg3 - (undocumented)
        arg4 - (undocumented)
        See Also:
        LoggingAdapter
      • 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,
                        java.lang.String message)
        Log message at the specified log level.
        Parameters:
        marker - (undocumented)
        level - (undocumented)
        message - (undocumented)
      • logClass

        public java.lang.Class<?> logClass()
        Overrides:
        logClass in class BusLogging
      • warning

        public void warning​(LogMarker marker,
                            java.lang.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".
        Parameters:
        marker - (undocumented)
        message - (undocumented)
        See Also:
        LoggingAdapter
      • warning

        public void warning​(LogMarker marker,
                            java.lang.String template,
                            java.lang.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.

        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        See Also:
        LoggingAdapter
      • warning

        public void warning​(LogMarker marker,
                            java.lang.String template,
                            java.lang.Object arg1,
                            java.lang.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".
        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        See Also:
        LoggingAdapter
      • warning

        public void warning​(LogMarker marker,
                            java.lang.String template,
                            java.lang.Object arg1,
                            java.lang.Object arg2,
                            java.lang.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".
        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        arg3 - (undocumented)
        See Also:
        LoggingAdapter
      • warning

        public void warning​(LogMarker marker,
                            java.lang.String template,
                            java.lang.Object arg1,
                            java.lang.Object arg2,
                            java.lang.Object arg3,
                            java.lang.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".
        Parameters:
        marker - (undocumented)
        template - (undocumented)
        arg1 - (undocumented)
        arg2 - (undocumented)
        arg3 - (undocumented)
        arg4 - (undocumented)
        See Also:
        LoggingAdapter