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
@@ -0,0 +1,337 @@
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>Class: Log4r::Log4jXmlFormatter</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="class">
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/formatter/log4jxmlformatter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
32
+ class="thickbox" title="log4r/formatter/log4jxmlformatter.rb">log4r/formatter/log4jxmlformatter.rb</a></li>
33
+
34
+ </ul>
35
+ </div>
36
+ </div>
37
+
38
+
39
+ </div>
40
+
41
+ <div id="class-metadata">
42
+
43
+ <!-- Parent Class -->
44
+
45
+ <div id="parent-class-section" class="section">
46
+ <h3 class="section-header">Parent</h3>
47
+
48
+ <p class="link">BasicFormatter</p>
49
+
50
+ </div>
51
+
52
+
53
+ <!-- Namespace Contents -->
54
+
55
+
56
+ <!-- Method Quickref -->
57
+
58
+ <div id="method-list-section" class="section">
59
+ <h3 class="section-header">Methods</h3>
60
+ <ul class="link-list">
61
+
62
+ <li><a href="#M000028">#format</a></li>
63
+
64
+ <li><a href="#M000032">#parse_caller</a></li>
65
+
66
+ </ul>
67
+ </div>
68
+
69
+
70
+ <!-- Included Modules -->
71
+
72
+ </div>
73
+
74
+ <div id="project-metadata">
75
+
76
+
77
+ <div id="fileindex-section" class="section project-section">
78
+ <h3 class="section-header">Files</h3>
79
+ <ul>
80
+
81
+ <li class="file"><a href="../log4r/rdoc/GDC.html">GDC</a></li>
82
+
83
+ <li class="file"><a href="../log4r/rdoc/MDC.html">MDC</a></li>
84
+
85
+ <li class="file"><a href="../log4r/rdoc/NDC.html">NDC</a></li>
86
+
87
+ <li class="file"><a href="../log4r/rdoc/configurator.html">configurator</a></li>
88
+
89
+ <li class="file"><a href="../log4r/rdoc/emailoutputter.html">emailoutputter</a></li>
90
+
91
+ <li class="file"><a href="../log4r/rdoc/formatter.html">formatter</a></li>
92
+
93
+ <li class="file"><a href="../log4r/rdoc/log4r.html">log4r</a></li>
94
+
95
+ <li class="file"><a href="../log4r/rdoc/logger.html">logger</a></li>
96
+
97
+ <li class="file"><a href="../log4r/rdoc/logserver.html">logserver</a></li>
98
+
99
+ <li class="file"><a href="../log4r/rdoc/outputter.html">outputter</a></li>
100
+
101
+ <li class="file"><a href="../log4r/rdoc/patternformatter.html">patternformatter</a></li>
102
+
103
+ <li class="file"><a href="../log4r/rdoc/syslogoutputter.html">syslogoutputter</a></li>
104
+
105
+ <li class="file"><a href="../log4r/rdoc/win32eventoutputter.html">win32eventoutputter</a></li>
106
+
107
+ <li class="file"><a href="../log4r/rdoc/yamlconfigurator.html">yamlconfigurator</a></li>
108
+
109
+ </ul>
110
+ </div>
111
+
112
+
113
+ <div id="classindex-section" class="section project-section">
114
+ <h3 class="section-header">Class Index
115
+ <span class="search-toggle"><img src="../images/find.png"
116
+ height="16" width="16" alt="[+]"
117
+ title="show/hide quicksearch" /></span></h3>
118
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
119
+ <fieldset>
120
+ <legend>Quicksearch</legend>
121
+ <input type="text" name="quicksearch" value=""
122
+ class="quicksearch-field" />
123
+ </fieldset>
124
+ </form>
125
+
126
+ <ul class="link-list">
127
+
128
+ <li><a href="../Log4r.html">Log4r</a></li>
129
+
130
+ <li><a href="../Log4r/BasicFormatter.html">Log4r::BasicFormatter</a></li>
131
+
132
+ <li><a href="../Log4r/ConfigError.html">Log4r::ConfigError</a></li>
133
+
134
+ <li><a href="../Log4r/Configurator.html">Log4r::Configurator</a></li>
135
+
136
+ <li><a href="../Log4r/DateFileOutputter.html">Log4r::DateFileOutputter</a></li>
137
+
138
+ <li><a href="../Log4r/DefaultFormatter.html">Log4r::DefaultFormatter</a></li>
139
+
140
+ <li><a href="../Log4r/EmailOutputter.html">Log4r::EmailOutputter</a></li>
141
+
142
+ <li><a href="../Log4r/FileOutputter.html">Log4r::FileOutputter</a></li>
143
+
144
+ <li><a href="../Log4r/Formatter.html">Log4r::Formatter</a></li>
145
+
146
+ <li><a href="../Log4r/GDC.html">Log4r::GDC</a></li>
147
+
148
+ <li><a href="../Log4r/IOOutputter.html">Log4r::IOOutputter</a></li>
149
+
150
+ <li><a href="../Log4r/Log4jXmlFormatter.html">Log4r::Log4jXmlFormatter</a></li>
151
+
152
+ <li><a href="../Log4r/Log4rTools.html">Log4r::Log4rTools</a></li>
153
+
154
+ <li><a href="../Log4r/LogEvent.html">Log4r::LogEvent</a></li>
155
+
156
+ <li><a href="../Log4r/LogServer.html">Log4r::LogServer</a></li>
157
+
158
+ <li><a href="../Log4r/Logger.html">Log4r::Logger</a></li>
159
+
160
+ <li><a href="../Log4r/MDC.html">Log4r::MDC</a></li>
161
+
162
+ <li><a href="../Log4r/NDC.html">Log4r::NDC</a></li>
163
+
164
+ <li><a href="../Log4r/ObjectFormatter.html">Log4r::ObjectFormatter</a></li>
165
+
166
+ <li><a href="../Log4r/Outputter.html">Log4r::Outputter</a></li>
167
+
168
+ <li><a href="../Log4r/PatternFormatter.html">Log4r::PatternFormatter</a></li>
169
+
170
+ <li><a href="../Log4r/RemoteOutputter.html">Log4r::RemoteOutputter</a></li>
171
+
172
+ <li><a href="../Log4r/RollingFileOutputter.html">Log4r::RollingFileOutputter</a></li>
173
+
174
+ <li><a href="../Log4r/RootLogger.html">Log4r::RootLogger</a></li>
175
+
176
+ <li><a href="../Log4r/SimpleFormatter.html">Log4r::SimpleFormatter</a></li>
177
+
178
+ <li><a href="../Log4r/StderrOutputter.html">Log4r::StderrOutputter</a></li>
179
+
180
+ <li><a href="../Log4r/StdoutOutputter.html">Log4r::StdoutOutputter</a></li>
181
+
182
+ <li><a href="../Log4r/SyslogOutputter.html">Log4r::SyslogOutputter</a></li>
183
+
184
+ <li><a href="../Log4r/UDPOutputter.html">Log4r::UDPOutputter</a></li>
185
+
186
+ <li><a href="../Log4r/YamlConfigurator.html">Log4r::YamlConfigurator</a></li>
187
+
188
+ </ul>
189
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
190
+ </div>
191
+
192
+
193
+ </div>
194
+ </div>
195
+
196
+ <div id="documentation">
197
+ <h1 class="class">Log4r::Log4jXmlFormatter</h1>
198
+
199
+ <div id="description">
200
+
201
+ </div>
202
+
203
+ <!-- Constants -->
204
+
205
+
206
+ <!-- Attributes -->
207
+
208
+
209
+ <!-- Methods -->
210
+
211
+ <div id="public-instance-method-details" class="method-section section">
212
+ <h3 class="section-header">Public Instance Methods</h3>
213
+
214
+
215
+ <div id="format-method" class="method-detail ">
216
+ <a name="M000028"></a>
217
+
218
+ <div class="method-heading">
219
+
220
+ <span class="method-name">format</span><span
221
+ class="method-args">(logevent)</span>
222
+ <span class="method-click-advice">click to toggle source</span>
223
+
224
+ </div>
225
+
226
+ <div class="method-description">
227
+
228
+ <p class="missing-docs">(Not documented)</p>
229
+
230
+
231
+
232
+ <div class="method-source-code"
233
+ id="format-source">
234
+ <pre>
235
+ <span class="ruby-comment cmt"># File log4r/formatter/log4jxmlformatter.rb, line 16</span>
236
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">format</span>(<span class="ruby-identifier">logevent</span>)
237
+ <span class="ruby-identifier">logger</span> = <span class="ruby-identifier">logevent</span>.<span class="ruby-identifier">fullname</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">'::'</span>, <span class="ruby-value str">'.'</span>)
238
+ <span class="ruby-identifier">timestamp</span> = (<span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">*</span> <span class="ruby-value">1000</span>).<span class="ruby-identifier">to_i</span>
239
+ <span class="ruby-identifier">level</span> = <span class="ruby-constant">LNAMES</span>[<span class="ruby-identifier">logevent</span>.<span class="ruby-identifier">level</span>]
240
+ <span class="ruby-identifier">message</span> = <span class="ruby-identifier">format_object</span>(<span class="ruby-identifier">logevent</span>.<span class="ruby-identifier">data</span>)
241
+ <span class="ruby-identifier">exception</span> = <span class="ruby-identifier">message</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">logevent</span>.<span class="ruby-identifier">data</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Exception</span>
242
+ <span class="ruby-identifier">file</span>, <span class="ruby-identifier">line</span>, <span class="ruby-identifier">method</span> = <span class="ruby-identifier">parse_caller</span>(<span class="ruby-identifier">logevent</span>.<span class="ruby-identifier">tracer</span>[<span class="ruby-value">0</span>]) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">logevent</span>.<span class="ruby-identifier">tracer</span>
243
+
244
+ <span class="ruby-identifier">builder</span> = <span class="ruby-constant">Builder</span><span class="ruby-operator">::</span><span class="ruby-constant">XmlMarkup</span>.<span class="ruby-identifier">new</span>
245
+ <span class="ruby-identifier">xml</span> = <span class="ruby-identifier">builder</span>.<span class="ruby-identifier">log4j</span> <span class="ruby-identifier">:event</span>, <span class="ruby-identifier">:logger</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">logger</span>,
246
+ <span class="ruby-identifier">:timestamp</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">timestamp</span>,
247
+ <span class="ruby-identifier">:level</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">level</span>,
248
+ <span class="ruby-identifier">:thread</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">''</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span>
249
+ <span class="ruby-identifier">e</span>.<span class="ruby-identifier">log4j</span> <span class="ruby-identifier">:NDC</span>, <span class="ruby-constant">NDC</span>.<span class="ruby-identifier">get</span>
250
+ <span class="ruby-identifier">e</span>.<span class="ruby-identifier">log4j</span> <span class="ruby-identifier">:message</span>, <span class="ruby-identifier">message</span>
251
+ <span class="ruby-identifier">e</span>.<span class="ruby-identifier">log4j</span> <span class="ruby-identifier">:throwable</span>, <span class="ruby-identifier">exception</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">exception</span>
252
+ <span class="ruby-identifier">e</span>.<span class="ruby-identifier">log4j</span> <span class="ruby-identifier">:locationInfo</span>, <span class="ruby-identifier">:class</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">''</span>,
253
+ <span class="ruby-identifier">:method</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">method</span>,
254
+ <span class="ruby-identifier">:file</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">file</span>,
255
+ <span class="ruby-identifier">:line</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">line</span>
256
+ <span class="ruby-identifier">e</span>.<span class="ruby-identifier">log4j</span> <span class="ruby-identifier">:properties</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span>
257
+ <span class="ruby-constant">MDC</span>.<span class="ruby-identifier">get_context</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
258
+ <span class="ruby-identifier">p</span>.<span class="ruby-identifier">log4j</span> <span class="ruby-identifier">:data</span>, <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">key</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">value</span>
259
+ <span class="ruby-keyword kw">end</span>
260
+ <span class="ruby-keyword kw">end</span>
261
+ <span class="ruby-keyword kw">end</span>
262
+ <span class="ruby-identifier">xml</span>
263
+ <span class="ruby-keyword kw">end</span></pre>
264
+ </div>
265
+
266
+ </div>
267
+
268
+
269
+ </div>
270
+
271
+
272
+ </div>
273
+
274
+ <div id="private-instance-method-details" class="method-section section">
275
+ <h3 class="section-header">Private Instance Methods</h3>
276
+
277
+
278
+ <div id="parse-caller-method" class="method-detail ">
279
+ <a name="M000032"></a>
280
+
281
+ <div class="method-heading">
282
+
283
+ <span class="method-name">parse_caller</span><span
284
+ class="method-args">(line)</span>
285
+ <span class="method-click-advice">click to toggle source</span>
286
+
287
+ </div>
288
+
289
+ <div class="method-description">
290
+
291
+
292
+
293
+
294
+
295
+ <div class="method-source-code"
296
+ id="parse-caller-source">
297
+ <pre>
298
+ <span class="ruby-comment cmt"># File log4r/formatter/log4jxmlformatter.rb, line 49</span>
299
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_caller</span>(<span class="ruby-identifier">line</span>)
300
+ <span class="ruby-keyword kw">if</span> <span class="ruby-regexp re">/^(.+?):(\d+)(?::in `(.*)')?/</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">line</span>
301
+ <span class="ruby-identifier">file</span> = <span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">last_match</span>[<span class="ruby-value">1</span>]
302
+ <span class="ruby-identifier">line</span> = <span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">last_match</span>[<span class="ruby-value">2</span>].<span class="ruby-identifier">to_i</span>
303
+ <span class="ruby-identifier">method</span> = <span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">last_match</span>[<span class="ruby-value">3</span>]
304
+ [<span class="ruby-identifier">file</span>, <span class="ruby-identifier">line</span>, <span class="ruby-identifier">method</span>]
305
+ <span class="ruby-keyword kw">else</span>
306
+ []
307
+ <span class="ruby-keyword kw">end</span>
308
+ <span class="ruby-keyword kw">end</span></pre>
309
+ </div>
310
+
311
+ </div>
312
+
313
+
314
+ </div>
315
+
316
+
317
+ </div>
318
+
319
+
320
+ </div>
321
+
322
+
323
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
324
+
325
+ <p>Disabled; run with --debug to generate this.</p>
326
+
327
+ </div>
328
+
329
+ <div id="validator-badges">
330
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
331
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
332
+ Rdoc Generator</a> 1.1.6</small>.</p>
333
+ </div>
334
+
335
+ </body>
336
+ </html>
337
+
@@ -0,0 +1,211 @@
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::Log4rConfig</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/config_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
32
+ class="thickbox" title="log4r/config.rb">log4r/config.rb</a></li>
33
+
34
+ </ul>
35
+ </div>
36
+ </div>
37
+
38
+
39
+ </div>
40
+
41
+ <div id="class-metadata">
42
+
43
+ <!-- Parent Class -->
44
+
45
+
46
+ <!-- Namespace Contents -->
47
+
48
+
49
+ <!-- Method Quickref -->
50
+
51
+
52
+ <!-- Included Modules -->
53
+
54
+ </div>
55
+
56
+ <div id="project-metadata">
57
+
58
+
59
+ <div id="fileindex-section" class="section project-section">
60
+ <h3 class="section-header">Files</h3>
61
+ <ul>
62
+
63
+ <li class="file"><a href="../log4r/rdoc/GDC.html">GDC</a></li>
64
+
65
+ <li class="file"><a href="../log4r/rdoc/MDC.html">MDC</a></li>
66
+
67
+ <li class="file"><a href="../log4r/rdoc/NDC.html">NDC</a></li>
68
+
69
+ <li class="file"><a href="../log4r/rdoc/configurator.html">configurator</a></li>
70
+
71
+ <li class="file"><a href="../log4r/rdoc/emailoutputter.html">emailoutputter</a></li>
72
+
73
+ <li class="file"><a href="../log4r/rdoc/formatter.html">formatter</a></li>
74
+
75
+ <li class="file"><a href="../log4r/rdoc/log4r.html">log4r</a></li>
76
+
77
+ <li class="file"><a href="../log4r/rdoc/logger.html">logger</a></li>
78
+
79
+ <li class="file"><a href="../log4r/rdoc/logserver.html">logserver</a></li>
80
+
81
+ <li class="file"><a href="../log4r/rdoc/outputter.html">outputter</a></li>
82
+
83
+ <li class="file"><a href="../log4r/rdoc/patternformatter.html">patternformatter</a></li>
84
+
85
+ <li class="file"><a href="../log4r/rdoc/syslogoutputter.html">syslogoutputter</a></li>
86
+
87
+ <li class="file"><a href="../log4r/rdoc/win32eventoutputter.html">win32eventoutputter</a></li>
88
+
89
+ <li class="file"><a href="../log4r/rdoc/yamlconfigurator.html">yamlconfigurator</a></li>
90
+
91
+ </ul>
92
+ </div>
93
+
94
+
95
+ <div id="classindex-section" class="section project-section">
96
+ <h3 class="section-header">Class Index
97
+ <span class="search-toggle"><img src="../images/find.png"
98
+ height="16" width="16" alt="[+]"
99
+ title="show/hide quicksearch" /></span></h3>
100
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
101
+ <fieldset>
102
+ <legend>Quicksearch</legend>
103
+ <input type="text" name="quicksearch" value=""
104
+ class="quicksearch-field" />
105
+ </fieldset>
106
+ </form>
107
+
108
+ <ul class="link-list">
109
+
110
+ <li><a href="../Log4r.html">Log4r</a></li>
111
+
112
+ <li><a href="../Log4r/BasicFormatter.html">Log4r::BasicFormatter</a></li>
113
+
114
+ <li><a href="../Log4r/ConfigError.html">Log4r::ConfigError</a></li>
115
+
116
+ <li><a href="../Log4r/Configurator.html">Log4r::Configurator</a></li>
117
+
118
+ <li><a href="../Log4r/DateFileOutputter.html">Log4r::DateFileOutputter</a></li>
119
+
120
+ <li><a href="../Log4r/DefaultFormatter.html">Log4r::DefaultFormatter</a></li>
121
+
122
+ <li><a href="../Log4r/EmailOutputter.html">Log4r::EmailOutputter</a></li>
123
+
124
+ <li><a href="../Log4r/FileOutputter.html">Log4r::FileOutputter</a></li>
125
+
126
+ <li><a href="../Log4r/Formatter.html">Log4r::Formatter</a></li>
127
+
128
+ <li><a href="../Log4r/GDC.html">Log4r::GDC</a></li>
129
+
130
+ <li><a href="../Log4r/IOOutputter.html">Log4r::IOOutputter</a></li>
131
+
132
+ <li><a href="../Log4r/Log4jXmlFormatter.html">Log4r::Log4jXmlFormatter</a></li>
133
+
134
+ <li><a href="../Log4r/Log4rTools.html">Log4r::Log4rTools</a></li>
135
+
136
+ <li><a href="../Log4r/LogEvent.html">Log4r::LogEvent</a></li>
137
+
138
+ <li><a href="../Log4r/LogServer.html">Log4r::LogServer</a></li>
139
+
140
+ <li><a href="../Log4r/Logger.html">Log4r::Logger</a></li>
141
+
142
+ <li><a href="../Log4r/MDC.html">Log4r::MDC</a></li>
143
+
144
+ <li><a href="../Log4r/NDC.html">Log4r::NDC</a></li>
145
+
146
+ <li><a href="../Log4r/ObjectFormatter.html">Log4r::ObjectFormatter</a></li>
147
+
148
+ <li><a href="../Log4r/Outputter.html">Log4r::Outputter</a></li>
149
+
150
+ <li><a href="../Log4r/PatternFormatter.html">Log4r::PatternFormatter</a></li>
151
+
152
+ <li><a href="../Log4r/RemoteOutputter.html">Log4r::RemoteOutputter</a></li>
153
+
154
+ <li><a href="../Log4r/RollingFileOutputter.html">Log4r::RollingFileOutputter</a></li>
155
+
156
+ <li><a href="../Log4r/RootLogger.html">Log4r::RootLogger</a></li>
157
+
158
+ <li><a href="../Log4r/SimpleFormatter.html">Log4r::SimpleFormatter</a></li>
159
+
160
+ <li><a href="../Log4r/StderrOutputter.html">Log4r::StderrOutputter</a></li>
161
+
162
+ <li><a href="../Log4r/StdoutOutputter.html">Log4r::StdoutOutputter</a></li>
163
+
164
+ <li><a href="../Log4r/SyslogOutputter.html">Log4r::SyslogOutputter</a></li>
165
+
166
+ <li><a href="../Log4r/UDPOutputter.html">Log4r::UDPOutputter</a></li>
167
+
168
+ <li><a href="../Log4r/YamlConfigurator.html">Log4r::YamlConfigurator</a></li>
169
+
170
+ </ul>
171
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
172
+ </div>
173
+
174
+
175
+ </div>
176
+ </div>
177
+
178
+ <div id="documentation">
179
+ <h1 class="module">Log4r::Log4rConfig</h1>
180
+
181
+ <div id="description">
182
+
183
+ </div>
184
+
185
+ <!-- Constants -->
186
+
187
+
188
+ <!-- Attributes -->
189
+
190
+
191
+ <!-- Methods -->
192
+
193
+
194
+ </div>
195
+
196
+
197
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
198
+
199
+ <p>Disabled; run with --debug to generate this.</p>
200
+
201
+ </div>
202
+
203
+ <div id="validator-badges">
204
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
205
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
206
+ Rdoc Generator</a> 1.1.6</small>.</p>
207
+ </div>
208
+
209
+ </body>
210
+ </html>
211
+