All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
FileAppender, QueueingAppender, RotatingFileAppender, StreamAppender

public interface AccessLogAppender extends Closeable
An interface defining an appender for Grizzly access logs entries.
Author:
Pier Fumagalli, USRZ.com
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    append(String accessLogEntry)
    Append the specified access log entry.
    void
    Close any underlying resource owned by this appender.
  • Method Details

    • append

      void append(String accessLogEntry) throws IOException
      Append the specified access log entry.
      Parameters:
      accessLogEntry - The String value of the data to be append in the access log.
      Throws:
      IOException - If an I/O error occurred appending to the log.
    • close

      void close() throws IOException
      Close any underlying resource owned by this appender.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException