Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updates to pod.

  • Loading branch information...
commit 4649255d8c81a9048776b1ad46ecc0fe4677f049 1 parent bcdf688
Eric Johnson authored

Showing 1 changed file with 8 additions and 12 deletions. Show diff stats Hide diff stats

  1. +8 12 README.pod
20 README.pod
Source Rendered
@@ -30,15 +30,15 @@ be easily revived.
30 30
31 31 =head1 ATTRIBUTES
32 32
33   -=head2 file
34   -
35   -The name of the file to log data to
36   -
37 33 =head2 date
38 34
39 35 Adds an __date field to your json. The '__' part ensures the date is the first
40 36 information logged to each line when the keys are sorted.
41 37
  38 +=head2 file
  39 +
  40 +The name of the file to log data to
  41 +
42 42 =head2 remove_newlines
43 43
44 44 This boolean is set to true by default. It means your jason data structures
@@ -46,10 +46,6 @@ will be logged entirely on one line.
46 46
47 47 =head1 METHODS
48 48
49   -=head2 new(%attributes)
50   -
51   -Returns a Log::JSON object.
52   -
53 49 =head2 log(%hash)
54 50
55 51 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
58 54
59 55 This should probably should have been a Log::Dispatch plugin.
60 56
  57 +=head1 SEE ALSO
  58 +
  59 +L<Log::Message::Structured>, L<Log::Structured>, L<Log::Sprintf>
  60 +
61 61 =head1 THANKS
62 62
63 63 Thanks to Foxtons Ltd for providing the opportunity to write and release the
64 64 original version of this module.
65 65
66   -=head1 SEE ALSO
67   -
68   -L<Log::Message::Structured>, L<Log::Structured>, L<Log::Sprintf>
69   -
70 66 =head1 AUTHOR
71 67
72 68 Eric Johnson <cpan at iijo dot org>

0 comments on commit 4649255

Please sign in to comment.
Something went wrong with that request. Please try again.