log4r 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README +3 -3
- data/Rakefile +2 -2
- data/doc/rdoc/Log4r.html +519 -0
- data/doc/rdoc/Log4r/BasicFormatter.html +388 -0
- data/doc/rdoc/Log4r/ConfigError.html +225 -0
- data/doc/rdoc/Log4r/Configurator.html +1068 -0
- data/doc/rdoc/Log4r/DateFileOutputter.html +479 -0
- data/doc/rdoc/Log4r/DefaultFormatter.html +223 -0
- data/doc/rdoc/Log4r/EmailOutputter.html +654 -0
- data/doc/rdoc/Log4r/FileOutputter.html +346 -0
- data/doc/rdoc/Log4r/Formatter.html +309 -0
- data/doc/rdoc/Log4r/GDC.html +346 -0
- data/doc/rdoc/Log4r/GDC_rb.html +80 -0
- data/doc/rdoc/Log4r/IOOutputter.html +410 -0
- data/doc/rdoc/Log4r/Log4jXmlFormatter.html +337 -0
- data/doc/rdoc/Log4r/Log4rConfig.html +211 -0
- data/doc/rdoc/Log4r/Log4rTools.html +388 -0
- data/doc/rdoc/Log4r/LogEvent.html +378 -0
- data/doc/rdoc/Log4r/LogServer.html +340 -0
- data/doc/rdoc/Log4r/Logger.html +1150 -0
- data/doc/rdoc/Log4r/Logger/LoggerFactory.html +218 -0
- data/doc/rdoc/Log4r/Logger/Repository.html +225 -0
- data/doc/rdoc/Log4r/MDC.html +424 -0
- data/doc/rdoc/Log4r/MDC_rb.html +83 -0
- data/doc/rdoc/Log4r/NDC.html +632 -0
- data/doc/rdoc/Log4r/NDC_rb.html +110 -0
- data/doc/rdoc/Log4r/ObjectFormatter.html +280 -0
- data/doc/rdoc/Log4r/Outputter.html +934 -0
- data/doc/rdoc/Log4r/Outputter/OutputterFactory.html +218 -0
- data/doc/rdoc/Log4r/Outputter/consoleoutputters_rb.html +57 -0
- data/doc/rdoc/Log4r/Outputter/datefileoutputter_rb.html +93 -0
- data/doc/rdoc/Log4r/Outputter/emailoutputter_rb.html +179 -0
- data/doc/rdoc/Log4r/Outputter/fileoutputter_rb.html +64 -0
- data/doc/rdoc/Log4r/Outputter/iooutputter_rb.html +59 -0
- data/doc/rdoc/Log4r/Outputter/outputter_rb.html +222 -0
- data/doc/rdoc/Log4r/Outputter/outputterfactory_rb.html +62 -0
- data/doc/rdoc/Log4r/Outputter/remoteoutputter_rb.html +59 -0
- data/doc/rdoc/Log4r/Outputter/rollingfileoutputter_rb.html +66 -0
- data/doc/rdoc/Log4r/Outputter/staticoutputter_rb.html +55 -0
- data/doc/rdoc/Log4r/Outputter/syslogoutputter_rb.html +110 -0
- data/doc/rdoc/Log4r/Outputter/udpoutputter_rb.html +220 -0
- data/doc/rdoc/Log4r/PatternFormatter.html +404 -0
- data/doc/rdoc/Log4r/ROMPClient.html +211 -0
- data/doc/rdoc/Log4r/ROMPServer.html +211 -0
- data/doc/rdoc/Log4r/RemoteOutputter.html +402 -0
- data/doc/rdoc/Log4r/RollingFileOutputter.html +551 -0
- data/doc/rdoc/Log4r/RootLogger.html +530 -0
- data/doc/rdoc/Log4r/SimpleFormatter.html +276 -0
- data/doc/rdoc/Log4r/StderrOutputter.html +268 -0
- data/doc/rdoc/Log4r/StdoutOutputter.html +268 -0
- data/doc/rdoc/Log4r/SyslogOutputter.html +551 -0
- data/doc/rdoc/Log4r/UDPOutputter.html +379 -0
- data/doc/rdoc/Log4r/YamlConfigurator.html +966 -0
- data/doc/rdoc/Log4r/base_rb.html +57 -0
- data/doc/rdoc/Log4r/config_rb.html +122 -0
- data/doc/rdoc/Log4r/configurator_rb.html +370 -0
- data/doc/rdoc/Log4r/formatter/formatter_rb.html +121 -0
- data/doc/rdoc/Log4r/formatter/log4jxmlformatter_rb.html +64 -0
- data/doc/rdoc/Log4r/formatter/patternformatter_rb.html +239 -0
- data/doc/rdoc/Log4r/lib/drbloader_rb.html +57 -0
- data/doc/rdoc/Log4r/lib/xmlloader_rb.html +57 -0
- data/doc/rdoc/Log4r/logevent_rb.html +55 -0
- data/doc/rdoc/Log4r/logger_rb.html +293 -0
- data/doc/rdoc/Log4r/loggerfactory_rb.html +66 -0
- data/doc/rdoc/Log4r/logserver_rb.html +161 -0
- data/doc/rdoc/Log4r/rdoc/GDC.html +175 -0
- data/doc/rdoc/Log4r/rdoc/MDC.html +178 -0
- data/doc/rdoc/Log4r/rdoc/NDC.html +207 -0
- data/doc/rdoc/Log4r/rdoc/configurator.html +462 -0
- data/doc/rdoc/Log4r/rdoc/emailoutputter.html +279 -0
- data/doc/rdoc/Log4r/rdoc/formatter.html +218 -0
- data/doc/rdoc/Log4r/rdoc/log4r.html +286 -0
- data/doc/rdoc/Log4r/rdoc/logger.html +382 -0
- data/doc/rdoc/Log4r/rdoc/logserver.html +265 -0
- data/doc/rdoc/Log4r/rdoc/outputter.html +313 -0
- data/doc/rdoc/Log4r/rdoc/patternformatter.html +331 -0
- data/doc/rdoc/Log4r/rdoc/syslogoutputter.html +197 -0
- data/doc/rdoc/Log4r/rdoc/win32eventoutputter.html +165 -0
- data/doc/rdoc/Log4r/rdoc/yamlconfigurator.html +187 -0
- data/doc/rdoc/Log4r/repository_rb.html +74 -0
- data/doc/rdoc/Log4r/staticlogger_rb.html +55 -0
- data/doc/rdoc/Log4r/yamlconfigurator_rb.html +95 -0
- data/doc/rdoc/REXML.html +211 -0
- data/doc/rdoc/created.rid +1 -0
- data/doc/rdoc/images/brick.png +0 -0
- data/doc/rdoc/images/brick_link.png +0 -0
- data/doc/rdoc/images/bug.png +0 -0
- data/doc/rdoc/images/bullet_black.png +0 -0
- data/doc/rdoc/images/bullet_toggle_minus.png +0 -0
- data/doc/rdoc/images/bullet_toggle_plus.png +0 -0
- data/doc/rdoc/images/date.png +0 -0
- data/doc/rdoc/images/find.png +0 -0
- data/doc/rdoc/images/loadingAnimation.gif +0 -0
- data/doc/rdoc/images/macFFBgHack.png +0 -0
- data/doc/rdoc/images/package.png +0 -0
- data/doc/rdoc/images/page_green.png +0 -0
- data/doc/rdoc/images/page_white_text.png +0 -0
- data/doc/rdoc/images/page_white_width.png +0 -0
- data/doc/rdoc/images/plugin.png +0 -0
- data/doc/rdoc/images/ruby.png +0 -0
- data/doc/rdoc/images/tag_green.png +0 -0
- data/doc/rdoc/images/wrench.png +0 -0
- data/doc/rdoc/images/wrench_orange.png +0 -0
- data/doc/rdoc/images/zoom.png +0 -0
- data/doc/rdoc/index.html +585 -0
- data/doc/rdoc/js/darkfish.js +116 -0
- data/doc/rdoc/js/jquery.js +32 -0
- data/doc/rdoc/js/quicksearch.js +114 -0
- data/doc/rdoc/js/thickbox-compressed.js +10 -0
- data/doc/rdoc/log4r-rdoc.css +696 -0
- data/doc/rdoc/log4r_rb.html +207 -0
- data/doc/rdoc/rdoc.css +696 -0
- data/examples/rdoc-gen +2 -0
- data/src/log4r.rb +2 -2
- data/src/log4r/formatter/patternformatter.rb +15 -15
- data/src/log4r/outputter/udpoutputter.rb +4 -4
- data/tests/testchainsaw.rb +1 -1
- metadata +123 -8
- data/src/log4r/outputter/datefileoutputter.patch +0 -24
- data/src/log4r/outputter/diff +0 -14
- data/src/log4r/outputter/new-datefileoutputter.rb +0 -117
@@ -0,0 +1,530 @@
|
|
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::RootLogger</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/logger_rb.html?TB_iframe=true&height=550&width=785"
|
32
|
+
class="thickbox" title="log4r/logger.rb">log4r/logger.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">Logger</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="#M000053">::new</a></li>
|
63
|
+
|
64
|
+
<li><a href="#M000059">#add</a></li>
|
65
|
+
|
66
|
+
<li><a href="#M000058">#additive=</a></li>
|
67
|
+
|
68
|
+
<li><a href="#M000054">#is_root?</a></li>
|
69
|
+
|
70
|
+
<li><a href="#M000055">#level=</a></li>
|
71
|
+
|
72
|
+
<li><a href="#M000056">#outputters=</a></li>
|
73
|
+
|
74
|
+
<li><a href="#M000060">#remove</a></li>
|
75
|
+
|
76
|
+
<li><a href="#M000057">#trace=</a></li>
|
77
|
+
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
|
82
|
+
<!-- Included Modules -->
|
83
|
+
|
84
|
+
<div id="includes-section" class="section">
|
85
|
+
<h3 class="section-header">Included Modules</h3>
|
86
|
+
<ul class="link-list">
|
87
|
+
|
88
|
+
|
89
|
+
<li><span class="include">Singleton</span></li>
|
90
|
+
|
91
|
+
|
92
|
+
</ul>
|
93
|
+
</div>
|
94
|
+
|
95
|
+
</div>
|
96
|
+
|
97
|
+
<div id="project-metadata">
|
98
|
+
|
99
|
+
|
100
|
+
<div id="fileindex-section" class="section project-section">
|
101
|
+
<h3 class="section-header">Files</h3>
|
102
|
+
<ul>
|
103
|
+
|
104
|
+
<li class="file"><a href="../log4r/rdoc/GDC.html">GDC</a></li>
|
105
|
+
|
106
|
+
<li class="file"><a href="../log4r/rdoc/MDC.html">MDC</a></li>
|
107
|
+
|
108
|
+
<li class="file"><a href="../log4r/rdoc/NDC.html">NDC</a></li>
|
109
|
+
|
110
|
+
<li class="file"><a href="../log4r/rdoc/configurator.html">configurator</a></li>
|
111
|
+
|
112
|
+
<li class="file"><a href="../log4r/rdoc/emailoutputter.html">emailoutputter</a></li>
|
113
|
+
|
114
|
+
<li class="file"><a href="../log4r/rdoc/formatter.html">formatter</a></li>
|
115
|
+
|
116
|
+
<li class="file"><a href="../log4r/rdoc/log4r.html">log4r</a></li>
|
117
|
+
|
118
|
+
<li class="file"><a href="../log4r/rdoc/logger.html">logger</a></li>
|
119
|
+
|
120
|
+
<li class="file"><a href="../log4r/rdoc/logserver.html">logserver</a></li>
|
121
|
+
|
122
|
+
<li class="file"><a href="../log4r/rdoc/outputter.html">outputter</a></li>
|
123
|
+
|
124
|
+
<li class="file"><a href="../log4r/rdoc/patternformatter.html">patternformatter</a></li>
|
125
|
+
|
126
|
+
<li class="file"><a href="../log4r/rdoc/syslogoutputter.html">syslogoutputter</a></li>
|
127
|
+
|
128
|
+
<li class="file"><a href="../log4r/rdoc/win32eventoutputter.html">win32eventoutputter</a></li>
|
129
|
+
|
130
|
+
<li class="file"><a href="../log4r/rdoc/yamlconfigurator.html">yamlconfigurator</a></li>
|
131
|
+
|
132
|
+
</ul>
|
133
|
+
</div>
|
134
|
+
|
135
|
+
|
136
|
+
<div id="classindex-section" class="section project-section">
|
137
|
+
<h3 class="section-header">Class Index
|
138
|
+
<span class="search-toggle"><img src="../images/find.png"
|
139
|
+
height="16" width="16" alt="[+]"
|
140
|
+
title="show/hide quicksearch" /></span></h3>
|
141
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
142
|
+
<fieldset>
|
143
|
+
<legend>Quicksearch</legend>
|
144
|
+
<input type="text" name="quicksearch" value=""
|
145
|
+
class="quicksearch-field" />
|
146
|
+
</fieldset>
|
147
|
+
</form>
|
148
|
+
|
149
|
+
<ul class="link-list">
|
150
|
+
|
151
|
+
<li><a href="../Log4r.html">Log4r</a></li>
|
152
|
+
|
153
|
+
<li><a href="../Log4r/BasicFormatter.html">Log4r::BasicFormatter</a></li>
|
154
|
+
|
155
|
+
<li><a href="../Log4r/ConfigError.html">Log4r::ConfigError</a></li>
|
156
|
+
|
157
|
+
<li><a href="../Log4r/Configurator.html">Log4r::Configurator</a></li>
|
158
|
+
|
159
|
+
<li><a href="../Log4r/DateFileOutputter.html">Log4r::DateFileOutputter</a></li>
|
160
|
+
|
161
|
+
<li><a href="../Log4r/DefaultFormatter.html">Log4r::DefaultFormatter</a></li>
|
162
|
+
|
163
|
+
<li><a href="../Log4r/EmailOutputter.html">Log4r::EmailOutputter</a></li>
|
164
|
+
|
165
|
+
<li><a href="../Log4r/FileOutputter.html">Log4r::FileOutputter</a></li>
|
166
|
+
|
167
|
+
<li><a href="../Log4r/Formatter.html">Log4r::Formatter</a></li>
|
168
|
+
|
169
|
+
<li><a href="../Log4r/GDC.html">Log4r::GDC</a></li>
|
170
|
+
|
171
|
+
<li><a href="../Log4r/IOOutputter.html">Log4r::IOOutputter</a></li>
|
172
|
+
|
173
|
+
<li><a href="../Log4r/Log4jXmlFormatter.html">Log4r::Log4jXmlFormatter</a></li>
|
174
|
+
|
175
|
+
<li><a href="../Log4r/Log4rTools.html">Log4r::Log4rTools</a></li>
|
176
|
+
|
177
|
+
<li><a href="../Log4r/LogEvent.html">Log4r::LogEvent</a></li>
|
178
|
+
|
179
|
+
<li><a href="../Log4r/LogServer.html">Log4r::LogServer</a></li>
|
180
|
+
|
181
|
+
<li><a href="../Log4r/Logger.html">Log4r::Logger</a></li>
|
182
|
+
|
183
|
+
<li><a href="../Log4r/MDC.html">Log4r::MDC</a></li>
|
184
|
+
|
185
|
+
<li><a href="../Log4r/NDC.html">Log4r::NDC</a></li>
|
186
|
+
|
187
|
+
<li><a href="../Log4r/ObjectFormatter.html">Log4r::ObjectFormatter</a></li>
|
188
|
+
|
189
|
+
<li><a href="../Log4r/Outputter.html">Log4r::Outputter</a></li>
|
190
|
+
|
191
|
+
<li><a href="../Log4r/PatternFormatter.html">Log4r::PatternFormatter</a></li>
|
192
|
+
|
193
|
+
<li><a href="../Log4r/RemoteOutputter.html">Log4r::RemoteOutputter</a></li>
|
194
|
+
|
195
|
+
<li><a href="../Log4r/RollingFileOutputter.html">Log4r::RollingFileOutputter</a></li>
|
196
|
+
|
197
|
+
<li><a href="../Log4r/RootLogger.html">Log4r::RootLogger</a></li>
|
198
|
+
|
199
|
+
<li><a href="../Log4r/SimpleFormatter.html">Log4r::SimpleFormatter</a></li>
|
200
|
+
|
201
|
+
<li><a href="../Log4r/StderrOutputter.html">Log4r::StderrOutputter</a></li>
|
202
|
+
|
203
|
+
<li><a href="../Log4r/StdoutOutputter.html">Log4r::StdoutOutputter</a></li>
|
204
|
+
|
205
|
+
<li><a href="../Log4r/SyslogOutputter.html">Log4r::SyslogOutputter</a></li>
|
206
|
+
|
207
|
+
<li><a href="../Log4r/UDPOutputter.html">Log4r::UDPOutputter</a></li>
|
208
|
+
|
209
|
+
<li><a href="../Log4r/YamlConfigurator.html">Log4r::YamlConfigurator</a></li>
|
210
|
+
|
211
|
+
</ul>
|
212
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
213
|
+
</div>
|
214
|
+
|
215
|
+
|
216
|
+
</div>
|
217
|
+
</div>
|
218
|
+
|
219
|
+
<div id="documentation">
|
220
|
+
<h1 class="class">Log4r::RootLogger</h1>
|
221
|
+
|
222
|
+
<div id="description">
|
223
|
+
<p>
|
224
|
+
<a href="RootLogger.html">RootLogger</a> should be retrieved with <a
|
225
|
+
href="Logger.html#M000131">Logger.root</a> or <a
|
226
|
+
href="Logger.html#M000132">Logger.global</a>. It’s supposed to be
|
227
|
+
transparent.
|
228
|
+
</p>
|
229
|
+
|
230
|
+
</div>
|
231
|
+
|
232
|
+
<!-- Constants -->
|
233
|
+
|
234
|
+
|
235
|
+
<!-- Attributes -->
|
236
|
+
|
237
|
+
|
238
|
+
<!-- Methods -->
|
239
|
+
|
240
|
+
<div id="public-class-method-details" class="method-section section">
|
241
|
+
<h3 class="section-header">Public Class Methods</h3>
|
242
|
+
|
243
|
+
|
244
|
+
<div id="new-method" class="method-detail ">
|
245
|
+
<a name="M000053"></a>
|
246
|
+
|
247
|
+
<div class="method-heading">
|
248
|
+
|
249
|
+
<span class="method-name">new</span><span
|
250
|
+
class="method-args">()</span>
|
251
|
+
<span class="method-click-advice">click to toggle source</span>
|
252
|
+
|
253
|
+
</div>
|
254
|
+
|
255
|
+
<div class="method-description">
|
256
|
+
|
257
|
+
<p class="missing-docs">(Not documented)</p>
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
<div class="method-source-code"
|
262
|
+
id="new-source">
|
263
|
+
<pre>
|
264
|
+
<span class="ruby-comment cmt"># File log4r/logger.rb, line 167</span>
|
265
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
266
|
+
<span class="ruby-constant">Log4r</span>.<span class="ruby-identifier">define_levels</span>(<span class="ruby-operator">*</span><span class="ruby-constant">Log4rConfig</span><span class="ruby-operator">::</span><span class="ruby-constant">LogLevels</span>) <span class="ruby-comment cmt"># ensure levels are loaded</span>
|
267
|
+
<span class="ruby-ivar">@level</span> = <span class="ruby-constant">ALL</span>
|
268
|
+
<span class="ruby-ivar">@outputters</span> = []
|
269
|
+
<span class="ruby-constant">Repository</span>[<span class="ruby-value str">'root'</span>] = <span class="ruby-keyword kw">self</span>
|
270
|
+
<span class="ruby-constant">Repository</span>[<span class="ruby-value str">'global'</span>] = <span class="ruby-keyword kw">self</span>
|
271
|
+
<span class="ruby-constant">LoggerFactory</span>.<span class="ruby-identifier">undefine_methods</span>(<span class="ruby-keyword kw">self</span>)
|
272
|
+
<span class="ruby-keyword kw">end</span></pre>
|
273
|
+
</div>
|
274
|
+
|
275
|
+
</div>
|
276
|
+
|
277
|
+
|
278
|
+
</div>
|
279
|
+
|
280
|
+
|
281
|
+
</div>
|
282
|
+
|
283
|
+
<div id="public-instance-method-details" class="method-section section">
|
284
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
285
|
+
|
286
|
+
|
287
|
+
<div id="add-method" class="method-detail ">
|
288
|
+
<a name="M000059"></a>
|
289
|
+
|
290
|
+
<div class="method-heading">
|
291
|
+
|
292
|
+
<span class="method-name">add</span><span
|
293
|
+
class="method-args">(*foo)</span>
|
294
|
+
<span class="method-click-advice">click to toggle source</span>
|
295
|
+
|
296
|
+
</div>
|
297
|
+
|
298
|
+
<div class="method-description">
|
299
|
+
|
300
|
+
<p>
|
301
|
+
Does nothing
|
302
|
+
</p>
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
<div class="method-source-code"
|
307
|
+
id="add-source">
|
308
|
+
<pre>
|
309
|
+
<span class="ruby-comment cmt"># File log4r/logger.rb, line 190</span>
|
310
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">foo</span>); <span class="ruby-keyword kw">end</span></pre>
|
311
|
+
</div>
|
312
|
+
|
313
|
+
</div>
|
314
|
+
|
315
|
+
|
316
|
+
</div>
|
317
|
+
|
318
|
+
|
319
|
+
<div id="additive--method" class="method-detail ">
|
320
|
+
<a name="M000058"></a>
|
321
|
+
|
322
|
+
<div class="method-heading">
|
323
|
+
|
324
|
+
<span class="method-name">additive=</span><span
|
325
|
+
class="method-args">(foo)</span>
|
326
|
+
<span class="method-click-advice">click to toggle source</span>
|
327
|
+
|
328
|
+
</div>
|
329
|
+
|
330
|
+
<div class="method-description">
|
331
|
+
|
332
|
+
<p>
|
333
|
+
Does nothing
|
334
|
+
</p>
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
<div class="method-source-code"
|
339
|
+
id="additive--source">
|
340
|
+
<pre>
|
341
|
+
<span class="ruby-comment cmt"># File log4r/logger.rb, line 188</span>
|
342
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">additive=</span>(<span class="ruby-identifier">foo</span>); <span class="ruby-keyword kw">end</span></pre>
|
343
|
+
</div>
|
344
|
+
|
345
|
+
</div>
|
346
|
+
|
347
|
+
|
348
|
+
</div>
|
349
|
+
|
350
|
+
|
351
|
+
<div id="is-root--method" class="method-detail ">
|
352
|
+
<a name="M000054"></a>
|
353
|
+
|
354
|
+
<div class="method-heading">
|
355
|
+
|
356
|
+
<span class="method-name">is_root?</span><span
|
357
|
+
class="method-args">()</span>
|
358
|
+
<span class="method-click-advice">click to toggle source</span>
|
359
|
+
|
360
|
+
</div>
|
361
|
+
|
362
|
+
<div class="method-description">
|
363
|
+
|
364
|
+
<p class="missing-docs">(Not documented)</p>
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
<div class="method-source-code"
|
369
|
+
id="is-root--source">
|
370
|
+
<pre>
|
371
|
+
<span class="ruby-comment cmt"># File log4r/logger.rb, line 176</span>
|
372
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is_root?</span>; <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">end</span></pre>
|
373
|
+
</div>
|
374
|
+
|
375
|
+
</div>
|
376
|
+
|
377
|
+
|
378
|
+
</div>
|
379
|
+
|
380
|
+
|
381
|
+
<div id="level--method" class="method-detail ">
|
382
|
+
<a name="M000055"></a>
|
383
|
+
|
384
|
+
<div class="method-heading">
|
385
|
+
|
386
|
+
<span class="method-name">level=</span><span
|
387
|
+
class="method-args">(alevel)</span>
|
388
|
+
<span class="method-click-advice">click to toggle source</span>
|
389
|
+
|
390
|
+
</div>
|
391
|
+
|
392
|
+
<div class="method-description">
|
393
|
+
|
394
|
+
<p>
|
395
|
+
Set the global level. Any loggers defined thereafter will not log below the
|
396
|
+
global level regardless of their levels.
|
397
|
+
</p>
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
<div class="method-source-code"
|
402
|
+
id="level--source">
|
403
|
+
<pre>
|
404
|
+
<span class="ruby-comment cmt"># File log4r/logger.rb, line 181</span>
|
405
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">level=</span>(<span class="ruby-identifier">alevel</span>); <span class="ruby-ivar">@level</span> = <span class="ruby-identifier">alevel</span> <span class="ruby-keyword kw">end</span></pre>
|
406
|
+
</div>
|
407
|
+
|
408
|
+
</div>
|
409
|
+
|
410
|
+
|
411
|
+
</div>
|
412
|
+
|
413
|
+
|
414
|
+
<div id="outputters--method" class="method-detail ">
|
415
|
+
<a name="M000056"></a>
|
416
|
+
|
417
|
+
<div class="method-heading">
|
418
|
+
|
419
|
+
<span class="method-name">outputters=</span><span
|
420
|
+
class="method-args">(foo)</span>
|
421
|
+
<span class="method-click-advice">click to toggle source</span>
|
422
|
+
|
423
|
+
</div>
|
424
|
+
|
425
|
+
<div class="method-description">
|
426
|
+
|
427
|
+
<p>
|
428
|
+
Does nothing
|
429
|
+
</p>
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
<div class="method-source-code"
|
434
|
+
id="outputters--source">
|
435
|
+
<pre>
|
436
|
+
<span class="ruby-comment cmt"># File log4r/logger.rb, line 184</span>
|
437
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">outputters=</span>(<span class="ruby-identifier">foo</span>); <span class="ruby-keyword kw">end</span></pre>
|
438
|
+
</div>
|
439
|
+
|
440
|
+
</div>
|
441
|
+
|
442
|
+
|
443
|
+
</div>
|
444
|
+
|
445
|
+
|
446
|
+
<div id="remove-method" class="method-detail ">
|
447
|
+
<a name="M000060"></a>
|
448
|
+
|
449
|
+
<div class="method-heading">
|
450
|
+
|
451
|
+
<span class="method-name">remove</span><span
|
452
|
+
class="method-args">(*foo)</span>
|
453
|
+
<span class="method-click-advice">click to toggle source</span>
|
454
|
+
|
455
|
+
</div>
|
456
|
+
|
457
|
+
<div class="method-description">
|
458
|
+
|
459
|
+
<p>
|
460
|
+
Does nothing
|
461
|
+
</p>
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
<div class="method-source-code"
|
466
|
+
id="remove-source">
|
467
|
+
<pre>
|
468
|
+
<span class="ruby-comment cmt"># File log4r/logger.rb, line 192</span>
|
469
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">foo</span>); <span class="ruby-keyword kw">end</span></pre>
|
470
|
+
</div>
|
471
|
+
|
472
|
+
</div>
|
473
|
+
|
474
|
+
|
475
|
+
</div>
|
476
|
+
|
477
|
+
|
478
|
+
<div id="trace--method" class="method-detail ">
|
479
|
+
<a name="M000057"></a>
|
480
|
+
|
481
|
+
<div class="method-heading">
|
482
|
+
|
483
|
+
<span class="method-name">trace=</span><span
|
484
|
+
class="method-args">(foo)</span>
|
485
|
+
<span class="method-click-advice">click to toggle source</span>
|
486
|
+
|
487
|
+
</div>
|
488
|
+
|
489
|
+
<div class="method-description">
|
490
|
+
|
491
|
+
<p>
|
492
|
+
Does nothing
|
493
|
+
</p>
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
<div class="method-source-code"
|
498
|
+
id="trace--source">
|
499
|
+
<pre>
|
500
|
+
<span class="ruby-comment cmt"># File log4r/logger.rb, line 186</span>
|
501
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">trace=</span>(<span class="ruby-identifier">foo</span>); <span class="ruby-keyword kw">end</span></pre>
|
502
|
+
</div>
|
503
|
+
|
504
|
+
</div>
|
505
|
+
|
506
|
+
|
507
|
+
</div>
|
508
|
+
|
509
|
+
|
510
|
+
</div>
|
511
|
+
|
512
|
+
|
513
|
+
</div>
|
514
|
+
|
515
|
+
|
516
|
+
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
517
|
+
|
518
|
+
<p>Disabled; run with --debug to generate this.</p>
|
519
|
+
|
520
|
+
</div>
|
521
|
+
|
522
|
+
<div id="validator-badges">
|
523
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
524
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
525
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
526
|
+
</div>
|
527
|
+
|
528
|
+
</body>
|
529
|
+
</html>
|
530
|
+
|