NAME

WWW::AdServer::Logger::Text - logs impressions / clickthrus to a text file

SYNOPSIS

use WWW::AdServer::Logger::Text;

my $logger = WWW::AdServer::Logger::Text->new( $r );

$logger->log_impression($advert);

$logger->log_clickthru($advert);

DESCRIPTION

$logger = WWW::AdServer::Logger::Text->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.