com.sun.enterprise.web.logger
Class FileLoggerHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by com.sun.enterprise.web.logger.FileLoggerHandler

public class FileLoggerHandler
extends java.util.logging.Handler


Method Summary
 int associate()
          Increment the associations and return the result.
 void close()
          Called to close this log handler.
 int disassociate()
          Decrement the associations and return the result.
 void flush()
          Called to flush any cached data that this log handler may contain.
 java.lang.String getLogFile()
          Return location of log file associated to this handler.
 boolean isAssociated()
           
 void publish(java.util.logging.LogRecord record)
          Overridden method used to capture log entries
 
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
 

Method Detail

associate

public int associate()
Increment the associations and return the result.


disassociate

public int disassociate()
Decrement the associations and return the result.


isAssociated

public boolean isAssociated()

publish

public void publish(java.util.logging.LogRecord record)
Overridden method used to capture log entries

Specified by:
publish in class java.util.logging.Handler
Parameters:
record - The log record to be written out.

close

public void close()
Called to close this log handler.

Specified by:
close in class java.util.logging.Handler

flush

public void flush()
Called to flush any cached data that this log handler may contain.

Specified by:
flush in class java.util.logging.Handler

getLogFile

public java.lang.String getLogFile()
Return location of log file associated to this handler.



Copyright © 2012 GlassFish Community. All Rights Reserved.