Interface TechnicalLoggerService

  • All Known Implementing Classes:
    TechnicalLoggerSLF4JImpl

    @Deprecated(forRemoval=true,
                since="7.15.0")
    public interface TechnicalLoggerService
    Deprecated, for removal: This API element is subject to removal in a future version.
    Author:
    Baptiste Mesta
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      TechnicalLogger asLogger​(java.lang.Class<?> clazz)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Provides a TechnicalLogger backed to this TechnicalLoggerService.
      boolean isLoggable​(java.lang.Class<?> callerClass, TechnicalLogSeverity severity)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void log​(java.lang.Class<?> callerClass, TechnicalLogSeverity severity, java.lang.String message)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void log​(java.lang.Class<?> callerClass, TechnicalLogSeverity severity, java.lang.String message, java.lang.Object... arguments)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generates parametrized logs like slf4j does.
      void log​(java.lang.Class<?> callerClass, TechnicalLogSeverity severity, java.lang.String message, java.lang.Throwable t)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void log​(java.lang.Class<?> callerClass, TechnicalLogSeverity severity, java.lang.Throwable t)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Detail

      • asLogger

        TechnicalLogger asLogger​(java.lang.Class<?> clazz)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Provides a TechnicalLogger backed to this TechnicalLoggerService.
        Since:
        7.8.0
      • log

        void log​(java.lang.Class<?> callerClass,
                 TechnicalLogSeverity severity,
                 java.lang.String message)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • log

        void log​(java.lang.Class<?> callerClass,
                 TechnicalLogSeverity severity,
                 java.lang.String message,
                 java.lang.Object... arguments)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Generates parametrized logs like slf4j does.
        Usage example:
        log(getClass(), INFO, "Ready to update process {} with {}", processId, complexObjectWithSlowToStringMethod);
        Since:
        7.8.0
      • log

        void log​(java.lang.Class<?> callerClass,
                 TechnicalLogSeverity severity,
                 java.lang.String message,
                 java.lang.Throwable t)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • log

        void log​(java.lang.Class<?> callerClass,
                 TechnicalLogSeverity severity,
                 java.lang.Throwable t)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • isLoggable

        boolean isLoggable​(java.lang.Class<?> callerClass,
                           TechnicalLogSeverity severity)
        Deprecated, for removal: This API element is subject to removal in a future version.