Class GrouperInstallerLog
- All Implemented Interfaces:
Log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
assignDebugToConsole
(boolean theDebugToConsole) if we should debug to consolevoid
Log a message with debug log level.void
Log an error with debug log level.static boolean
if we should debug to consolevoid
Log a message with error log level.void
Log an error with error log level.void
Log a message with fatal log level.void
Log an error with fatal log level.void
Log a message with info log level.void
Log an error with info log level.boolean
Is debug logging currently enabled?boolean
Is error logging currently enabled?boolean
Is fatal logging currently enabled?boolean
Is info logging currently enabled?boolean
Is trace logging currently enabled?boolean
Is warn logging currently enabled?void
Log a message with trace log level.void
Log an error with trace log level.void
Log a message with warn log level.void
Log an error with warn log level.
-
Constructor Details
-
GrouperInstallerLog
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
-
debug
Description copied from interface:Log
Log a message with debug log level.
-
debug
Description copied from interface:Log
Log an error with debug log level.
-
error
Description copied from interface:Log
Log a message with error log level.
-
error
Description copied from interface:Log
Log an error with error log level.
-
fatal
Description copied from interface:Log
Log a message with fatal log level.
-
fatal
Description copied from interface:Log
Log an error with fatal log level.
-
info
Description copied from interface:Log
Log a message with info log level.
-
info
Description copied from interface:Log
Log an error with info log level.
-
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 interfaceLog
- Returns:
- true if debug is enabled in the underlying logger.
- See Also:
-
edu.internet2.middleware.grouperClientExt.org.apache.commons.logging.Log#isDebugEnabled()
-
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 interfaceLog
- Returns:
- true if error is enabled in the underlying logger.
- See Also:
-
edu.internet2.middleware.grouperClientExt.org.apache.commons.logging.Log#isErrorEnabled()
-
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 interfaceLog
- Returns:
- true if fatal is enabled in the underlying logger.
- See Also:
-
edu.internet2.middleware.grouperClientExt.org.apache.commons.logging.Log#isFatalEnabled()
-
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 interfaceLog
- Returns:
- true if info is enabled in the underlying logger.
- See Also:
-
edu.internet2.middleware.grouperClientExt.org.apache.commons.logging.Log#isInfoEnabled()
-
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 interfaceLog
- Returns:
- true if trace is enabled in the underlying logger.
- See Also:
-
edu.internet2.middleware.grouperClientExt.org.apache.commons.logging.Log#isTraceEnabled()
-
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 interfaceLog
- Returns:
- true if warn is enabled in the underlying logger.
- See Also:
-
edu.internet2.middleware.grouperClientExt.org.apache.commons.logging.Log#isWarnEnabled()
-
trace
Description copied from interface:Log
Log a message with trace log level.
-
trace
Description copied from interface:Log
Log an error with trace log level.
-
warn
Description copied from interface:Log
Log a message with warn log level.
-
warn
Description copied from interface:Log
Log an error with warn log level.
-