public class LogUtils
extends java.lang.Object
Constructor and Description |
---|
LogUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Exception |
getPermissionException(java.lang.Exception top) |
static PigException |
getPigException(java.lang.Throwable top) |
static void |
warn(java.lang.Object o,
java.lang.String msg,
PigWarning warningEnum,
org.apache.commons.logging.Log log) |
static void |
writeLog(java.lang.String headerMessage,
java.lang.String message,
java.lang.String logFileName,
org.apache.commons.logging.Log log) |
static void |
writeLog(java.lang.Throwable t,
java.lang.String logFileName,
org.apache.commons.logging.Log log,
boolean verbose,
java.lang.String headerMessage) |
static void |
writeLog(java.lang.Throwable t,
java.lang.String logFileName,
org.apache.commons.logging.Log log,
boolean verbose,
java.lang.String headerMessage,
boolean displayFooter,
boolean displayMessage) |
public static void warn(java.lang.Object o, java.lang.String msg, PigWarning warningEnum, org.apache.commons.logging.Log log)
public static java.lang.Exception getPermissionException(java.lang.Exception top)
public static PigException getPigException(java.lang.Throwable top)
public static void writeLog(java.lang.Throwable t, java.lang.String logFileName, org.apache.commons.logging.Log log, boolean verbose, java.lang.String headerMessage)
public static void writeLog(java.lang.Throwable t, java.lang.String logFileName, org.apache.commons.logging.Log log, boolean verbose, java.lang.String headerMessage, boolean displayFooter, boolean displayMessage)
public static void writeLog(java.lang.String headerMessage, java.lang.String message, java.lang.String logFileName, org.apache.commons.logging.Log log)
Copyright © 2007-2012 The Apache Software Foundation