net.sf.tm.plugin
Class Logger

java.lang.Object
  extended bynet.sf.tm.plugin.Logger

public final class Logger
extends Object

A simple logger using the eclipse plugin login mechanism.

Version:
$Id: Logger.java,v 1.1 2003/08/20 15:08:25 apataki Exp $
Author:
Andreas Pataki

Method Summary
static void debug(String message)
          Prints a debug statement to the Eclipse log.
static void error(String message, Throwable exception)
          Prints an error message to the Eclipse log.
static boolean isDebugEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

error

public static void error(String message,
                         Throwable exception)
Prints an error message to the Eclipse log.

Parameters:
message - error message
exception - catched exception

debug

public static void debug(String message)
Prints a debug statement to the Eclipse log.

Parameters:
message - error message

isDebugEnabled

public static boolean isDebugEnabled()
Returns:
TRUE if tracing is enabled for the plugin


Copyright © 2003-2004 Andreas Pataki. All Rights Reserved.