|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.pangaea.metadataportal.utils.LogUtil
public class LogUtil
Simple static class that supplies PrintStreams for log methods.
This class was borrowed from Nutch, a sub-project of Apache Lucene, and made conformant to Java 1.5 coding style.
| Method Summary | |
|---|---|
static PrintStream |
getDebugStream(org.apache.commons.logging.Log logger)
Returns a PrintStream that logs all output with DEBUG method to the given Commons Logging logger. |
static PrintStream |
getErrorStream(org.apache.commons.logging.Log logger)
Returns a PrintStream that logs all output with ERROR method to the given Commons Logging logger. |
static PrintStream |
getFatalStream(org.apache.commons.logging.Log logger)
Returns a PrintStream that logs all output with FATAL method to the given Commons Logging logger. |
static PrintStream |
getInfoStream(org.apache.commons.logging.Log logger)
Returns a PrintStream that logs all output with INFO method to the given Commons Logging logger. |
static PrintStream |
getTraceStream(org.apache.commons.logging.Log logger)
Returns a PrintStream that logs all output with TRACE method to the given Commons Logging logger. |
static PrintStream |
getWarnStream(org.apache.commons.logging.Log logger)
Returns a PrintStream that logs all output with WARN method to the given Commons Logging logger. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PrintStream getTraceStream(org.apache.commons.logging.Log logger)
public static PrintStream getDebugStream(org.apache.commons.logging.Log logger)
public static PrintStream getInfoStream(org.apache.commons.logging.Log logger)
public static PrintStream getWarnStream(org.apache.commons.logging.Log logger)
public static PrintStream getErrorStream(org.apache.commons.logging.Log logger)
public static PrintStream getFatalStream(org.apache.commons.logging.Log logger)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||