Class FileLoggerHandler


  • public class FileLoggerHandler
    extends Handler
    • 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​(LogRecord record)
        Overridden method used to capture log entries
        Specified by:
        publish in class 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 Handler
      • flush

        public void flush()
        Called to flush any cached data that this log handler may contain.
        Specified by:
        flush in class Handler
      • getLogFile

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