org.boris.winrun4j
Class EventLog

java.lang.Object
  extended byorg.boris.winrun4j.EventLog

public class EventLog
extends java.lang.Object

A mechanism for adding events.


Field Summary
static int AUDIT_FAILURE
           
static int AUDIT_SUCCESS
           
static int ERROR
           
static int INFORMATION
           
static int SUCCESS
           
static int WARNING
           
 
Constructor Summary
EventLog()
           
 
Method Summary
static boolean report(java.lang.String source, int type, java.lang.String msg)
          Report an event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUCCESS

public static final int SUCCESS
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values

WARNING

public static final int WARNING
See Also:
Constant Field Values

INFORMATION

public static final int INFORMATION
See Also:
Constant Field Values

AUDIT_SUCCESS

public static final int AUDIT_SUCCESS
See Also:
Constant Field Values

AUDIT_FAILURE

public static final int AUDIT_FAILURE
See Also:
Constant Field Values
Constructor Detail

EventLog

public EventLog()
Method Detail

report

public static boolean report(java.lang.String source,
                             int type,
                             java.lang.String msg)
Report an event.

Returns:
boolean.