Interface Logger


  • public interface Logger
    Logging interface for Mosip
    Since:
    1.0.0
    Author:
    Urvil Joshi
    • Method Detail

      • debug

        void debug​(String sessionId,
                   String idType,
                   String id,
                   String description)
        Logs at Debug logging level
        Parameters:
        sessionId - session id
        idType - type of id
        id - id value
        description - description of log
      • warn

        void warn​(String sessionId,
                  String idType,
                  String id,
                  String description)
        Logs at Warn logging level
        Parameters:
        sessionId - session id
        idType - type of id
        id - id value
        description - description of log
      • error

        void error​(String sessionId,
                   String idType,
                   String id,
                   String description)
        Logs at Error logging level
        Parameters:
        sessionId - session id
        idType - type of id
        id - id value
        description - description of log
      • info

        void info​(String sessionId,
                  String idType,
                  String id,
                  String description)
        Logs at Info logging level
        Parameters:
        sessionId - session id
        idType - type of id
        id - id value
        description - description of log
      • trace

        void trace​(String sessionId,
                   String idType,
                   String id,
                   String description)
        Logs at Trace logging level
        Parameters:
        sessionId - session id
        idType - type of id
        id - id value
        description - description of log
      • debug

        void debug​(String message)
        Default debug logging
      • debug

        void debug​(String message,
                   Object... args)
        Default debug logging with format and arguments
      • info

        void info​(String message)
        Default info logging
      • info

        void info​(String message,
                  Object... args)
        Default info logging with format and arguments
      • warn

        void warn​(String message)
        Default warn logging
      • warn

        void warn​(String message,
                  Object... args)
        Default warn logging with format and arguments
      • trace

        void trace​(String message)
        Default trace logging
      • trace

        void trace​(String message,
                   Object... args)
        Default trace logging with format and arguments
      • error

        void error​(String message)
        Default error logging
      • error

        void error​(String message,
                   Object... args)
        Default error logging with format and arguments
      • error

        void error​(String message,
                   Throwable throwable)
        Default error logging with stacktrace logging