Package org.apache.sling.engine
Interface RequestLog
-
@Deprecated @ConsumerType public interface RequestLog
Deprecated.Use the request progress tracker instead.TheRequestLog
interface defines the API to be implemented by providers of destinations for request log information. To be able to any request log service writing to output type RequestLog Service the respective services must be registered with the OSGi service registry.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REQUEST_LOG_NAME
Deprecated.The name of the service property which is compared to the name of the RequestLog service to be used to write the log messages (value is "requestlog.name").
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.Closes this request log.void
write(java.lang.String message)
Deprecated.Writes the givenmessage
to the output destination.
-
-
-
Field Detail
-
REQUEST_LOG_NAME
static final java.lang.String REQUEST_LOG_NAME
Deprecated.The name of the service property which is compared to the name of the RequestLog service to be used to write the log messages (value is "requestlog.name").- See Also:
- Constant Field Values
-
-
Method Detail
-
write
void write(java.lang.String message)
Deprecated.Writes the givenmessage
to the output destination. For example a file based implementation might write the message into a log file while an implementation supporting Unixsyslogd
might send the message to asyslogd
server.- Parameters:
message
- The message to be logged.
-
close
void close()
Deprecated.Closes this request log. This method is called by the request logging infrastructure, when this instance is not used anymore. Hence, this method allows for any cleanup work to be done.
-
-