|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.gsfc.drl.rtstps.server.Logger
class Logger
Logger creates either a NSLS log by reading a site.properties file or creates a log based on the value in the certain -D property options. The site.properties file takes precedence over the command-line options even if they are present.
Field Summary | |
---|---|
private Log |
log
|
Constructor Summary | |
---|---|
Logger()
Create a log |
Method Summary | |
---|---|
private void |
createLog()
The new default behavior is to read a properties file. |
private void |
createLogFromPropertiesFile(java.util.Properties properties)
Get the NSLS configuration from the properties file... |
private void |
createTraditionalLog()
The traditional method, check individually configured -D properties, either log to a file, stdout or an NSLS server |
void |
print(java.lang.String message)
print. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Log log
Constructor Detail |
---|
public Logger()
Method Detail |
---|
private void createLog()
private void createLogFromPropertiesFile(java.util.Properties properties)
properties
- private void createTraditionalLog()
public void print(java.lang.String message)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |