NAME
WWW::AdServer::Logger - strategy class for logging impressions / clickthrus
SYNOPSIS
use WWW::AdServer::Logger::Foo;
my $logger = WWW::AdServer::Logger::Foo->new( $r );
$logger->log_impression($advert);
$logger->log_clickthru($advert);
DESCRIPTION
Declares an interface common to all Logger subclasses.
$logger = WWW::AdServer::Logger::Foo->new( $r );
Constructor for a Logger strategy. Must be supplied with either an Apache request object or an Apache::Emulator object (if called through CGI).
$logger->log_impression($advert);
Logs a view of an advert.
$logger->log_clickthru($advert);
Logs a clickthru on an advert.
EXPORT
None by default.
AUTHOR
Nigel Wetters (nwetters@cpan.org)
COPYRIGHT
Copyright (c) 2001, Nigel Wetters. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.