org.pentaho.platform.util.logging
Class Logger

java.lang.Object
  extended by org.pentaho.platform.util.logging.Logger

public class Logger
extends Object


Constructor Summary
Logger()
           
 
Method Summary
static void addException(Throwable t)
           
static void debug(Object caller, String message)
           
static void debug(Object caller, String message, Throwable error)
           
static void debug(String caller, String message)
           
static void debug(String caller, String message, Throwable error)
           
static void error(Object caller, String message)
           
static void error(Object caller, String message, Throwable error)
           
static void error(String caller, String message)
           
static void error(String caller, String message, Throwable error)
           
static void fatal(Object caller, String message)
           
static void fatal(Object caller, String message, Throwable error)
           
static void fatal(String caller, String message)
           
static void fatal(String caller, String message, Throwable error)
           
static List<Throwable> getExceptions()
           
static int getLogLevel()
           
static int getLogLevel(String localLogLevel)
           
static String getLogLevelName(int localLogLevel)
           
static void info(Object caller, String message)
           
static void info(Object caller, String message, Throwable error)
           
static void info(String caller, String message)
           
static void info(String caller, String message, Throwable error)
           
static void setLogLevel(int newLogLevel)
           
static void setVersionHelper(IVersionHelper helper)
           
static void trace(Object caller, String message)
           
static void trace(Object caller, String message, Throwable error)
           
static void warn(Object caller, String message)
           
static void warn(Object caller, String message, Throwable error)
           
static void warn(String caller, String message)
           
static void warn(String caller, String message, Throwable error)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logger

public Logger()
Method Detail

addException

public static void addException(Throwable t)

getExceptions

public static List<Throwable> getExceptions()

setVersionHelper

public static void setVersionHelper(IVersionHelper helper)

getLogLevelName

public static String getLogLevelName(int localLogLevel)

getLogLevel

public static int getLogLevel(String localLogLevel)

getLogLevel

public static int getLogLevel()

setLogLevel

public static void setLogLevel(int newLogLevel)

trace

public static void trace(Object caller,
                         String message)

debug

public static void debug(Object caller,
                         String message)

info

public static void info(Object caller,
                        String message)

warn

public static void warn(Object caller,
                        String message)

error

public static void error(Object caller,
                         String message)

fatal

public static void fatal(Object caller,
                         String message)

trace

public static void trace(Object caller,
                         String message,
                         Throwable error)

debug

public static void debug(Object caller,
                         String message,
                         Throwable error)

info

public static void info(Object caller,
                        String message,
                        Throwable error)

warn

public static void warn(Object caller,
                        String message,
                        Throwable error)

error

public static void error(Object caller,
                         String message,
                         Throwable error)

fatal

public static void fatal(Object caller,
                         String message,
                         Throwable error)

debug

public static void debug(String caller,
                         String message)

info

public static void info(String caller,
                        String message)

warn

public static void warn(String caller,
                        String message)

error

public static void error(String caller,
                         String message)

fatal

public static void fatal(String caller,
                         String message)

debug

public static void debug(String caller,
                         String message,
                         Throwable error)

info

public static void info(String caller,
                        String message,
                        Throwable error)

warn

public static void warn(String caller,
                        String message,
                        Throwable error)

error

public static void error(String caller,
                         String message,
                         Throwable error)

fatal

public static void fatal(String caller,
                         String message,
                         Throwable error)