log4r 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/README +3 -3
  2. data/Rakefile +3 -3
  3. data/doc/rdoc-log4r.css +696 -0
  4. data/examples/syslogcustom.rb +6 -1
  5. data/src/doc/Log4r.html +392 -0
  6. data/src/doc/Log4r/BasicFormatter.html +370 -0
  7. data/src/doc/Log4r/ConfigError.html +207 -0
  8. data/src/doc/Log4r/Configurator.html +1050 -0
  9. data/src/doc/Log4r/DateFileOutputter.html +454 -0
  10. data/src/doc/Log4r/DefaultFormatter.html +205 -0
  11. data/src/doc/Log4r/EmailOutputter.html +636 -0
  12. data/src/doc/Log4r/FileOutputter.html +321 -0
  13. data/src/doc/Log4r/Formatter.html +291 -0
  14. data/src/doc/Log4r/IOOutputter.html +392 -0
  15. data/src/doc/Log4r/Log4rConfig.html +193 -0
  16. data/src/doc/Log4r/Log4rTools.html +370 -0
  17. data/src/doc/Log4r/LogEvent.html +360 -0
  18. data/src/doc/Log4r/LogServer.html +322 -0
  19. data/src/doc/Log4r/Logger.html +1132 -0
  20. data/src/doc/Log4r/Logger/LoggerFactory.html +200 -0
  21. data/src/doc/Log4r/Logger/Repository.html +207 -0
  22. data/src/doc/Log4r/ObjectFormatter.html +262 -0
  23. data/src/doc/Log4r/Outputter.html +910 -0
  24. data/src/doc/Log4r/Outputter/OutputterFactory.html +200 -0
  25. data/src/doc/Log4r/Outputter/consoleoutputters_rb.html +57 -0
  26. data/src/doc/Log4r/Outputter/datefileoutputter_rb.html +93 -0
  27. data/src/doc/Log4r/Outputter/emailoutputter_rb.html +179 -0
  28. data/src/doc/Log4r/Outputter/fileoutputter_rb.html +64 -0
  29. data/src/doc/Log4r/Outputter/iooutputter_rb.html +59 -0
  30. data/src/doc/Log4r/Outputter/outputter_rb.html +222 -0
  31. data/src/doc/Log4r/Outputter/outputterfactory_rb.html +62 -0
  32. data/src/doc/Log4r/Outputter/remoteoutputter_rb.html +59 -0
  33. data/src/doc/Log4r/Outputter/rollingfileoutputter_rb.html +66 -0
  34. data/src/doc/Log4r/Outputter/staticoutputter_rb.html +55 -0
  35. data/src/doc/Log4r/Outputter/syslogoutputter_rb.html +110 -0
  36. data/src/doc/Log4r/Outputter/tst_rb.html +54 -0
  37. data/src/doc/Log4r/PatternFormatter.html +422 -0
  38. data/src/doc/Log4r/ROMPClient.html +193 -0
  39. data/src/doc/Log4r/ROMPServer.html +193 -0
  40. data/src/doc/Log4r/RemoteOutputter.html +384 -0
  41. data/src/doc/Log4r/RollingFileOutputter.html +528 -0
  42. data/src/doc/Log4r/RootLogger.html +512 -0
  43. data/src/doc/Log4r/SimpleFormatter.html +258 -0
  44. data/src/doc/Log4r/StderrOutputter.html +250 -0
  45. data/src/doc/Log4r/StdoutOutputter.html +250 -0
  46. data/src/doc/Log4r/SyslogOutputter.html +533 -0
  47. data/src/doc/Log4r/YamlConfigurator.html +948 -0
  48. data/src/doc/Log4r/base_rb.html +57 -0
  49. data/src/doc/Log4r/config_rb.html +76 -0
  50. data/src/doc/Log4r/configurator_rb.html +370 -0
  51. data/src/doc/Log4r/formatter/formatter_rb.html +121 -0
  52. data/src/doc/Log4r/formatter/patternformatter_rb.html +233 -0
  53. data/src/doc/Log4r/lib/drbloader_rb.html +57 -0
  54. data/src/doc/Log4r/lib/xmlloader_rb.html +57 -0
  55. data/src/doc/Log4r/logevent_rb.html +55 -0
  56. data/src/doc/Log4r/logger_rb.html +293 -0
  57. data/src/doc/Log4r/loggerfactory_rb.html +66 -0
  58. data/src/doc/Log4r/logserver_rb.html +161 -0
  59. data/src/doc/Log4r/rdoc/configurator.html +444 -0
  60. data/src/doc/Log4r/rdoc/emailoutputter.html +261 -0
  61. data/src/doc/Log4r/rdoc/formatter.html +200 -0
  62. data/src/doc/Log4r/rdoc/log4r.html +268 -0
  63. data/src/doc/Log4r/rdoc/logger.html +364 -0
  64. data/src/doc/Log4r/rdoc/logserver.html +247 -0
  65. data/src/doc/Log4r/rdoc/outputter.html +295 -0
  66. data/src/doc/Log4r/rdoc/patternformatter.html +313 -0
  67. data/src/doc/Log4r/rdoc/syslogoutputter.html +179 -0
  68. data/src/doc/Log4r/rdoc/yamlconfigurator.html +169 -0
  69. data/src/doc/Log4r/repository_rb.html +62 -0
  70. data/src/doc/Log4r/staticlogger_rb.html +55 -0
  71. data/src/doc/Log4r/yamlconfigurator_rb.html +95 -0
  72. data/src/doc/REXML.html +193 -0
  73. data/src/doc/created.rid +1 -0
  74. data/src/doc/images/brick.png +0 -0
  75. data/src/doc/images/brick_link.png +0 -0
  76. data/src/doc/images/bug.png +0 -0
  77. data/src/doc/images/bullet_black.png +0 -0
  78. data/src/doc/images/bullet_toggle_minus.png +0 -0
  79. data/src/doc/images/bullet_toggle_plus.png +0 -0
  80. data/src/doc/images/date.png +0 -0
  81. data/src/doc/images/find.png +0 -0
  82. data/src/doc/images/loadingAnimation.gif +0 -0
  83. data/src/doc/images/macFFBgHack.png +0 -0
  84. data/src/doc/images/package.png +0 -0
  85. data/src/doc/images/page_green.png +0 -0
  86. data/src/doc/images/page_white_text.png +0 -0
  87. data/src/doc/images/page_white_width.png +0 -0
  88. data/src/doc/images/plugin.png +0 -0
  89. data/src/doc/images/ruby.png +0 -0
  90. data/src/doc/images/tag_green.png +0 -0
  91. data/src/doc/images/wrench.png +0 -0
  92. data/src/doc/images/wrench_orange.png +0 -0
  93. data/src/doc/images/zoom.png +0 -0
  94. data/src/doc/index.html +384 -0
  95. data/src/doc/js/darkfish.js +116 -0
  96. data/src/doc/js/jquery.js +32 -0
  97. data/src/doc/js/quicksearch.js +114 -0
  98. data/src/doc/js/thickbox-compressed.js +10 -0
  99. data/src/doc/rdoc.css +696 -0
  100. data/src/log4r.rb +2 -2
  101. data/src/log4r/formatter/patternformatter.rb +18 -2
  102. data/src/log4r/logger.rb +2 -2
  103. data/src/log4r/outputter/emailoutputter.rb +2 -0
  104. data/src/log4r/outputter/syslogoutputter.rb +29 -9
  105. data/src/log4r/outputter/tst.rb +8 -0
  106. metadata +99 -3
  107. data/examples/logs/simple.log +0 -1
@@ -0,0 +1,193 @@
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::ROMPClient</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/lib/drbloader_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
32
+ class="thickbox" title="log4r/lib/drbloader.rb">log4r/lib/drbloader.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/configurator.html">configurator</a></li>
64
+
65
+ <li class="file"><a href="../log4r/rdoc/emailoutputter.html">emailoutputter</a></li>
66
+
67
+ <li class="file"><a href="../log4r/rdoc/formatter.html">formatter</a></li>
68
+
69
+ <li class="file"><a href="../log4r/rdoc/log4r.html">log4r</a></li>
70
+
71
+ <li class="file"><a href="../log4r/rdoc/logger.html">logger</a></li>
72
+
73
+ <li class="file"><a href="../log4r/rdoc/logserver.html">logserver</a></li>
74
+
75
+ <li class="file"><a href="../log4r/rdoc/outputter.html">outputter</a></li>
76
+
77
+ <li class="file"><a href="../log4r/rdoc/patternformatter.html">patternformatter</a></li>
78
+
79
+ <li class="file"><a href="../log4r/rdoc/syslogoutputter.html">syslogoutputter</a></li>
80
+
81
+ <li class="file"><a href="../log4r/rdoc/yamlconfigurator.html">yamlconfigurator</a></li>
82
+
83
+ </ul>
84
+ </div>
85
+
86
+
87
+ <div id="classindex-section" class="section project-section">
88
+ <h3 class="section-header">Class Index
89
+ <span class="search-toggle"><img src="../images/find.png"
90
+ height="16" width="16" alt="[+]"
91
+ title="show/hide quicksearch" /></span></h3>
92
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
93
+ <fieldset>
94
+ <legend>Quicksearch</legend>
95
+ <input type="text" name="quicksearch" value=""
96
+ class="quicksearch-field" />
97
+ </fieldset>
98
+ </form>
99
+
100
+ <ul class="link-list">
101
+
102
+ <li><a href="../Log4r.html">Log4r</a></li>
103
+
104
+ <li><a href="../Log4r/BasicFormatter.html">Log4r::BasicFormatter</a></li>
105
+
106
+ <li><a href="../Log4r/ConfigError.html">Log4r::ConfigError</a></li>
107
+
108
+ <li><a href="../Log4r/Configurator.html">Log4r::Configurator</a></li>
109
+
110
+ <li><a href="../Log4r/DateFileOutputter.html">Log4r::DateFileOutputter</a></li>
111
+
112
+ <li><a href="../Log4r/DefaultFormatter.html">Log4r::DefaultFormatter</a></li>
113
+
114
+ <li><a href="../Log4r/EmailOutputter.html">Log4r::EmailOutputter</a></li>
115
+
116
+ <li><a href="../Log4r/FileOutputter.html">Log4r::FileOutputter</a></li>
117
+
118
+ <li><a href="../Log4r/Formatter.html">Log4r::Formatter</a></li>
119
+
120
+ <li><a href="../Log4r/IOOutputter.html">Log4r::IOOutputter</a></li>
121
+
122
+ <li><a href="../Log4r/Log4rTools.html">Log4r::Log4rTools</a></li>
123
+
124
+ <li><a href="../Log4r/LogEvent.html">Log4r::LogEvent</a></li>
125
+
126
+ <li><a href="../Log4r/LogServer.html">Log4r::LogServer</a></li>
127
+
128
+ <li><a href="../Log4r/Logger.html">Log4r::Logger</a></li>
129
+
130
+ <li><a href="../Log4r/ObjectFormatter.html">Log4r::ObjectFormatter</a></li>
131
+
132
+ <li><a href="../Log4r/Outputter.html">Log4r::Outputter</a></li>
133
+
134
+ <li><a href="../Log4r/PatternFormatter.html">Log4r::PatternFormatter</a></li>
135
+
136
+ <li><a href="../Log4r/RemoteOutputter.html">Log4r::RemoteOutputter</a></li>
137
+
138
+ <li><a href="../Log4r/RollingFileOutputter.html">Log4r::RollingFileOutputter</a></li>
139
+
140
+ <li><a href="../Log4r/RootLogger.html">Log4r::RootLogger</a></li>
141
+
142
+ <li><a href="../Log4r/SimpleFormatter.html">Log4r::SimpleFormatter</a></li>
143
+
144
+ <li><a href="../Log4r/StderrOutputter.html">Log4r::StderrOutputter</a></li>
145
+
146
+ <li><a href="../Log4r/StdoutOutputter.html">Log4r::StdoutOutputter</a></li>
147
+
148
+ <li><a href="../Log4r/SyslogOutputter.html">Log4r::SyslogOutputter</a></li>
149
+
150
+ <li><a href="../Log4r/YamlConfigurator.html">Log4r::YamlConfigurator</a></li>
151
+
152
+ </ul>
153
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
154
+ </div>
155
+
156
+
157
+ </div>
158
+ </div>
159
+
160
+ <div id="documentation">
161
+ <h1 class="module">Log4r::ROMPClient</h1>
162
+
163
+ <div id="description">
164
+
165
+ </div>
166
+
167
+ <!-- Constants -->
168
+
169
+
170
+ <!-- Attributes -->
171
+
172
+
173
+ <!-- Methods -->
174
+
175
+
176
+ </div>
177
+
178
+
179
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
180
+
181
+ <p>Disabled; run with --debug to generate this.</p>
182
+
183
+ </div>
184
+
185
+ <div id="validator-badges">
186
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
187
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
188
+ Rdoc Generator</a> 1.1.6</small>.</p>
189
+ </div>
190
+
191
+ </body>
192
+ </html>
193
+
@@ -0,0 +1,193 @@
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::ROMPServer</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/lib/drbloader_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
32
+ class="thickbox" title="log4r/lib/drbloader.rb">log4r/lib/drbloader.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/configurator.html">configurator</a></li>
64
+
65
+ <li class="file"><a href="../log4r/rdoc/emailoutputter.html">emailoutputter</a></li>
66
+
67
+ <li class="file"><a href="../log4r/rdoc/formatter.html">formatter</a></li>
68
+
69
+ <li class="file"><a href="../log4r/rdoc/log4r.html">log4r</a></li>
70
+
71
+ <li class="file"><a href="../log4r/rdoc/logger.html">logger</a></li>
72
+
73
+ <li class="file"><a href="../log4r/rdoc/logserver.html">logserver</a></li>
74
+
75
+ <li class="file"><a href="../log4r/rdoc/outputter.html">outputter</a></li>
76
+
77
+ <li class="file"><a href="../log4r/rdoc/patternformatter.html">patternformatter</a></li>
78
+
79
+ <li class="file"><a href="../log4r/rdoc/syslogoutputter.html">syslogoutputter</a></li>
80
+
81
+ <li class="file"><a href="../log4r/rdoc/yamlconfigurator.html">yamlconfigurator</a></li>
82
+
83
+ </ul>
84
+ </div>
85
+
86
+
87
+ <div id="classindex-section" class="section project-section">
88
+ <h3 class="section-header">Class Index
89
+ <span class="search-toggle"><img src="../images/find.png"
90
+ height="16" width="16" alt="[+]"
91
+ title="show/hide quicksearch" /></span></h3>
92
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
93
+ <fieldset>
94
+ <legend>Quicksearch</legend>
95
+ <input type="text" name="quicksearch" value=""
96
+ class="quicksearch-field" />
97
+ </fieldset>
98
+ </form>
99
+
100
+ <ul class="link-list">
101
+
102
+ <li><a href="../Log4r.html">Log4r</a></li>
103
+
104
+ <li><a href="../Log4r/BasicFormatter.html">Log4r::BasicFormatter</a></li>
105
+
106
+ <li><a href="../Log4r/ConfigError.html">Log4r::ConfigError</a></li>
107
+
108
+ <li><a href="../Log4r/Configurator.html">Log4r::Configurator</a></li>
109
+
110
+ <li><a href="../Log4r/DateFileOutputter.html">Log4r::DateFileOutputter</a></li>
111
+
112
+ <li><a href="../Log4r/DefaultFormatter.html">Log4r::DefaultFormatter</a></li>
113
+
114
+ <li><a href="../Log4r/EmailOutputter.html">Log4r::EmailOutputter</a></li>
115
+
116
+ <li><a href="../Log4r/FileOutputter.html">Log4r::FileOutputter</a></li>
117
+
118
+ <li><a href="../Log4r/Formatter.html">Log4r::Formatter</a></li>
119
+
120
+ <li><a href="../Log4r/IOOutputter.html">Log4r::IOOutputter</a></li>
121
+
122
+ <li><a href="../Log4r/Log4rTools.html">Log4r::Log4rTools</a></li>
123
+
124
+ <li><a href="../Log4r/LogEvent.html">Log4r::LogEvent</a></li>
125
+
126
+ <li><a href="../Log4r/LogServer.html">Log4r::LogServer</a></li>
127
+
128
+ <li><a href="../Log4r/Logger.html">Log4r::Logger</a></li>
129
+
130
+ <li><a href="../Log4r/ObjectFormatter.html">Log4r::ObjectFormatter</a></li>
131
+
132
+ <li><a href="../Log4r/Outputter.html">Log4r::Outputter</a></li>
133
+
134
+ <li><a href="../Log4r/PatternFormatter.html">Log4r::PatternFormatter</a></li>
135
+
136
+ <li><a href="../Log4r/RemoteOutputter.html">Log4r::RemoteOutputter</a></li>
137
+
138
+ <li><a href="../Log4r/RollingFileOutputter.html">Log4r::RollingFileOutputter</a></li>
139
+
140
+ <li><a href="../Log4r/RootLogger.html">Log4r::RootLogger</a></li>
141
+
142
+ <li><a href="../Log4r/SimpleFormatter.html">Log4r::SimpleFormatter</a></li>
143
+
144
+ <li><a href="../Log4r/StderrOutputter.html">Log4r::StderrOutputter</a></li>
145
+
146
+ <li><a href="../Log4r/StdoutOutputter.html">Log4r::StdoutOutputter</a></li>
147
+
148
+ <li><a href="../Log4r/SyslogOutputter.html">Log4r::SyslogOutputter</a></li>
149
+
150
+ <li><a href="../Log4r/YamlConfigurator.html">Log4r::YamlConfigurator</a></li>
151
+
152
+ </ul>
153
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
154
+ </div>
155
+
156
+
157
+ </div>
158
+ </div>
159
+
160
+ <div id="documentation">
161
+ <h1 class="module">Log4r::ROMPServer</h1>
162
+
163
+ <div id="description">
164
+
165
+ </div>
166
+
167
+ <!-- Constants -->
168
+
169
+
170
+ <!-- Attributes -->
171
+
172
+
173
+ <!-- Methods -->
174
+
175
+
176
+ </div>
177
+
178
+
179
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
180
+
181
+ <p>Disabled; run with --debug to generate this.</p>
182
+
183
+ </div>
184
+
185
+ <div id="validator-badges">
186
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
187
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
188
+ Rdoc Generator</a> 1.1.6</small>.</p>
189
+ </div>
190
+
191
+ </body>
192
+ </html>
193
+
@@ -0,0 +1,384 @@
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::RemoteOutputter</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/outputter/remoteoutputter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
32
+ class="thickbox" title="log4r/outputter/remoteoutputter.rb">log4r/outputter/remoteoutputter.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">Outputter</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="#M000088">::new</a></li>
63
+
64
+ <li><a href="#M000089">::new</a></li>
65
+
66
+ <li><a href="#M000091">#canonical_log</a></li>
67
+
68
+ <li><a href="#M000090">#flush</a></li>
69
+
70
+ </ul>
71
+ </div>
72
+
73
+
74
+ <!-- Included Modules -->
75
+
76
+ <div id="includes-section" class="section">
77
+ <h3 class="section-header">Included Modules</h3>
78
+ <ul class="link-list">
79
+
80
+
81
+ <li><a class="include" href="ROMPClient.html">Log4r::ROMPClient</a></li>
82
+
83
+
84
+ </ul>
85
+ </div>
86
+
87
+ </div>
88
+
89
+ <div id="project-metadata">
90
+
91
+
92
+ <div id="fileindex-section" class="section project-section">
93
+ <h3 class="section-header">Files</h3>
94
+ <ul>
95
+
96
+ <li class="file"><a href="../log4r/rdoc/configurator.html">configurator</a></li>
97
+
98
+ <li class="file"><a href="../log4r/rdoc/emailoutputter.html">emailoutputter</a></li>
99
+
100
+ <li class="file"><a href="../log4r/rdoc/formatter.html">formatter</a></li>
101
+
102
+ <li class="file"><a href="../log4r/rdoc/log4r.html">log4r</a></li>
103
+
104
+ <li class="file"><a href="../log4r/rdoc/logger.html">logger</a></li>
105
+
106
+ <li class="file"><a href="../log4r/rdoc/logserver.html">logserver</a></li>
107
+
108
+ <li class="file"><a href="../log4r/rdoc/outputter.html">outputter</a></li>
109
+
110
+ <li class="file"><a href="../log4r/rdoc/patternformatter.html">patternformatter</a></li>
111
+
112
+ <li class="file"><a href="../log4r/rdoc/syslogoutputter.html">syslogoutputter</a></li>
113
+
114
+ <li class="file"><a href="../log4r/rdoc/yamlconfigurator.html">yamlconfigurator</a></li>
115
+
116
+ </ul>
117
+ </div>
118
+
119
+
120
+ <div id="classindex-section" class="section project-section">
121
+ <h3 class="section-header">Class Index
122
+ <span class="search-toggle"><img src="../images/find.png"
123
+ height="16" width="16" alt="[+]"
124
+ title="show/hide quicksearch" /></span></h3>
125
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
126
+ <fieldset>
127
+ <legend>Quicksearch</legend>
128
+ <input type="text" name="quicksearch" value=""
129
+ class="quicksearch-field" />
130
+ </fieldset>
131
+ </form>
132
+
133
+ <ul class="link-list">
134
+
135
+ <li><a href="../Log4r.html">Log4r</a></li>
136
+
137
+ <li><a href="../Log4r/BasicFormatter.html">Log4r::BasicFormatter</a></li>
138
+
139
+ <li><a href="../Log4r/ConfigError.html">Log4r::ConfigError</a></li>
140
+
141
+ <li><a href="../Log4r/Configurator.html">Log4r::Configurator</a></li>
142
+
143
+ <li><a href="../Log4r/DateFileOutputter.html">Log4r::DateFileOutputter</a></li>
144
+
145
+ <li><a href="../Log4r/DefaultFormatter.html">Log4r::DefaultFormatter</a></li>
146
+
147
+ <li><a href="../Log4r/EmailOutputter.html">Log4r::EmailOutputter</a></li>
148
+
149
+ <li><a href="../Log4r/FileOutputter.html">Log4r::FileOutputter</a></li>
150
+
151
+ <li><a href="../Log4r/Formatter.html">Log4r::Formatter</a></li>
152
+
153
+ <li><a href="../Log4r/IOOutputter.html">Log4r::IOOutputter</a></li>
154
+
155
+ <li><a href="../Log4r/Log4rTools.html">Log4r::Log4rTools</a></li>
156
+
157
+ <li><a href="../Log4r/LogEvent.html">Log4r::LogEvent</a></li>
158
+
159
+ <li><a href="../Log4r/LogServer.html">Log4r::LogServer</a></li>
160
+
161
+ <li><a href="../Log4r/Logger.html">Log4r::Logger</a></li>
162
+
163
+ <li><a href="../Log4r/ObjectFormatter.html">Log4r::ObjectFormatter</a></li>
164
+
165
+ <li><a href="../Log4r/Outputter.html">Log4r::Outputter</a></li>
166
+
167
+ <li><a href="../Log4r/PatternFormatter.html">Log4r::PatternFormatter</a></li>
168
+
169
+ <li><a href="../Log4r/RemoteOutputter.html">Log4r::RemoteOutputter</a></li>
170
+
171
+ <li><a href="../Log4r/RollingFileOutputter.html">Log4r::RollingFileOutputter</a></li>
172
+
173
+ <li><a href="../Log4r/RootLogger.html">Log4r::RootLogger</a></li>
174
+
175
+ <li><a href="../Log4r/SimpleFormatter.html">Log4r::SimpleFormatter</a></li>
176
+
177
+ <li><a href="../Log4r/StderrOutputter.html">Log4r::StderrOutputter</a></li>
178
+
179
+ <li><a href="../Log4r/StdoutOutputter.html">Log4r::StdoutOutputter</a></li>
180
+
181
+ <li><a href="../Log4r/SyslogOutputter.html">Log4r::SyslogOutputter</a></li>
182
+
183
+ <li><a href="../Log4r/YamlConfigurator.html">Log4r::YamlConfigurator</a></li>
184
+
185
+ </ul>
186
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
187
+ </div>
188
+
189
+
190
+ </div>
191
+ </div>
192
+
193
+ <div id="documentation">
194
+ <h1 class="class">Log4r::RemoteOutputter</h1>
195
+
196
+ <div id="description">
197
+ <p>
198
+ See <a href="../log4r/logserver_rb.html">log4r/logserver.rb</a>
199
+ </p>
200
+
201
+ </div>
202
+
203
+ <!-- Constants -->
204
+
205
+
206
+ <!-- Attributes -->
207
+
208
+
209
+ <!-- Methods -->
210
+
211
+ <div id="public-class-method-details" class="method-section section">
212
+ <h3 class="section-header">Public Class Methods</h3>
213
+
214
+
215
+ <div id="new-method" class="method-detail ">
216
+ <a name="M000088"></a>
217
+
218
+ <div class="method-heading">
219
+
220
+ <span class="method-name">new</span><span
221
+ class="method-args">(_name, hash={})</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="new-source">
234
+ <pre>
235
+ <span class="ruby-comment cmt"># File log4r/outputter/remoteoutputter.rb, line 9</span>
236
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">_name</span>, <span class="ruby-identifier">hash</span>={})
237
+ <span class="ruby-keyword kw">super</span>(<span class="ruby-identifier">_name</span>, <span class="ruby-identifier">hash</span>)
238
+ <span class="ruby-ivar">@uri</span> = (<span class="ruby-identifier">hash</span>[<span class="ruby-identifier">:uri</span>] <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">hash</span>[<span class="ruby-value str">'uri'</span>])
239
+ <span class="ruby-ivar">@buffsize</span> = (<span class="ruby-identifier">hash</span>[<span class="ruby-identifier">:buffsize</span>] <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">hash</span>[<span class="ruby-value str">'buffsize'</span>] <span class="ruby-keyword kw">or</span> <span class="ruby-value">1</span>).<span class="ruby-identifier">to_i</span>
240
+ <span class="ruby-ivar">@buff</span> = []
241
+ <span class="ruby-identifier">connect</span>
242
+ <span class="ruby-keyword kw">end</span></pre>
243
+ </div>
244
+
245
+ </div>
246
+
247
+
248
+ </div>
249
+
250
+
251
+ <div id="new-method" class="method-detail ">
252
+ <a name="M000089"></a>
253
+
254
+ <div class="method-heading">
255
+
256
+ <span class="method-name">new</span><span
257
+ class="method-args">(*args)</span>
258
+ <span class="method-click-advice">click to toggle source</span>
259
+
260
+ </div>
261
+
262
+ <div class="method-description">
263
+
264
+ <p class="missing-docs">(Not documented)</p>
265
+
266
+
267
+
268
+ <div class="method-source-code"
269
+ id="new-source">
270
+ <pre>
271
+ <span class="ruby-comment cmt"># File log4r/outputter/remoteoutputter.rb, line 20</span>
272
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
273
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">RuntimeError</span>, <span class="ruby-value str">&quot;LogServer not supported. ROMP is required&quot;</span>, <span class="ruby-identifier">caller</span>
274
+ <span class="ruby-keyword kw">end</span></pre>
275
+ </div>
276
+
277
+ </div>
278
+
279
+
280
+ </div>
281
+
282
+
283
+ </div>
284
+
285
+ <div id="public-instance-method-details" class="method-section section">
286
+ <h3 class="section-header">Public Instance Methods</h3>
287
+
288
+
289
+ <div id="flush-method" class="method-detail ">
290
+ <a name="M000090"></a>
291
+
292
+ <div class="method-heading">
293
+
294
+ <span class="method-name">flush</span><span
295
+ class="method-args">()</span>
296
+ <span class="method-click-advice">click to toggle source</span>
297
+
298
+ </div>
299
+
300
+ <div class="method-description">
301
+
302
+ <p>
303
+ Call flush to send any remaining LogEvents to the remote server.
304
+ </p>
305
+
306
+
307
+
308
+ <div class="method-source-code"
309
+ id="flush-source">
310
+ <pre>
311
+ <span class="ruby-comment cmt"># File log4r/outputter/remoteoutputter.rb, line 27</span>
312
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">flush</span>
313
+ <span class="ruby-identifier">synch</span> { <span class="ruby-identifier">send_buffer</span> }
314
+ <span class="ruby-keyword kw">end</span></pre>
315
+ </div>
316
+
317
+ </div>
318
+
319
+
320
+ </div>
321
+
322
+
323
+ </div>
324
+
325
+ <div id="private-instance-method-details" class="method-section section">
326
+ <h3 class="section-header">Private Instance Methods</h3>
327
+
328
+
329
+ <div id="canonical-log-method" class="method-detail ">
330
+ <a name="M000091"></a>
331
+
332
+ <div class="method-heading">
333
+
334
+ <span class="method-name">canonical_log</span><span
335
+ class="method-args">(logevent)</span>
336
+ <span class="method-click-advice">click to toggle source</span>
337
+
338
+ </div>
339
+
340
+ <div class="method-description">
341
+
342
+ <p class="missing-docs">(Not documented)</p>
343
+
344
+
345
+
346
+ <div class="method-source-code"
347
+ id="canonical-log-source">
348
+ <pre>
349
+ <span class="ruby-comment cmt"># File log4r/outputter/remoteoutputter.rb, line 33</span>
350
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">canonical_log</span>(<span class="ruby-identifier">logevent</span>)
351
+ <span class="ruby-identifier">synch</span> {
352
+ <span class="ruby-ivar">@buff</span>.<span class="ruby-identifier">push</span> <span class="ruby-identifier">logevent</span>
353
+ <span class="ruby-identifier">send_buffer</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@buff</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-ivar">@buffsize</span>
354
+ }
355
+ <span class="ruby-keyword kw">end</span></pre>
356
+ </div>
357
+
358
+ </div>
359
+
360
+
361
+ </div>
362
+
363
+
364
+ </div>
365
+
366
+
367
+ </div>
368
+
369
+
370
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
371
+
372
+ <p>Disabled; run with --debug to generate this.</p>
373
+
374
+ </div>
375
+
376
+ <div id="validator-badges">
377
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
378
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
379
+ Rdoc Generator</a> 1.1.6</small>.</p>
380
+ </div>
381
+
382
+ </body>
383
+ </html>
384
+