Interface Logger

  • All Known Implementing Classes:
    JavaLogger

    public interface Logger
    LogListener
    • Method Detail

      • isEnabled

        boolean isEnabled​(String context,
                          int msgLevel)
        Is the logging for the given context at the specified message level enabled.
        Parameters:
        context -
        msgLevel -
        Returns:
      • log

        void log​(int level,
                 String context,
                 Object... msg)
      • shutdown

        void shutdown()
        Shut down this listener, requesting it clean up and release any resources it may have acquired during its use. The listener is free to ignore this request if it is not responsible for managing the resources it uses or if there are no resources.
      • removeMdc

        void removeMdc​(String key)