org.apache.pig.impl.util
Class LogUtils
java.lang.Object
org.apache.pig.impl.util.LogUtils
public class LogUtils
- extends Object
Method Summary |
static Exception |
getPermissionException(Exception top)
|
static PigException |
getPigException(Throwable top)
|
static void |
warn(Object o,
String msg,
PigWarning warningEnum,
org.apache.commons.logging.Log log)
|
static void |
writeLog(Throwable t,
String logFileName,
org.apache.commons.logging.Log log,
boolean verbose)
|
static void |
writeLog(Throwable t,
String logFileName,
org.apache.commons.logging.Log log,
boolean verbose,
String headerMessage,
boolean displayFooter,
boolean displayMessage)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogUtils
public LogUtils()
warn
public static void warn(Object o,
String msg,
PigWarning warningEnum,
org.apache.commons.logging.Log log)
getPermissionException
public static Exception getPermissionException(Exception top)
getPigException
public static PigException getPigException(Throwable top)
writeLog
public static void writeLog(Throwable t,
String logFileName,
org.apache.commons.logging.Log log,
boolean verbose)
writeLog
public static void writeLog(Throwable t,
String logFileName,
org.apache.commons.logging.Log log,
boolean verbose,
String headerMessage,
boolean displayFooter,
boolean displayMessage)
Copyright © ${year} The Apache Software Foundation