I recommend Log::Minimal for logging with Amon2. It’s very easy to use.
You can install it with the following one liner:
% curl -L cpanm | perl - Log::Minimal
And use it as:
use Log::Minimal;
infof("foo"); # info level
warnf("foo"); # warn level
debugf("ddd"); # debugging level
You can customize the output format with $Log::Minimal::PRINT. And you can select the log level with $Log::Minimal::LOG_LEVEL.
For more details, please access to Log::Minimal pod.