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,3310 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 26
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
+ 43
29
+ 5
30
+ 56
31
+ 6
32
+ 47
33
+ 50
34
+ 7
35
+ 1
36
+ 15
37
+ 2
38
+ 11
39
+ I
40
+ 3
41
+ I
42
+ 0
43
+ I
44
+ 0
45
+ I
46
+ 0
47
+ n
48
+ p
49
+ 8
50
+ s
51
+ 11
52
+ spec_helper
53
+ x
54
+ 7
55
+ require
56
+ x
57
+ 10
58
+ Lumberjack
59
+ n
60
+ x
61
+ 6
62
+ Device
63
+ x
64
+ 6
65
+ Stream
66
+ M
67
+ 1
68
+ p
69
+ 2
70
+ x
71
+ 9
72
+ for_block
73
+ t
74
+ n
75
+ x
76
+ 9
77
+ __block__
78
+ i
79
+ 139
80
+ 5
81
+ 7
82
+ 0
83
+ 56
84
+ 1
85
+ 47
86
+ 50
87
+ 2
88
+ 1
89
+ 15
90
+ 5
91
+ 7
92
+ 3
93
+ 56
94
+ 4
95
+ 47
96
+ 50
97
+ 2
98
+ 1
99
+ 15
100
+ 5
101
+ 7
102
+ 5
103
+ 56
104
+ 6
105
+ 47
106
+ 50
107
+ 2
108
+ 1
109
+ 15
110
+ 5
111
+ 7
112
+ 7
113
+ 56
114
+ 8
115
+ 47
116
+ 50
117
+ 2
118
+ 1
119
+ 15
120
+ 5
121
+ 7
122
+ 9
123
+ 64
124
+ 56
125
+ 10
126
+ 47
127
+ 50
128
+ 11
129
+ 1
130
+ 15
131
+ 5
132
+ 7
133
+ 12
134
+ 64
135
+ 56
136
+ 13
137
+ 47
138
+ 50
139
+ 11
140
+ 1
141
+ 15
142
+ 5
143
+ 7
144
+ 14
145
+ 64
146
+ 56
147
+ 15
148
+ 47
149
+ 50
150
+ 11
151
+ 1
152
+ 15
153
+ 5
154
+ 7
155
+ 16
156
+ 64
157
+ 56
158
+ 17
159
+ 47
160
+ 50
161
+ 11
162
+ 1
163
+ 15
164
+ 5
165
+ 7
166
+ 18
167
+ 64
168
+ 56
169
+ 19
170
+ 47
171
+ 50
172
+ 11
173
+ 1
174
+ 15
175
+ 5
176
+ 7
177
+ 20
178
+ 64
179
+ 56
180
+ 21
181
+ 47
182
+ 50
183
+ 11
184
+ 1
185
+ 15
186
+ 5
187
+ 7
188
+ 22
189
+ 64
190
+ 56
191
+ 23
192
+ 47
193
+ 50
194
+ 11
195
+ 1
196
+ 15
197
+ 5
198
+ 7
199
+ 24
200
+ 64
201
+ 56
202
+ 25
203
+ 47
204
+ 50
205
+ 11
206
+ 1
207
+ 15
208
+ 5
209
+ 7
210
+ 26
211
+ 64
212
+ 56
213
+ 27
214
+ 47
215
+ 50
216
+ 28
217
+ 1
218
+ 11
219
+ I
220
+ 4
221
+ I
222
+ 0
223
+ I
224
+ 0
225
+ I
226
+ 0
227
+ I
228
+ -2
229
+ p
230
+ 29
231
+ x
232
+ 11
233
+ time_string
234
+ M
235
+ 1
236
+ p
237
+ 2
238
+ x
239
+ 9
240
+ for_block
241
+ t
242
+ n
243
+ x
244
+ 9
245
+ __block__
246
+ i
247
+ 4
248
+ 7
249
+ 0
250
+ 64
251
+ 11
252
+ I
253
+ 2
254
+ I
255
+ 0
256
+ I
257
+ 0
258
+ I
259
+ 0
260
+ I
261
+ -2
262
+ p
263
+ 1
264
+ s
265
+ 23
266
+ 2011-01-15T14:23:45.123
267
+ p
268
+ 3
269
+ I
270
+ 0
271
+ I
272
+ 5
273
+ I
274
+ 4
275
+ x
276
+ 65
277
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
278
+ p
279
+ 0
280
+ x
281
+ 3
282
+ let
283
+ x
284
+ 4
285
+ time
286
+ M
287
+ 1
288
+ p
289
+ 2
290
+ x
291
+ 9
292
+ for_block
293
+ t
294
+ n
295
+ x
296
+ 9
297
+ __block__
298
+ i
299
+ 10
300
+ 45
301
+ 0
302
+ 1
303
+ 5
304
+ 48
305
+ 2
306
+ 49
307
+ 3
308
+ 1
309
+ 11
310
+ I
311
+ 3
312
+ I
313
+ 0
314
+ I
315
+ 0
316
+ I
317
+ 0
318
+ I
319
+ -2
320
+ p
321
+ 4
322
+ x
323
+ 4
324
+ Time
325
+ n
326
+ x
327
+ 11
328
+ time_string
329
+ x
330
+ 5
331
+ parse
332
+ p
333
+ 3
334
+ I
335
+ 0
336
+ I
337
+ 6
338
+ I
339
+ a
340
+ x
341
+ 65
342
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
343
+ p
344
+ 0
345
+ x
346
+ 6
347
+ stream
348
+ M
349
+ 1
350
+ p
351
+ 2
352
+ x
353
+ 9
354
+ for_block
355
+ t
356
+ n
357
+ x
358
+ 9
359
+ __block__
360
+ i
361
+ 25
362
+ 45
363
+ 0
364
+ 1
365
+ 13
366
+ 71
367
+ 2
368
+ 47
369
+ 9
370
+ 21
371
+ 47
372
+ 49
373
+ 3
374
+ 0
375
+ 13
376
+ 47
377
+ 49
378
+ 4
379
+ 0
380
+ 15
381
+ 8
382
+ 24
383
+ 49
384
+ 2
385
+ 0
386
+ 11
387
+ I
388
+ 3
389
+ I
390
+ 0
391
+ I
392
+ 0
393
+ I
394
+ 0
395
+ I
396
+ -2
397
+ p
398
+ 5
399
+ x
400
+ 8
401
+ StringIO
402
+ n
403
+ x
404
+ 3
405
+ new
406
+ x
407
+ 8
408
+ allocate
409
+ x
410
+ 10
411
+ initialize
412
+ p
413
+ 3
414
+ I
415
+ 0
416
+ I
417
+ 7
418
+ I
419
+ 19
420
+ x
421
+ 65
422
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
423
+ p
424
+ 0
425
+ x
426
+ 5
427
+ entry
428
+ M
429
+ 1
430
+ p
431
+ 2
432
+ x
433
+ 9
434
+ for_block
435
+ t
436
+ n
437
+ x
438
+ 9
439
+ __block__
440
+ i
441
+ 69
442
+ 45
443
+ 0
444
+ 1
445
+ 43
446
+ 2
447
+ 13
448
+ 71
449
+ 3
450
+ 47
451
+ 9
452
+ 44
453
+ 47
454
+ 49
455
+ 4
456
+ 0
457
+ 13
458
+ 5
459
+ 48
460
+ 5
461
+ 45
462
+ 0
463
+ 6
464
+ 43
465
+ 7
466
+ 43
467
+ 8
468
+ 7
469
+ 9
470
+ 64
471
+ 7
472
+ 10
473
+ 64
474
+ 7
475
+ 11
476
+ 7
477
+ 12
478
+ 64
479
+ 47
480
+ 49
481
+ 13
482
+ 6
483
+ 15
484
+ 8
485
+ 68
486
+ 5
487
+ 48
488
+ 5
489
+ 45
490
+ 0
491
+ 14
492
+ 43
493
+ 7
494
+ 43
495
+ 8
496
+ 7
497
+ 9
498
+ 64
499
+ 7
500
+ 10
501
+ 64
502
+ 7
503
+ 11
504
+ 7
505
+ 12
506
+ 64
507
+ 49
508
+ 3
509
+ 6
510
+ 11
511
+ I
512
+ 9
513
+ I
514
+ 0
515
+ I
516
+ 0
517
+ I
518
+ 0
519
+ I
520
+ -2
521
+ p
522
+ 15
523
+ x
524
+ 10
525
+ Lumberjack
526
+ n
527
+ x
528
+ 5
529
+ Entry
530
+ x
531
+ 3
532
+ new
533
+ x
534
+ 8
535
+ allocate
536
+ x
537
+ 4
538
+ time
539
+ n
540
+ x
541
+ 6
542
+ Logger
543
+ x
544
+ 4
545
+ INFO
546
+ s
547
+ 12
548
+ test message
549
+ s
550
+ 3
551
+ app
552
+ I
553
+ 3039
554
+ s
555
+ 4
556
+ ABCD
557
+ x
558
+ 10
559
+ initialize
560
+ n
561
+ p
562
+ 3
563
+ I
564
+ 0
565
+ I
566
+ 8
567
+ I
568
+ 45
569
+ x
570
+ 65
571
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
572
+ p
573
+ 0
574
+ s
575
+ 57
576
+ should buffer output and not write directly to the stream
577
+ M
578
+ 1
579
+ p
580
+ 2
581
+ x
582
+ 9
583
+ for_block
584
+ t
585
+ n
586
+ x
587
+ 9
588
+ __block__
589
+ i
590
+ 125
591
+ 45
592
+ 0
593
+ 1
594
+ 43
595
+ 2
596
+ 43
597
+ 3
598
+ 13
599
+ 71
600
+ 4
601
+ 47
602
+ 9
603
+ 45
604
+ 47
605
+ 49
606
+ 5
607
+ 0
608
+ 13
609
+ 5
610
+ 48
611
+ 6
612
+ 44
613
+ 43
614
+ 7
615
+ 79
616
+ 49
617
+ 8
618
+ 1
619
+ 13
620
+ 7
621
+ 9
622
+ 7
623
+ 10
624
+ 64
625
+ 49
626
+ 11
627
+ 2
628
+ 15
629
+ 47
630
+ 49
631
+ 12
632
+ 2
633
+ 15
634
+ 8
635
+ 68
636
+ 5
637
+ 48
638
+ 6
639
+ 44
640
+ 43
641
+ 7
642
+ 79
643
+ 49
644
+ 8
645
+ 1
646
+ 13
647
+ 7
648
+ 9
649
+ 7
650
+ 10
651
+ 64
652
+ 49
653
+ 11
654
+ 2
655
+ 15
656
+ 49
657
+ 4
658
+ 2
659
+ 19
660
+ 0
661
+ 15
662
+ 20
663
+ 0
664
+ 5
665
+ 48
666
+ 13
667
+ 49
668
+ 14
669
+ 1
670
+ 15
671
+ 5
672
+ 48
673
+ 6
674
+ 49
675
+ 15
676
+ 0
677
+ 49
678
+ 16
679
+ 0
680
+ 7
681
+ 17
682
+ 64
683
+ 83
684
+ 18
685
+ 15
686
+ 20
687
+ 0
688
+ 49
689
+ 19
690
+ 0
691
+ 15
692
+ 5
693
+ 48
694
+ 6
695
+ 49
696
+ 15
697
+ 0
698
+ 49
699
+ 16
700
+ 0
701
+ 7
702
+ 20
703
+ 45
704
+ 0
705
+ 21
706
+ 43
707
+ 22
708
+ 47
709
+ 101
710
+ 23
711
+ 63
712
+ 2
713
+ 83
714
+ 18
715
+ 11
716
+ I
717
+ 9
718
+ I
719
+ 1
720
+ I
721
+ 0
722
+ I
723
+ 0
724
+ I
725
+ -2
726
+ p
727
+ 24
728
+ x
729
+ 10
730
+ Lumberjack
731
+ n
732
+ x
733
+ 6
734
+ Device
735
+ x
736
+ 6
737
+ Stream
738
+ x
739
+ 3
740
+ new
741
+ x
742
+ 8
743
+ allocate
744
+ x
745
+ 6
746
+ stream
747
+ x
748
+ 4
749
+ Hash
750
+ x
751
+ 16
752
+ new_from_literal
753
+ x
754
+ 8
755
+ template
756
+ s
757
+ 8
758
+ :message
759
+ x
760
+ 3
761
+ []=
762
+ x
763
+ 10
764
+ initialize
765
+ x
766
+ 5
767
+ entry
768
+ x
769
+ 5
770
+ write
771
+ x
772
+ 6
773
+ string
774
+ x
775
+ 6
776
+ should
777
+ s
778
+ 0
779
+
780
+ x
781
+ 2
782
+ ==
783
+ x
784
+ 5
785
+ flush
786
+ s
787
+ 12
788
+ test message
789
+ n
790
+ x
791
+ 14
792
+ LINE_SEPARATOR
793
+ x
794
+ 4
795
+ to_s
796
+ p
797
+ 11
798
+ I
799
+ 0
800
+ I
801
+ b
802
+ I
803
+ 47
804
+ I
805
+ c
806
+ I
807
+ 50
808
+ I
809
+ d
810
+ I
811
+ 5f
812
+ I
813
+ e
814
+ I
815
+ 65
816
+ I
817
+ f
818
+ I
819
+ 7d
820
+ x
821
+ 65
822
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
823
+ p
824
+ 1
825
+ x
826
+ 6
827
+ device
828
+ x
829
+ 2
830
+ it
831
+ s
832
+ 58
833
+ should flush the buffer when it gets to the specified size
834
+ M
835
+ 1
836
+ p
837
+ 2
838
+ x
839
+ 9
840
+ for_block
841
+ t
842
+ n
843
+ x
844
+ 9
845
+ __block__
846
+ i
847
+ 156
848
+ 45
849
+ 0
850
+ 1
851
+ 43
852
+ 2
853
+ 43
854
+ 3
855
+ 13
856
+ 71
857
+ 4
858
+ 47
859
+ 9
860
+ 54
861
+ 47
862
+ 49
863
+ 5
864
+ 0
865
+ 13
866
+ 5
867
+ 48
868
+ 6
869
+ 44
870
+ 43
871
+ 7
872
+ 80
873
+ 49
874
+ 8
875
+ 1
876
+ 13
877
+ 7
878
+ 9
879
+ 4
880
+ 15
881
+ 49
882
+ 10
883
+ 2
884
+ 15
885
+ 13
886
+ 7
887
+ 11
888
+ 7
889
+ 12
890
+ 64
891
+ 49
892
+ 10
893
+ 2
894
+ 15
895
+ 47
896
+ 49
897
+ 13
898
+ 2
899
+ 15
900
+ 8
901
+ 86
902
+ 5
903
+ 48
904
+ 6
905
+ 44
906
+ 43
907
+ 7
908
+ 80
909
+ 49
910
+ 8
911
+ 1
912
+ 13
913
+ 7
914
+ 9
915
+ 4
916
+ 15
917
+ 49
918
+ 10
919
+ 2
920
+ 15
921
+ 13
922
+ 7
923
+ 11
924
+ 7
925
+ 12
926
+ 64
927
+ 49
928
+ 10
929
+ 2
930
+ 15
931
+ 49
932
+ 4
933
+ 2
934
+ 19
935
+ 0
936
+ 15
937
+ 20
938
+ 0
939
+ 5
940
+ 48
941
+ 14
942
+ 49
943
+ 15
944
+ 1
945
+ 15
946
+ 5
947
+ 48
948
+ 6
949
+ 49
950
+ 16
951
+ 0
952
+ 49
953
+ 17
954
+ 0
955
+ 7
956
+ 18
957
+ 64
958
+ 83
959
+ 19
960
+ 15
961
+ 20
962
+ 0
963
+ 5
964
+ 48
965
+ 14
966
+ 49
967
+ 15
968
+ 1
969
+ 15
970
+ 5
971
+ 48
972
+ 6
973
+ 49
974
+ 16
975
+ 0
976
+ 49
977
+ 17
978
+ 0
979
+ 7
980
+ 20
981
+ 45
982
+ 0
983
+ 21
984
+ 43
985
+ 22
986
+ 47
987
+ 101
988
+ 23
989
+ 7
990
+ 20
991
+ 45
992
+ 0
993
+ 24
994
+ 43
995
+ 22
996
+ 47
997
+ 101
998
+ 23
999
+ 63
1000
+ 4
1001
+ 83
1002
+ 19
1003
+ 11
1004
+ I
1005
+ 9
1006
+ I
1007
+ 1
1008
+ I
1009
+ 0
1010
+ I
1011
+ 0
1012
+ I
1013
+ -2
1014
+ p
1015
+ 25
1016
+ x
1017
+ 10
1018
+ Lumberjack
1019
+ n
1020
+ x
1021
+ 6
1022
+ Device
1023
+ x
1024
+ 6
1025
+ Stream
1026
+ x
1027
+ 3
1028
+ new
1029
+ x
1030
+ 8
1031
+ allocate
1032
+ x
1033
+ 6
1034
+ stream
1035
+ x
1036
+ 4
1037
+ Hash
1038
+ x
1039
+ 16
1040
+ new_from_literal
1041
+ x
1042
+ 11
1043
+ buffer_size
1044
+ x
1045
+ 3
1046
+ []=
1047
+ x
1048
+ 8
1049
+ template
1050
+ s
1051
+ 8
1052
+ :message
1053
+ x
1054
+ 10
1055
+ initialize
1056
+ x
1057
+ 5
1058
+ entry
1059
+ x
1060
+ 5
1061
+ write
1062
+ x
1063
+ 6
1064
+ string
1065
+ x
1066
+ 6
1067
+ should
1068
+ s
1069
+ 0
1070
+
1071
+ x
1072
+ 2
1073
+ ==
1074
+ s
1075
+ 12
1076
+ test message
1077
+ n
1078
+ x
1079
+ 14
1080
+ LINE_SEPARATOR
1081
+ x
1082
+ 4
1083
+ to_s
1084
+ n
1085
+ p
1086
+ 11
1087
+ I
1088
+ 0
1089
+ I
1090
+ 13
1091
+ I
1092
+ 59
1093
+ I
1094
+ 14
1095
+ I
1096
+ 62
1097
+ I
1098
+ 15
1099
+ I
1100
+ 71
1101
+ I
1102
+ 16
1103
+ I
1104
+ 7a
1105
+ I
1106
+ 17
1107
+ I
1108
+ 9c
1109
+ x
1110
+ 65
1111
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
1112
+ p
1113
+ 1
1114
+ x
1115
+ 6
1116
+ device
1117
+ s
1118
+ 37
1119
+ should be able to set the buffer size
1120
+ M
1121
+ 1
1122
+ p
1123
+ 2
1124
+ x
1125
+ 9
1126
+ for_block
1127
+ t
1128
+ n
1129
+ x
1130
+ 9
1131
+ __block__
1132
+ i
1133
+ 107
1134
+ 45
1135
+ 0
1136
+ 1
1137
+ 43
1138
+ 2
1139
+ 43
1140
+ 3
1141
+ 13
1142
+ 71
1143
+ 4
1144
+ 47
1145
+ 9
1146
+ 44
1147
+ 47
1148
+ 49
1149
+ 5
1150
+ 0
1151
+ 13
1152
+ 5
1153
+ 48
1154
+ 6
1155
+ 44
1156
+ 43
1157
+ 7
1158
+ 79
1159
+ 49
1160
+ 8
1161
+ 1
1162
+ 13
1163
+ 7
1164
+ 9
1165
+ 4
1166
+ 15
1167
+ 49
1168
+ 10
1169
+ 2
1170
+ 15
1171
+ 47
1172
+ 49
1173
+ 11
1174
+ 2
1175
+ 15
1176
+ 8
1177
+ 66
1178
+ 5
1179
+ 48
1180
+ 6
1181
+ 44
1182
+ 43
1183
+ 7
1184
+ 79
1185
+ 49
1186
+ 8
1187
+ 1
1188
+ 13
1189
+ 7
1190
+ 9
1191
+ 4
1192
+ 15
1193
+ 49
1194
+ 10
1195
+ 2
1196
+ 15
1197
+ 49
1198
+ 4
1199
+ 2
1200
+ 19
1201
+ 0
1202
+ 15
1203
+ 20
1204
+ 0
1205
+ 49
1206
+ 9
1207
+ 0
1208
+ 49
1209
+ 12
1210
+ 0
1211
+ 4
1212
+ 15
1213
+ 83
1214
+ 13
1215
+ 15
1216
+ 20
1217
+ 0
1218
+ 4
1219
+ 100
1220
+ 13
1221
+ 18
1222
+ 2
1223
+ 49
1224
+ 14
1225
+ 1
1226
+ 15
1227
+ 15
1228
+ 20
1229
+ 0
1230
+ 49
1231
+ 9
1232
+ 0
1233
+ 49
1234
+ 12
1235
+ 0
1236
+ 4
1237
+ 100
1238
+ 83
1239
+ 13
1240
+ 11
1241
+ I
1242
+ 9
1243
+ I
1244
+ 1
1245
+ I
1246
+ 0
1247
+ I
1248
+ 0
1249
+ I
1250
+ -2
1251
+ p
1252
+ 15
1253
+ x
1254
+ 10
1255
+ Lumberjack
1256
+ n
1257
+ x
1258
+ 6
1259
+ Device
1260
+ x
1261
+ 6
1262
+ Stream
1263
+ x
1264
+ 3
1265
+ new
1266
+ x
1267
+ 8
1268
+ allocate
1269
+ x
1270
+ 6
1271
+ stream
1272
+ x
1273
+ 4
1274
+ Hash
1275
+ x
1276
+ 16
1277
+ new_from_literal
1278
+ x
1279
+ 11
1280
+ buffer_size
1281
+ x
1282
+ 3
1283
+ []=
1284
+ x
1285
+ 10
1286
+ initialize
1287
+ x
1288
+ 6
1289
+ should
1290
+ x
1291
+ 2
1292
+ ==
1293
+ x
1294
+ 12
1295
+ buffer_size=
1296
+ p
1297
+ 9
1298
+ I
1299
+ 0
1300
+ I
1301
+ 1b
1302
+ I
1303
+ 45
1304
+ I
1305
+ 1c
1306
+ I
1307
+ 52
1308
+ I
1309
+ 1d
1310
+ I
1311
+ 5e
1312
+ I
1313
+ 1e
1314
+ I
1315
+ 6b
1316
+ x
1317
+ 65
1318
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
1319
+ p
1320
+ 1
1321
+ x
1322
+ 6
1323
+ device
1324
+ s
1325
+ 40
1326
+ should have a default buffer size of 32K
1327
+ M
1328
+ 1
1329
+ p
1330
+ 2
1331
+ x
1332
+ 9
1333
+ for_block
1334
+ t
1335
+ n
1336
+ x
1337
+ 9
1338
+ __block__
1339
+ i
1340
+ 50
1341
+ 45
1342
+ 0
1343
+ 1
1344
+ 43
1345
+ 2
1346
+ 43
1347
+ 3
1348
+ 13
1349
+ 71
1350
+ 4
1351
+ 47
1352
+ 9
1353
+ 28
1354
+ 47
1355
+ 49
1356
+ 5
1357
+ 0
1358
+ 13
1359
+ 5
1360
+ 48
1361
+ 6
1362
+ 47
1363
+ 49
1364
+ 7
1365
+ 1
1366
+ 15
1367
+ 8
1368
+ 34
1369
+ 5
1370
+ 48
1371
+ 6
1372
+ 49
1373
+ 4
1374
+ 1
1375
+ 19
1376
+ 0
1377
+ 15
1378
+ 20
1379
+ 0
1380
+ 49
1381
+ 8
1382
+ 0
1383
+ 49
1384
+ 9
1385
+ 0
1386
+ 7
1387
+ 10
1388
+ 83
1389
+ 11
1390
+ 11
1391
+ I
1392
+ 5
1393
+ I
1394
+ 1
1395
+ I
1396
+ 0
1397
+ I
1398
+ 0
1399
+ I
1400
+ -2
1401
+ p
1402
+ 12
1403
+ x
1404
+ 10
1405
+ Lumberjack
1406
+ n
1407
+ x
1408
+ 6
1409
+ Device
1410
+ x
1411
+ 6
1412
+ Stream
1413
+ x
1414
+ 3
1415
+ new
1416
+ x
1417
+ 8
1418
+ allocate
1419
+ x
1420
+ 6
1421
+ stream
1422
+ x
1423
+ 10
1424
+ initialize
1425
+ x
1426
+ 11
1427
+ buffer_size
1428
+ x
1429
+ 6
1430
+ should
1431
+ I
1432
+ 8000
1433
+ x
1434
+ 2
1435
+ ==
1436
+ p
1437
+ 5
1438
+ I
1439
+ 0
1440
+ I
1441
+ 22
1442
+ I
1443
+ 25
1444
+ I
1445
+ 23
1446
+ I
1447
+ 32
1448
+ x
1449
+ 65
1450
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
1451
+ p
1452
+ 1
1453
+ x
1454
+ 6
1455
+ device
1456
+ s
1457
+ 62
1458
+ should write entries out to the stream with a default template
1459
+ M
1460
+ 1
1461
+ p
1462
+ 2
1463
+ x
1464
+ 9
1465
+ for_block
1466
+ t
1467
+ n
1468
+ x
1469
+ 9
1470
+ __block__
1471
+ i
1472
+ 76
1473
+ 45
1474
+ 0
1475
+ 1
1476
+ 43
1477
+ 2
1478
+ 43
1479
+ 3
1480
+ 13
1481
+ 71
1482
+ 4
1483
+ 47
1484
+ 9
1485
+ 28
1486
+ 47
1487
+ 49
1488
+ 5
1489
+ 0
1490
+ 13
1491
+ 5
1492
+ 48
1493
+ 6
1494
+ 47
1495
+ 49
1496
+ 7
1497
+ 1
1498
+ 15
1499
+ 8
1500
+ 34
1501
+ 5
1502
+ 48
1503
+ 6
1504
+ 49
1505
+ 4
1506
+ 1
1507
+ 19
1508
+ 0
1509
+ 15
1510
+ 20
1511
+ 0
1512
+ 5
1513
+ 48
1514
+ 8
1515
+ 49
1516
+ 9
1517
+ 1
1518
+ 15
1519
+ 20
1520
+ 0
1521
+ 49
1522
+ 10
1523
+ 0
1524
+ 15
1525
+ 5
1526
+ 48
1527
+ 6
1528
+ 49
1529
+ 11
1530
+ 0
1531
+ 49
1532
+ 12
1533
+ 0
1534
+ 7
1535
+ 13
1536
+ 45
1537
+ 0
1538
+ 14
1539
+ 43
1540
+ 15
1541
+ 47
1542
+ 101
1543
+ 16
1544
+ 63
1545
+ 2
1546
+ 83
1547
+ 17
1548
+ 11
1549
+ I
1550
+ 5
1551
+ I
1552
+ 1
1553
+ I
1554
+ 0
1555
+ I
1556
+ 0
1557
+ I
1558
+ -2
1559
+ p
1560
+ 18
1561
+ x
1562
+ 10
1563
+ Lumberjack
1564
+ n
1565
+ x
1566
+ 6
1567
+ Device
1568
+ x
1569
+ 6
1570
+ Stream
1571
+ x
1572
+ 3
1573
+ new
1574
+ x
1575
+ 8
1576
+ allocate
1577
+ x
1578
+ 6
1579
+ stream
1580
+ x
1581
+ 10
1582
+ initialize
1583
+ x
1584
+ 5
1585
+ entry
1586
+ x
1587
+ 5
1588
+ write
1589
+ x
1590
+ 5
1591
+ flush
1592
+ x
1593
+ 6
1594
+ string
1595
+ x
1596
+ 6
1597
+ should
1598
+ s
1599
+ 60
1600
+ 2011-01-15T14:23:45.123 INFO [app(12345) #ABCD] test message
1601
+ n
1602
+ x
1603
+ 14
1604
+ LINE_SEPARATOR
1605
+ x
1606
+ 4
1607
+ to_s
1608
+ x
1609
+ 2
1610
+ ==
1611
+ p
1612
+ 9
1613
+ I
1614
+ 0
1615
+ I
1616
+ 27
1617
+ I
1618
+ 25
1619
+ I
1620
+ 28
1621
+ I
1622
+ 2e
1623
+ I
1624
+ 29
1625
+ I
1626
+ 34
1627
+ I
1628
+ 2a
1629
+ I
1630
+ 4c
1631
+ x
1632
+ 65
1633
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
1634
+ p
1635
+ 1
1636
+ x
1637
+ 6
1638
+ device
1639
+ s
1640
+ 61
1641
+ should write entries out to the stream with a custom template
1642
+ M
1643
+ 1
1644
+ p
1645
+ 2
1646
+ x
1647
+ 9
1648
+ for_block
1649
+ t
1650
+ n
1651
+ x
1652
+ 9
1653
+ __block__
1654
+ i
1655
+ 110
1656
+ 45
1657
+ 0
1658
+ 1
1659
+ 43
1660
+ 2
1661
+ 43
1662
+ 3
1663
+ 13
1664
+ 71
1665
+ 4
1666
+ 47
1667
+ 9
1668
+ 45
1669
+ 47
1670
+ 49
1671
+ 5
1672
+ 0
1673
+ 13
1674
+ 5
1675
+ 48
1676
+ 6
1677
+ 44
1678
+ 43
1679
+ 7
1680
+ 79
1681
+ 49
1682
+ 8
1683
+ 1
1684
+ 13
1685
+ 7
1686
+ 9
1687
+ 7
1688
+ 10
1689
+ 64
1690
+ 49
1691
+ 11
1692
+ 2
1693
+ 15
1694
+ 47
1695
+ 49
1696
+ 12
1697
+ 2
1698
+ 15
1699
+ 8
1700
+ 68
1701
+ 5
1702
+ 48
1703
+ 6
1704
+ 44
1705
+ 43
1706
+ 7
1707
+ 79
1708
+ 49
1709
+ 8
1710
+ 1
1711
+ 13
1712
+ 7
1713
+ 9
1714
+ 7
1715
+ 10
1716
+ 64
1717
+ 49
1718
+ 11
1719
+ 2
1720
+ 15
1721
+ 49
1722
+ 4
1723
+ 2
1724
+ 19
1725
+ 0
1726
+ 15
1727
+ 20
1728
+ 0
1729
+ 5
1730
+ 48
1731
+ 13
1732
+ 49
1733
+ 14
1734
+ 1
1735
+ 15
1736
+ 20
1737
+ 0
1738
+ 49
1739
+ 15
1740
+ 0
1741
+ 15
1742
+ 5
1743
+ 48
1744
+ 6
1745
+ 49
1746
+ 16
1747
+ 0
1748
+ 49
1749
+ 17
1750
+ 0
1751
+ 7
1752
+ 18
1753
+ 45
1754
+ 0
1755
+ 19
1756
+ 43
1757
+ 20
1758
+ 47
1759
+ 101
1760
+ 21
1761
+ 63
1762
+ 2
1763
+ 83
1764
+ 22
1765
+ 11
1766
+ I
1767
+ 9
1768
+ I
1769
+ 1
1770
+ I
1771
+ 0
1772
+ I
1773
+ 0
1774
+ I
1775
+ -2
1776
+ p
1777
+ 23
1778
+ x
1779
+ 10
1780
+ Lumberjack
1781
+ n
1782
+ x
1783
+ 6
1784
+ Device
1785
+ x
1786
+ 6
1787
+ Stream
1788
+ x
1789
+ 3
1790
+ new
1791
+ x
1792
+ 8
1793
+ allocate
1794
+ x
1795
+ 6
1796
+ stream
1797
+ x
1798
+ 4
1799
+ Hash
1800
+ x
1801
+ 16
1802
+ new_from_literal
1803
+ x
1804
+ 8
1805
+ template
1806
+ s
1807
+ 8
1808
+ :message
1809
+ x
1810
+ 3
1811
+ []=
1812
+ x
1813
+ 10
1814
+ initialize
1815
+ x
1816
+ 5
1817
+ entry
1818
+ x
1819
+ 5
1820
+ write
1821
+ x
1822
+ 5
1823
+ flush
1824
+ x
1825
+ 6
1826
+ string
1827
+ x
1828
+ 6
1829
+ should
1830
+ s
1831
+ 12
1832
+ test message
1833
+ n
1834
+ x
1835
+ 14
1836
+ LINE_SEPARATOR
1837
+ x
1838
+ 4
1839
+ to_s
1840
+ x
1841
+ 2
1842
+ ==
1843
+ p
1844
+ 9
1845
+ I
1846
+ 0
1847
+ I
1848
+ 2e
1849
+ I
1850
+ 47
1851
+ I
1852
+ 2f
1853
+ I
1854
+ 50
1855
+ I
1856
+ 30
1857
+ I
1858
+ 56
1859
+ I
1860
+ 31
1861
+ I
1862
+ 6e
1863
+ x
1864
+ 65
1865
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
1866
+ p
1867
+ 1
1868
+ x
1869
+ 6
1870
+ device
1871
+ s
1872
+ 58
1873
+ should be able to specify the time format for the template
1874
+ M
1875
+ 1
1876
+ p
1877
+ 2
1878
+ x
1879
+ 9
1880
+ for_block
1881
+ t
1882
+ n
1883
+ x
1884
+ 9
1885
+ __block__
1886
+ i
1887
+ 108
1888
+ 45
1889
+ 0
1890
+ 1
1891
+ 43
1892
+ 2
1893
+ 43
1894
+ 3
1895
+ 13
1896
+ 71
1897
+ 4
1898
+ 47
1899
+ 9
1900
+ 44
1901
+ 47
1902
+ 49
1903
+ 5
1904
+ 0
1905
+ 13
1906
+ 5
1907
+ 48
1908
+ 6
1909
+ 44
1910
+ 43
1911
+ 7
1912
+ 79
1913
+ 49
1914
+ 8
1915
+ 1
1916
+ 13
1917
+ 7
1918
+ 9
1919
+ 7
1920
+ 10
1921
+ 49
1922
+ 11
1923
+ 2
1924
+ 15
1925
+ 47
1926
+ 49
1927
+ 12
1928
+ 2
1929
+ 15
1930
+ 8
1931
+ 66
1932
+ 5
1933
+ 48
1934
+ 6
1935
+ 44
1936
+ 43
1937
+ 7
1938
+ 79
1939
+ 49
1940
+ 8
1941
+ 1
1942
+ 13
1943
+ 7
1944
+ 9
1945
+ 7
1946
+ 10
1947
+ 49
1948
+ 11
1949
+ 2
1950
+ 15
1951
+ 49
1952
+ 4
1953
+ 2
1954
+ 19
1955
+ 0
1956
+ 15
1957
+ 20
1958
+ 0
1959
+ 5
1960
+ 48
1961
+ 13
1962
+ 49
1963
+ 14
1964
+ 1
1965
+ 15
1966
+ 20
1967
+ 0
1968
+ 49
1969
+ 15
1970
+ 0
1971
+ 15
1972
+ 5
1973
+ 48
1974
+ 6
1975
+ 49
1976
+ 16
1977
+ 0
1978
+ 49
1979
+ 17
1980
+ 0
1981
+ 7
1982
+ 18
1983
+ 45
1984
+ 0
1985
+ 19
1986
+ 43
1987
+ 20
1988
+ 47
1989
+ 101
1990
+ 21
1991
+ 63
1992
+ 2
1993
+ 83
1994
+ 22
1995
+ 11
1996
+ I
1997
+ 9
1998
+ I
1999
+ 1
2000
+ I
2001
+ 0
2002
+ I
2003
+ 0
2004
+ I
2005
+ -2
2006
+ p
2007
+ 23
2008
+ x
2009
+ 10
2010
+ Lumberjack
2011
+ n
2012
+ x
2013
+ 6
2014
+ Device
2015
+ x
2016
+ 6
2017
+ Stream
2018
+ x
2019
+ 3
2020
+ new
2021
+ x
2022
+ 8
2023
+ allocate
2024
+ x
2025
+ 6
2026
+ stream
2027
+ x
2028
+ 4
2029
+ Hash
2030
+ x
2031
+ 16
2032
+ new_from_literal
2033
+ x
2034
+ 11
2035
+ time_format
2036
+ x
2037
+ 12
2038
+ microseconds
2039
+ x
2040
+ 3
2041
+ []=
2042
+ x
2043
+ 10
2044
+ initialize
2045
+ x
2046
+ 5
2047
+ entry
2048
+ x
2049
+ 5
2050
+ write
2051
+ x
2052
+ 5
2053
+ flush
2054
+ x
2055
+ 6
2056
+ string
2057
+ x
2058
+ 6
2059
+ should
2060
+ s
2061
+ 63
2062
+ 2011-01-15T14:23:45.123000 INFO [app(12345) #ABCD] test message
2063
+ n
2064
+ x
2065
+ 14
2066
+ LINE_SEPARATOR
2067
+ x
2068
+ 4
2069
+ to_s
2070
+ x
2071
+ 2
2072
+ ==
2073
+ p
2074
+ 9
2075
+ I
2076
+ 0
2077
+ I
2078
+ 35
2079
+ I
2080
+ 45
2081
+ I
2082
+ 36
2083
+ I
2084
+ 4e
2085
+ I
2086
+ 37
2087
+ I
2088
+ 54
2089
+ I
2090
+ 38
2091
+ I
2092
+ 6c
2093
+ x
2094
+ 65
2095
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
2096
+ p
2097
+ 1
2098
+ x
2099
+ 6
2100
+ device
2101
+ s
2102
+ 58
2103
+ should be able to specify a block template for log entries
2104
+ M
2105
+ 1
2106
+ p
2107
+ 2
2108
+ x
2109
+ 9
2110
+ for_block
2111
+ t
2112
+ n
2113
+ x
2114
+ 9
2115
+ __block__
2116
+ i
2117
+ 118
2118
+ 45
2119
+ 0
2120
+ 1
2121
+ 43
2122
+ 2
2123
+ 43
2124
+ 3
2125
+ 13
2126
+ 71
2127
+ 4
2128
+ 47
2129
+ 9
2130
+ 49
2131
+ 47
2132
+ 49
2133
+ 5
2134
+ 0
2135
+ 13
2136
+ 5
2137
+ 48
2138
+ 6
2139
+ 44
2140
+ 43
2141
+ 7
2142
+ 79
2143
+ 49
2144
+ 8
2145
+ 1
2146
+ 13
2147
+ 7
2148
+ 9
2149
+ 5
2150
+ 56
2151
+ 10
2152
+ 47
2153
+ 50
2154
+ 11
2155
+ 0
2156
+ 49
2157
+ 12
2158
+ 2
2159
+ 15
2160
+ 47
2161
+ 49
2162
+ 13
2163
+ 2
2164
+ 15
2165
+ 8
2166
+ 76
2167
+ 5
2168
+ 48
2169
+ 6
2170
+ 44
2171
+ 43
2172
+ 7
2173
+ 79
2174
+ 49
2175
+ 8
2176
+ 1
2177
+ 13
2178
+ 7
2179
+ 9
2180
+ 5
2181
+ 56
2182
+ 14
2183
+ 47
2184
+ 50
2185
+ 11
2186
+ 0
2187
+ 49
2188
+ 12
2189
+ 2
2190
+ 15
2191
+ 49
2192
+ 4
2193
+ 2
2194
+ 19
2195
+ 0
2196
+ 15
2197
+ 20
2198
+ 0
2199
+ 5
2200
+ 48
2201
+ 15
2202
+ 49
2203
+ 16
2204
+ 1
2205
+ 15
2206
+ 20
2207
+ 0
2208
+ 49
2209
+ 17
2210
+ 0
2211
+ 15
2212
+ 5
2213
+ 48
2214
+ 6
2215
+ 49
2216
+ 18
2217
+ 0
2218
+ 49
2219
+ 19
2220
+ 0
2221
+ 7
2222
+ 20
2223
+ 45
2224
+ 0
2225
+ 21
2226
+ 43
2227
+ 22
2228
+ 47
2229
+ 101
2230
+ 23
2231
+ 63
2232
+ 2
2233
+ 83
2234
+ 24
2235
+ 11
2236
+ I
2237
+ a
2238
+ I
2239
+ 1
2240
+ I
2241
+ 0
2242
+ I
2243
+ 0
2244
+ I
2245
+ -2
2246
+ p
2247
+ 25
2248
+ x
2249
+ 10
2250
+ Lumberjack
2251
+ n
2252
+ x
2253
+ 6
2254
+ Device
2255
+ x
2256
+ 6
2257
+ Stream
2258
+ x
2259
+ 3
2260
+ new
2261
+ x
2262
+ 8
2263
+ allocate
2264
+ x
2265
+ 6
2266
+ stream
2267
+ x
2268
+ 4
2269
+ Hash
2270
+ x
2271
+ 16
2272
+ new_from_literal
2273
+ x
2274
+ 8
2275
+ template
2276
+ M
2277
+ 1
2278
+ p
2279
+ 2
2280
+ x
2281
+ 9
2282
+ for_block
2283
+ t
2284
+ n
2285
+ x
2286
+ 9
2287
+ __block__
2288
+ i
2289
+ 13
2290
+ 57
2291
+ 19
2292
+ 0
2293
+ 15
2294
+ 20
2295
+ 0
2296
+ 49
2297
+ 0
2298
+ 0
2299
+ 49
2300
+ 1
2301
+ 0
2302
+ 11
2303
+ I
2304
+ 3
2305
+ I
2306
+ 1
2307
+ I
2308
+ 1
2309
+ I
2310
+ 1
2311
+ n
2312
+ p
2313
+ 2
2314
+ x
2315
+ 7
2316
+ message
2317
+ x
2318
+ 6
2319
+ upcase
2320
+ p
2321
+ 3
2322
+ I
2323
+ 0
2324
+ I
2325
+ 3c
2326
+ I
2327
+ d
2328
+ x
2329
+ 65
2330
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
2331
+ p
2332
+ 1
2333
+ x
2334
+ 1
2335
+ e
2336
+ x
2337
+ 6
2338
+ lambda
2339
+ x
2340
+ 3
2341
+ []=
2342
+ x
2343
+ 10
2344
+ initialize
2345
+ M
2346
+ 1
2347
+ p
2348
+ 2
2349
+ x
2350
+ 9
2351
+ for_block
2352
+ t
2353
+ n
2354
+ x
2355
+ 9
2356
+ __block__
2357
+ i
2358
+ 13
2359
+ 57
2360
+ 19
2361
+ 0
2362
+ 15
2363
+ 20
2364
+ 0
2365
+ 49
2366
+ 0
2367
+ 0
2368
+ 49
2369
+ 1
2370
+ 0
2371
+ 11
2372
+ I
2373
+ 3
2374
+ I
2375
+ 1
2376
+ I
2377
+ 1
2378
+ I
2379
+ 1
2380
+ n
2381
+ p
2382
+ 2
2383
+ x
2384
+ 7
2385
+ message
2386
+ x
2387
+ 6
2388
+ upcase
2389
+ p
2390
+ 3
2391
+ I
2392
+ 0
2393
+ I
2394
+ 3c
2395
+ I
2396
+ d
2397
+ x
2398
+ 65
2399
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
2400
+ p
2401
+ 1
2402
+ x
2403
+ 1
2404
+ e
2405
+ x
2406
+ 5
2407
+ entry
2408
+ x
2409
+ 5
2410
+ write
2411
+ x
2412
+ 5
2413
+ flush
2414
+ x
2415
+ 6
2416
+ string
2417
+ x
2418
+ 6
2419
+ should
2420
+ s
2421
+ 12
2422
+ TEST MESSAGE
2423
+ n
2424
+ x
2425
+ 14
2426
+ LINE_SEPARATOR
2427
+ x
2428
+ 4
2429
+ to_s
2430
+ x
2431
+ 2
2432
+ ==
2433
+ p
2434
+ 9
2435
+ I
2436
+ 0
2437
+ I
2438
+ 3c
2439
+ I
2440
+ 4f
2441
+ I
2442
+ 3d
2443
+ I
2444
+ 58
2445
+ I
2446
+ 3e
2447
+ I
2448
+ 5e
2449
+ I
2450
+ 3f
2451
+ I
2452
+ 76
2453
+ x
2454
+ 65
2455
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
2456
+ p
2457
+ 1
2458
+ x
2459
+ 6
2460
+ device
2461
+ s
2462
+ 19
2463
+ multi line messages
2464
+ M
2465
+ 1
2466
+ p
2467
+ 2
2468
+ x
2469
+ 9
2470
+ for_block
2471
+ t
2472
+ n
2473
+ x
2474
+ 9
2475
+ __block__
2476
+ i
2477
+ 42
2478
+ 5
2479
+ 7
2480
+ 0
2481
+ 56
2482
+ 1
2483
+ 47
2484
+ 50
2485
+ 2
2486
+ 1
2487
+ 15
2488
+ 5
2489
+ 7
2490
+ 3
2491
+ 56
2492
+ 4
2493
+ 47
2494
+ 50
2495
+ 2
2496
+ 1
2497
+ 15
2498
+ 5
2499
+ 7
2500
+ 5
2501
+ 64
2502
+ 56
2503
+ 6
2504
+ 47
2505
+ 50
2506
+ 7
2507
+ 1
2508
+ 15
2509
+ 5
2510
+ 7
2511
+ 8
2512
+ 64
2513
+ 56
2514
+ 9
2515
+ 47
2516
+ 50
2517
+ 7
2518
+ 1
2519
+ 11
2520
+ I
2521
+ 4
2522
+ I
2523
+ 0
2524
+ I
2525
+ 0
2526
+ I
2527
+ 0
2528
+ I
2529
+ -2
2530
+ p
2531
+ 10
2532
+ x
2533
+ 7
2534
+ message
2535
+ M
2536
+ 1
2537
+ p
2538
+ 2
2539
+ x
2540
+ 9
2541
+ for_block
2542
+ t
2543
+ n
2544
+ x
2545
+ 9
2546
+ __block__
2547
+ i
2548
+ 25
2549
+ 7
2550
+ 0
2551
+ 45
2552
+ 1
2553
+ 2
2554
+ 43
2555
+ 3
2556
+ 47
2557
+ 101
2558
+ 4
2559
+ 7
2560
+ 5
2561
+ 45
2562
+ 1
2563
+ 6
2564
+ 43
2565
+ 3
2566
+ 47
2567
+ 101
2568
+ 4
2569
+ 7
2570
+ 7
2571
+ 63
2572
+ 5
2573
+ 11
2574
+ I
2575
+ 6
2576
+ I
2577
+ 0
2578
+ I
2579
+ 0
2580
+ I
2581
+ 0
2582
+ I
2583
+ -2
2584
+ p
2585
+ 8
2586
+ s
2587
+ 6
2588
+ line 1
2589
+ x
2590
+ 10
2591
+ Lumberjack
2592
+ n
2593
+ x
2594
+ 14
2595
+ LINE_SEPARATOR
2596
+ x
2597
+ 4
2598
+ to_s
2599
+ s
2600
+ 6
2601
+ line 2
2602
+ n
2603
+ s
2604
+ 6
2605
+ line 3
2606
+ p
2607
+ 3
2608
+ I
2609
+ 0
2610
+ I
2611
+ 43
2612
+ I
2613
+ 19
2614
+ x
2615
+ 65
2616
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
2617
+ p
2618
+ 0
2619
+ x
2620
+ 3
2621
+ let
2622
+ x
2623
+ 5
2624
+ entry
2625
+ M
2626
+ 1
2627
+ p
2628
+ 2
2629
+ x
2630
+ 9
2631
+ for_block
2632
+ t
2633
+ n
2634
+ x
2635
+ 9
2636
+ __block__
2637
+ i
2638
+ 69
2639
+ 45
2640
+ 0
2641
+ 1
2642
+ 43
2643
+ 2
2644
+ 13
2645
+ 71
2646
+ 3
2647
+ 47
2648
+ 9
2649
+ 44
2650
+ 47
2651
+ 49
2652
+ 4
2653
+ 0
2654
+ 13
2655
+ 5
2656
+ 48
2657
+ 5
2658
+ 45
2659
+ 0
2660
+ 6
2661
+ 43
2662
+ 7
2663
+ 43
2664
+ 8
2665
+ 5
2666
+ 48
2667
+ 9
2668
+ 7
2669
+ 10
2670
+ 64
2671
+ 7
2672
+ 11
2673
+ 7
2674
+ 12
2675
+ 64
2676
+ 47
2677
+ 49
2678
+ 13
2679
+ 6
2680
+ 15
2681
+ 8
2682
+ 68
2683
+ 5
2684
+ 48
2685
+ 5
2686
+ 45
2687
+ 0
2688
+ 14
2689
+ 43
2690
+ 7
2691
+ 43
2692
+ 8
2693
+ 5
2694
+ 48
2695
+ 9
2696
+ 7
2697
+ 10
2698
+ 64
2699
+ 7
2700
+ 11
2701
+ 7
2702
+ 12
2703
+ 64
2704
+ 49
2705
+ 3
2706
+ 6
2707
+ 11
2708
+ I
2709
+ 9
2710
+ I
2711
+ 0
2712
+ I
2713
+ 0
2714
+ I
2715
+ 0
2716
+ I
2717
+ -2
2718
+ p
2719
+ 15
2720
+ x
2721
+ 10
2722
+ Lumberjack
2723
+ n
2724
+ x
2725
+ 5
2726
+ Entry
2727
+ x
2728
+ 3
2729
+ new
2730
+ x
2731
+ 8
2732
+ allocate
2733
+ x
2734
+ 4
2735
+ time
2736
+ n
2737
+ x
2738
+ 6
2739
+ Logger
2740
+ x
2741
+ 4
2742
+ INFO
2743
+ x
2744
+ 7
2745
+ message
2746
+ s
2747
+ 3
2748
+ app
2749
+ I
2750
+ 3039
2751
+ s
2752
+ 4
2753
+ ABCD
2754
+ x
2755
+ 10
2756
+ initialize
2757
+ n
2758
+ p
2759
+ 3
2760
+ I
2761
+ 0
2762
+ I
2763
+ 44
2764
+ I
2765
+ 45
2766
+ x
2767
+ 65
2768
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
2769
+ p
2770
+ 0
2771
+ s
2772
+ 53
2773
+ should have a default template for multiline messages
2774
+ M
2775
+ 1
2776
+ p
2777
+ 2
2778
+ x
2779
+ 9
2780
+ for_block
2781
+ t
2782
+ n
2783
+ x
2784
+ 9
2785
+ __block__
2786
+ i
2787
+ 83
2788
+ 45
2789
+ 0
2790
+ 1
2791
+ 43
2792
+ 2
2793
+ 43
2794
+ 3
2795
+ 13
2796
+ 71
2797
+ 4
2798
+ 47
2799
+ 9
2800
+ 28
2801
+ 47
2802
+ 49
2803
+ 5
2804
+ 0
2805
+ 13
2806
+ 5
2807
+ 48
2808
+ 6
2809
+ 47
2810
+ 49
2811
+ 7
2812
+ 1
2813
+ 15
2814
+ 8
2815
+ 34
2816
+ 5
2817
+ 48
2818
+ 6
2819
+ 49
2820
+ 4
2821
+ 1
2822
+ 19
2823
+ 0
2824
+ 15
2825
+ 20
2826
+ 0
2827
+ 5
2828
+ 48
2829
+ 8
2830
+ 49
2831
+ 9
2832
+ 1
2833
+ 15
2834
+ 20
2835
+ 0
2836
+ 49
2837
+ 10
2838
+ 0
2839
+ 15
2840
+ 5
2841
+ 48
2842
+ 6
2843
+ 49
2844
+ 11
2845
+ 0
2846
+ 45
2847
+ 0
2848
+ 12
2849
+ 43
2850
+ 13
2851
+ 49
2852
+ 14
2853
+ 1
2854
+ 49
2855
+ 15
2856
+ 0
2857
+ 7
2858
+ 16
2859
+ 64
2860
+ 7
2861
+ 17
2862
+ 64
2863
+ 7
2864
+ 18
2865
+ 64
2866
+ 35
2867
+ 3
2868
+ 83
2869
+ 19
2870
+ 11
2871
+ I
2872
+ 6
2873
+ I
2874
+ 1
2875
+ I
2876
+ 0
2877
+ I
2878
+ 0
2879
+ I
2880
+ -2
2881
+ p
2882
+ 20
2883
+ x
2884
+ 10
2885
+ Lumberjack
2886
+ n
2887
+ x
2888
+ 6
2889
+ Device
2890
+ x
2891
+ 6
2892
+ Stream
2893
+ x
2894
+ 3
2895
+ new
2896
+ x
2897
+ 8
2898
+ allocate
2899
+ x
2900
+ 6
2901
+ stream
2902
+ x
2903
+ 10
2904
+ initialize
2905
+ x
2906
+ 5
2907
+ entry
2908
+ x
2909
+ 5
2910
+ write
2911
+ x
2912
+ 5
2913
+ flush
2914
+ x
2915
+ 6
2916
+ string
2917
+ n
2918
+ x
2919
+ 14
2920
+ LINE_SEPARATOR
2921
+ x
2922
+ 5
2923
+ split
2924
+ x
2925
+ 6
2926
+ should
2927
+ s
2928
+ 54
2929
+ 2011-01-15T14:23:45.123 INFO [app(12345) #ABCD] line 1
2930
+ s
2931
+ 16
2932
+ > [#ABCD] line 2
2933
+ s
2934
+ 16
2935
+ > [#ABCD] line 3
2936
+ x
2937
+ 2
2938
+ ==
2939
+ p
2940
+ 9
2941
+ I
2942
+ 0
2943
+ I
2944
+ 47
2945
+ I
2946
+ 25
2947
+ I
2948
+ 48
2949
+ I
2950
+ 2e
2951
+ I
2952
+ 49
2953
+ I
2954
+ 34
2955
+ I
2956
+ 4a
2957
+ I
2958
+ 53
2959
+ x
2960
+ 65
2961
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
2962
+ p
2963
+ 1
2964
+ x
2965
+ 6
2966
+ device
2967
+ x
2968
+ 2
2969
+ it
2970
+ s
2971
+ 63
2972
+ should be able to specify a template for multiple line messages
2973
+ M
2974
+ 1
2975
+ p
2976
+ 2
2977
+ x
2978
+ 9
2979
+ for_block
2980
+ t
2981
+ n
2982
+ x
2983
+ 9
2984
+ __block__
2985
+ i
2986
+ 110
2987
+ 45
2988
+ 0
2989
+ 1
2990
+ 43
2991
+ 2
2992
+ 43
2993
+ 3
2994
+ 13
2995
+ 71
2996
+ 4
2997
+ 47
2998
+ 9
2999
+ 45
3000
+ 47
3001
+ 49
3002
+ 5
3003
+ 0
3004
+ 13
3005
+ 5
3006
+ 48
3007
+ 6
3008
+ 44
3009
+ 43
3010
+ 7
3011
+ 79
3012
+ 49
3013
+ 8
3014
+ 1
3015
+ 13
3016
+ 7
3017
+ 9
3018
+ 7
3019
+ 10
3020
+ 64
3021
+ 49
3022
+ 11
3023
+ 2
3024
+ 15
3025
+ 47
3026
+ 49
3027
+ 12
3028
+ 2
3029
+ 15
3030
+ 8
3031
+ 68
3032
+ 5
3033
+ 48
3034
+ 6
3035
+ 44
3036
+ 43
3037
+ 7
3038
+ 79
3039
+ 49
3040
+ 8
3041
+ 1
3042
+ 13
3043
+ 7
3044
+ 9
3045
+ 7
3046
+ 10
3047
+ 64
3048
+ 49
3049
+ 11
3050
+ 2
3051
+ 15
3052
+ 49
3053
+ 4
3054
+ 2
3055
+ 19
3056
+ 0
3057
+ 15
3058
+ 20
3059
+ 0
3060
+ 5
3061
+ 48
3062
+ 13
3063
+ 49
3064
+ 14
3065
+ 1
3066
+ 15
3067
+ 20
3068
+ 0
3069
+ 49
3070
+ 15
3071
+ 0
3072
+ 15
3073
+ 5
3074
+ 48
3075
+ 6
3076
+ 49
3077
+ 16
3078
+ 0
3079
+ 49
3080
+ 17
3081
+ 0
3082
+ 7
3083
+ 18
3084
+ 45
3085
+ 0
3086
+ 19
3087
+ 43
3088
+ 20
3089
+ 47
3090
+ 101
3091
+ 21
3092
+ 63
3093
+ 2
3094
+ 83
3095
+ 22
3096
+ 11
3097
+ I
3098
+ 9
3099
+ I
3100
+ 1
3101
+ I
3102
+ 0
3103
+ I
3104
+ 0
3105
+ I
3106
+ -2
3107
+ p
3108
+ 23
3109
+ x
3110
+ 10
3111
+ Lumberjack
3112
+ n
3113
+ x
3114
+ 6
3115
+ Device
3116
+ x
3117
+ 6
3118
+ Stream
3119
+ x
3120
+ 3
3121
+ new
3122
+ x
3123
+ 8
3124
+ allocate
3125
+ x
3126
+ 6
3127
+ stream
3128
+ x
3129
+ 4
3130
+ Hash
3131
+ x
3132
+ 16
3133
+ new_from_literal
3134
+ x
3135
+ 16
3136
+ additional_lines
3137
+ s
3138
+ 12
3139
+ // :message
3140
+ x
3141
+ 3
3142
+ []=
3143
+ x
3144
+ 10
3145
+ initialize
3146
+ x
3147
+ 5
3148
+ entry
3149
+ x
3150
+ 5
3151
+ write
3152
+ x
3153
+ 5
3154
+ flush
3155
+ x
3156
+ 6
3157
+ string
3158
+ x
3159
+ 6
3160
+ should
3161
+ s
3162
+ 74
3163
+ 2011-01-15T14:23:45.123 INFO [app(12345) #ABCD] line 1 // line 2 // line 3
3164
+ n
3165
+ x
3166
+ 14
3167
+ LINE_SEPARATOR
3168
+ x
3169
+ 4
3170
+ to_s
3171
+ x
3172
+ 2
3173
+ ==
3174
+ p
3175
+ 9
3176
+ I
3177
+ 0
3178
+ I
3179
+ 4e
3180
+ I
3181
+ 47
3182
+ I
3183
+ 4f
3184
+ I
3185
+ 50
3186
+ I
3187
+ 50
3188
+ I
3189
+ 56
3190
+ I
3191
+ 51
3192
+ I
3193
+ 6e
3194
+ x
3195
+ 65
3196
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
3197
+ p
3198
+ 1
3199
+ x
3200
+ 6
3201
+ device
3202
+ p
3203
+ 9
3204
+ I
3205
+ 0
3206
+ I
3207
+ 43
3208
+ I
3209
+ a
3210
+ I
3211
+ 44
3212
+ I
3213
+ 14
3214
+ I
3215
+ 46
3216
+ I
3217
+ 1f
3218
+ I
3219
+ 4d
3220
+ I
3221
+ 2a
3222
+ x
3223
+ 65
3224
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
3225
+ p
3226
+ 0
3227
+ x
3228
+ 7
3229
+ context
3230
+ p
3231
+ 27
3232
+ I
3233
+ 0
3234
+ I
3235
+ 5
3236
+ I
3237
+ a
3238
+ I
3239
+ 6
3240
+ I
3241
+ 14
3242
+ I
3243
+ 7
3244
+ I
3245
+ 1e
3246
+ I
3247
+ 8
3248
+ I
3249
+ 28
3250
+ I
3251
+ a
3252
+ I
3253
+ 33
3254
+ I
3255
+ 12
3256
+ I
3257
+ 3e
3258
+ I
3259
+ 1a
3260
+ I
3261
+ 49
3262
+ I
3263
+ 21
3264
+ I
3265
+ 54
3266
+ I
3267
+ 26
3268
+ I
3269
+ 5f
3270
+ I
3271
+ 2d
3272
+ I
3273
+ 6a
3274
+ I
3275
+ 34
3276
+ I
3277
+ 75
3278
+ I
3279
+ 3b
3280
+ I
3281
+ 80
3282
+ I
3283
+ 42
3284
+ I
3285
+ 8b
3286
+ x
3287
+ 65
3288
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
3289
+ p
3290
+ 0
3291
+ x
3292
+ 8
3293
+ describe
3294
+ p
3295
+ 5
3296
+ I
3297
+ 0
3298
+ I
3299
+ 1
3300
+ I
3301
+ 9
3302
+ I
3303
+ 3
3304
+ I
3305
+ 1a
3306
+ x
3307
+ 65
3308
+ /Users/bdurand/dev/projects/lumberjack/spec/device/stream_spec.rb
3309
+ p
3310
+ 0