|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.logging.simple.SimpleLogger
yu.ac.bg.etf.javaqx.logging.simple.SimpleFileLogger
Simple file logging.
Constructor Summary | |
SimpleFileLogger()
Constructs new FileLogger object. |
|
SimpleFileLogger(java.lang.String fileName)
Constructs new FileLogger object. |
|
SimpleFileLogger(java.lang.String fileName,
boolean append)
Constructs new FileLogger object. |
Method Summary | |
java.lang.String |
getName()
Returns the name of the logging adapter. |
Methods inherited from class yu.ac.bg.etf.javaqx.logging.simple.SimpleLogger |
getLevel, isLoggable, log, log, setLevel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleFileLogger() throws java.io.FileNotFoundException
java.io.FileNotFoundException
- if the log file could not be createdpublic SimpleFileLogger(java.lang.String fileName) throws java.io.FileNotFoundException
fileName
- the log file name
java.io.FileNotFoundException
- if the log file could not be createdpublic SimpleFileLogger(java.lang.String fileName, boolean append) throws java.io.FileNotFoundException
fileName
- the log file nameappend
- whether or not to append logs to the log file
java.io.FileNotFoundException
- if the log file could not be createdMethod Detail |
public java.lang.String getName()
getName
in interface LoggingAdapter
getName
in class SimpleLogger
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |