Permalink
Browse files

Updates to pod.

  • Loading branch information...
1 parent bcdf688 commit 4649255d8c81a9048776b1ad46ecc0fe4677f049 @kablamo committed Apr 28, 2012
Showing with 8 additions and 12 deletions.
  1. +8 −12 README.pod
View
@@ -30,26 +30,22 @@ be easily revived.
=head1 ATTRIBUTES
-=head2 file
-
-The name of the file to log data to
-
=head2 date
Adds an __date field to your json. The '__' part ensures the date is the first
information logged to each line when the keys are sorted.
+=head2 file
+
+The name of the file to log data to
+
=head2 remove_newlines
This boolean is set to true by default. It means your jason data structures
will be logged entirely on one line.
=head1 METHODS
-=head2 new(%attributes)
-
-Returns a Log::JSON object.
-
=head2 log(%hash)
Appends %hash to a file as JSON. The keys are sorted when the hash is converted to JSON.
@@ -58,15 +54,15 @@ Appends %hash to a file as JSON. The keys are sorted when the hash is converted
This should probably should have been a Log::Dispatch plugin.
+=head1 SEE ALSO
+
+L<Log::Message::Structured>, L<Log::Structured>, L<Log::Sprintf>
+
=head1 THANKS
Thanks to Foxtons Ltd for providing the opportunity to write and release the
original version of this module.
-=head1 SEE ALSO
-
-L<Log::Message::Structured>, L<Log::Structured>, L<Log::Sprintf>
-
=head1 AUTHOR
Eric Johnson <cpan at iijo dot org>

0 comments on commit 4649255

Please sign in to comment.