
WE_Frontend::Logger - logging facility

use WE_Frontend::Logger;
WE_Frontend::Logger::setup(-logfile => ...);
WE_Frontend::Logger::user($username, "login");

This is a simple logging backend for the web.editor.
Redirect logging to the named file.
Print a logger line to STDERR or a logfile (if setup was called). The first argument is either a $username string or a WE::Root object, from where the current username is extracted. The second string is a free definable string like "login" or "logout".

Slaven Rezic <srezic@cpan.org>

Copyright (c) 2002,2003 Slaven Rezic. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
