public class FileLogger extends AbstractLogger
Constructor and Description |
---|
FileLogger(File file,
boolean append) |
FileLogger(String file,
boolean append) |
public FileLogger(File file, boolean append)
file
- the file to log toappend
- if true the file is appended to insted of being erasedpublic FileLogger(String file, boolean append)
file
- the file to log toappend
- if true the file is appended to insted of being erasedprotected void doLog(LogLevel level, String message, String category)
doLog
in class AbstractLogger
level
- the log level (aka severity) of the messagemessage
- the message to logcategory
- the log categoryAbstractLogger.doLog(LogLevel, String, String)
Copyright © 2004-2013 Codehaus. All Rights Reserved.