|
Remote System Explorer DataStore Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.dstore.core.server.ServerLogger
Class that facilitates logging for errors, warnings, debug messages and info for DataStore servers.
| Field Summary | |
static boolean |
DEBUG
Switch to enable debug-level logging. |
| Constructor Summary | |
ServerLogger(String logPathName)
Constructs a new ServerLogger. |
|
| Method Summary | |
void |
logDebugMessage(String minerName,
String message)
Logs a debug message |
void |
logError(String minerName,
String message,
Throwable exception)
Logs an error message |
void |
logInfo(String minerName,
String message)
Logs an informational message |
void |
logWarning(String minerName,
String message)
Logs a warning message |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static boolean DEBUG
| Constructor Detail |
public ServerLogger(String logPathName)
logPathName - the path on the filesystem to store the log information| Method Detail |
public void logInfo(String minerName,
String message)
logInfo in interface IServerLoggerminerName - the name of the miner associated with this messagemessage - Message text to be logged.
public void logWarning(String minerName,
String message)
logWarning in interface IServerLoggerminerName - the name of the miner associated with this messagemessage - Message text to be logged.
public void logError(String minerName,
String message,
Throwable exception)
logError in interface IServerLoggerminerName - the name of the miner associated with this messagemessage - Message text to be logged.exception - Exception that generated the error. Used to print a stack trace.
public void logDebugMessage(String minerName,
String message)
logDebugMessage in interface IServerLoggerminerName - the name of the miner associated with this messagemessage - Message text to be logged.
|
Remote System Explorer DataStore Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||