|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--galaxy.util.Logger
This is class is used to display diagnositc log messages.
| Constructor Summary | |
Logger()
|
|
| Method Summary | |
static Logger |
getLogger()
|
void |
logErrorMessage(java.lang.String msg)
Displays an error message to System.err when the current verbosity level is equal to or greater than galaxy.server.MainServer.ERROR_VERBOSITY_LEVEL. |
void |
logErrorMessage(java.lang.String msg,
java.lang.Exception ex)
Displays an error message to System.err when the current verbosity level is equal to or greater than galaxy.server.MainServer.ERROR_VERBOSITY_LEVEL. |
void |
logErrorMessage(java.lang.String msg,
java.lang.Exception ex,
java.lang.String location)
Displays an error message to System.err when the current verbosity level is equal to or greater than galaxy.server.MainServer.ERROR_VERBOSITY_LEVEL. |
void |
logErrorMessage(java.lang.String msg,
java.lang.String location)
Displays an error message to System.err when the current verbosity level is equal to or greater than galaxy.server.MainServer.ERROR_VERBOSITY_LEVEL. |
void |
logFatalMessage(java.lang.String msg)
Displays a fatal error message to System.err when the current verbosity level is equal to or greater than galaxy.server.MainServer.FATAL_VERBOSITY_LEVEL. |
void |
logFatalMessage(java.lang.String msg,
java.lang.Exception ex)
Displays a fatal error message to System.err when the current verbosity level is equal to or greater than galaxy.server.MainServer.FATAL_VERBOSITY_LEVEL. |
void |
logFatalMessage(java.lang.String msg,
java.lang.Exception ex,
java.lang.String location)
Displays a fatal error message to System.err when the current verbosity level is equal to or greater than galaxy.server.MainServer.FATAL_VERBOSITY_LEVEL. |
void |
logFatalMessage(java.lang.String msg,
java.lang.String location)
Displays a fatal error message to System.err when the current verbosity level is equal to or greater than galaxy.server.MainServer.FATAL_VERBOSITY_LEVEL. |
void |
logMessage(java.lang.String msg)
Displays a message to System.out (at any verbosity level). |
void |
logMessage(java.lang.String msg,
int level)
Displays a message to System.out. |
void |
logMessage(java.lang.String msg,
int level,
java.lang.String location)
Displays a message to System.out. |
void |
logWarningMessage(java.lang.String msg)
Displays a warning message to System.err when the current verbosity level is equal to or greater than galaxy.server.MainServer.WARNING_VERBOSITY_LEVEL. |
void |
logWarningMessage(java.lang.String msg,
java.lang.String location)
Displays a warning message to System.err when the current verbosity level is equal to or greater than galaxy.server.MainServer.WARNING_VERBOSITY_LEVEL. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Logger()
| Method Detail |
public static Logger getLogger()
public void logMessage(java.lang.String msg,
int level)
logMessage in interface DiagnosticLoggermsg - the message to displaylevel - the minimum verbosity level at which to display the message
(verbosity levels are defined in
galaxy.server.MainServer)
public void logMessage(java.lang.String msg,
int level,
java.lang.String location)
logMessage in interface DiagnosticLoggermsg - the message to displaylevel - the minimum verbosity level at which to display the message
(verbosity levels are defined in
galaxy.server.MainServer)location - "location" of the associated call to this method
(e.g., the class and method name from which this call
was made) which is displayed at verbosity levels
4 and abovepublic void logMessage(java.lang.String msg)
logMessage in interface DiagnosticLoggermsg - the message to displaypublic void logErrorMessage(java.lang.String msg)
galaxy.server.MainServer.ERROR_VERBOSITY_LEVEL.logErrorMessage in interface DiagnosticLoggermsg - the message to display
public void logErrorMessage(java.lang.String msg,
java.lang.Exception ex)
galaxy.server.MainServer.ERROR_VERBOSITY_LEVEL.logErrorMessage in interface DiagnosticLoggermsg - the message to displayex - the stack trace of this exception is also displayed
public void logErrorMessage(java.lang.String msg,
java.lang.String location)
galaxy.server.MainServer.ERROR_VERBOSITY_LEVEL.logErrorMessage in interface DiagnosticLoggermsg - the message to displaylocation - "location" of the associated call to this method
(e.g., the class and method name from which this call
was made) which is displayed at verbosity levels
4 and above
public void logErrorMessage(java.lang.String msg,
java.lang.Exception ex,
java.lang.String location)
galaxy.server.MainServer.ERROR_VERBOSITY_LEVEL.logErrorMessage in interface DiagnosticLoggermsg - the message to displayex - the stack trace of this exception is also displayedlocation - "location" of the associated call to this method
(e.g., the class and method name from which this call
was made) which is displayed at verbosity levels
4 and abovepublic void logFatalMessage(java.lang.String msg)
galaxy.server.MainServer.FATAL_VERBOSITY_LEVEL.logFatalMessage in interface DiagnosticLoggermsg - the message to display
public void logFatalMessage(java.lang.String msg,
java.lang.Exception ex)
galaxy.server.MainServer.FATAL_VERBOSITY_LEVEL.logFatalMessage in interface DiagnosticLoggermsg - the message to displayex - the stack trace of this exception is also displayed
public void logFatalMessage(java.lang.String msg,
java.lang.String location)
galaxy.server.MainServer.FATAL_VERBOSITY_LEVEL.logFatalMessage in interface DiagnosticLoggermsg - the message to displaylocation - "location" of the associated call to this method
(e.g., the class and method name from which this call
was made) which is displayed at verbosity levels
4 and above
public void logFatalMessage(java.lang.String msg,
java.lang.Exception ex,
java.lang.String location)
galaxy.server.MainServer.FATAL_VERBOSITY_LEVEL.logFatalMessage in interface DiagnosticLoggermsg - the message to displayex - the stack trace of this exception is also displayedlocation - "location" of the associated call to this method
(e.g., the class and method name from which this call
was made) which is displayed at verbosity levels
4 and abovepublic void logWarningMessage(java.lang.String msg)
galaxy.server.MainServer.WARNING_VERBOSITY_LEVEL.logWarningMessage in interface DiagnosticLoggermsg - the message to display
public void logWarningMessage(java.lang.String msg,
java.lang.String location)
galaxy.server.MainServer.WARNING_VERBOSITY_LEVEL.logWarningMessage in interface DiagnosticLoggermsg - the message to displaylocation - "location" of the associated call to this method
(e.g., the class and method name from which this call
was made) which is displayed at verbosity levels
4 and above
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||