org.wso2.carbon.bootstrap.logging.handlers
Class LoggingFileHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by java.util.logging.StreamHandler
          extended by java.util.logging.FileHandler
              extended by org.wso2.carbon.bootstrap.logging.handlers.LoggingFileHandler

public class LoggingFileHandler
extends FileHandler


Constructor Summary
LoggingFileHandler()
           
LoggingFileHandler(String pattern)
           
LoggingFileHandler(String pattern, boolean append)
           
LoggingFileHandler(String pattern, int limit, int count)
           
LoggingFileHandler(String pattern, int limit, int count, boolean append)
           
 
Method Summary
 void publish(LogRecord record)
           
 
Methods inherited from class java.util.logging.FileHandler
close
 
Methods inherited from class java.util.logging.StreamHandler
flush, isLoggable, setEncoding, setOutputStream
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingFileHandler

public LoggingFileHandler()
                   throws IOException,
                          SecurityException
Throws:
IOException
SecurityException

LoggingFileHandler

public LoggingFileHandler(String pattern)
                   throws IOException,
                          SecurityException
Throws:
IOException
SecurityException

LoggingFileHandler

public LoggingFileHandler(String pattern,
                          boolean append)
                   throws IOException,
                          SecurityException
Throws:
IOException
SecurityException

LoggingFileHandler

public LoggingFileHandler(String pattern,
                          int limit,
                          int count)
                   throws IOException,
                          SecurityException
Throws:
IOException
SecurityException

LoggingFileHandler

public LoggingFileHandler(String pattern,
                          int limit,
                          int count,
                          boolean append)
                   throws IOException,
                          SecurityException
Throws:
IOException
SecurityException
Method Detail

publish

public void publish(LogRecord record)
Overrides:
publish in class FileHandler


Copyright © 2014 WSO2 Inc. All rights reserved.