Class GrouperClientLog

java.lang.Object
edu.internet2.middleware.grouperClient.util.GrouperClientLog
All Implemented Interfaces:
Log

public class GrouperClientLog extends Object implements Log
  • Constructor Details

    • GrouperClientLog

      public GrouperClientLog(Log theLog)
      wrap a logger
      Parameters:
      theLog -
  • Method Details

    • assignDebugToConsole

      public static void assignDebugToConsole(boolean theDebugToConsole)
      if we should debug to console
      Parameters:
      theDebugToConsole -
    • debugToConsole

      public static boolean debugToConsole()
      if we should debug to console
      Returns:
      if debug to console
    • debugToConsoleByFlag

      public static boolean debugToConsoleByFlag()
      if we should debug to console
      Returns:
      if debug to console
    • debug

      public void debug(Object message)
      Description copied from interface: Log

      Log a message with debug log level.

      Specified by:
      debug in interface Log
      Parameters:
      message - log this message
      See Also:
    • debug

      public void debug(Object message, Throwable t)
      Description copied from interface: Log

      Log an error with debug log level.

      Specified by:
      debug in interface Log
      Parameters:
      message - log this message
      t - log this cause
      See Also:
    • error

      public void error(Object message)
      Description copied from interface: Log

      Log a message with error log level.

      Specified by:
      error in interface Log
      Parameters:
      message - log this message
      See Also:
    • error

      public void error(Object message, Throwable t)
      Description copied from interface: Log

      Log an error with error log level.

      Specified by:
      error in interface Log
      Parameters:
      message - log this message
      t - log this cause
      See Also:
    • fatal

      public void fatal(Object message)
      Description copied from interface: Log

      Log a message with fatal log level.

      Specified by:
      fatal in interface Log
      Parameters:
      message - log this message
      See Also:
    • fatal

      public void fatal(Object message, Throwable t)
      Description copied from interface: Log

      Log an error with fatal log level.

      Specified by:
      fatal in interface Log
      Parameters:
      message - log this message
      t - log this cause
      See Also:
    • info

      public void info(Object message)
      Description copied from interface: Log

      Log a message with info log level.

      Specified by:
      info in interface Log
      Parameters:
      message - log this message
      See Also:
    • info

      public void info(Object message, Throwable t)
      Description copied from interface: Log

      Log an error with info log level.

      Specified by:
      info in interface Log
      Parameters:
      message - log this message
      t - log this cause
      See Also:
    • isDebugEnabled

      public boolean isDebugEnabled()
      Description copied from interface: Log

      Is debug logging currently enabled?

      Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than debug.

      Specified by:
      isDebugEnabled in interface Log
      Returns:
      true if debug is enabled in the underlying logger.
      See Also:
    • isEnclosedLogDebugEnabled

      public boolean isEnclosedLogDebugEnabled()
      See Also:
    • isErrorEnabled

      public boolean isErrorEnabled()
      Description copied from interface: Log

      Is error logging currently enabled?

      Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than error.

      Specified by:
      isErrorEnabled in interface Log
      Returns:
      true if error is enabled in the underlying logger.
      See Also:
    • isFatalEnabled

      public boolean isFatalEnabled()
      Description copied from interface: Log

      Is fatal logging currently enabled?

      Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than fatal.

      Specified by:
      isFatalEnabled in interface Log
      Returns:
      true if fatal is enabled in the underlying logger.
      See Also:
    • isInfoEnabled

      public boolean isInfoEnabled()
      Description copied from interface: Log

      Is info logging currently enabled?

      Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than info.

      Specified by:
      isInfoEnabled in interface Log
      Returns:
      true if info is enabled in the underlying logger.
      See Also:
    • isTraceEnabled

      public boolean isTraceEnabled()
      Description copied from interface: Log

      Is trace logging currently enabled?

      Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than trace.

      Specified by:
      isTraceEnabled in interface Log
      Returns:
      true if trace is enabled in the underlying logger.
      See Also:
    • isWarnEnabled

      public boolean isWarnEnabled()
      Description copied from interface: Log

      Is warn logging currently enabled?

      Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than warn.

      Specified by:
      isWarnEnabled in interface Log
      Returns:
      true if warn is enabled in the underlying logger.
      See Also:
    • trace

      public void trace(Object message)
      Description copied from interface: Log

      Log a message with trace log level.

      Specified by:
      trace in interface Log
      Parameters:
      message - log this message
      See Also:
    • trace

      public void trace(Object message, Throwable t)
      Description copied from interface: Log

      Log an error with trace log level.

      Specified by:
      trace in interface Log
      Parameters:
      message - log this message
      t - log this cause
      See Also:
    • warn

      public void warn(Object message)
      Description copied from interface: Log

      Log a message with warn log level.

      Specified by:
      warn in interface Log
      Parameters:
      message - log this message
      See Also:
    • warn

      public void warn(Object message, Throwable t)
      Description copied from interface: Log

      Log an error with warn log level.

      Specified by:
      warn in interface Log
      Parameters:
      message - log this message
      t - log this cause
      See Also: