Class FallbackLoggerConfiguration



  • public class FallbackLoggerConfiguration
    extends Object
    This class can be used to configure Javacord's fallback logger.
    • 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.