net.kwfgrid.gwes
Class GWESBasicLogger

java.lang.Object
  extended by net.kwfgrid.gwes.GWESLogger
      extended by net.kwfgrid.gwes.GWESBasicLogger

public class GWESBasicLogger
extends GWESLogger

Version:
$Id$
Author:
Andreas Hoheisel (www.andreas-hoheisel.de)

Nested Class Summary
 
Nested classes/interfaces inherited from class net.kwfgrid.gwes.GWESLogger
GWESLogger.Event, GWESLogger.EventOutcome, GWESLogger.Level
 
Constructor Summary
GWESBasicLogger()
           
 
Method Summary
protected  void logEventLevelChecked(GWESLogger.Event event, GWESLogger.EventOutcome eventOutcome, String userID, Object object, String[] paramNames, String[] oldValues, String[] newValues, Throwable exception)
          Log an event.
 
Methods inherited from class net.kwfgrid.gwes.GWESLogger
e, f, getGwesId, getInstance, getLevel, i, logEvent, logEvent, logEvent, logEvent, logEventSP, logEventSP, q, setLevel, w
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GWESBasicLogger

public GWESBasicLogger()
Method Detail

logEventLevelChecked

protected void logEventLevelChecked(GWESLogger.Event event,
                                    GWESLogger.EventOutcome eventOutcome,
                                    String userID,
                                    Object object,
                                    String[] paramNames,
                                    String[] oldValues,
                                    String[] newValues,
                                    Throwable exception)
                             throws LoggingException
Description copied from class: GWESLogger
Log an event. Implement this method in all derived classes.

Specified by:
logEventLevelChecked in class GWESLogger
Parameters:
event - The type of event, refer to GWESLogger.Event.
eventOutcome - The event outcome, refer to GWESLogger.EventOutcome.
userID - The user ID of the user who triggered this event, or null if not available.
object - The object which is related to the event, e.g. the Workflow or Activity instance, or null if not available.
paramNames - A String array of parameter names.
oldValues - A String array of the old values of the parameters.
newValues - A String array of the new values of the parameters.
exception - The exception if event outcome was not GWES.Logger.EventOutcome.SUCCESS, or null if not available.
Throws:
LoggingException - If logging fails.


Copyright © 2005-2011 Fraunhofer FIRST. All Rights Reserved.