org.apache.nutch.util
Class LogUtil

java.lang.Object
  extended by org.apache.nutch.util.LogUtil

public class LogUtil
extends Object

Utility class for logging.

Author:
Jérôme Charron

Constructor Summary
LogUtil()
           
 
Method Summary
static PrintStream getDebugStream(org.apache.commons.logging.Log logger)
           
static PrintStream getErrorStream(org.apache.commons.logging.Log logger)
           
static PrintStream getFatalStream(org.apache.commons.logging.Log logger)
           
static PrintStream getInfoStream(org.apache.commons.logging.Log logger)
           
static PrintStream getTraceStream(org.apache.commons.logging.Log logger)
           
static PrintStream getWarnStream(org.apache.commons.logging.Log logger)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogUtil

public LogUtil()
Method Detail

getTraceStream

public static PrintStream getTraceStream(org.apache.commons.logging.Log logger)

getDebugStream

public static PrintStream getDebugStream(org.apache.commons.logging.Log logger)

getInfoStream

public static PrintStream getInfoStream(org.apache.commons.logging.Log logger)

getWarnStream

public static PrintStream getWarnStream(org.apache.commons.logging.Log logger)

getErrorStream

public static PrintStream getErrorStream(org.apache.commons.logging.Log logger)

getFatalStream

public static PrintStream getFatalStream(org.apache.commons.logging.Log logger)


Copyright © 2007, 2012, Oracle and/or its affiliates. All rights reserved.