fr.umlv.tatoo.runtime.util
Class TatooLogger

java.lang.Object
  extended by fr.umlv.tatoo.runtime.util.TatooLogger

public class TatooLogger
extends Object

A logger specific for tatoo runtime that use java.util.logging for its implementation.

Author:
Julien

Method Summary
static void addHandler(Handler handler)
          Add a new handler to this logger.
static void fine(String message)
          Emits a message with g level FINE by the current logger.
static void finest(String message)
          Emits a message with g level FINEST by the current logger.
static void info(String message)
          Emits an information message by the current logger.
static void setLevel(Level newLevel)
          Set the logger level of all parent logger handlers.
static void setUseParentHandlers(boolean useParentHandlers)
          Set whether or not this logger should send its output to it's parent Logger.
static void severe(String message)
          Emits a message with g level SEVERE by the current logger.
static void warning(String message)
          Emits a warning with a message by the current logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setLevel

public static void setLevel(Level newLevel)
Set the logger level of all parent logger handlers.

Parameters:
newLevel - the new level of the logger.
See Also:
Logger.setLevel(Level)

setUseParentHandlers

public static void setUseParentHandlers(boolean useParentHandlers)
Set whether or not this logger should send its output to it's parent Logger.

Parameters:
useParentHandlers - true if output is to be sent to the logger's parent.
See Also:
Logger.setUseParentHandlers(boolean)

addHandler

public static void addHandler(Handler handler)
Add a new handler to this logger.

Parameters:
handler - the new handler
See Also:
Logger.addHandler(Handler)

warning

public static void warning(String message)
Emits a warning with a message by the current logger.

Parameters:
message - a message

info

public static void info(String message)
Emits an information message by the current logger.

Parameters:
message - a message

severe

public static void severe(String message)
Emits a message with g level SEVERE by the current logger.

Parameters:
message - a message

fine

public static void fine(String message)
Emits a message with g level FINE by the current logger.

Parameters:
message - a message

finest

public static void finest(String message)
Emits a message with g level FINEST by the current logger.

Parameters:
message - a message