NAME

SeeAlso::Logger - log SeeAlso service requests

DESCRIPTION

This class provides the log method to log requests of a SeeAlso service. Each line in the log is a is tabulator seperated list of timestamp, host, referer, service, search term (id), validity check, and the number of responses.

METHODS

new ( [ $file-or-handle ] )

Create a new parser. Gets a a reference to a file handle or a file name.

set_file ( $file-or-handle )

Set the file handler or file name to log to.

log ( $cgi, $response, $service )

Log a request and response. The response must be a SeeAlso::Response object, the service is string.