org.apache.pdfbox.util
Class ErrorLogger

java.lang.Object
  extended by org.apache.pdfbox.util.ErrorLogger

public class ErrorLogger
extends Object

This class deals with some logging that is not handled by the log4j replacement.

Version:
$Revision: 1.3 $
Author:
Ben Litchfield

Method Summary
static void log(String errorMessage)
          Log an error message.
static void log(String errorMessage, Throwable t)
          Log an error message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

log

public static void log(String errorMessage)
Log an error message. This is only used for log4j replacement and should never be used when writing code.

Parameters:
errorMessage - The error message.

log

public static void log(String errorMessage,
                       Throwable t)
Log an error message. This is only used for log4j replacement and should never be used when writing code.

Parameters:
errorMessage - The error message.
t - The exception.


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.