weborb.util.log
Class ConsoleLogger

java.lang.Object
  extended by weborb.util.logging.AbstractLogger
      extended by weborb.util.log.ConsoleLogger
All Implemented Interfaces:
ILogger

public class ConsoleLogger
extends AbstractLogger


Constructor Summary
ConsoleLogger()
           
 
Method Summary
 void event(java.lang.String category, java.lang.Object event, java.util.Date timestamp)
          If enabled, log an event of the specified category.
 void fireEvent(java.lang.String category, java.lang.Object eventObject, java.util.Date timestamp)
           
 
Methods inherited from class weborb.util.logging.AbstractLogger
addMask, disable, enable, getMask, isEnabled, isLogging, isLogging, removeMask, setMask, startLogging, stopLogging
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleLogger

public ConsoleLogger()
Method Detail

fireEvent

public void fireEvent(java.lang.String category,
                      java.lang.Object eventObject,
                      java.util.Date timestamp)
Specified by:
fireEvent in class AbstractLogger

event

public void event(java.lang.String category,
                  java.lang.Object event,
                  java.util.Date timestamp)
Description copied from interface: ILogger
If enabled, log an event of the specified category.

Parameters:
category - The category.
event - The event, which is often just a simple string.
timestamp - The time of the event was logged.


Discuss WebORB

Copyright 2003-2008 Midnight Coders, Inc. All Rights Reserved.