@Deprecated
@ConsumerType
public interface RequestLog
RequestLog
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.Modifier and Type | Field and 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").
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
Closes this request log.
|
void |
write(java.lang.String message)
Deprecated.
Writes the given
message to the output destination. |
static final java.lang.String REQUEST_LOG_NAME
void write(java.lang.String message)
message
to the output destination. For
example a file based implementation might write the message into a log
file while an implementation supporting Unix syslogd
might
send the message to a syslogd
server.message
- The message to be logged.void close()
Copyright © 2018 The Apache Software Foundation. All rights reserved.