lumberjack 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. data/MIT_LICENSE +20 -0
  2. data/README.rdoc +86 -0
  3. data/Rakefile +56 -0
  4. data/VERSION +1 -0
  5. data/lib/lumberjack.rb +39 -0
  6. data/lib/lumberjack/device.rb +26 -0
  7. data/lib/lumberjack/device/date_rolling_log_file.rb +58 -0
  8. data/lib/lumberjack/device/log_file.rb +18 -0
  9. data/lib/lumberjack/device/null.rb +15 -0
  10. data/lib/lumberjack/device/rolling_log_file.rb +109 -0
  11. data/lib/lumberjack/device/size_rolling_log_file.rb +58 -0
  12. data/lib/lumberjack/device/writer.rb +119 -0
  13. data/lib/lumberjack/formatter.rb +76 -0
  14. data/lib/lumberjack/formatter/exception_formatter.rb +12 -0
  15. data/lib/lumberjack/formatter/inspect_formatter.rb +10 -0
  16. data/lib/lumberjack/formatter/pretty_print_formatter.rb +23 -0
  17. data/lib/lumberjack/formatter/string_formatter.rb +10 -0
  18. data/lib/lumberjack/log_entry.rb +36 -0
  19. data/lib/lumberjack/logger.rb +302 -0
  20. data/lib/lumberjack/rack.rb +5 -0
  21. data/lib/lumberjack/rack/unit_of_work.rb +15 -0
  22. data/lib/lumberjack/severity.rb +23 -0
  23. data/lib/lumberjack/template.rb +71 -0
  24. data/spec/device/date_rolling_log_file_spec.rb +66 -0
  25. data/spec/device/date_rolling_log_file_spec.rbc +2118 -0
  26. data/spec/device/log_file_spec.rb +26 -0
  27. data/spec/device/log_file_spec.rbc +727 -0
  28. data/spec/device/null_spec.rb +12 -0
  29. data/spec/device/null_spec.rbc +362 -0
  30. data/spec/device/rolling_log_file_spec.rb +117 -0
  31. data/spec/device/rolling_log_file_spec.rbc +2894 -0
  32. data/spec/device/size_rolling_log_file_spec.rb +54 -0
  33. data/spec/device/size_rolling_log_file_spec.rbc +1961 -0
  34. data/spec/device/stream_spec.rbc +3310 -0
  35. data/spec/device/writer_spec.rb +118 -0
  36. data/spec/entry_spec.rbc +2333 -0
  37. data/spec/formatter/exception_formatter_spec.rb +20 -0
  38. data/spec/formatter/exception_formatter_spec.rbc +620 -0
  39. data/spec/formatter/inspect_formatter_spec.rb +13 -0
  40. data/spec/formatter/inspect_formatter_spec.rbc +360 -0
  41. data/spec/formatter/pretty_print_formatter_spec.rb +14 -0
  42. data/spec/formatter/pretty_print_formatter_spec.rbc +380 -0
  43. data/spec/formatter/string_formatter_spec.rb +12 -0
  44. data/spec/formatter/string_formatter_spec.rbc +314 -0
  45. data/spec/formatter_spec.rb +45 -0
  46. data/spec/formatter_spec.rbc +1431 -0
  47. data/spec/log_entry_spec.rb +69 -0
  48. data/spec/logger_spec.rb +390 -0
  49. data/spec/logger_spec.rbc +10043 -0
  50. data/spec/lumberjack_spec.rb +22 -0
  51. data/spec/lumberjack_spec.rbc +523 -0
  52. data/spec/rack/unit_of_work_spec.rb +26 -0
  53. data/spec/rack/unit_of_work_spec.rbc +697 -0
  54. data/spec/severity_spec.rb +23 -0
  55. data/spec/spec_helper.rb +16 -0
  56. data/spec/spec_helper.rbc +391 -0
  57. data/spec/template_spec.rb +34 -0
  58. data/spec/template_spec.rbc +1563 -0
  59. data/spec/unique_identifier_spec.rbc +329 -0
  60. metadata +128 -0
@@ -0,0 +1,1563 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 24
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 5
23
+ 45
24
+ 2
25
+ 3
26
+ 43
27
+ 4
28
+ 56
29
+ 5
30
+ 47
31
+ 50
32
+ 6
33
+ 1
34
+ 15
35
+ 2
36
+ 11
37
+ I
38
+ 3
39
+ I
40
+ 0
41
+ I
42
+ 0
43
+ I
44
+ 0
45
+ n
46
+ p
47
+ 7
48
+ s
49
+ 11
50
+ spec_helper
51
+ x
52
+ 7
53
+ require
54
+ x
55
+ 10
56
+ Lumberjack
57
+ n
58
+ x
59
+ 8
60
+ Template
61
+ M
62
+ 1
63
+ p
64
+ 2
65
+ x
66
+ 9
67
+ for_block
68
+ t
69
+ n
70
+ x
71
+ 9
72
+ __block__
73
+ i
74
+ 85
75
+ 5
76
+ 7
77
+ 0
78
+ 56
79
+ 1
80
+ 47
81
+ 50
82
+ 2
83
+ 1
84
+ 15
85
+ 5
86
+ 7
87
+ 3
88
+ 56
89
+ 4
90
+ 47
91
+ 50
92
+ 2
93
+ 1
94
+ 15
95
+ 5
96
+ 7
97
+ 5
98
+ 56
99
+ 6
100
+ 47
101
+ 50
102
+ 2
103
+ 1
104
+ 15
105
+ 5
106
+ 7
107
+ 7
108
+ 64
109
+ 56
110
+ 8
111
+ 47
112
+ 50
113
+ 9
114
+ 1
115
+ 15
116
+ 5
117
+ 7
118
+ 10
119
+ 64
120
+ 56
121
+ 11
122
+ 47
123
+ 50
124
+ 9
125
+ 1
126
+ 15
127
+ 5
128
+ 7
129
+ 12
130
+ 64
131
+ 56
132
+ 13
133
+ 47
134
+ 50
135
+ 9
136
+ 1
137
+ 15
138
+ 5
139
+ 7
140
+ 14
141
+ 64
142
+ 56
143
+ 15
144
+ 47
145
+ 50
146
+ 9
147
+ 1
148
+ 15
149
+ 5
150
+ 7
151
+ 16
152
+ 64
153
+ 56
154
+ 17
155
+ 47
156
+ 50
157
+ 9
158
+ 1
159
+ 11
160
+ I
161
+ 4
162
+ I
163
+ 0
164
+ I
165
+ 0
166
+ I
167
+ 0
168
+ I
169
+ -2
170
+ p
171
+ 18
172
+ x
173
+ 11
174
+ time_string
175
+ M
176
+ 1
177
+ p
178
+ 2
179
+ x
180
+ 9
181
+ for_block
182
+ t
183
+ n
184
+ x
185
+ 9
186
+ __block__
187
+ i
188
+ 4
189
+ 7
190
+ 0
191
+ 64
192
+ 11
193
+ I
194
+ 2
195
+ I
196
+ 0
197
+ I
198
+ 0
199
+ I
200
+ 0
201
+ I
202
+ -2
203
+ p
204
+ 1
205
+ s
206
+ 23
207
+ 2011-01-15T14:23:45.123
208
+ p
209
+ 3
210
+ I
211
+ 0
212
+ I
213
+ 5
214
+ I
215
+ 4
216
+ x
217
+ 60
218
+ /Users/bdurand/dev/projects/lumberjack/spec/template_spec.rb
219
+ p
220
+ 0
221
+ x
222
+ 3
223
+ let
224
+ x
225
+ 4
226
+ time
227
+ M
228
+ 1
229
+ p
230
+ 2
231
+ x
232
+ 9
233
+ for_block
234
+ t
235
+ n
236
+ x
237
+ 9
238
+ __block__
239
+ i
240
+ 10
241
+ 45
242
+ 0
243
+ 1
244
+ 5
245
+ 48
246
+ 2
247
+ 49
248
+ 3
249
+ 1
250
+ 11
251
+ I
252
+ 3
253
+ I
254
+ 0
255
+ I
256
+ 0
257
+ I
258
+ 0
259
+ I
260
+ -2
261
+ p
262
+ 4
263
+ x
264
+ 4
265
+ Time
266
+ n
267
+ x
268
+ 11
269
+ time_string
270
+ x
271
+ 5
272
+ parse
273
+ p
274
+ 3
275
+ I
276
+ 0
277
+ I
278
+ 6
279
+ I
280
+ a
281
+ x
282
+ 60
283
+ /Users/bdurand/dev/projects/lumberjack/spec/template_spec.rb
284
+ p
285
+ 0
286
+ x
287
+ 5
288
+ entry
289
+ M
290
+ 1
291
+ p
292
+ 2
293
+ x
294
+ 9
295
+ for_block
296
+ t
297
+ n
298
+ x
299
+ 9
300
+ __block__
301
+ i
302
+ 111
303
+ 45
304
+ 0
305
+ 1
306
+ 43
307
+ 2
308
+ 13
309
+ 71
310
+ 3
311
+ 47
312
+ 9
313
+ 65
314
+ 47
315
+ 49
316
+ 4
317
+ 0
318
+ 13
319
+ 5
320
+ 48
321
+ 5
322
+ 45
323
+ 0
324
+ 6
325
+ 43
326
+ 7
327
+ 43
328
+ 8
329
+ 7
330
+ 9
331
+ 45
332
+ 0
333
+ 10
334
+ 43
335
+ 11
336
+ 47
337
+ 101
338
+ 12
339
+ 7
340
+ 13
341
+ 45
342
+ 0
343
+ 14
344
+ 43
345
+ 11
346
+ 47
347
+ 101
348
+ 12
349
+ 7
350
+ 15
351
+ 63
352
+ 5
353
+ 7
354
+ 16
355
+ 64
356
+ 7
357
+ 17
358
+ 7
359
+ 18
360
+ 64
361
+ 47
362
+ 49
363
+ 19
364
+ 6
365
+ 15
366
+ 8
367
+ 110
368
+ 5
369
+ 48
370
+ 5
371
+ 45
372
+ 0
373
+ 20
374
+ 43
375
+ 7
376
+ 43
377
+ 8
378
+ 7
379
+ 9
380
+ 45
381
+ 0
382
+ 21
383
+ 43
384
+ 11
385
+ 47
386
+ 101
387
+ 12
388
+ 7
389
+ 13
390
+ 45
391
+ 0
392
+ 22
393
+ 43
394
+ 11
395
+ 47
396
+ 101
397
+ 12
398
+ 7
399
+ 15
400
+ 63
401
+ 5
402
+ 7
403
+ 16
404
+ 64
405
+ 7
406
+ 17
407
+ 7
408
+ 18
409
+ 64
410
+ 49
411
+ 3
412
+ 6
413
+ 11
414
+ I
415
+ a
416
+ I
417
+ 0
418
+ I
419
+ 0
420
+ I
421
+ 0
422
+ I
423
+ -2
424
+ p
425
+ 23
426
+ x
427
+ 10
428
+ Lumberjack
429
+ n
430
+ x
431
+ 5
432
+ Entry
433
+ x
434
+ 3
435
+ new
436
+ x
437
+ 8
438
+ allocate
439
+ x
440
+ 4
441
+ time
442
+ n
443
+ x
444
+ 6
445
+ Logger
446
+ x
447
+ 4
448
+ INFO
449
+ s
450
+ 6
451
+ line 1
452
+ n
453
+ x
454
+ 14
455
+ LINE_SEPARATOR
456
+ x
457
+ 4
458
+ to_s
459
+ s
460
+ 6
461
+ line 2
462
+ n
463
+ s
464
+ 6
465
+ line 3
466
+ s
467
+ 3
468
+ app
469
+ I
470
+ 3039
471
+ s
472
+ 4
473
+ ABCD
474
+ x
475
+ 10
476
+ initialize
477
+ n
478
+ n
479
+ n
480
+ p
481
+ 3
482
+ I
483
+ 0
484
+ I
485
+ 7
486
+ I
487
+ 6f
488
+ x
489
+ 60
490
+ /Users/bdurand/dev/projects/lumberjack/spec/template_spec.rb
491
+ p
492
+ 0
493
+ s
494
+ 48
495
+ should format a log entry with a template string
496
+ M
497
+ 1
498
+ p
499
+ 2
500
+ x
501
+ 9
502
+ for_block
503
+ t
504
+ n
505
+ x
506
+ 9
507
+ __block__
508
+ i
509
+ 73
510
+ 45
511
+ 0
512
+ 1
513
+ 43
514
+ 2
515
+ 13
516
+ 71
517
+ 3
518
+ 47
519
+ 9
520
+ 26
521
+ 47
522
+ 49
523
+ 4
524
+ 0
525
+ 13
526
+ 7
527
+ 5
528
+ 64
529
+ 47
530
+ 49
531
+ 6
532
+ 1
533
+ 15
534
+ 8
535
+ 32
536
+ 7
537
+ 5
538
+ 64
539
+ 49
540
+ 3
541
+ 1
542
+ 19
543
+ 0
544
+ 15
545
+ 20
546
+ 0
547
+ 5
548
+ 48
549
+ 7
550
+ 49
551
+ 8
552
+ 1
553
+ 49
554
+ 9
555
+ 0
556
+ 7
557
+ 10
558
+ 45
559
+ 0
560
+ 11
561
+ 43
562
+ 12
563
+ 47
564
+ 101
565
+ 13
566
+ 7
567
+ 14
568
+ 45
569
+ 0
570
+ 15
571
+ 43
572
+ 12
573
+ 47
574
+ 101
575
+ 13
576
+ 7
577
+ 16
578
+ 63
579
+ 5
580
+ 83
581
+ 17
582
+ 11
583
+ I
584
+ 8
585
+ I
586
+ 1
587
+ I
588
+ 0
589
+ I
590
+ 0
591
+ I
592
+ -2
593
+ p
594
+ 18
595
+ x
596
+ 10
597
+ Lumberjack
598
+ n
599
+ x
600
+ 8
601
+ Template
602
+ x
603
+ 3
604
+ new
605
+ x
606
+ 8
607
+ allocate
608
+ s
609
+ 62
610
+ :message - :severity, :time, :progname@:pid (:unit_of_work_id)
611
+ x
612
+ 10
613
+ initialize
614
+ x
615
+ 5
616
+ entry
617
+ x
618
+ 4
619
+ call
620
+ x
621
+ 6
622
+ should
623
+ s
624
+ 56
625
+ line 1 - INFO, 2011-01-15T14:23:45.123, app@12345 (ABCD)
626
+ n
627
+ x
628
+ 14
629
+ LINE_SEPARATOR
630
+ x
631
+ 4
632
+ to_s
633
+ s
634
+ 6
635
+ line 2
636
+ n
637
+ s
638
+ 6
639
+ line 3
640
+ x
641
+ 2
642
+ ==
643
+ p
644
+ 5
645
+ I
646
+ 0
647
+ I
648
+ a
649
+ I
650
+ 23
651
+ I
652
+ b
653
+ I
654
+ 49
655
+ x
656
+ 60
657
+ /Users/bdurand/dev/projects/lumberjack/spec/template_spec.rb
658
+ p
659
+ 1
660
+ x
661
+ 8
662
+ template
663
+ x
664
+ 2
665
+ it
666
+ s
667
+ 73
668
+ should be able to specify the time format for log entries as microseconds
669
+ M
670
+ 1
671
+ p
672
+ 2
673
+ x
674
+ 9
675
+ for_block
676
+ t
677
+ n
678
+ x
679
+ 9
680
+ __block__
681
+ i
682
+ 105
683
+ 45
684
+ 0
685
+ 1
686
+ 43
687
+ 2
688
+ 13
689
+ 71
690
+ 3
691
+ 47
692
+ 9
693
+ 42
694
+ 47
695
+ 49
696
+ 4
697
+ 0
698
+ 13
699
+ 7
700
+ 5
701
+ 64
702
+ 44
703
+ 43
704
+ 6
705
+ 79
706
+ 49
707
+ 7
708
+ 1
709
+ 13
710
+ 7
711
+ 8
712
+ 7
713
+ 9
714
+ 49
715
+ 10
716
+ 2
717
+ 15
718
+ 47
719
+ 49
720
+ 11
721
+ 2
722
+ 15
723
+ 8
724
+ 64
725
+ 7
726
+ 5
727
+ 64
728
+ 44
729
+ 43
730
+ 6
731
+ 79
732
+ 49
733
+ 7
734
+ 1
735
+ 13
736
+ 7
737
+ 8
738
+ 7
739
+ 9
740
+ 49
741
+ 10
742
+ 2
743
+ 15
744
+ 49
745
+ 3
746
+ 2
747
+ 19
748
+ 0
749
+ 15
750
+ 20
751
+ 0
752
+ 5
753
+ 48
754
+ 12
755
+ 49
756
+ 13
757
+ 1
758
+ 49
759
+ 14
760
+ 0
761
+ 7
762
+ 15
763
+ 45
764
+ 0
765
+ 16
766
+ 43
767
+ 17
768
+ 47
769
+ 101
770
+ 18
771
+ 7
772
+ 19
773
+ 45
774
+ 0
775
+ 20
776
+ 43
777
+ 17
778
+ 47
779
+ 101
780
+ 18
781
+ 7
782
+ 21
783
+ 63
784
+ 5
785
+ 83
786
+ 22
787
+ 11
788
+ I
789
+ 9
790
+ I
791
+ 1
792
+ I
793
+ 0
794
+ I
795
+ 0
796
+ I
797
+ -2
798
+ p
799
+ 23
800
+ x
801
+ 10
802
+ Lumberjack
803
+ n
804
+ x
805
+ 8
806
+ Template
807
+ x
808
+ 3
809
+ new
810
+ x
811
+ 8
812
+ allocate
813
+ s
814
+ 16
815
+ :message (:time)
816
+ x
817
+ 4
818
+ Hash
819
+ x
820
+ 16
821
+ new_from_literal
822
+ x
823
+ 11
824
+ time_format
825
+ x
826
+ 12
827
+ microseconds
828
+ x
829
+ 3
830
+ []=
831
+ x
832
+ 10
833
+ initialize
834
+ x
835
+ 5
836
+ entry
837
+ x
838
+ 4
839
+ call
840
+ x
841
+ 6
842
+ should
843
+ s
844
+ 35
845
+ line 1 (2011-01-15T14:23:45.123000)
846
+ n
847
+ x
848
+ 14
849
+ LINE_SEPARATOR
850
+ x
851
+ 4
852
+ to_s
853
+ s
854
+ 6
855
+ line 2
856
+ n
857
+ s
858
+ 6
859
+ line 3
860
+ x
861
+ 2
862
+ ==
863
+ p
864
+ 5
865
+ I
866
+ 0
867
+ I
868
+ f
869
+ I
870
+ 43
871
+ I
872
+ 10
873
+ I
874
+ 69
875
+ x
876
+ 60
877
+ /Users/bdurand/dev/projects/lumberjack/spec/template_spec.rb
878
+ p
879
+ 1
880
+ x
881
+ 8
882
+ template
883
+ s
884
+ 73
885
+ should be able to specify the time format for log entries as milliseconds
886
+ M
887
+ 1
888
+ p
889
+ 2
890
+ x
891
+ 9
892
+ for_block
893
+ t
894
+ n
895
+ x
896
+ 9
897
+ __block__
898
+ i
899
+ 105
900
+ 45
901
+ 0
902
+ 1
903
+ 43
904
+ 2
905
+ 13
906
+ 71
907
+ 3
908
+ 47
909
+ 9
910
+ 42
911
+ 47
912
+ 49
913
+ 4
914
+ 0
915
+ 13
916
+ 7
917
+ 5
918
+ 64
919
+ 44
920
+ 43
921
+ 6
922
+ 79
923
+ 49
924
+ 7
925
+ 1
926
+ 13
927
+ 7
928
+ 8
929
+ 7
930
+ 9
931
+ 49
932
+ 10
933
+ 2
934
+ 15
935
+ 47
936
+ 49
937
+ 11
938
+ 2
939
+ 15
940
+ 8
941
+ 64
942
+ 7
943
+ 5
944
+ 64
945
+ 44
946
+ 43
947
+ 6
948
+ 79
949
+ 49
950
+ 7
951
+ 1
952
+ 13
953
+ 7
954
+ 8
955
+ 7
956
+ 9
957
+ 49
958
+ 10
959
+ 2
960
+ 15
961
+ 49
962
+ 3
963
+ 2
964
+ 19
965
+ 0
966
+ 15
967
+ 20
968
+ 0
969
+ 5
970
+ 48
971
+ 12
972
+ 49
973
+ 13
974
+ 1
975
+ 49
976
+ 14
977
+ 0
978
+ 7
979
+ 15
980
+ 45
981
+ 0
982
+ 16
983
+ 43
984
+ 17
985
+ 47
986
+ 101
987
+ 18
988
+ 7
989
+ 19
990
+ 45
991
+ 0
992
+ 20
993
+ 43
994
+ 17
995
+ 47
996
+ 101
997
+ 18
998
+ 7
999
+ 21
1000
+ 63
1001
+ 5
1002
+ 83
1003
+ 22
1004
+ 11
1005
+ I
1006
+ 9
1007
+ I
1008
+ 1
1009
+ I
1010
+ 0
1011
+ I
1012
+ 0
1013
+ I
1014
+ -2
1015
+ p
1016
+ 23
1017
+ x
1018
+ 10
1019
+ Lumberjack
1020
+ n
1021
+ x
1022
+ 8
1023
+ Template
1024
+ x
1025
+ 3
1026
+ new
1027
+ x
1028
+ 8
1029
+ allocate
1030
+ s
1031
+ 16
1032
+ :message (:time)
1033
+ x
1034
+ 4
1035
+ Hash
1036
+ x
1037
+ 16
1038
+ new_from_literal
1039
+ x
1040
+ 11
1041
+ time_format
1042
+ x
1043
+ 12
1044
+ milliseconds
1045
+ x
1046
+ 3
1047
+ []=
1048
+ x
1049
+ 10
1050
+ initialize
1051
+ x
1052
+ 5
1053
+ entry
1054
+ x
1055
+ 4
1056
+ call
1057
+ x
1058
+ 6
1059
+ should
1060
+ s
1061
+ 32
1062
+ line 1 (2011-01-15T14:23:45.123)
1063
+ n
1064
+ x
1065
+ 14
1066
+ LINE_SEPARATOR
1067
+ x
1068
+ 4
1069
+ to_s
1070
+ s
1071
+ 6
1072
+ line 2
1073
+ n
1074
+ s
1075
+ 6
1076
+ line 3
1077
+ x
1078
+ 2
1079
+ ==
1080
+ p
1081
+ 5
1082
+ I
1083
+ 0
1084
+ I
1085
+ 14
1086
+ I
1087
+ 43
1088
+ I
1089
+ 15
1090
+ I
1091
+ 69
1092
+ x
1093
+ 60
1094
+ /Users/bdurand/dev/projects/lumberjack/spec/template_spec.rb
1095
+ p
1096
+ 1
1097
+ x
1098
+ 8
1099
+ template
1100
+ s
1101
+ 78
1102
+ should be able to specify the time format for log entries with a custom format
1103
+ M
1104
+ 1
1105
+ p
1106
+ 2
1107
+ x
1108
+ 9
1109
+ for_block
1110
+ t
1111
+ n
1112
+ x
1113
+ 9
1114
+ __block__
1115
+ i
1116
+ 107
1117
+ 45
1118
+ 0
1119
+ 1
1120
+ 43
1121
+ 2
1122
+ 13
1123
+ 71
1124
+ 3
1125
+ 47
1126
+ 9
1127
+ 43
1128
+ 47
1129
+ 49
1130
+ 4
1131
+ 0
1132
+ 13
1133
+ 7
1134
+ 5
1135
+ 64
1136
+ 44
1137
+ 43
1138
+ 6
1139
+ 79
1140
+ 49
1141
+ 7
1142
+ 1
1143
+ 13
1144
+ 7
1145
+ 8
1146
+ 7
1147
+ 9
1148
+ 64
1149
+ 49
1150
+ 10
1151
+ 2
1152
+ 15
1153
+ 47
1154
+ 49
1155
+ 11
1156
+ 2
1157
+ 15
1158
+ 8
1159
+ 66
1160
+ 7
1161
+ 5
1162
+ 64
1163
+ 44
1164
+ 43
1165
+ 6
1166
+ 79
1167
+ 49
1168
+ 7
1169
+ 1
1170
+ 13
1171
+ 7
1172
+ 8
1173
+ 7
1174
+ 9
1175
+ 64
1176
+ 49
1177
+ 10
1178
+ 2
1179
+ 15
1180
+ 49
1181
+ 3
1182
+ 2
1183
+ 19
1184
+ 0
1185
+ 15
1186
+ 20
1187
+ 0
1188
+ 5
1189
+ 48
1190
+ 12
1191
+ 49
1192
+ 13
1193
+ 1
1194
+ 49
1195
+ 14
1196
+ 0
1197
+ 7
1198
+ 15
1199
+ 45
1200
+ 0
1201
+ 16
1202
+ 43
1203
+ 17
1204
+ 47
1205
+ 101
1206
+ 18
1207
+ 7
1208
+ 19
1209
+ 45
1210
+ 0
1211
+ 20
1212
+ 43
1213
+ 17
1214
+ 47
1215
+ 101
1216
+ 18
1217
+ 7
1218
+ 21
1219
+ 63
1220
+ 5
1221
+ 83
1222
+ 22
1223
+ 11
1224
+ I
1225
+ 9
1226
+ I
1227
+ 1
1228
+ I
1229
+ 0
1230
+ I
1231
+ 0
1232
+ I
1233
+ -2
1234
+ p
1235
+ 23
1236
+ x
1237
+ 10
1238
+ Lumberjack
1239
+ n
1240
+ x
1241
+ 8
1242
+ Template
1243
+ x
1244
+ 3
1245
+ new
1246
+ x
1247
+ 8
1248
+ allocate
1249
+ s
1250
+ 16
1251
+ :message (:time)
1252
+ x
1253
+ 4
1254
+ Hash
1255
+ x
1256
+ 16
1257
+ new_from_literal
1258
+ x
1259
+ 11
1260
+ time_format
1261
+ s
1262
+ 21
1263
+ %m/%d/%Y, %I:%M:%S %p
1264
+ x
1265
+ 3
1266
+ []=
1267
+ x
1268
+ 10
1269
+ initialize
1270
+ x
1271
+ 5
1272
+ entry
1273
+ x
1274
+ 4
1275
+ call
1276
+ x
1277
+ 6
1278
+ should
1279
+ s
1280
+ 32
1281
+ line 1 (01/15/2011, 02:23:45 PM)
1282
+ n
1283
+ x
1284
+ 14
1285
+ LINE_SEPARATOR
1286
+ x
1287
+ 4
1288
+ to_s
1289
+ s
1290
+ 6
1291
+ line 2
1292
+ n
1293
+ s
1294
+ 6
1295
+ line 3
1296
+ x
1297
+ 2
1298
+ ==
1299
+ p
1300
+ 5
1301
+ I
1302
+ 0
1303
+ I
1304
+ 19
1305
+ I
1306
+ 45
1307
+ I
1308
+ 1a
1309
+ I
1310
+ 6b
1311
+ x
1312
+ 60
1313
+ /Users/bdurand/dev/projects/lumberjack/spec/template_spec.rb
1314
+ p
1315
+ 1
1316
+ x
1317
+ 8
1318
+ template
1319
+ s
1320
+ 70
1321
+ should be able to specify a template for additional lines in a message
1322
+ M
1323
+ 1
1324
+ p
1325
+ 2
1326
+ x
1327
+ 9
1328
+ for_block
1329
+ t
1330
+ n
1331
+ x
1332
+ 9
1333
+ __block__
1334
+ i
1335
+ 86
1336
+ 45
1337
+ 0
1338
+ 1
1339
+ 43
1340
+ 2
1341
+ 13
1342
+ 71
1343
+ 3
1344
+ 47
1345
+ 9
1346
+ 43
1347
+ 47
1348
+ 49
1349
+ 4
1350
+ 0
1351
+ 13
1352
+ 7
1353
+ 5
1354
+ 64
1355
+ 44
1356
+ 43
1357
+ 6
1358
+ 79
1359
+ 49
1360
+ 7
1361
+ 1
1362
+ 13
1363
+ 7
1364
+ 8
1365
+ 7
1366
+ 9
1367
+ 64
1368
+ 49
1369
+ 10
1370
+ 2
1371
+ 15
1372
+ 47
1373
+ 49
1374
+ 11
1375
+ 2
1376
+ 15
1377
+ 8
1378
+ 66
1379
+ 7
1380
+ 5
1381
+ 64
1382
+ 44
1383
+ 43
1384
+ 6
1385
+ 79
1386
+ 49
1387
+ 7
1388
+ 1
1389
+ 13
1390
+ 7
1391
+ 8
1392
+ 7
1393
+ 9
1394
+ 64
1395
+ 49
1396
+ 10
1397
+ 2
1398
+ 15
1399
+ 49
1400
+ 3
1401
+ 2
1402
+ 19
1403
+ 0
1404
+ 15
1405
+ 20
1406
+ 0
1407
+ 5
1408
+ 48
1409
+ 12
1410
+ 49
1411
+ 13
1412
+ 1
1413
+ 49
1414
+ 14
1415
+ 0
1416
+ 7
1417
+ 15
1418
+ 64
1419
+ 83
1420
+ 16
1421
+ 11
1422
+ I
1423
+ 9
1424
+ I
1425
+ 1
1426
+ I
1427
+ 0
1428
+ I
1429
+ 0
1430
+ I
1431
+ -2
1432
+ p
1433
+ 17
1434
+ x
1435
+ 10
1436
+ Lumberjack
1437
+ n
1438
+ x
1439
+ 8
1440
+ Template
1441
+ x
1442
+ 3
1443
+ new
1444
+ x
1445
+ 8
1446
+ allocate
1447
+ s
1448
+ 16
1449
+ :message (:time)
1450
+ x
1451
+ 4
1452
+ Hash
1453
+ x
1454
+ 16
1455
+ new_from_literal
1456
+ x
1457
+ 16
1458
+ additional_lines
1459
+ s
1460
+ 12
1461
+ // :message
1462
+ x
1463
+ 3
1464
+ []=
1465
+ x
1466
+ 10
1467
+ initialize
1468
+ x
1469
+ 5
1470
+ entry
1471
+ x
1472
+ 4
1473
+ call
1474
+ x
1475
+ 6
1476
+ should
1477
+ s
1478
+ 52
1479
+ line 1 (2011-01-15T14:23:45.123) // line 2 // line 3
1480
+ x
1481
+ 2
1482
+ ==
1483
+ p
1484
+ 5
1485
+ I
1486
+ 0
1487
+ I
1488
+ 1e
1489
+ I
1490
+ 45
1491
+ I
1492
+ 1f
1493
+ I
1494
+ 56
1495
+ x
1496
+ 60
1497
+ /Users/bdurand/dev/projects/lumberjack/spec/template_spec.rb
1498
+ p
1499
+ 1
1500
+ x
1501
+ 8
1502
+ template
1503
+ p
1504
+ 17
1505
+ I
1506
+ 0
1507
+ I
1508
+ 5
1509
+ I
1510
+ a
1511
+ I
1512
+ 6
1513
+ I
1514
+ 14
1515
+ I
1516
+ 7
1517
+ I
1518
+ 1e
1519
+ I
1520
+ 9
1521
+ I
1522
+ 29
1523
+ I
1524
+ e
1525
+ I
1526
+ 34
1527
+ I
1528
+ 13
1529
+ I
1530
+ 3f
1531
+ I
1532
+ 18
1533
+ I
1534
+ 4a
1535
+ I
1536
+ 1d
1537
+ I
1538
+ 55
1539
+ x
1540
+ 60
1541
+ /Users/bdurand/dev/projects/lumberjack/spec/template_spec.rb
1542
+ p
1543
+ 0
1544
+ x
1545
+ 8
1546
+ describe
1547
+ p
1548
+ 5
1549
+ I
1550
+ 0
1551
+ I
1552
+ 1
1553
+ I
1554
+ 9
1555
+ I
1556
+ 3
1557
+ I
1558
+ 18
1559
+ x
1560
+ 60
1561
+ /Users/bdurand/dev/projects/lumberjack/spec/template_spec.rb
1562
+ p
1563
+ 0