Constructor and Description |
---|
GrouperInstallerLog(Log theLog)
wrap a logger
|
Modifier and Type | Method and Description |
---|---|
static void |
assignDebugToConsole(boolean theDebugToConsole)
if we should debug to console
|
void |
debug(Object message)
Log a message with debug log level.
|
void |
debug(Object message,
Throwable t)
Log an error with debug log level.
|
static boolean |
debugToConsole()
if we should debug to console
|
void |
error(Object message)
Log a message with error log level.
|
void |
error(Object message,
Throwable t)
Log an error with error log level.
|
void |
fatal(Object message)
Log a message with fatal log level.
|
void |
fatal(Object message,
Throwable t)
Log an error with fatal log level.
|
void |
info(Object message)
Log a message with info log level.
|
void |
info(Object message,
Throwable t)
Log an error with info log level.
|
boolean |
isDebugEnabled()
Is debug logging currently enabled?
|
boolean |
isErrorEnabled()
Is error logging currently enabled?
|
boolean |
isFatalEnabled()
Is fatal logging currently enabled?
|
boolean |
isInfoEnabled()
Is info logging currently enabled?
|
boolean |
isTraceEnabled()
Is trace logging currently enabled?
|
boolean |
isWarnEnabled()
Is warn logging currently enabled?
|
void |
trace(Object message)
Log a message with trace log level.
|
void |
trace(Object message,
Throwable t)
Log an error with trace log level.
|
void |
warn(Object message)
Log a message with warn log level.
|
void |
warn(Object message,
Throwable t)
Log an error with warn log level.
|
public GrouperInstallerLog(Log theLog)
theLog
- public static void assignDebugToConsole(boolean theDebugToConsole)
theDebugToConsole
- public static boolean debugToConsole()
public void debug(Object message)
Log
Log a message with debug log level.
public void debug(Object message, Throwable t)
Log
Log an error with debug log level.
public void error(Object message)
Log
Log a message with error log level.
public void error(Object message, Throwable t)
Log
Log an error with error log level.
public void fatal(Object message)
Log
Log a message with fatal log level.
public void fatal(Object message, Throwable t)
Log
Log an error with fatal log level.
public void info(Object message)
Log
Log a message with info log level.
public void info(Object message, Throwable t)
Log
Log an error with info log level.
public boolean isDebugEnabled()
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.
isDebugEnabled
in interface Log
edu.internet2.middleware.grouperClientExt.org.apache.commons.logging.Log#isDebugEnabled()
public boolean isErrorEnabled()
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.
isErrorEnabled
in interface Log
edu.internet2.middleware.grouperClientExt.org.apache.commons.logging.Log#isErrorEnabled()
public boolean isFatalEnabled()
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.
isFatalEnabled
in interface Log
edu.internet2.middleware.grouperClientExt.org.apache.commons.logging.Log#isFatalEnabled()
public boolean isInfoEnabled()
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.
isInfoEnabled
in interface Log
edu.internet2.middleware.grouperClientExt.org.apache.commons.logging.Log#isInfoEnabled()
public boolean isTraceEnabled()
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.
isTraceEnabled
in interface Log
edu.internet2.middleware.grouperClientExt.org.apache.commons.logging.Log#isTraceEnabled()
public boolean isWarnEnabled()
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.
isWarnEnabled
in interface Log
edu.internet2.middleware.grouperClientExt.org.apache.commons.logging.Log#isWarnEnabled()
public void trace(Object message)
Log
Log a message with trace log level.
public void trace(Object message, Throwable t)
Log
Log an error with trace log level.
public void warn(Object message)
Log
Log a message with warn log level.
Copyright © 2016 Internet2. All rights reserved.