fr.umlv.tatoo.runtime.log
Class TatooLogger

java.lang.Object
  extended by fr.umlv.tatoo.runtime.log.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 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 setHandler(Handler handler)
          Add a new handler to this logger.
static void setLevel(Level newLevel)
          Set the logger level of all parent logger handlers.
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.

setHandler

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

Parameters:
handler - the new 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