Interface AccessLogAppender
-
- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappend(String accessLogEntry)Append the specified access log entry.voidclose()Close any underlying resource owned by this appender.
-
-
-
Method Detail
-
append
void append(String accessLogEntry) throws IOException
Append the specified access log entry.- Parameters:
accessLogEntry- TheStringvalue 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 IOExceptionClose any underlying resource owned by this appender.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-