The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WE_Frontend::Logger - logging facility

SYNOPSIS

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

DESCRIPTION

This is a simple logging backend for the web.editor.

setup(-logfile => $file)

Redirect logging to the named file.

user([ $username | $we_root_obj ], [ "login" | "logout" ])

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".

AUTHOR

Slaven Rezic <srezic@cpan.org>

COPYRIGHT

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.

SEE ALSO