File: log4net.Core.IOptionHandler.html

package info (click to toggle)
log4net 1.2.10%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 16,716 kB
  • ctags: 3,590
  • sloc: cs: 25,174; xml: 8,133; cpp: 91; makefile: 57; ansic: 7
file content (359 lines) | stat: -rw-r--r-- 18,247 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
<html dir="LTR">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
    <title>IOptionHandler Interface</title>
    <xml>
    </xml>
    <link rel="stylesheet" type="text/css" href="MSDN.css" />
  </head>
  <body id="bodyID" class="dtBODY">
    <div id="nsbanner">
      <div id="bannerrow1">
        <table class="bannerparthead" cellspacing="0">
          <tr id="hdr">
            <td class="runninghead">log4net SDK Reference</td>
            <td class="product">
            </td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1">IOptionHandler Interface</h1>
      </div>
    </div>
    <div id="nstext">
      <p> Interface used to delay activate a configured object. </p>
      <p>For a list of all members of this type, see <a href="log4net.Core.IOptionHandlerMembers.html">IOptionHandler Members</a>.</p>
      <p>
        <b>log4net.Core.IOptionHandler</b>
        <br /><a href="log4net.Filter.IFilter.html">log4net.Filter.IFilter</a></p>
      <div class="syntax">
        <span class="lang">[VisualBasic]</span>
        <br />PublicInterfaceIOptionHandler</div>
      <div class="syntax">
        <span class="lang">[C#]</span>
        <div>publicinterfaceIOptionHandler</div>
      </div>
      <h4 class="dtH4">Types that implement IOptionHandler</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
          <tr valign="top">
            <th width="50%">Type</th>
            <th width="50%">Description</th>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.AdoNetAppender.html">AdoNetAppender</a>
            </td>
            <td width="50%"> Appender that logs to a database. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.AnsiColorTerminalAppender.html">AnsiColorTerminalAppender</a>
            </td>
            <td width="50%"> Appends logging events to the terminal using ANSI color escape sequences. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.AnsiColorTerminalAppender.LevelColors.html">AnsiColorTerminalAppender.LevelColors</a>
            </td>
            <td width="50%"> A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.AppenderSkeleton.html">AppenderSkeleton</a>
            </td>
            <td width="50%"> Abstract base class implementation of <a href="log4net.Appender.IAppender.html">IAppender</a>. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.AspNetTraceAppender.html">AspNetTraceAppender</a>
            </td>
            <td width="50%">
            <p> Appends log events to the ASP.NET <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWebTraceContextClassTopic.asp">TraceContext</a> system. </p>
            </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.BufferingAppenderSkeleton.html">BufferingAppenderSkeleton</a>
            </td>
            <td width="50%"> Abstract base class implementation of <a href="log4net.Appender.IAppender.html">IAppender</a> that buffers events in a fixed size buffer. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.BufferingForwardingAppender.html">BufferingForwardingAppender</a>
            </td>
            <td width="50%"> Buffers events and then forwards them to attached appenders. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.ColoredConsoleAppender.html">ColoredConsoleAppender</a>
            </td>
            <td width="50%"> Appends logging events to the console. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.ColoredConsoleAppender.LevelColors.html">ColoredConsoleAppender.LevelColors</a>
            </td>
            <td width="50%"> A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.ConsoleAppender.html">ConsoleAppender</a>
            </td>
            <td width="50%"> Appends logging events to the console. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.DebugAppender.html">DebugAppender</a>
            </td>
            <td width="50%"> Appends log events to the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsDebugClassTopic.asp">Debug</a> system. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.EventLogAppender.html">EventLogAppender</a>
            </td>
            <td width="50%"> Writes events to the system event log. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.EventLogAppender.Level2EventLogEntryType.html">EventLogAppender.Level2EventLogEntryType</a>
            </td>
            <td width="50%"> A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.FileAppender.html">FileAppender</a>
            </td>
            <td width="50%"> Appends logging events to a file. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.ForwardingAppender.html">ForwardingAppender</a>
            </td>
            <td width="50%"> This appender forwards logging events to attached appenders. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.LocalSyslogAppender.html">LocalSyslogAppender</a>
            </td>
            <td width="50%"> Logs events to a local syslog service. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.LocalSyslogAppender.LevelSeverity.html">LocalSyslogAppender.LevelSeverity</a>
            </td>
            <td width="50%"> A class to act as a mapping between the level that a logging call is made at and the syslog severity that is should be logged at. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.MemoryAppender.html">MemoryAppender</a>
            </td>
            <td width="50%"> Stores logging events in an array. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.NetSendAppender.html">NetSendAppender</a>
            </td>
            <td width="50%"> Logs entries by sending network messages using the <a href="log4net.Appender.NetSendAppender.NetMessageBufferSend.html">NetMessageBufferSend</a> native function. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.OutputDebugStringAppender.html">OutputDebugStringAppender</a>
            </td>
            <td width="50%"> Appends log events to the OutputDebugString system. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.RemoteSyslogAppender.html">RemoteSyslogAppender</a>
            </td>
            <td width="50%"> Logs events to a remote syslog daemon. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.RemoteSyslogAppender.LevelSeverity.html">RemoteSyslogAppender.LevelSeverity</a>
            </td>
            <td width="50%"> A class to act as a mapping between the level that a logging call is made at and the syslog severity that is should be logged at. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.RemotingAppender.html">RemotingAppender</a>
            </td>
            <td width="50%"> Delivers logging events to a remote logging sink. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.RollingFileAppender.html">RollingFileAppender</a>
            </td>
            <td width="50%"> Appender that rolls log files based on size or date or both. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.SmtpAppender.html">SmtpAppender</a>
            </td>
            <td width="50%"> Send an e-mail when a specific logging event occurs, typically on errors or fatal errors. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.SmtpPickupDirAppender.html">SmtpPickupDirAppender</a>
            </td>
            <td width="50%"> Send an email when a specific logging event occurs, typically on errors or fatal errors. Rather than sending via smtp it writes a file into the directory specified by <a href="log4net.Appender.SmtpPickupDirAppender.PickupDir.html">PickupDir</a>. This allows services such as the IIS SMTP agent to manage sending the messages. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.TelnetAppender.html">TelnetAppender</a>
            </td>
            <td width="50%"> Appender that allows clients to connect via Telnet to receive log messages </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.TextWriterAppender.html">TextWriterAppender</a>
            </td>
            <td width="50%"> Sends logging events to a <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemIOTextWriterClassTopic.asp">TextWriter</a>. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.TraceAppender.html">TraceAppender</a>
            </td>
            <td width="50%"> Appends log events to the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsTraceClassTopic.asp">Trace</a> system. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Appender.UdpAppender.html">UdpAppender</a>
            </td>
            <td width="50%"> Sends logging events as connectionless UDP datagrams to a remote host or a multicast group using an <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemNetSocketsUdpClientClassTopic.asp">UdpClient</a>. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Filter.DenyAllFilter.html">DenyAllFilter</a>
            </td>
            <td width="50%"> This filter drops all <a href="log4net.Core.LoggingEvent.html">LoggingEvent</a>. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Filter.FilterSkeleton.html">FilterSkeleton</a>
            </td>
            <td width="50%"> Subclass this type to implement customized logging event filtering </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Filter.LevelMatchFilter.html">LevelMatchFilter</a>
            </td>
            <td width="50%"> This is a very simple filter based on <a href="log4net.Core.Level.html">Level</a> matching. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Filter.LevelRangeFilter.html">LevelRangeFilter</a>
            </td>
            <td width="50%"> This is a simple filter based on <a href="log4net.Core.Level.html">Level</a> matching. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Filter.LoggerMatchFilter.html">LoggerMatchFilter</a>
            </td>
            <td width="50%"> Simple filter to match a string in the event's logger name. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Filter.MdcFilter.html">MdcFilter</a>
            </td>
            <td width="50%"> Simple filter to match a keyed string in the <a href="log4net.MDC.html">MDC</a>
            </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Filter.NdcFilter.html">NdcFilter</a>
            </td>
            <td width="50%"> Simple filter to match a string in the <a href="log4net.NDC.html">NDC</a>
            </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Filter.PropertyFilter.html">PropertyFilter</a>
            </td>
            <td width="50%"> Simple filter to match a string an event property </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Filter.StringMatchFilter.html">StringMatchFilter</a>
            </td>
            <td width="50%"> Simple filter to match a string in the rendered message </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Layout.ExceptionLayout.html">ExceptionLayout</a>
            </td>
            <td width="50%"> A Layout that renders only the Exception text from the logging event </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Layout.LayoutSkeleton.html">LayoutSkeleton</a>
            </td>
            <td width="50%"> Extend this abstract class to create your own log layout format. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Layout.PatternLayout.html">PatternLayout</a>
            </td>
            <td width="50%"> A flexible layout configurable with pattern string. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Layout.SimpleLayout.html">SimpleLayout</a>
            </td>
            <td width="50%"> A very simple layout </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Layout.XmlLayout.html">XmlLayout</a>
            </td>
            <td width="50%"> Layout that formats the log events as XML elements. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Layout.XmlLayoutBase.html">XmlLayoutBase</a>
            </td>
            <td width="50%"> Layout that formats the log events as XML elements. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Layout.XmlLayoutSchemaLog4j.html">XmlLayoutSchemaLog4j</a>
            </td>
            <td width="50%"> Layout that formats the log events as XML elements compatible with the log4j schema </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Util.LevelMapping.html">LevelMapping</a>
            </td>
            <td width="50%"> Manages a mapping from levels to <a href="log4net.Util.LevelMappingEntry.html">LevelMappingEntry</a>
            </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Util.LevelMappingEntry.html">LevelMappingEntry</a>
            </td>
            <td width="50%"> An entry in the <a href="log4net.Util.LevelMapping.html">LevelMapping</a>
            </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Util.PatternString.html">PatternString</a>
            </td>
            <td width="50%"> This class implements a patterned string. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="log4net.Util.WindowsSecurityContext.html">WindowsSecurityContext</a>
            </td>
            <td width="50%"> Impersonate a Windows Account </td>
          </tr>
        </table>
      </div>
      <h4 class="dtH4">Remarks</h4>
            <p> This allows an object to defer activation of its options until all options have been set. This is required for components which have related options that remain ambiguous until all are set. </p>
            <p> If a component implements this interface then the <a href="log4net.Core.IOptionHandler.ActivateOptions.html">ActivateOptions</a> method must be called by the container after its all the configured properties have been set and before the component can be used. </p>
            <h4 class="dtH4">Requirements</h4><p><b>Namespace: </b><a href="log4net.Core.html">log4net.Core</a></p><p><b>Assembly: </b>log4net (in log4net.dll)
					</p><h4 class="dtH4">See Also</h4><p><a href="log4net.Core.IOptionHandlerMembers.html">IOptionHandler Members</a> | <a href="log4net.Core.html">log4net.Core Namespace</a></p><hr /><div id="footer"><p><a href="http://logging.apache.org/log4net">Copyright 2001-2006 The Apache Software Foundation.</a></p><p>Generated from assembly log4net [1.2.10.0]</p></div></div>
  </body>
</html>