|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNetworkIO.NetworkLogger
public class NetworkLogger
Simplistic logger that logs output to a file located in program directory. The name of each file is dictated by the name given via instantiation.
Constructor Summary | |
---|---|
NetworkLogger(java.lang.String name)
Creates a new instance of LogOutput |
Method Summary | |
---|---|
void |
log(java.lang.String msg)
Log a message to console (if available) and log file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetworkLogger(java.lang.String name)
name
- The name to reference as source of logs. Also, the log file
is name+" log.txt".Method Detail |
---|
public void log(java.lang.String msg)
msg
- The message to display.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |