com.moesol.bindings.platform_sdk.debugging_and_error_handling
Class EventLogHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by com.moesol.bindings.platform_sdk.debugging_and_error_handling.EventLogHandler

public class EventLogHandler
extends Handler

Copy java logging records to Windows Event Log.


Field Summary
static int EVENTLOG_AUDIT_FAILURE
           
static int EVENTLOG_AUDIT_SUCCESS
           
static int EVENTLOG_ERROR_TYPE
           
static int EVENTLOG_INFORMATION_TYPE
           
static int EVENTLOG_SUCCESS
           
static int EVENTLOG_WARNING_TYPE
           
 
Constructor Summary
EventLogHandler()
           
 
Method Summary
 void close()
           
 void flush()
           
 void publish(LogRecord record)
           
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENTLOG_SUCCESS

public static final int EVENTLOG_SUCCESS
See Also:
Constant Field Values

EVENTLOG_ERROR_TYPE

public static final int EVENTLOG_ERROR_TYPE
See Also:
Constant Field Values

EVENTLOG_WARNING_TYPE

public static final int EVENTLOG_WARNING_TYPE
See Also:
Constant Field Values

EVENTLOG_INFORMATION_TYPE

public static final int EVENTLOG_INFORMATION_TYPE
See Also:
Constant Field Values

EVENTLOG_AUDIT_SUCCESS

public static final int EVENTLOG_AUDIT_SUCCESS
See Also:
Constant Field Values

EVENTLOG_AUDIT_FAILURE

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

EventLogHandler

public EventLogHandler()
Method Detail

publish

public void publish(LogRecord record)
Specified by:
publish in class Handler

flush

public void flush()
Specified by:
flush in class Handler

close

public void close()
           throws SecurityException
Specified by:
close in class Handler
Throws:
SecurityException


Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.