Class FallbackLoggerConfiguration


  • public class FallbackLoggerConfiguration
    extends java.lang.Object
    This class can be used to configure Javacord's fallback logger.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isDebugEnabled()
      Checks whether debug logging is enabled.
      static boolean isTraceEnabled()
      Checks whether trace logging is enabled.
      static void setDebug​(boolean debug)
      Sets whether debug logging should be enabled.
      static void setTrace​(boolean trace)
      Sets whether trace logging should be enabled.
      • Methods inherited from class java.lang.Object

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

      • isDebugEnabled

        public static boolean isDebugEnabled()
        Checks whether debug logging is enabled.
        Returns:
        Whether debug logging is enabled or not.
      • setDebug

        public static void setDebug​(boolean debug)
        Sets whether debug logging should be enabled. Disabling debug logging automatically disables trace logging, too.
        Parameters:
        debug - Whether debug logging should be enabled or not.
      • isTraceEnabled

        public static boolean isTraceEnabled()
        Checks whether trace logging is enabled.
        Returns:
        Whether trace logging is enabled or not.
      • setTrace

        public static void setTrace​(boolean trace)
        Sets whether trace logging should be enabled. Enabling trace logging automatically enables debug logging, too.
        Parameters:
        trace - Whether trace logging should be enabled or not.