org.azuki.framework.context
Class Log

java.lang.Object
  extended by org.azuki.framework.context.Log

public final class Log
extends Object

Author:
Robert Bakic (robert.bakic@gmail.com)

Nested Class Summary
static class Log.AzukiLogHandler
           
 
Constructor Summary
Log()
           
 
Method Summary
static void config(String msg)
          Log a CONFIG message.
static void fine(String msg)
          Log a FINE message.
static void finer(String msg)
          Log a FINER message.
static void finest(String msg)
          Log a FINEST message.
static Logger getLogger()
           
static String getStack(Throwable t)
           
static void info(String msg)
          Log an INFO message.
static void severe(String msg)
          Log a SEVERE message.
static void severe(Throwable thr)
          Log a SEVERE message.
static void warning(String msg)
          Log a WARNING message.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log

public Log()
Method Detail

getLogger

public static final Logger getLogger()

severe

public static final void severe(String msg)
Log a SEVERE message.

If the logger is currently enabled for the SEVERE message level then the given message is forwarded to all the registered output Handler objects.

Parameters:
msg - The string message (or a key in the message catalog)

severe

public static final void severe(Throwable thr)
Log a SEVERE message.

If the logger is currently enabled for the SEVERE message level then the given message is forwarded to all the registered output Handler objects.

Parameters:
thr - The thrown exception

warning

public static final void warning(String msg)
Log a WARNING message.

If the logger is currently enabled for the WARNING message level then the given message is forwarded to all the registered output Handler objects.

Parameters:
msg - The string message (or a key in the message catalog)

info

public static final void info(String msg)
Log an INFO message.

If the logger is currently enabled for the INFO message level then the given message is forwarded to all the registered output Handler objects.

Parameters:
msg - The string message (or a key in the message catalog)

config

public static final void config(String msg)
Log a CONFIG message.

If the logger is currently enabled for the CONFIG message level then the given message is forwarded to all the registered output Handler objects.

Parameters:
msg - The string message (or a key in the message catalog)

fine

public static final void fine(String msg)
Log a FINE message.

If the logger is currently enabled for the FINE message level then the given message is forwarded to all the registered output Handler objects.

Parameters:
msg - The string message (or a key in the message catalog)

finer

public static final void finer(String msg)
Log a FINER message.

If the logger is currently enabled for the FINER message level then the given message is forwarded to all the registered output Handler objects.

Parameters:
msg - The string message (or a key in the message catalog)

finest

public static final void finest(String msg)
Log a FINEST message.

If the logger is currently enabled for the FINEST message level then the given message is forwarded to all the registered output Handler objects.

Parameters:
msg - The string message (or a key in the message catalog)

getStack

public static final String getStack(Throwable t)


Azuki Framework Copyright © 2006 the original author or authors.