|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.util.Logger
public class Logger
Logger logs output to a file if enabled.
Constructor Summary | |
---|---|
Logger()
|
Method Summary | |
---|---|
void |
advanceToColumn(int toColumn)
Output spaces if needed to position output at desired column. |
void |
close()
|
boolean |
getEnable()
|
void |
log(java.lang.String msg)
|
void |
logln()
|
void |
logln(java.lang.String msg)
|
void |
newLine()
Start a new line if there is already text on current line. |
void |
open(java.io.File logFile)
Open a log file by name. |
void |
open(java.lang.String logFileName)
Open a log file. |
void |
setEnable(boolean enabled)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Logger()
Method Detail |
---|
public void setEnable(boolean enabled)
public boolean getEnable()
public void log(java.lang.String msg)
public void logln(java.lang.String msg)
public void logln()
public void advanceToColumn(int toColumn)
public void newLine()
public void open(java.lang.String logFileName) throws java.io.IOException, java.lang.SecurityException
java.io.IOException
java.lang.SecurityException
public void open(java.io.File logFile) throws java.io.IOException, java.lang.SecurityException
java.io.IOException
java.lang.SecurityException
public void close() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |