Skip to content

Commit

Permalink
document auto-serializing
Browse files Browse the repository at this point in the history
  • Loading branch information
xsawyerx committed Mar 5, 2011
1 parent ff7d196 commit 6255bbd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/Dancer/Logger.pm
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ Or in the application code:
# logging to file
set logger => 'file';
=head2 Auto-serializing
The loggers allow auto-serializing of all inputs:
debug( 'User credentials: ', \%creds );
Will provide you with an output in a single log message of the string and the
reference dump.
=head1 AUTHORS
This module has been written by Alexis Sukrieh. See the AUTHORS file that comes
Expand Down

0 comments on commit 6255bbd

Please sign in to comment.