|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.archive.crawler.util.LogUtils
public class LogUtils
Logging utils.
Constructor Summary | |
---|---|
LogUtils()
|
Method Summary | |
---|---|
static void |
createFileLogger(java.io.File logsDir,
java.lang.String baseName,
java.util.logging.Logger logger)
Creates a file logger that use heritrix.properties file logger configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogUtils()
Method Detail |
---|
public static void createFileLogger(java.io.File logsDir, java.lang.String baseName, java.util.logging.Logger logger)
logsDir
- Directory in which to write logs.baseName
- Base name to use for log file (Will have
java.util.logging.FileHandler.pattern or '.log' for suffix).logger
- Logger whose handler we'll replace with the
file handler created herein.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |