in reply to Methods for simple logging from modules

Log::Simplest seems to be what you're looking for. For example:
#!/usr/bin/perl use strict; use warnings; use Log::Simplest; exit;

Replies are listed 'Best First'.
Re^2: Methods for simple logging from modules
by voj (Acolyte) on Jul 07, 2011 at 13:59 UTC

    Log::Simplest has hard coded message writing and is one instance of the vast number of Logging modules on CPAN.

    I only want to create log events. By default these should be ignored, unless logging is explicitly configured. Log::Any and Log::Contextual are both designed this loosely coupled pub/sub model.