log4r 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. data/README +3 -3
  2. data/Rakefile +2 -2
  3. data/doc/rdoc/Log4r.html +519 -0
  4. data/doc/rdoc/Log4r/BasicFormatter.html +388 -0
  5. data/doc/rdoc/Log4r/ConfigError.html +225 -0
  6. data/doc/rdoc/Log4r/Configurator.html +1068 -0
  7. data/doc/rdoc/Log4r/DateFileOutputter.html +479 -0
  8. data/doc/rdoc/Log4r/DefaultFormatter.html +223 -0
  9. data/doc/rdoc/Log4r/EmailOutputter.html +654 -0
  10. data/doc/rdoc/Log4r/FileOutputter.html +346 -0
  11. data/doc/rdoc/Log4r/Formatter.html +309 -0
  12. data/doc/rdoc/Log4r/GDC.html +346 -0
  13. data/doc/rdoc/Log4r/GDC_rb.html +80 -0
  14. data/doc/rdoc/Log4r/IOOutputter.html +410 -0
  15. data/doc/rdoc/Log4r/Log4jXmlFormatter.html +337 -0
  16. data/doc/rdoc/Log4r/Log4rConfig.html +211 -0
  17. data/doc/rdoc/Log4r/Log4rTools.html +388 -0
  18. data/doc/rdoc/Log4r/LogEvent.html +378 -0
  19. data/doc/rdoc/Log4r/LogServer.html +340 -0
  20. data/doc/rdoc/Log4r/Logger.html +1150 -0
  21. data/doc/rdoc/Log4r/Logger/LoggerFactory.html +218 -0
  22. data/doc/rdoc/Log4r/Logger/Repository.html +225 -0
  23. data/doc/rdoc/Log4r/MDC.html +424 -0
  24. data/doc/rdoc/Log4r/MDC_rb.html +83 -0
  25. data/doc/rdoc/Log4r/NDC.html +632 -0
  26. data/doc/rdoc/Log4r/NDC_rb.html +110 -0
  27. data/doc/rdoc/Log4r/ObjectFormatter.html +280 -0
  28. data/doc/rdoc/Log4r/Outputter.html +934 -0
  29. data/doc/rdoc/Log4r/Outputter/OutputterFactory.html +218 -0
  30. data/doc/rdoc/Log4r/Outputter/consoleoutputters_rb.html +57 -0
  31. data/doc/rdoc/Log4r/Outputter/datefileoutputter_rb.html +93 -0
  32. data/doc/rdoc/Log4r/Outputter/emailoutputter_rb.html +179 -0
  33. data/doc/rdoc/Log4r/Outputter/fileoutputter_rb.html +64 -0
  34. data/doc/rdoc/Log4r/Outputter/iooutputter_rb.html +59 -0
  35. data/doc/rdoc/Log4r/Outputter/outputter_rb.html +222 -0
  36. data/doc/rdoc/Log4r/Outputter/outputterfactory_rb.html +62 -0
  37. data/doc/rdoc/Log4r/Outputter/remoteoutputter_rb.html +59 -0
  38. data/doc/rdoc/Log4r/Outputter/rollingfileoutputter_rb.html +66 -0
  39. data/doc/rdoc/Log4r/Outputter/staticoutputter_rb.html +55 -0
  40. data/doc/rdoc/Log4r/Outputter/syslogoutputter_rb.html +110 -0
  41. data/doc/rdoc/Log4r/Outputter/udpoutputter_rb.html +220 -0
  42. data/doc/rdoc/Log4r/PatternFormatter.html +404 -0
  43. data/doc/rdoc/Log4r/ROMPClient.html +211 -0
  44. data/doc/rdoc/Log4r/ROMPServer.html +211 -0
  45. data/doc/rdoc/Log4r/RemoteOutputter.html +402 -0
  46. data/doc/rdoc/Log4r/RollingFileOutputter.html +551 -0
  47. data/doc/rdoc/Log4r/RootLogger.html +530 -0
  48. data/doc/rdoc/Log4r/SimpleFormatter.html +276 -0
  49. data/doc/rdoc/Log4r/StderrOutputter.html +268 -0
  50. data/doc/rdoc/Log4r/StdoutOutputter.html +268 -0
  51. data/doc/rdoc/Log4r/SyslogOutputter.html +551 -0
  52. data/doc/rdoc/Log4r/UDPOutputter.html +379 -0
  53. data/doc/rdoc/Log4r/YamlConfigurator.html +966 -0
  54. data/doc/rdoc/Log4r/base_rb.html +57 -0
  55. data/doc/rdoc/Log4r/config_rb.html +122 -0
  56. data/doc/rdoc/Log4r/configurator_rb.html +370 -0
  57. data/doc/rdoc/Log4r/formatter/formatter_rb.html +121 -0
  58. data/doc/rdoc/Log4r/formatter/log4jxmlformatter_rb.html +64 -0
  59. data/doc/rdoc/Log4r/formatter/patternformatter_rb.html +239 -0
  60. data/doc/rdoc/Log4r/lib/drbloader_rb.html +57 -0
  61. data/doc/rdoc/Log4r/lib/xmlloader_rb.html +57 -0
  62. data/doc/rdoc/Log4r/logevent_rb.html +55 -0
  63. data/doc/rdoc/Log4r/logger_rb.html +293 -0
  64. data/doc/rdoc/Log4r/loggerfactory_rb.html +66 -0
  65. data/doc/rdoc/Log4r/logserver_rb.html +161 -0
  66. data/doc/rdoc/Log4r/rdoc/GDC.html +175 -0
  67. data/doc/rdoc/Log4r/rdoc/MDC.html +178 -0
  68. data/doc/rdoc/Log4r/rdoc/NDC.html +207 -0
  69. data/doc/rdoc/Log4r/rdoc/configurator.html +462 -0
  70. data/doc/rdoc/Log4r/rdoc/emailoutputter.html +279 -0
  71. data/doc/rdoc/Log4r/rdoc/formatter.html +218 -0
  72. data/doc/rdoc/Log4r/rdoc/log4r.html +286 -0
  73. data/doc/rdoc/Log4r/rdoc/logger.html +382 -0
  74. data/doc/rdoc/Log4r/rdoc/logserver.html +265 -0
  75. data/doc/rdoc/Log4r/rdoc/outputter.html +313 -0
  76. data/doc/rdoc/Log4r/rdoc/patternformatter.html +331 -0
  77. data/doc/rdoc/Log4r/rdoc/syslogoutputter.html +197 -0
  78. data/doc/rdoc/Log4r/rdoc/win32eventoutputter.html +165 -0
  79. data/doc/rdoc/Log4r/rdoc/yamlconfigurator.html +187 -0
  80. data/doc/rdoc/Log4r/repository_rb.html +74 -0
  81. data/doc/rdoc/Log4r/staticlogger_rb.html +55 -0
  82. data/doc/rdoc/Log4r/yamlconfigurator_rb.html +95 -0
  83. data/doc/rdoc/REXML.html +211 -0
  84. data/doc/rdoc/created.rid +1 -0
  85. data/doc/rdoc/images/brick.png +0 -0
  86. data/doc/rdoc/images/brick_link.png +0 -0
  87. data/doc/rdoc/images/bug.png +0 -0
  88. data/doc/rdoc/images/bullet_black.png +0 -0
  89. data/doc/rdoc/images/bullet_toggle_minus.png +0 -0
  90. data/doc/rdoc/images/bullet_toggle_plus.png +0 -0
  91. data/doc/rdoc/images/date.png +0 -0
  92. data/doc/rdoc/images/find.png +0 -0
  93. data/doc/rdoc/images/loadingAnimation.gif +0 -0
  94. data/doc/rdoc/images/macFFBgHack.png +0 -0
  95. data/doc/rdoc/images/package.png +0 -0
  96. data/doc/rdoc/images/page_green.png +0 -0
  97. data/doc/rdoc/images/page_white_text.png +0 -0
  98. data/doc/rdoc/images/page_white_width.png +0 -0
  99. data/doc/rdoc/images/plugin.png +0 -0
  100. data/doc/rdoc/images/ruby.png +0 -0
  101. data/doc/rdoc/images/tag_green.png +0 -0
  102. data/doc/rdoc/images/wrench.png +0 -0
  103. data/doc/rdoc/images/wrench_orange.png +0 -0
  104. data/doc/rdoc/images/zoom.png +0 -0
  105. data/doc/rdoc/index.html +585 -0
  106. data/doc/rdoc/js/darkfish.js +116 -0
  107. data/doc/rdoc/js/jquery.js +32 -0
  108. data/doc/rdoc/js/quicksearch.js +114 -0
  109. data/doc/rdoc/js/thickbox-compressed.js +10 -0
  110. data/doc/rdoc/log4r-rdoc.css +696 -0
  111. data/doc/rdoc/log4r_rb.html +207 -0
  112. data/doc/rdoc/rdoc.css +696 -0
  113. data/examples/rdoc-gen +2 -0
  114. data/src/log4r.rb +2 -2
  115. data/src/log4r/formatter/patternformatter.rb +15 -15
  116. data/src/log4r/outputter/udpoutputter.rb +4 -4
  117. data/tests/testchainsaw.rb +1 -1
  118. metadata +123 -8
  119. data/src/log4r/outputter/datefileoutputter.patch +0 -24
  120. data/src/log4r/outputter/diff +0 -14
  121. data/src/log4r/outputter/new-datefileoutputter.rb +0 -117
data/README CHANGED
@@ -1,8 +1,8 @@
1
1
  Log4r - A flexible logging library for Ruby
2
2
 
3
3
 
4
- This release: 1.1.6
5
- Release date: 11/Mar/2010
4
+ This release: 1.1.7
5
+ Release date: 12/Mar/2010
6
6
  License: Ruby's
7
7
  Maintainer: Colby Gutierrez-Kraybill
8
8
  Contributors: Leon Torres Original Maintainer
@@ -89,4 +89,4 @@ code yourself. It's well documented and written in Ruby. :)
89
89
  Also, try out the bug/request tracking system at
90
90
  http://rubyforge.org/tracker/?group_id=203
91
91
 
92
- Version: $Id: README,v 1.9 2010/03/11 23:00:56 colbygk Exp $
92
+ Version: $Id: README,v 1.10 2010/03/12 17:54:06 colbygk Exp $
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # $Id: Rakefile,v 1.9 2010/03/11 23:00:56 colbygk Exp $
2
+ # $Id: Rakefile,v 1.10 2010/03/12 17:54:06 colbygk Exp $
3
3
 
4
4
  # incorporated from Revolution Health version of log4r
5
5
 
@@ -10,7 +10,7 @@ require 'date'
10
10
  require 'fileutils'
11
11
 
12
12
  GEM = "log4r"
13
- GEM_VERSION = "1.1.6"
13
+ GEM_VERSION = "1.1.7"
14
14
  AUTHOR = "Colby Gutierrez-Kraybill"
15
15
  EMAIL = "colby@astro.berkeley.edu"
16
16
  HOMEPAGE = %q{http://log4r.rubyforge.org}
@@ -0,0 +1,519 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
+
8
+ <title>Module: Log4r</title>
9
+
10
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="./js/jquery.js" type="text/javascript"
13
+ charset="utf-8"></script>
14
+ <script src="./js/thickbox-compressed.js" type="text/javascript"
15
+ charset="utf-8"></script>
16
+ <script src="./js/quicksearch.js" type="text/javascript"
17
+ charset="utf-8"></script>
18
+ <script src="./js/darkfish.js" type="text/javascript"
19
+ charset="utf-8"></script>
20
+
21
+ </head>
22
+ <body class="module">
23
+
24
+ <div id="metadata">
25
+ <div id="file-metadata">
26
+ <div id="file-list-section" class="section">
27
+ <h3 class="section-header">In Files</h3>
28
+ <div class="section-body">
29
+ <ul>
30
+
31
+ <li><a href="./log4r/base_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
32
+ class="thickbox" title="log4r/base.rb">log4r/base.rb</a></li>
33
+
34
+ <li><a href="./log4r/config_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
35
+ class="thickbox" title="log4r/config.rb">log4r/config.rb</a></li>
36
+
37
+ <li><a href="./log4r/formatter/formatter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
+ class="thickbox" title="log4r/formatter/formatter.rb">log4r/formatter/formatter.rb</a></li>
39
+
40
+ <li><a href="./log4r/configurator_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
41
+ class="thickbox" title="log4r/configurator.rb">log4r/configurator.rb</a></li>
42
+
43
+ <li><a href="./log4r/formatter/log4jxmlformatter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
44
+ class="thickbox" title="log4r/formatter/log4jxmlformatter.rb">log4r/formatter/log4jxmlformatter.rb</a></li>
45
+
46
+ <li><a href="./log4r/GDC_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
47
+ class="thickbox" title="log4r/GDC.rb">log4r/GDC.rb</a></li>
48
+
49
+ <li><a href="./log4r/formatter/patternformatter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
50
+ class="thickbox" title="log4r/formatter/patternformatter.rb">log4r/formatter/patternformatter.rb</a></li>
51
+
52
+ <li><a href="./log4r/lib/drbloader_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
53
+ class="thickbox" title="log4r/lib/drbloader.rb">log4r/lib/drbloader.rb</a></li>
54
+
55
+ <li><a href="./log4r/lib/xmlloader_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
56
+ class="thickbox" title="log4r/lib/xmlloader.rb">log4r/lib/xmlloader.rb</a></li>
57
+
58
+ <li><a href="./log4r/logevent_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
59
+ class="thickbox" title="log4r/logevent.rb">log4r/logevent.rb</a></li>
60
+
61
+ <li><a href="./log4r/loggerfactory_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
62
+ class="thickbox" title="log4r/loggerfactory.rb">log4r/loggerfactory.rb</a></li>
63
+
64
+ <li><a href="./log4r/logger_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
65
+ class="thickbox" title="log4r/logger.rb">log4r/logger.rb</a></li>
66
+
67
+ <li><a href="./log4r/logserver_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
68
+ class="thickbox" title="log4r/logserver.rb">log4r/logserver.rb</a></li>
69
+
70
+ <li><a href="./log4r/MDC_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
71
+ class="thickbox" title="log4r/MDC.rb">log4r/MDC.rb</a></li>
72
+
73
+ <li><a href="./log4r/NDC_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
74
+ class="thickbox" title="log4r/NDC.rb">log4r/NDC.rb</a></li>
75
+
76
+ <li><a href="./log4r/outputter/consoleoutputters_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
77
+ class="thickbox" title="log4r/outputter/consoleoutputters.rb">log4r/outputter/consoleoutputters.rb</a></li>
78
+
79
+ <li><a href="./log4r/outputter/datefileoutputter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
80
+ class="thickbox" title="log4r/outputter/datefileoutputter.rb">log4r/outputter/datefileoutputter.rb</a></li>
81
+
82
+ <li><a href="./log4r/outputter/emailoutputter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
83
+ class="thickbox" title="log4r/outputter/emailoutputter.rb">log4r/outputter/emailoutputter.rb</a></li>
84
+
85
+ <li><a href="./log4r/outputter/fileoutputter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
86
+ class="thickbox" title="log4r/outputter/fileoutputter.rb">log4r/outputter/fileoutputter.rb</a></li>
87
+
88
+ <li><a href="./log4r/outputter/iooutputter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
89
+ class="thickbox" title="log4r/outputter/iooutputter.rb">log4r/outputter/iooutputter.rb</a></li>
90
+
91
+ <li><a href="./log4r/outputter/outputter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
92
+ class="thickbox" title="log4r/outputter/outputter.rb">log4r/outputter/outputter.rb</a></li>
93
+
94
+ <li><a href="./log4r/outputter/outputterfactory_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
95
+ class="thickbox" title="log4r/outputter/outputterfactory.rb">log4r/outputter/outputterfactory.rb</a></li>
96
+
97
+ <li><a href="./log4r/outputter/remoteoutputter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
98
+ class="thickbox" title="log4r/outputter/remoteoutputter.rb">log4r/outputter/remoteoutputter.rb</a></li>
99
+
100
+ <li><a href="./log4r/outputter/rollingfileoutputter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
101
+ class="thickbox" title="log4r/outputter/rollingfileoutputter.rb">log4r/outputter/rollingfileoutputter.rb</a></li>
102
+
103
+ <li><a href="./log4r/outputter/staticoutputter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
104
+ class="thickbox" title="log4r/outputter/staticoutputter.rb">log4r/outputter/staticoutputter.rb</a></li>
105
+
106
+ <li><a href="./log4r/outputter/udpoutputter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
107
+ class="thickbox" title="log4r/outputter/udpoutputter.rb">log4r/outputter/udpoutputter.rb</a></li>
108
+
109
+ <li><a href="./log4r/outputter/syslogoutputter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
110
+ class="thickbox" title="log4r/outputter/syslogoutputter.rb">log4r/outputter/syslogoutputter.rb</a></li>
111
+
112
+ <li><a href="./log4r/staticlogger_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
113
+ class="thickbox" title="log4r/staticlogger.rb">log4r/staticlogger.rb</a></li>
114
+
115
+ <li><a href="./log4r/repository_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
116
+ class="thickbox" title="log4r/repository.rb">log4r/repository.rb</a></li>
117
+
118
+ <li><a href="./log4r/yamlconfigurator_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
119
+ class="thickbox" title="log4r/yamlconfigurator.rb">log4r/yamlconfigurator.rb</a></li>
120
+
121
+ <li><a href="./log4r_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
122
+ class="thickbox" title="log4r.rb">log4r.rb</a></li>
123
+
124
+ </ul>
125
+ </div>
126
+ </div>
127
+
128
+
129
+ </div>
130
+
131
+ <div id="class-metadata">
132
+
133
+ <!-- Parent Class -->
134
+
135
+
136
+ <!-- Namespace Contents -->
137
+
138
+ <div id="namespace-list-section" class="section">
139
+ <h3 class="section-header">Namespace</h3>
140
+ <ul class="link-list">
141
+
142
+ <li><span class="type">MODULE</span> <a href="Log4r/Log4rConfig.html">Log4r::Log4rConfig</a></li>
143
+
144
+ <li><span class="type">MODULE</span> <a href="Log4r/ROMPClient.html">Log4r::ROMPClient</a></li>
145
+
146
+ <li><span class="type">MODULE</span> <a href="Log4r/ROMPServer.html">Log4r::ROMPServer</a></li>
147
+
148
+ <li><span class="type">CLASS</span> <a href="Log4r/BasicFormatter.html">Log4r::BasicFormatter</a></li>
149
+
150
+ <li><span class="type">CLASS</span> <a href="Log4r/ConfigError.html">Log4r::ConfigError</a></li>
151
+
152
+ <li><span class="type">CLASS</span> <a href="Log4r/Configurator.html">Log4r::Configurator</a></li>
153
+
154
+ <li><span class="type">CLASS</span> <a href="Log4r/DateFileOutputter.html">Log4r::DateFileOutputter</a></li>
155
+
156
+ <li><span class="type">CLASS</span> <a href="Log4r/DefaultFormatter.html">Log4r::DefaultFormatter</a></li>
157
+
158
+ <li><span class="type">CLASS</span> <a href="Log4r/EmailOutputter.html">Log4r::EmailOutputter</a></li>
159
+
160
+ <li><span class="type">CLASS</span> <a href="Log4r/FileOutputter.html">Log4r::FileOutputter</a></li>
161
+
162
+ <li><span class="type">CLASS</span> <a href="Log4r/Formatter.html">Log4r::Formatter</a></li>
163
+
164
+ <li><span class="type">CLASS</span> <a href="Log4r/GDC.html">Log4r::GDC</a></li>
165
+
166
+ <li><span class="type">CLASS</span> <a href="Log4r/IOOutputter.html">Log4r::IOOutputter</a></li>
167
+
168
+ <li><span class="type">CLASS</span> <a href="Log4r/Log4jXmlFormatter.html">Log4r::Log4jXmlFormatter</a></li>
169
+
170
+ <li><span class="type">CLASS</span> <a href="Log4r/Log4rTools.html">Log4r::Log4rTools</a></li>
171
+
172
+ <li><span class="type">CLASS</span> <a href="Log4r/LogEvent.html">Log4r::LogEvent</a></li>
173
+
174
+ <li><span class="type">CLASS</span> <a href="Log4r/LogServer.html">Log4r::LogServer</a></li>
175
+
176
+ <li><span class="type">CLASS</span> <a href="Log4r/Logger.html">Log4r::Logger</a></li>
177
+
178
+ <li><span class="type">CLASS</span> <a href="Log4r/MDC.html">Log4r::MDC</a></li>
179
+
180
+ <li><span class="type">CLASS</span> <a href="Log4r/NDC.html">Log4r::NDC</a></li>
181
+
182
+ <li><span class="type">CLASS</span> <a href="Log4r/ObjectFormatter.html">Log4r::ObjectFormatter</a></li>
183
+
184
+ <li><span class="type">CLASS</span> <a href="Log4r/Outputter.html">Log4r::Outputter</a></li>
185
+
186
+ <li><span class="type">CLASS</span> <a href="Log4r/PatternFormatter.html">Log4r::PatternFormatter</a></li>
187
+
188
+ <li><span class="type">CLASS</span> <a href="Log4r/RemoteOutputter.html">Log4r::RemoteOutputter</a></li>
189
+
190
+ <li><span class="type">CLASS</span> <a href="Log4r/RollingFileOutputter.html">Log4r::RollingFileOutputter</a></li>
191
+
192
+ <li><span class="type">CLASS</span> <a href="Log4r/RootLogger.html">Log4r::RootLogger</a></li>
193
+
194
+ <li><span class="type">CLASS</span> <a href="Log4r/SimpleFormatter.html">Log4r::SimpleFormatter</a></li>
195
+
196
+ <li><span class="type">CLASS</span> <a href="Log4r/StderrOutputter.html">Log4r::StderrOutputter</a></li>
197
+
198
+ <li><span class="type">CLASS</span> <a href="Log4r/StdoutOutputter.html">Log4r::StdoutOutputter</a></li>
199
+
200
+ <li><span class="type">CLASS</span> <a href="Log4r/SyslogOutputter.html">Log4r::SyslogOutputter</a></li>
201
+
202
+ <li><span class="type">CLASS</span> <a href="Log4r/UDPOutputter.html">Log4r::UDPOutputter</a></li>
203
+
204
+ <li><span class="type">CLASS</span> <a href="Log4r/YamlConfigurator.html">Log4r::YamlConfigurator</a></li>
205
+
206
+ </ul>
207
+ </div>
208
+
209
+
210
+ <!-- Method Quickref -->
211
+
212
+
213
+ <!-- Included Modules -->
214
+
215
+ </div>
216
+
217
+ <div id="project-metadata">
218
+
219
+
220
+ <div id="fileindex-section" class="section project-section">
221
+ <h3 class="section-header">Files</h3>
222
+ <ul>
223
+
224
+ <li class="file"><a href="./log4r/rdoc/GDC.html">GDC</a></li>
225
+
226
+ <li class="file"><a href="./log4r/rdoc/MDC.html">MDC</a></li>
227
+
228
+ <li class="file"><a href="./log4r/rdoc/NDC.html">NDC</a></li>
229
+
230
+ <li class="file"><a href="./log4r/rdoc/configurator.html">configurator</a></li>
231
+
232
+ <li class="file"><a href="./log4r/rdoc/emailoutputter.html">emailoutputter</a></li>
233
+
234
+ <li class="file"><a href="./log4r/rdoc/formatter.html">formatter</a></li>
235
+
236
+ <li class="file"><a href="./log4r/rdoc/log4r.html">log4r</a></li>
237
+
238
+ <li class="file"><a href="./log4r/rdoc/logger.html">logger</a></li>
239
+
240
+ <li class="file"><a href="./log4r/rdoc/logserver.html">logserver</a></li>
241
+
242
+ <li class="file"><a href="./log4r/rdoc/outputter.html">outputter</a></li>
243
+
244
+ <li class="file"><a href="./log4r/rdoc/patternformatter.html">patternformatter</a></li>
245
+
246
+ <li class="file"><a href="./log4r/rdoc/syslogoutputter.html">syslogoutputter</a></li>
247
+
248
+ <li class="file"><a href="./log4r/rdoc/win32eventoutputter.html">win32eventoutputter</a></li>
249
+
250
+ <li class="file"><a href="./log4r/rdoc/yamlconfigurator.html">yamlconfigurator</a></li>
251
+
252
+ </ul>
253
+ </div>
254
+
255
+
256
+ <div id="classindex-section" class="section project-section">
257
+ <h3 class="section-header">Class Index
258
+ <span class="search-toggle"><img src="./images/find.png"
259
+ height="16" width="16" alt="[+]"
260
+ title="show/hide quicksearch" /></span></h3>
261
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
262
+ <fieldset>
263
+ <legend>Quicksearch</legend>
264
+ <input type="text" name="quicksearch" value=""
265
+ class="quicksearch-field" />
266
+ </fieldset>
267
+ </form>
268
+
269
+ <ul class="link-list">
270
+
271
+ <li><a href="./Log4r.html">Log4r</a></li>
272
+
273
+ <li><a href="./Log4r/BasicFormatter.html">Log4r::BasicFormatter</a></li>
274
+
275
+ <li><a href="./Log4r/ConfigError.html">Log4r::ConfigError</a></li>
276
+
277
+ <li><a href="./Log4r/Configurator.html">Log4r::Configurator</a></li>
278
+
279
+ <li><a href="./Log4r/DateFileOutputter.html">Log4r::DateFileOutputter</a></li>
280
+
281
+ <li><a href="./Log4r/DefaultFormatter.html">Log4r::DefaultFormatter</a></li>
282
+
283
+ <li><a href="./Log4r/EmailOutputter.html">Log4r::EmailOutputter</a></li>
284
+
285
+ <li><a href="./Log4r/FileOutputter.html">Log4r::FileOutputter</a></li>
286
+
287
+ <li><a href="./Log4r/Formatter.html">Log4r::Formatter</a></li>
288
+
289
+ <li><a href="./Log4r/GDC.html">Log4r::GDC</a></li>
290
+
291
+ <li><a href="./Log4r/IOOutputter.html">Log4r::IOOutputter</a></li>
292
+
293
+ <li><a href="./Log4r/Log4jXmlFormatter.html">Log4r::Log4jXmlFormatter</a></li>
294
+
295
+ <li><a href="./Log4r/Log4rTools.html">Log4r::Log4rTools</a></li>
296
+
297
+ <li><a href="./Log4r/LogEvent.html">Log4r::LogEvent</a></li>
298
+
299
+ <li><a href="./Log4r/LogServer.html">Log4r::LogServer</a></li>
300
+
301
+ <li><a href="./Log4r/Logger.html">Log4r::Logger</a></li>
302
+
303
+ <li><a href="./Log4r/MDC.html">Log4r::MDC</a></li>
304
+
305
+ <li><a href="./Log4r/NDC.html">Log4r::NDC</a></li>
306
+
307
+ <li><a href="./Log4r/ObjectFormatter.html">Log4r::ObjectFormatter</a></li>
308
+
309
+ <li><a href="./Log4r/Outputter.html">Log4r::Outputter</a></li>
310
+
311
+ <li><a href="./Log4r/PatternFormatter.html">Log4r::PatternFormatter</a></li>
312
+
313
+ <li><a href="./Log4r/RemoteOutputter.html">Log4r::RemoteOutputter</a></li>
314
+
315
+ <li><a href="./Log4r/RollingFileOutputter.html">Log4r::RollingFileOutputter</a></li>
316
+
317
+ <li><a href="./Log4r/RootLogger.html">Log4r::RootLogger</a></li>
318
+
319
+ <li><a href="./Log4r/SimpleFormatter.html">Log4r::SimpleFormatter</a></li>
320
+
321
+ <li><a href="./Log4r/StderrOutputter.html">Log4r::StderrOutputter</a></li>
322
+
323
+ <li><a href="./Log4r/StdoutOutputter.html">Log4r::StdoutOutputter</a></li>
324
+
325
+ <li><a href="./Log4r/SyslogOutputter.html">Log4r::SyslogOutputter</a></li>
326
+
327
+ <li><a href="./Log4r/UDPOutputter.html">Log4r::UDPOutputter</a></li>
328
+
329
+ <li><a href="./Log4r/YamlConfigurator.html">Log4r::YamlConfigurator</a></li>
330
+
331
+ </ul>
332
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
333
+ </div>
334
+
335
+
336
+ </div>
337
+ </div>
338
+
339
+ <div id="documentation">
340
+ <h1 class="module">Log4r</h1>
341
+
342
+ <div id="description">
343
+ <pre>
344
+ :nodoc:
345
+ Version:: $Id: config.rb,v 1.1.1.1 2004/03/19 03:31:06 fando Exp $
346
+ ---
347
+ TODO: catch unparsed parameters #{FOO} and die
348
+ ---
349
+ </pre>
350
+ <p>
351
+ :nodoc:
352
+ </p>
353
+ <pre>
354
+ ---
355
+ </pre>
356
+ <p>
357
+ :nodoc:
358
+ </p>
359
+ <pre>
360
+ ---
361
+ :nodoc:
362
+ ---
363
+ = NDC
364
+
365
+ The NDC class implements a copy of the Nested Diagnostic Context, which
366
+ is part of the Apache Log4j library. Nested Diagnostic Contexts were
367
+ derived from Neil Harrison's article on &quot;Patterns for Logging
368
+ Diagnostic Messages&quot;, part of the book &quot;Pattern Languages of Program
369
+ Design 3&quot; edited by Martin et al.
370
+
371
+ NDCs in Log4r are thread safe.
372
+
373
+ NDCs in log4r are close enough to NDCs in Log4j that I include its
374
+ documentation directly:
375
+
376
+ ...
377
+ A Nested Diagnostic Context, or NDC in short, is an instrument to
378
+ distinguish interleaved log output from different sources. Log output
379
+ is typically interleaved when a server handles multiple clients
380
+ near-simultaneously.
381
+
382
+ Interleaved log output can still be meaningful if each log entry from
383
+ different contexts had a distinctive stamp. This is where NDCs come into
384
+ play.
385
+
386
+ Note that NDCs are managed on a per thread basis. NDC operations such as
387
+ push, pop(), clear(), getDepth() and setMaxDepth(int) affect the NDC of
388
+ the current thread only. NDCs of other threads remain unaffected.
389
+ ...
390
+
391
+ An important difference between NDCs in Log4r vs Log4j is that you
392
+ do not have to called NDC.remove() when exiting a thread.
393
+
394
+ This class will automatically create Thread specific storage for the
395
+ current thread on the first call to any of its methods, i.e.
396
+
397
+ NDC.push( &quot;client accept&quot; );
398
+
399
+ New threads may inherit the NDC of the parent thread by making use of
400
+ the clone_stack() and inherit() methods. By default, the NDC is not
401
+ inherited automatically. This is unlike MDCs, which will inherit from
402
+ the main thread.
403
+
404
+ == Other Info
405
+
406
+ Version:: $Id: NDC.rb,v 1.5 2010/02/03 05:20:05 colbygk Exp $
407
+ Author:: Colby Gutierrez-Kraybill &lt;colby(at)astro.berkeley.edu&gt;
408
+ ---
409
+ :nodoc:
410
+ ---
411
+ :nodoc:
412
+ </pre>
413
+
414
+ </div>
415
+
416
+ <!-- Constants -->
417
+
418
+ <div id="constants-list" class="section">
419
+ <h3 class="section-header">Constants</h3>
420
+ <dl>
421
+
422
+ <dt><a name="ALL">ALL</a></dt>
423
+
424
+ <dd class="description missing-docs">(Not documented)</dd>
425
+
426
+
427
+ <dt><a name="LNAMES">LNAMES</a></dt>
428
+
429
+ <dd class="description missing-docs">(Not documented)</dd>
430
+
431
+
432
+ <dt><a name="GDCNAME">GDCNAME</a></dt>
433
+
434
+ <dd class="description missing-docs">(Not documented)</dd>
435
+
436
+
437
+ <dt><a name="HAVE_ROMP">HAVE_ROMP</a></dt>
438
+
439
+ <dd class="description missing-docs">(Not documented)</dd>
440
+
441
+
442
+ <dt><a name="HAVE_ROMP">HAVE_ROMP</a></dt>
443
+
444
+ <dd class="description missing-docs">(Not documented)</dd>
445
+
446
+
447
+ <dt><a name="HAVE_REXML">HAVE_REXML</a></dt>
448
+
449
+ <dd class="description missing-docs">(Not documented)</dd>
450
+
451
+
452
+ <dt><a name="HAVE_REXML">HAVE_REXML</a></dt>
453
+
454
+ <dd class="description missing-docs">(Not documented)</dd>
455
+
456
+
457
+ <dt><a name="MDCNAME">MDCNAME</a></dt>
458
+
459
+ <dd class="description missing-docs">(Not documented)</dd>
460
+
461
+
462
+ <dt><a name="MDCNAMEMAXDEPTH">MDCNAMEMAXDEPTH</a></dt>
463
+
464
+ <dd class="description missing-docs">(Not documented)</dd>
465
+
466
+
467
+ <dt><a name="NDCNAME">NDCNAME</a></dt>
468
+
469
+ <dd class="description missing-docs">(Not documented)</dd>
470
+
471
+
472
+ <dt><a name="NDCNAMEMAXDEPTH">NDCNAMEMAXDEPTH</a></dt>
473
+
474
+ <dd class="description missing-docs">(Not documented)</dd>
475
+
476
+
477
+ <dt><a name="NDCDEFAULTMAXDEPTH">NDCDEFAULTMAXDEPTH</a></dt>
478
+
479
+ <dd class="description missing-docs">(Not documented)</dd>
480
+
481
+
482
+ <dt><a name="SYSLOGNAMES">SYSLOGNAMES</a></dt>
483
+
484
+ <dd class="description missing-docs">(Not documented)</dd>
485
+
486
+
487
+ <dt><a name="Log4rVersion">Log4rVersion</a></dt>
488
+
489
+ <dd class="description missing-docs">(Not documented)</dd>
490
+
491
+
492
+ </dl>
493
+ </div>
494
+
495
+
496
+ <!-- Attributes -->
497
+
498
+
499
+ <!-- Methods -->
500
+
501
+
502
+ </div>
503
+
504
+
505
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
506
+
507
+ <p>Disabled; run with --debug to generate this.</p>
508
+
509
+ </div>
510
+
511
+ <div id="validator-badges">
512
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
513
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
514
+ Rdoc Generator</a> 1.1.6</small>.</p>
515
+ </div>
516
+
517
+ </body>
518
+ </html>
519
+