org.weborganic.bastille.log
Class GetRecentLogsEvents

java.lang.Object
  extended by org.weborganic.bastille.log.GetRecentLogsEvents
All Implemented Interfaces:
ContentGenerator

public final class GetRecentLogsEvents
extends Object
implements ContentGenerator

Returns a list of the most recent logs entries.

This generators only work with the LogBack logging framework and if the filter has been configured in the logs.

Since:
Bastille 0.8.5

Constructor Summary
GetRecentLogsEvents()
          When this generator is instantiated, the logging framework information is loaded and initialized.
 
Method Summary
 void process(ContentRequest req, XMLWriter xml)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRecentLogsEvents

public GetRecentLogsEvents()
When this generator is instantiated, the logging framework information is loaded and initialized.

This assumes that the logging have been loaded before this constructor is called.

Method Detail

process

public void process(ContentRequest req,
                    XMLWriter xml)
             throws BerliozException,
                    IOException
Specified by:
process in interface ContentGenerator
Throws:
BerliozException
IOException