Interface AccessLogAppender
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable
- All Known Implementing Classes:
FileAppender,QueueingAppender,RotatingFileAppender,StreamAppender
public interface AccessLogAppender extends java.io.CloseableAn 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(java.lang.String accessLogEntry)Append the specified access log entry.voidclose()Close any underlying resource owned by this appender.
-
-
-
Method Detail
-
append
void append(java.lang.String accessLogEntry) throws java.io.IOExceptionAppend the specified access log entry.- Parameters:
accessLogEntry- TheStringvalue of the data to be append in the access log.- Throws:
java.io.IOException- If an I/O error occurred appending to the log.
-
close
void close() throws java.io.IOExceptionClose any underlying resource owned by this appender.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-