com.itmill.toolkit.terminal.web
Class Log

java.lang.Object
  extended by com.itmill.toolkit.terminal.web.Log

public class Log
extends Object

Class providing centralized logging services. The logger defines five message types, and provides methods to create messages of those types. These types are:

Currently the class offers logging only to the standard output.

Since:
3.0
Version:
4.1.4
Author:
IT Mill Ltd.

Constructor Summary
Log()
           
 
Method Summary
protected static void debug(String message)
          Logs the debug message.
protected static void error(String message)
          Logs the error message.
protected static void except(String message, Exception e)
          Logs the Java exception and an accompanying error message.
protected static void info(String message)
          Logs an info message.
protected static void warn(String message)
          Logs the warning message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log

public Log()
Method Detail

warn

protected static void warn(String message)
Logs the warning message.

Parameters:
message - the Message String to be logged.

debug

protected static void debug(String message)
Logs the debug message.

Parameters:
message - the Message String to be logged.

info

protected static void info(String message)
Logs an info message.

Parameters:
message - the Message String to be logged.

except

protected static void except(String message,
                             Exception e)
Logs the Java exception and an accompanying error message.

Parameters:
message - the Message String to be logged.
e - the Exception to be logged.

error

protected static void error(String message)
Logs the error message.

Parameters:
message - the Message String to be logged.


Copyright © 2000-2008 IT Mill Ltd. All Rights Reserved.