1 <?xml version="1.0"?>
\r
7 <member name="T:log4net.Appender.AdoNetAppender">
\r
9 Appender that logs to a database.
\r
13 <see cref="T:log4net.Appender.AdoNetAppender"/> appends logging events to a table within a
\r
14 database. The appender can be configured to specify the connection
\r
15 string by setting the <see cref="P:log4net.Appender.AdoNetAppender.ConnectionString"/> property.
\r
16 The connection type (provider) can be specified by setting the <see cref="P:log4net.Appender.AdoNetAppender.ConnectionType"/>
\r
17 property. For more information on database connection strings for
\r
18 your specific database see <a href="http://www.connectionstrings.com/">http://www.connectionstrings.com/</a>.
\r
21 Records are written into the database either using a prepared
\r
22 statement or a stored procedure. The <see cref="P:log4net.Appender.AdoNetAppender.CommandType"/> property
\r
23 is set to <see cref="F:System.Data.CommandType.Text"/> (<c>System.Data.CommandType.Text</c>) to specify a prepared statement
\r
24 or to <see cref="F:System.Data.CommandType.StoredProcedure"/> (<c>System.Data.CommandType.StoredProcedure</c>) to specify a stored
\r
28 The prepared statement text or the name of the stored procedure
\r
29 must be set in the <see cref="P:log4net.Appender.AdoNetAppender.CommandText"/> property.
\r
32 The prepared statement or stored procedure can take a number
\r
33 of parameters. Parameters are added using the <see cref="M:log4net.Appender.AdoNetAppender.AddParameter(log4net.Appender.AdoNetAppenderParameter)"/>
\r
34 method. This adds a single <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> to the
\r
35 ordered list of parameters. The <see cref="T:log4net.Appender.AdoNetAppenderParameter"/>
\r
36 type may be subclassed if required to provide database specific
\r
37 functionality. The <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> specifies
\r
38 the parameter name, database type, size, and how the value should
\r
39 be generated using a <see cref="T:log4net.Layout.ILayout"/>.
\r
43 An example of a SQL Server table that could be logged to:
\r
45 CREATE TABLE [dbo].[Log] (
\r
46 [ID] [int] IDENTITY (1, 1) NOT NULL ,
\r
47 [Date] [datetime] NOT NULL ,
\r
48 [Thread] [varchar] (255) NOT NULL ,
\r
49 [Level] [varchar] (20) NOT NULL ,
\r
50 [Logger] [varchar] (255) NOT NULL ,
\r
51 [Message] [varchar] (4000) NOT NULL
\r
56 An example configuration to log to the above table:
\r
57 <code lang="XML" escaped="true">
\r
58 <appender name="AdoNetAppender_SqlServer" type="log4net.Appender.AdoNetAppender">
\r
59 <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
\r
60 <connectionString value="data source=SQLSVR;initial catalog=test_log4net;integrated security=false;persist security info=True;User ID=sa;Password=sa"/>
\r
61 <commandText value="INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message]) VALUES (@log_date, @thread, @log_level, @logger, @message)"/>
\r
63 <parameterName value="@log_date"/>
\r
64 <dbType value="DateTime"/>
\r
65 <layout type="log4net.Layout.PatternLayout" value="%date{yyyy'-'MM'-'dd HH':'mm':'ss'.'fff}"/>
\r
68 <parameterName value="@thread"/>
\r
69 <dbType value="String"/>
\r
71 <layout type="log4net.Layout.PatternLayout" value="%thread"/>
\r
74 <parameterName value="@log_level"/>
\r
75 <dbType value="String"/>
\r
77 <layout type="log4net.Layout.PatternLayout" value="%level"/>
\r
80 <parameterName value="@logger"/>
\r
81 <dbType value="String"/>
\r
83 <layout type="log4net.Layout.PatternLayout" value="%logger"/>
\r
86 <parameterName value="@message"/>
\r
87 <dbType value="String"/>
\r
88 <size value="4000"/>
\r
89 <layout type="log4net.Layout.PatternLayout" value="%message"/>
\r
94 <author>Julian Biddle</author>
\r
95 <author>Nicko Cadell</author>
\r
96 <author>Gert Driesen</author>
\r
97 <author>Lance Nehring</author>
\r
99 <member name="T:log4net.Appender.BufferingAppenderSkeleton">
\r
101 Abstract base class implementation of <see cref="T:log4net.Appender.IAppender"/> that
\r
102 buffers events in a fixed size buffer.
\r
106 This base class should be used by appenders that need to buffer a
\r
107 number of events before logging them. For example the <see cref="T:log4net.Appender.AdoNetAppender"/>
\r
108 buffers events and then submits the entire contents of the buffer to
\r
109 the underlying database in one go.
\r
112 Subclasses should override the <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>
\r
113 method to deliver the buffered events.
\r
115 <para>The BufferingAppenderSkeleton maintains a fixed size cyclic
\r
116 buffer of events. The size of the buffer is set using
\r
117 the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> property.
\r
119 <para>A <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> is used to inspect
\r
120 each event as it arrives in the appender. If the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/>
\r
121 triggers, then the current buffer is sent immediately
\r
122 (see <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>). Otherwise the event
\r
123 is stored in the buffer. For example, an evaluator can be used to
\r
124 deliver the events immediately when an ERROR event arrives.
\r
127 The buffering appender can be configured in a <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> mode.
\r
128 By default the appender is NOT lossy. When the buffer is full all
\r
129 the buffered events are sent with <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>.
\r
130 If the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> property is set to <c>true</c> then the
\r
131 buffer will not be sent when it is full, and new events arriving
\r
132 in the appender will overwrite the oldest event in the buffer.
\r
133 In lossy mode the buffer will only be sent when the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/>
\r
134 triggers. This can be useful behavior when you need to know about
\r
135 ERROR events but not about events with a lower level, configure an
\r
136 evaluator that will trigger when an ERROR event arrives, the whole
\r
137 buffer will be sent which gives a history of events leading up to
\r
141 <author>Nicko Cadell</author>
\r
142 <author>Gert Driesen</author>
\r
144 <member name="T:log4net.Appender.AppenderSkeleton">
\r
146 Abstract base class implementation of <see cref="T:log4net.Appender.IAppender"/>.
\r
150 This class provides the code for common functionality, such
\r
151 as support for threshold filtering and support for general filters.
\r
154 Appenders can also implement the <see cref="T:log4net.Core.IOptionHandler"/> interface. Therefore
\r
155 they would require that the <see cref="M:log4net.Core.IOptionHandler.ActivateOptions"/> method
\r
156 be called after the appenders properties have been configured.
\r
159 <author>Nicko Cadell</author>
\r
160 <author>Gert Driesen</author>
\r
162 <member name="T:log4net.Appender.IAppender">
\r
164 Implement this interface for your own strategies for printing log statements.
\r
168 Implementors should consider extending the <see cref="T:log4net.Appender.AppenderSkeleton"/>
\r
169 class which provides a default implementation of this interface.
\r
172 Appenders can also implement the <see cref="T:log4net.Core.IOptionHandler"/> interface. Therefore
\r
173 they would require that the <see cref="M:log4net.Core.IOptionHandler.ActivateOptions"/> method
\r
174 be called after the appenders properties have been configured.
\r
177 <author>Nicko Cadell</author>
\r
178 <author>Gert Driesen</author>
\r
180 <member name="M:log4net.Appender.IAppender.Close">
\r
182 Closes the appender and releases resources.
\r
186 Releases any resources allocated within the appender such as file handles,
\r
187 network connections, etc.
\r
190 It is a programming error to append to a closed appender.
\r
194 <member name="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)">
\r
196 Log the logging event in Appender specific way.
\r
198 <param name="loggingEvent">The event to log</param>
\r
201 This method is called to log a message into this appender.
\r
205 <member name="P:log4net.Appender.IAppender.Name">
\r
207 Gets or sets the name of this appender.
\r
209 <value>The name of the appender.</value>
\r
211 <para>The name uniquely identifies the appender.</para>
\r
214 <member name="T:log4net.Appender.IBulkAppender">
\r
216 Interface for appenders that support bulk logging.
\r
220 This interface extends the <see cref="T:log4net.Appender.IAppender"/> interface to
\r
221 support bulk logging of <see cref="T:log4net.Core.LoggingEvent"/> objects. Appenders
\r
222 should only implement this interface if they can bulk log efficiently.
\r
225 <author>Nicko Cadell</author>
\r
227 <member name="M:log4net.Appender.IBulkAppender.DoAppend(log4net.Core.LoggingEvent[])">
\r
229 Log the array of logging events in Appender specific way.
\r
231 <param name="loggingEvents">The events to log</param>
\r
234 This method is called to log an array of events into this appender.
\r
238 <member name="T:log4net.Core.IOptionHandler">
\r
240 Interface used to delay activate a configured object.
\r
244 This allows an object to defer activation of its options until all
\r
245 options have been set. This is required for components which have
\r
246 related options that remain ambiguous until all are set.
\r
249 If a component implements this interface then the <see cref="M:log4net.Core.IOptionHandler.ActivateOptions"/> method
\r
250 must be called by the container after its all the configured properties have been set
\r
251 and before the component can be used.
\r
254 <author>Nicko Cadell</author>
\r
256 <member name="M:log4net.Core.IOptionHandler.ActivateOptions">
\r
258 Activate the options that were previously set with calls to properties.
\r
262 This allows an object to defer activation of its options until all
\r
263 options have been set. This is required for components which have
\r
264 related options that remain ambiguous until all are set.
\r
267 If a component implements this interface then this method must be called
\r
268 after its properties have been set before the component can be used.
\r
272 <member name="F:log4net.Appender.AppenderSkeleton.c_renderBufferSize">
\r
274 Initial buffer size
\r
277 <member name="F:log4net.Appender.AppenderSkeleton.c_renderBufferMaxCapacity">
\r
279 Maximum buffer size before it is recycled
\r
282 <member name="M:log4net.Appender.AppenderSkeleton.#ctor">
\r
284 Default constructor
\r
287 <para>Empty default constructor</para>
\r
290 <member name="M:log4net.Appender.AppenderSkeleton.Finalize">
\r
292 Finalizes this appender by calling the implementation's
\r
293 <see cref="M:log4net.Appender.AppenderSkeleton.Close"/> method.
\r
297 If this appender has not been closed then the <c>Finalize</c> method
\r
298 will call <see cref="M:log4net.Appender.AppenderSkeleton.Close"/>.
\r
302 <member name="M:log4net.Appender.AppenderSkeleton.ActivateOptions">
\r
304 Initialize the appender based on the options set
\r
308 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
309 activation scheme. The <see cref="M:log4net.Appender.AppenderSkeleton.ActivateOptions"/> method must
\r
310 be called on this object after the configuration properties have
\r
311 been set. Until <see cref="M:log4net.Appender.AppenderSkeleton.ActivateOptions"/> is called this
\r
312 object is in an undefined state and must not be used.
\r
315 If any of the configuration properties are modified then
\r
316 <see cref="M:log4net.Appender.AppenderSkeleton.ActivateOptions"/> must be called again.
\r
320 <member name="M:log4net.Appender.AppenderSkeleton.Close">
\r
322 Closes the appender and release resources.
\r
326 Release any resources allocated within the appender such as file handles,
\r
327 network connections, etc.
\r
330 It is a programming error to append to a closed appender.
\r
333 This method cannot be overridden by subclasses. This method
\r
334 delegates the closing of the appender to the <see cref="M:log4net.Appender.AppenderSkeleton.OnClose"/>
\r
335 method which must be overridden in the subclass.
\r
339 <member name="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)">
\r
341 Performs threshold checks and invokes filters before
\r
342 delegating actual logging to the subclasses specific
\r
343 <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> method.
\r
345 <param name="loggingEvent">The event to log.</param>
\r
348 This method cannot be overridden by derived classes. A
\r
349 derived class should override the <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> method
\r
350 which is called by this method.
\r
353 The implementation of this method is as follows:
\r
356 <list type="bullet">
\r
359 Checks that the severity of the <paramref name="loggingEvent"/>
\r
360 is greater than or equal to the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> of this
\r
361 appender.</description>
\r
365 Checks that the <see cref="T:log4net.Filter.IFilter"/> chain accepts the
\r
366 <paramref name="loggingEvent"/>.
\r
371 Calls <see cref="M:log4net.Appender.AppenderSkeleton.PreAppendCheck"/> and checks that
\r
372 it returns <c>true</c>.</description>
\r
377 If all of the above steps succeed then the <paramref name="loggingEvent"/>
\r
378 will be passed to the abstract <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> method.
\r
382 <member name="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent[])">
\r
384 Performs threshold checks and invokes filters before
\r
385 delegating actual logging to the subclasses specific
\r
386 <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent[])"/> method.
\r
388 <param name="loggingEvents">The array of events to log.</param>
\r
391 This method cannot be overridden by derived classes. A
\r
392 derived class should override the <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent[])"/> method
\r
393 which is called by this method.
\r
396 The implementation of this method is as follows:
\r
399 <list type="bullet">
\r
402 Checks that the severity of the <paramref name="loggingEvent"/>
\r
403 is greater than or equal to the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> of this
\r
404 appender.</description>
\r
408 Checks that the <see cref="T:log4net.Filter.IFilter"/> chain accepts the
\r
409 <paramref name="loggingEvent"/>.
\r
414 Calls <see cref="M:log4net.Appender.AppenderSkeleton.PreAppendCheck"/> and checks that
\r
415 it returns <c>true</c>.</description>
\r
420 If all of the above steps succeed then the <paramref name="loggingEvents"/>
\r
421 will be passed to the <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent[])"/> method.
\r
425 <member name="M:log4net.Appender.AppenderSkeleton.FilterEvent(log4net.Core.LoggingEvent)">
\r
427 Test if the logging event should we output by this appender
\r
429 <param name="loggingEvent">the event to test</param>
\r
430 <returns><c>true</c> if the event should be output, <c>false</c> if the event should be ignored</returns>
\r
433 This method checks the logging event against the threshold level set
\r
434 on this appender and also against the filters specified on this
\r
438 The implementation of this method is as follows:
\r
441 <list type="bullet">
\r
444 Checks that the severity of the <paramref name="loggingEvent"/>
\r
445 is greater than or equal to the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> of this
\r
446 appender.</description>
\r
450 Checks that the <see cref="T:log4net.Filter.IFilter"/> chain accepts the
\r
451 <paramref name="loggingEvent"/>.
\r
458 <member name="M:log4net.Appender.AppenderSkeleton.AddFilter(log4net.Filter.IFilter)">
\r
460 Adds a filter to the end of the filter chain.
\r
462 <param name="filter">the filter to add to this appender</param>
\r
465 The Filters are organized in a linked list.
\r
468 Setting this property causes the new filter to be pushed onto the
\r
469 back of the filter chain.
\r
473 <member name="M:log4net.Appender.AppenderSkeleton.ClearFilters">
\r
475 Clears the filter list for this appender.
\r
479 Clears the filter list for this appender.
\r
483 <member name="M:log4net.Appender.AppenderSkeleton.IsAsSevereAsThreshold(log4net.Core.Level)">
\r
485 Checks if the message level is below this appender's threshold.
\r
487 <param name="level"><see cref="T:log4net.Core.Level"/> to test against.</param>
\r
490 If there is no threshold set, then the return value is always <c>true</c>.
\r
494 <c>true</c> if the <paramref name="level"/> meets the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/>
\r
495 requirements of this appender.
\r
498 <member name="M:log4net.Appender.AppenderSkeleton.OnClose">
\r
500 Is called when the appender is closed. Derived classes should override
\r
501 this method if resources need to be released.
\r
505 Releases any resources allocated within the appender such as file handles,
\r
506 network connections, etc.
\r
509 It is a programming error to append to a closed appender.
\r
513 <member name="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)">
\r
515 Subclasses of <see cref="T:log4net.Appender.AppenderSkeleton"/> should implement this method
\r
516 to perform actual logging.
\r
518 <param name="loggingEvent">The event to append.</param>
\r
521 A subclass must implement this method to perform
\r
522 logging of the <paramref name="loggingEvent"/>.
\r
524 <para>This method will be called by <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/>
\r
525 if all the conditions listed for that method are met.
\r
528 To restrict the logging of events in the appender
\r
529 override the <see cref="M:log4net.Appender.AppenderSkeleton.PreAppendCheck"/> method.
\r
533 <member name="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent[])">
\r
535 Append a bulk array of logging events.
\r
537 <param name="loggingEvents">the array of logging events</param>
\r
540 This base class implementation calls the <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/>
\r
541 method for each element in the bulk array.
\r
544 A sub class that can better process a bulk array of events should
\r
545 override this method in addition to <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/>.
\r
549 <member name="M:log4net.Appender.AppenderSkeleton.PreAppendCheck">
\r
551 Called before <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> as a precondition.
\r
555 This method is called by <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/>
\r
556 before the call to the abstract <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> method.
\r
559 This method can be overridden in a subclass to extend the checks
\r
560 made before the event is passed to the <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> method.
\r
563 A subclass should ensure that they delegate this call to
\r
564 this base class if it is overridden.
\r
567 <returns><c>true</c> if the call to <see cref="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)"/> should proceed.</returns>
\r
569 <member name="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(log4net.Core.LoggingEvent)">
\r
571 Renders the <see cref="T:log4net.Core.LoggingEvent"/> to a string.
\r
573 <param name="loggingEvent">The event to render.</param>
\r
574 <returns>The event rendered as a string.</returns>
\r
577 Helper method to render a <see cref="T:log4net.Core.LoggingEvent"/> to
\r
578 a string. This appender must have a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/>
\r
579 set to render the <paramref name="loggingEvent"/> to
\r
582 <para>If there is exception data in the logging event and
\r
583 the layout does not process the exception, this method
\r
584 will append the exception text to the rendered string.
\r
587 Where possible use the alternative version of this method
\r
588 <see cref="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(System.IO.TextWriter,log4net.Core.LoggingEvent)"/>.
\r
589 That method streams the rendering onto an existing Writer
\r
590 which can give better performance if the caller already has
\r
591 a <see cref="T:System.IO.TextWriter"/> open and ready for writing.
\r
595 <member name="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
597 Renders the <see cref="T:log4net.Core.LoggingEvent"/> to a string.
\r
599 <param name="loggingEvent">The event to render.</param>
\r
600 <param name="writer">The TextWriter to write the formatted event to</param>
\r
603 Helper method to render a <see cref="T:log4net.Core.LoggingEvent"/> to
\r
604 a string. This appender must have a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/>
\r
605 set to render the <paramref name="loggingEvent"/> to
\r
608 <para>If there is exception data in the logging event and
\r
609 the layout does not process the exception, this method
\r
610 will append the exception text to the rendered string.
\r
613 Use this method in preference to <see cref="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(log4net.Core.LoggingEvent)"/>
\r
614 where possible. If, however, the caller needs to render the event
\r
615 to a string then <see cref="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(log4net.Core.LoggingEvent)"/> does
\r
616 provide an efficient mechanism for doing so.
\r
620 <member name="F:log4net.Appender.AppenderSkeleton.m_layout">
\r
622 The layout of this appender.
\r
625 See <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> for more information.
\r
628 <member name="F:log4net.Appender.AppenderSkeleton.m_name">
\r
630 The name of this appender.
\r
633 See <see cref="P:log4net.Appender.AppenderSkeleton.Name"/> for more information.
\r
636 <member name="F:log4net.Appender.AppenderSkeleton.m_threshold">
\r
638 The level threshold of this appender.
\r
642 There is no level threshold filtering by default.
\r
645 See <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> for more information.
\r
649 <member name="F:log4net.Appender.AppenderSkeleton.m_errorHandler">
\r
651 It is assumed and enforced that errorHandler is never null.
\r
655 It is assumed and enforced that errorHandler is never null.
\r
658 See <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/> for more information.
\r
662 <member name="F:log4net.Appender.AppenderSkeleton.m_headFilter">
\r
664 The first filter in the filter chain.
\r
668 Set to <c>null</c> initially.
\r
671 See <see cref="T:log4net.Filter.IFilter"/> for more information.
\r
675 <member name="F:log4net.Appender.AppenderSkeleton.m_tailFilter">
\r
677 The last filter in the filter chain.
\r
680 See <see cref="T:log4net.Filter.IFilter"/> for more information.
\r
683 <member name="F:log4net.Appender.AppenderSkeleton.m_closed">
\r
685 Flag indicating if this appender is closed.
\r
688 See <see cref="M:log4net.Appender.AppenderSkeleton.Close"/> for more information.
\r
691 <member name="F:log4net.Appender.AppenderSkeleton.m_recursiveGuard">
\r
693 The guard prevents an appender from repeatedly calling its own DoAppend method
\r
696 <member name="F:log4net.Appender.AppenderSkeleton.m_renderWriter">
\r
698 StringWriter used to render events
\r
701 <member name="P:log4net.Appender.AppenderSkeleton.Threshold">
\r
703 Gets or sets the threshold <see cref="T:log4net.Core.Level"/> of this appender.
\r
706 The threshold <see cref="T:log4net.Core.Level"/> of the appender.
\r
710 All log events with lower level than the threshold level are ignored
\r
714 In configuration files this option is specified by setting the
\r
715 value of the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> option to a level
\r
716 string, such as "DEBUG", "INFO" and so on.
\r
720 <member name="P:log4net.Appender.AppenderSkeleton.ErrorHandler">
\r
722 Gets or sets the <see cref="T:log4net.Core.IErrorHandler"/> for this appender.
\r
724 <value>The <see cref="T:log4net.Core.IErrorHandler"/> of the appender</value>
\r
727 The <see cref="T:log4net.Appender.AppenderSkeleton"/> provides a default
\r
728 implementation for the <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/> property.
\r
732 <member name="P:log4net.Appender.AppenderSkeleton.FilterHead">
\r
736 <value>The head of the filter chain filter chain.</value>
\r
739 Returns the head Filter. The Filters are organized in a linked list
\r
740 and so all Filters on this Appender are available through the result.
\r
744 <member name="P:log4net.Appender.AppenderSkeleton.Layout">
\r
746 Gets or sets the <see cref="T:log4net.Layout.ILayout"/> for this appender.
\r
748 <value>The layout of the appender.</value>
\r
751 See <see cref="P:log4net.Appender.AppenderSkeleton.RequiresLayout"/> for more information.
\r
754 <seealso cref="P:log4net.Appender.AppenderSkeleton.RequiresLayout"/>
\r
756 <member name="P:log4net.Appender.AppenderSkeleton.Name">
\r
758 Gets or sets the name of this appender.
\r
760 <value>The name of the appender.</value>
\r
763 The name uniquely identifies the appender.
\r
767 <member name="P:log4net.Appender.AppenderSkeleton.RequiresLayout">
\r
769 Tests if this appender requires a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> to be set.
\r
773 In the rather exceptional case, where the appender
\r
774 implementation admits a layout but can also work without it,
\r
775 then the appender should return <c>true</c>.
\r
778 This default implementation always returns <c>true</c>.
\r
782 <c>true</c> if the appender requires a layout object, otherwise <c>false</c>.
\r
785 <member name="F:log4net.Appender.BufferingAppenderSkeleton.DEFAULT_BUFFER_SIZE">
\r
787 The default buffer size.
\r
790 The default size of the cyclic buffer used to store events.
\r
791 This is set to 512 by default.
\r
794 <member name="M:log4net.Appender.BufferingAppenderSkeleton.#ctor">
\r
796 Initializes a new instance of the <see cref="T:log4net.Appender.BufferingAppenderSkeleton"/> class.
\r
800 Protected default constructor to allow subclassing.
\r
804 <member name="M:log4net.Appender.BufferingAppenderSkeleton.#ctor(System.Boolean)">
\r
806 Initializes a new instance of the <see cref="T:log4net.Appender.BufferingAppenderSkeleton"/> class.
\r
808 <param name="eventMustBeFixed">the events passed through this appender must be
\r
809 fixed by the time that they arrive in the derived class' <c>SendBuffer</c> method.</param>
\r
812 Protected constructor to allow subclassing.
\r
815 The <paramref name="eventMustBeFixed"/> should be set if the subclass
\r
816 expects the events delivered to be fixed even if the
\r
817 <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> is set to zero, i.e. when no buffering occurs.
\r
821 <member name="M:log4net.Appender.BufferingAppenderSkeleton.Flush">
\r
823 Flush the currently buffered events
\r
827 Flushes any events that have been buffered.
\r
830 If the appender is buffering in <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> mode then the contents
\r
831 of the buffer will NOT be flushed to the appender.
\r
835 <member name="M:log4net.Appender.BufferingAppenderSkeleton.Flush(System.Boolean)">
\r
837 Flush the currently buffered events
\r
839 <param name="flushLossyBuffer">set to <c>true</c> to flush the buffer of lossy events</param>
\r
842 Flushes events that have been buffered. If <paramref name="flushLossyBuffer"/> is
\r
843 <c>false</c> then events will only be flushed if this buffer is non-lossy mode.
\r
846 If the appender is buffering in <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> mode then the contents
\r
847 of the buffer will only be flushed if <paramref name="flushLossyBuffer"/> is <c>true</c>.
\r
848 In this case the contents of the buffer will be tested against the
\r
849 <see cref="P:log4net.Appender.BufferingAppenderSkeleton.LossyEvaluator"/> and if triggering will be output. All other buffered
\r
850 events will be discarded.
\r
853 If <paramref name="flushLossyBuffer"/> is <c>true</c> then the buffer will always
\r
854 be emptied by calling this method.
\r
858 <member name="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions">
\r
860 Initialize the appender based on the options set
\r
864 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
865 activation scheme. The <see cref="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions"/> method must
\r
866 be called on this object after the configuration properties have
\r
867 been set. Until <see cref="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions"/> is called this
\r
868 object is in an undefined state and must not be used.
\r
871 If any of the configuration properties are modified then
\r
872 <see cref="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions"/> must be called again.
\r
876 <member name="M:log4net.Appender.BufferingAppenderSkeleton.OnClose">
\r
878 Close this appender instance.
\r
882 Close this appender instance. If this appender is marked
\r
883 as not <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> then the remaining events in
\r
884 the buffer must be sent when the appender is closed.
\r
888 <member name="M:log4net.Appender.BufferingAppenderSkeleton.Append(log4net.Core.LoggingEvent)">
\r
890 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
\r
892 <param name="loggingEvent">the event to log</param>
\r
895 Stores the <paramref name="loggingEvent"/> in the cyclic buffer.
\r
898 The buffer will be sent (i.e. passed to the <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>
\r
899 method) if one of the following conditions is met:
\r
901 <list type="bullet">
\r
903 <description>The cyclic buffer is full and this appender is
\r
904 marked as not lossy (see <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/>)</description>
\r
907 <description>An <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> is set and
\r
908 it is triggered for the <paramref name="loggingEvent"/>
\r
909 specified.</description>
\r
913 Before the event is stored in the buffer it is fixed
\r
914 (see <see cref="M:log4net.Core.LoggingEvent.FixVolatileData(log4net.Core.FixFlags)"/>) to ensure that
\r
915 any data referenced by the event will be valid when the buffer
\r
920 <member name="M:log4net.Appender.BufferingAppenderSkeleton.SendFromBuffer(log4net.Core.LoggingEvent,log4net.Util.CyclicBuffer)">
\r
922 Sends the contents of the buffer.
\r
924 <param name="firstLoggingEvent">The first logging event.</param>
\r
925 <param name="buffer">The buffer containing the events that need to be send.</param>
\r
928 The subclass must override <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>.
\r
932 <member name="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])">
\r
936 <param name="events">The events that need to be send.</param>
\r
939 The subclass must override this method to process the buffered events.
\r
943 <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_bufferSize">
\r
945 The size of the cyclic buffer used to hold the logging events.
\r
948 Set to <see cref="F:log4net.Appender.BufferingAppenderSkeleton.DEFAULT_BUFFER_SIZE"/> by default.
\r
951 <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_cb">
\r
953 The cyclic buffer used to store the logging events.
\r
956 <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_evaluator">
\r
958 The triggering event evaluator that causes the buffer to be sent immediately.
\r
961 The object that is used to determine if an event causes the entire
\r
962 buffer to be sent immediately. This field can be <c>null</c>, which
\r
963 indicates that event triggering is not to be done. The evaluator
\r
964 can be set using the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> property. If this appender
\r
965 has the <see cref="F:log4net.Appender.BufferingAppenderSkeleton.m_lossy"/> (<see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> property) set to
\r
966 <c>true</c> then an <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must be set.
\r
969 <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_lossy">
\r
971 Indicates if the appender should overwrite events in the cyclic buffer
\r
972 when it becomes full, or if the buffer should be flushed when the
\r
976 If this field is set to <c>true</c> then an <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must
\r
980 <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_lossyEvaluator">
\r
982 The triggering event evaluator filters discarded events.
\r
985 The object that is used to determine if an event that is discarded should
\r
986 really be discarded or if it should be sent to the appenders.
\r
987 This field can be <c>null</c>, which indicates that all discarded events will
\r
991 <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_fixFlags">
\r
993 Value indicating which fields in the event should be fixed
\r
996 By default all fields are fixed
\r
999 <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_eventMustBeFixed">
\r
1001 The events delivered to the subclass must be fixed.
\r
1004 <member name="P:log4net.Appender.BufferingAppenderSkeleton.Lossy">
\r
1006 Gets or sets a value that indicates whether the appender is lossy.
\r
1009 <c>true</c> if the appender is lossy, otherwise <c>false</c>. The default is <c>false</c>.
\r
1013 This appender uses a buffer to store logging events before
\r
1014 delivering them. A triggering event causes the whole buffer
\r
1015 to be send to the remote sink. If the buffer overruns before
\r
1016 a triggering event then logging events could be lost. Set
\r
1017 <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> to <c>false</c> to prevent logging events
\r
1020 <para>If <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> is set to <c>true</c> then an
\r
1021 <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must be specified.</para>
\r
1024 <member name="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize">
\r
1026 Gets or sets the size of the cyclic buffer used to hold the
\r
1030 The size of the cyclic buffer used to hold the logging events.
\r
1034 The <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> option takes a positive integer
\r
1035 representing the maximum number of logging events to collect in
\r
1036 a cyclic buffer. When the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> is reached,
\r
1037 oldest events are deleted as new events are added to the
\r
1038 buffer. By default the size of the cyclic buffer is 512 events.
\r
1041 If the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> is set to a value less than
\r
1042 or equal to 1 then no buffering will occur. The logging event
\r
1043 will be delivered synchronously (depending on the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/>
\r
1044 and <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> properties). Otherwise the event will
\r
1049 <member name="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator">
\r
1051 Gets or sets the <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> that causes the
\r
1052 buffer to be sent immediately.
\r
1055 The <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> that causes the buffer to be
\r
1060 The evaluator will be called for each event that is appended to this
\r
1061 appender. If the evaluator triggers then the current buffer will
\r
1062 immediately be sent (see <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>).
\r
1064 <para>If <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> is set to <c>true</c> then an
\r
1065 <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must be specified.</para>
\r
1068 <member name="P:log4net.Appender.BufferingAppenderSkeleton.LossyEvaluator">
\r
1070 Gets or sets the value of the <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> to use.
\r
1073 The value of the <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> to use.
\r
1077 The evaluator will be called for each event that is discarded from this
\r
1078 appender. If the evaluator triggers then the current buffer will immediately
\r
1079 be sent (see <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>).
\r
1083 <member name="P:log4net.Appender.BufferingAppenderSkeleton.OnlyFixPartialEventData">
\r
1085 Gets or sets a value indicating if only part of the logging event data
\r
1089 <c>true</c> if the appender should only fix part of the logging event
\r
1090 data, otherwise <c>false</c>. The default is <c>false</c>.
\r
1094 Setting this property to <c>true</c> will cause only part of the
\r
1095 event data to be fixed and serialized. This will improve performance.
\r
1098 See <see cref="M:log4net.Core.LoggingEvent.FixVolatileData(log4net.Core.FixFlags)"/> for more information.
\r
1102 <member name="P:log4net.Appender.BufferingAppenderSkeleton.Fix">
\r
1104 Gets or sets a the fields that will be fixed in the event
\r
1107 The event fields that will be fixed before the event is buffered
\r
1111 The logging event needs to have certain thread specific values
\r
1112 captured before it can be buffered. See <see cref="P:log4net.Core.LoggingEvent.Fix"/>
\r
1116 <seealso cref="P:log4net.Core.LoggingEvent.Fix"/>
\r
1118 <member name="M:log4net.Appender.AdoNetAppender.#ctor">
\r
1120 Initializes a new instance of the <see cref="T:log4net.Appender.AdoNetAppender"/> class.
\r
1123 Public default constructor to initialize a new instance of this class.
\r
1126 <member name="M:log4net.Appender.AdoNetAppender.ActivateOptions">
\r
1128 Initialize the appender based on the options set
\r
1132 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
1133 activation scheme. The <see cref="M:log4net.Appender.AdoNetAppender.ActivateOptions"/> method must
\r
1134 be called on this object after the configuration properties have
\r
1135 been set. Until <see cref="M:log4net.Appender.AdoNetAppender.ActivateOptions"/> is called this
\r
1136 object is in an undefined state and must not be used.
\r
1139 If any of the configuration properties are modified then
\r
1140 <see cref="M:log4net.Appender.AdoNetAppender.ActivateOptions"/> must be called again.
\r
1144 <member name="M:log4net.Appender.AdoNetAppender.OnClose">
\r
1146 Override the parent method to close the database
\r
1150 Closes the database command and database connection.
\r
1154 <member name="M:log4net.Appender.AdoNetAppender.SendBuffer(log4net.Core.LoggingEvent[])">
\r
1156 Inserts the events into the database.
\r
1158 <param name="events">The events to insert into the database.</param>
\r
1161 Insert all the events specified in the <paramref name="events"/>
\r
1162 array into the database.
\r
1166 <member name="M:log4net.Appender.AdoNetAppender.AddParameter(log4net.Appender.AdoNetAppenderParameter)">
\r
1168 Adds a parameter to the command.
\r
1170 <param name="parameter">The parameter to add to the command.</param>
\r
1173 Adds a parameter to the ordered list of command parameters.
\r
1177 <member name="M:log4net.Appender.AdoNetAppender.SendBuffer(System.Data.IDbTransaction,log4net.Core.LoggingEvent[])">
\r
1179 Writes the events to the database using the transaction specified.
\r
1181 <param name="dbTran">The transaction that the events will be executed under.</param>
\r
1182 <param name="events">The array of events to insert into the database.</param>
\r
1185 The transaction argument can be <c>null</c> if the appender has been
\r
1186 configured not to use transactions. See <see cref="P:log4net.Appender.AdoNetAppender.UseTransactions"/>
\r
1187 property for more information.
\r
1191 <member name="M:log4net.Appender.AdoNetAppender.GetLogStatement(log4net.Core.LoggingEvent)">
\r
1193 Formats the log message into database statement text.
\r
1195 <param name="logEvent">The event being logged.</param>
\r
1197 This method can be overridden by subclasses to provide
\r
1198 more control over the format of the database statement.
\r
1201 Text that can be passed to a <see cref="T:System.Data.IDbCommand"/>.
\r
1204 <member name="M:log4net.Appender.AdoNetAppender.InitializeDatabaseConnection">
\r
1206 Connects to the database.
\r
1209 <member name="M:log4net.Appender.AdoNetAppender.ResolveConnectionType">
\r
1211 Retrieves the class type of the ADO.NET provider.
\r
1215 Gets the Type of the ADO.NET provider to use to connect to the
\r
1216 database. This method resolves the type specified in the
\r
1217 <see cref="P:log4net.Appender.AdoNetAppender.ConnectionType"/> property.
\r
1220 Subclasses can override this method to return a different type
\r
1224 <returns>The <see cref="T:System.Type"/> of the ADO.NET provider</returns>
\r
1226 <member name="M:log4net.Appender.AdoNetAppender.InitializeDatabaseCommand">
\r
1228 Prepares the database command and initialize the parameters.
\r
1231 <member name="F:log4net.Appender.AdoNetAppender.m_usePreparedCommand">
\r
1233 Flag to indicate if we are using a command object
\r
1237 Set to <c>true</c> when the appender is to use a prepared
\r
1238 statement or stored procedure to insert into the database.
\r
1242 <member name="F:log4net.Appender.AdoNetAppender.m_parameters">
\r
1244 The list of <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> objects.
\r
1248 The list of <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> objects.
\r
1252 <member name="F:log4net.Appender.AdoNetAppender.m_securityContext">
\r
1254 The security context to use for privileged calls
\r
1257 <member name="F:log4net.Appender.AdoNetAppender.m_dbConnection">
\r
1259 The <see cref="T:System.Data.IDbConnection"/> that will be used
\r
1260 to insert logging events into a database.
\r
1263 <member name="F:log4net.Appender.AdoNetAppender.m_dbCommand">
\r
1265 The database command.
\r
1268 <member name="F:log4net.Appender.AdoNetAppender.m_connectionString">
\r
1270 Database connection string.
\r
1273 <member name="F:log4net.Appender.AdoNetAppender.m_connectionType">
\r
1275 String type name of the <see cref="T:System.Data.IDbConnection"/> type name.
\r
1278 <member name="F:log4net.Appender.AdoNetAppender.m_commandText">
\r
1280 The text of the command.
\r
1283 <member name="F:log4net.Appender.AdoNetAppender.m_commandType">
\r
1288 <member name="F:log4net.Appender.AdoNetAppender.m_useTransactions">
\r
1290 Indicates whether to use transactions when writing to the database.
\r
1293 <member name="F:log4net.Appender.AdoNetAppender.m_reconnectOnError">
\r
1295 Indicates whether to use transactions when writing to the database.
\r
1298 <member name="P:log4net.Appender.AdoNetAppender.ConnectionString">
\r
1300 Gets or sets the database connection string that is used to connect to
\r
1304 The database connection string used to connect to the database.
\r
1308 The connections string is specific to the connection type.
\r
1309 See <see cref="P:log4net.Appender.AdoNetAppender.ConnectionType"/> for more information.
\r
1312 <example>Connection string for MS Access via ODBC:
\r
1313 <code>"DSN=MS Access Database;UID=admin;PWD=;SystemDB=C:\data\System.mdw;SafeTransactions = 0;FIL=MS Access;DriverID = 25;DBQ=C:\data\train33.mdb"</code>
\r
1315 <example>Another connection string for MS Access via ODBC:
\r
1316 <code>"Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\Work\cvs_root\log4net-1.2\access.mdb;UID=;PWD=;"</code>
\r
1318 <example>Connection string for MS Access via OLE DB:
\r
1319 <code>"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Work\cvs_root\log4net-1.2\access.mdb;User Id=;Password=;"</code>
\r
1322 <member name="P:log4net.Appender.AdoNetAppender.ConnectionType">
\r
1324 Gets or sets the type name of the <see cref="T:System.Data.IDbConnection"/> connection
\r
1325 that should be created.
\r
1328 The type name of the <see cref="T:System.Data.IDbConnection"/> connection.
\r
1332 The type name of the ADO.NET provider to use.
\r
1335 The default is to use the OLE DB provider.
\r
1338 <example>Use the OLE DB Provider. This is the default value.
\r
1339 <code>System.Data.OleDb.OleDbConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</code>
\r
1341 <example>Use the MS SQL Server Provider.
\r
1342 <code>System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</code>
\r
1344 <example>Use the ODBC Provider.
\r
1345 <code>Microsoft.Data.Odbc.OdbcConnection,Microsoft.Data.Odbc,version=1.0.3300.0,publicKeyToken=b77a5c561934e089,culture=neutral</code>
\r
1346 This is an optional package that you can download from
\r
1347 <a href="http://msdn.microsoft.com/downloads">http://msdn.microsoft.com/downloads</a>
\r
1348 search for <b>ODBC .NET Data Provider</b>.
\r
1350 <example>Use the Oracle Provider.
\r
1351 <code>System.Data.OracleClient.OracleConnection, System.Data.OracleClient, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</code>
\r
1352 This is an optional package that you can download from
\r
1353 <a href="http://msdn.microsoft.com/downloads">http://msdn.microsoft.com/downloads</a>
\r
1354 search for <b>.NET Managed Provider for Oracle</b>.
\r
1357 <member name="P:log4net.Appender.AdoNetAppender.CommandText">
\r
1359 Gets or sets the command text that is used to insert logging events
\r
1360 into the database.
\r
1363 The command text used to insert logging events into the database.
\r
1367 Either the text of the prepared statement or the
\r
1368 name of the stored procedure to execute to write into
\r
1372 The <see cref="P:log4net.Appender.AdoNetAppender.CommandType"/> property determines if
\r
1373 this text is a prepared statement or a stored procedure.
\r
1377 <member name="P:log4net.Appender.AdoNetAppender.CommandType">
\r
1379 Gets or sets the command type to execute.
\r
1382 The command type to execute.
\r
1386 This value may be either <see cref="F:System.Data.CommandType.Text"/> (<c>System.Data.CommandType.Text</c>) to specify
\r
1387 that the <see cref="P:log4net.Appender.AdoNetAppender.CommandText"/> is a prepared statement to execute,
\r
1388 or <see cref="F:System.Data.CommandType.StoredProcedure"/> (<c>System.Data.CommandType.StoredProcedure</c>) to specify that the
\r
1389 <see cref="P:log4net.Appender.AdoNetAppender.CommandText"/> property is the name of a stored procedure
\r
1393 The default value is <see cref="F:System.Data.CommandType.Text"/> (<c>System.Data.CommandType.Text</c>).
\r
1397 <member name="P:log4net.Appender.AdoNetAppender.UseTransactions">
\r
1399 Should transactions be used to insert logging events in the database.
\r
1402 <c>true</c> if transactions should be used to insert logging events in
\r
1403 the database, otherwise <c>false</c>. The default value is <c>true</c>.
\r
1407 Gets or sets a value that indicates whether transactions should be used
\r
1408 to insert logging events in the database.
\r
1411 When set a single transaction will be used to insert the buffered events
\r
1412 into the database. Otherwise each event will be inserted without using
\r
1413 an explicit transaction.
\r
1417 <member name="P:log4net.Appender.AdoNetAppender.SecurityContext">
\r
1419 Gets or sets the <see cref="P:log4net.Appender.AdoNetAppender.SecurityContext"/> used to call the NetSend method.
\r
1422 The <see cref="P:log4net.Appender.AdoNetAppender.SecurityContext"/> used to call the NetSend method.
\r
1426 Unless a <see cref="P:log4net.Appender.AdoNetAppender.SecurityContext"/> specified here for this appender
\r
1427 the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
\r
1428 security context to use. The default behavior is to use the security context
\r
1429 of the current thread.
\r
1433 <member name="P:log4net.Appender.AdoNetAppender.ReconnectOnError">
\r
1435 Should this appender try to reconnect to the database on error.
\r
1438 <c>true</c> if the appender should try to reconnect to the database after an
\r
1439 error has occurred, otherwise <c>false</c>. The default value is <c>false</c>,
\r
1440 i.e. not to try to reconnect.
\r
1444 The default behaviour is for the appender not to try to reconnect to the
\r
1445 database if an error occurs. Subsequent logging events are discarded.
\r
1448 To force the appender to attempt to reconnect to the database set this
\r
1449 property to <c>true</c>.
\r
1452 When the appender attempts to connect to the database there may be a
\r
1453 delay of up to the connection timeout specified in the connection string.
\r
1454 This delay will block the calling application's thread.
\r
1455 Until the connection can be reestablished this potential delay may occur multiple times.
\r
1459 <member name="P:log4net.Appender.AdoNetAppender.Connection">
\r
1461 Gets or sets the underlying <see cref="T:System.Data.IDbConnection"/>.
\r
1464 The underlying <see cref="T:System.Data.IDbConnection"/>.
\r
1467 <see cref="T:log4net.Appender.AdoNetAppender"/> creates a <see cref="T:System.Data.IDbConnection"/> to insert
\r
1468 logging events into a database. Classes deriving from <see cref="T:log4net.Appender.AdoNetAppender"/>
\r
1469 can use this property to get or set this <see cref="T:System.Data.IDbConnection"/>. Use the
\r
1470 underlying <see cref="T:System.Data.IDbConnection"/> returned from <see cref="P:log4net.Appender.AdoNetAppender.Connection"/> if
\r
1471 you require access beyond that which <see cref="T:log4net.Appender.AdoNetAppender"/> provides.
\r
1474 <member name="T:log4net.Appender.AdoNetAppenderParameter">
\r
1476 Parameter type used by the <see cref="T:log4net.Appender.AdoNetAppender"/>.
\r
1480 This class provides the basic database parameter properties
\r
1481 as defined by the <see cref="T:System.Data.IDbDataParameter"/> interface.
\r
1483 <para>This type can be subclassed to provide database specific
\r
1484 functionality. The two methods that are called externally are
\r
1485 <see cref="M:log4net.Appender.AdoNetAppenderParameter.Prepare(System.Data.IDbCommand)"/> and <see cref="M:log4net.Appender.AdoNetAppenderParameter.FormatValue(System.Data.IDbCommand,log4net.Core.LoggingEvent)"/>.
\r
1489 <member name="M:log4net.Appender.AdoNetAppenderParameter.#ctor">
\r
1491 Initializes a new instance of the <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> class.
\r
1494 Default constructor for the AdoNetAppenderParameter class.
\r
1497 <member name="M:log4net.Appender.AdoNetAppenderParameter.Prepare(System.Data.IDbCommand)">
\r
1499 Prepare the specified database command object.
\r
1501 <param name="command">The command to prepare.</param>
\r
1504 Prepares the database command object by adding
\r
1505 this parameter to its collection of parameters.
\r
1509 <member name="M:log4net.Appender.AdoNetAppenderParameter.FormatValue(System.Data.IDbCommand,log4net.Core.LoggingEvent)">
\r
1511 Renders the logging event and set the parameter value in the command.
\r
1513 <param name="command">The command containing the parameter.</param>
\r
1514 <param name="loggingEvent">The event to be rendered.</param>
\r
1517 Renders the logging event using this parameters layout
\r
1518 object. Sets the value of the parameter on the command object.
\r
1522 <member name="F:log4net.Appender.AdoNetAppenderParameter.m_parameterName">
\r
1524 The name of this parameter.
\r
1527 <member name="F:log4net.Appender.AdoNetAppenderParameter.m_dbType">
\r
1529 The database type for this parameter.
\r
1532 <member name="F:log4net.Appender.AdoNetAppenderParameter.m_inferType">
\r
1534 Flag to infer type rather than use the DbType
\r
1537 <member name="F:log4net.Appender.AdoNetAppenderParameter.m_precision">
\r
1539 The precision for this parameter.
\r
1542 <member name="F:log4net.Appender.AdoNetAppenderParameter.m_scale">
\r
1544 The scale for this parameter.
\r
1547 <member name="F:log4net.Appender.AdoNetAppenderParameter.m_size">
\r
1549 The size for this parameter.
\r
1552 <member name="F:log4net.Appender.AdoNetAppenderParameter.m_layout">
\r
1554 The <see cref="T:log4net.Layout.IRawLayout"/> to use to render the
\r
1555 logging event into an object for this parameter.
\r
1558 <member name="P:log4net.Appender.AdoNetAppenderParameter.ParameterName">
\r
1560 Gets or sets the name of this parameter.
\r
1563 The name of this parameter.
\r
1567 The name of this parameter. The parameter name
\r
1568 must match up to a named parameter to the SQL stored procedure
\r
1569 or prepared statement.
\r
1573 <member name="P:log4net.Appender.AdoNetAppenderParameter.DbType">
\r
1575 Gets or sets the database type for this parameter.
\r
1578 The database type for this parameter.
\r
1582 The database type for this parameter. This property should
\r
1583 be set to the database type from the <see cref="P:log4net.Appender.AdoNetAppenderParameter.DbType"/>
\r
1584 enumeration. See <see cref="P:System.Data.IDataParameter.DbType"/>.
\r
1587 This property is optional. If not specified the ADO.NET provider
\r
1588 will attempt to infer the type from the value.
\r
1591 <seealso cref="P:System.Data.IDataParameter.DbType"/>
\r
1593 <member name="P:log4net.Appender.AdoNetAppenderParameter.Precision">
\r
1595 Gets or sets the precision for this parameter.
\r
1598 The precision for this parameter.
\r
1602 The maximum number of digits used to represent the Value.
\r
1605 This property is optional. If not specified the ADO.NET provider
\r
1606 will attempt to infer the precision from the value.
\r
1609 <seealso cref="P:System.Data.IDbDataParameter.Precision"/>
\r
1611 <member name="P:log4net.Appender.AdoNetAppenderParameter.Scale">
\r
1613 Gets or sets the scale for this parameter.
\r
1616 The scale for this parameter.
\r
1620 The number of decimal places to which Value is resolved.
\r
1623 This property is optional. If not specified the ADO.NET provider
\r
1624 will attempt to infer the scale from the value.
\r
1627 <seealso cref="P:System.Data.IDbDataParameter.Scale"/>
\r
1629 <member name="P:log4net.Appender.AdoNetAppenderParameter.Size">
\r
1631 Gets or sets the size for this parameter.
\r
1634 The size for this parameter.
\r
1638 The maximum size, in bytes, of the data within the column.
\r
1641 This property is optional. If not specified the ADO.NET provider
\r
1642 will attempt to infer the size from the value.
\r
1645 <seealso cref="P:System.Data.IDbDataParameter.Size"/>
\r
1647 <member name="P:log4net.Appender.AdoNetAppenderParameter.Layout">
\r
1649 Gets or sets the <see cref="T:log4net.Layout.IRawLayout"/> to use to
\r
1650 render the logging event into an object for this
\r
1654 The <see cref="T:log4net.Layout.IRawLayout"/> used to render the
\r
1655 logging event into an object for this parameter.
\r
1659 The <see cref="T:log4net.Layout.IRawLayout"/> that renders the value for this
\r
1663 The <see cref="T:log4net.Layout.RawLayoutConverter"/> can be used to adapt
\r
1664 any <see cref="T:log4net.Layout.ILayout"/> into a <see cref="T:log4net.Layout.IRawLayout"/>
\r
1665 for use in the property.
\r
1669 <member name="T:log4net.Appender.AnsiColorTerminalAppender">
\r
1671 Appends logging events to the terminal using ANSI color escape sequences.
\r
1675 AnsiColorTerminalAppender appends log events to the standard output stream
\r
1676 or the error output stream using a layout specified by the
\r
1677 user. It also allows the color of a specific level of message to be set.
\r
1680 This appender expects the terminal to understand the VT100 control set
\r
1681 in order to interpret the color codes. If the terminal or console does not
\r
1682 understand the control codes the behavior is not defined.
\r
1685 By default, all output is written to the console's standard output stream.
\r
1686 The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> property can be set to direct the output to the
\r
1690 NOTE: This appender writes each message to the <c>System.Console.Out</c> or
\r
1691 <c>System.Console.Error</c> that is set at the time the event is appended.
\r
1692 Therefore it is possible to programmatically redirect the output of this appender
\r
1693 (for example NUnit does this to capture program output). While this is the desired
\r
1694 behavior of this appender it may have security implications in your application.
\r
1697 When configuring the ANSI colored terminal appender, a mapping should be
\r
1698 specified to map a logging level to a color. For example:
\r
1700 <code lang="XML" escaped="true">
\r
1702 <level value="ERROR"/>
\r
1703 <foreColor value="White"/>
\r
1704 <backColor value="Red"/>
\r
1705 <attributes value="Bright,Underscore"/>
\r
1708 <level value="DEBUG"/>
\r
1709 <backColor value="Green"/>
\r
1713 The Level is the standard log4net logging level and ForeColor and BackColor can be any
\r
1714 of the following values:
\r
1715 <list type="bullet">
\r
1716 <item><term>Blue</term><description></description></item>
\r
1717 <item><term>Green</term><description></description></item>
\r
1718 <item><term>Red</term><description></description></item>
\r
1719 <item><term>White</term><description></description></item>
\r
1720 <item><term>Yellow</term><description></description></item>
\r
1721 <item><term>Purple</term><description></description></item>
\r
1722 <item><term>Cyan</term><description></description></item>
\r
1724 These color values cannot be combined together to make new colors.
\r
1727 The attributes can be any combination of the following:
\r
1728 <list type="bullet">
\r
1729 <item><term>Bright</term><description>foreground is brighter</description></item>
\r
1730 <item><term>Dim</term><description>foreground is dimmer</description></item>
\r
1731 <item><term>Underscore</term><description>message is underlined</description></item>
\r
1732 <item><term>Blink</term><description>foreground is blinking (does not work on all terminals)</description></item>
\r
1733 <item><term>Reverse</term><description>foreground and background are reversed</description></item>
\r
1734 <item><term>Hidden</term><description>output is hidden</description></item>
\r
1735 <item><term>Strikethrough</term><description>message has a line through it</description></item>
\r
1737 While any of these attributes may be combined together not all combinations
\r
1738 work well together, for example setting both <i>Bright</i> and <i>Dim</i> attributes makes
\r
1742 <author>Patrick Wagstrom</author>
\r
1743 <author>Nicko Cadell</author>
\r
1745 <member name="F:log4net.Appender.AnsiColorTerminalAppender.ConsoleOut">
\r
1747 The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console
\r
1748 standard output stream.
\r
1752 The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console
\r
1753 standard output stream.
\r
1757 <member name="F:log4net.Appender.AnsiColorTerminalAppender.ConsoleError">
\r
1759 The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console
\r
1760 standard error output stream.
\r
1764 The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console
\r
1765 standard error output stream.
\r
1769 <member name="F:log4net.Appender.AnsiColorTerminalAppender.PostEventCodes">
\r
1771 Ansi code to reset terminal
\r
1774 <member name="M:log4net.Appender.AnsiColorTerminalAppender.#ctor">
\r
1776 Initializes a new instance of the <see cref="T:log4net.Appender.AnsiColorTerminalAppender"/> class.
\r
1779 The instance of the <see cref="T:log4net.Appender.AnsiColorTerminalAppender"/> class is set up to write
\r
1780 to the standard output stream.
\r
1783 <member name="M:log4net.Appender.AnsiColorTerminalAppender.AddMapping(log4net.Appender.AnsiColorTerminalAppender.LevelColors)">
\r
1785 Add a mapping of level to color
\r
1787 <param name="mapping">The mapping to add</param>
\r
1790 Add a <see cref="T:log4net.Appender.AnsiColorTerminalAppender.LevelColors"/> mapping to this appender.
\r
1791 Each mapping defines the foreground and background colours
\r
1796 <member name="M:log4net.Appender.AnsiColorTerminalAppender.Append(log4net.Core.LoggingEvent)">
\r
1798 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
\r
1800 <param name="loggingEvent">The event to log.</param>
\r
1803 Writes the event to the console.
\r
1806 The format of the output will depend on the appender's layout.
\r
1810 <member name="M:log4net.Appender.AnsiColorTerminalAppender.ActivateOptions">
\r
1812 Initialize the options for this appender
\r
1816 Initialize the level to color mappings set on this appender.
\r
1820 <member name="F:log4net.Appender.AnsiColorTerminalAppender.m_writeToErrorStream">
\r
1822 Flag to write output to the error stream rather than the standard output stream
\r
1825 <member name="F:log4net.Appender.AnsiColorTerminalAppender.m_levelMapping">
\r
1827 Mapping from level object to color value
\r
1830 <member name="P:log4net.Appender.AnsiColorTerminalAppender.Target">
\r
1832 Target is the value of the console output stream.
\r
1835 Target is the value of the console output stream.
\r
1836 This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
\r
1840 Target is the value of the console output stream.
\r
1841 This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
\r
1845 <member name="P:log4net.Appender.AnsiColorTerminalAppender.RequiresLayout">
\r
1847 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
1849 <value><c>true</c></value>
\r
1852 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
1856 <member name="T:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes">
\r
1858 The enum of possible display attributes
\r
1862 The following flags can be combined together to
\r
1863 form the ANSI color attributes.
\r
1866 <seealso cref="T:log4net.Appender.AnsiColorTerminalAppender"/>
\r
1868 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Bright">
\r
1873 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Dim">
\r
1878 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Underscore">
\r
1880 text is underlined
\r
1883 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Blink">
\r
1888 Not all terminals support this attribute
\r
1891 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Reverse">
\r
1893 text and background colors are reversed
\r
1896 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Hidden">
\r
1901 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Strikethrough">
\r
1903 text is displayed with a strikethrough
\r
1906 <member name="T:log4net.Appender.AnsiColorTerminalAppender.AnsiColor">
\r
1908 The enum of possible foreground or background color values for
\r
1909 use with the color mapping method
\r
1913 The output can be in one for the following ANSI colors.
\r
1916 <seealso cref="T:log4net.Appender.AnsiColorTerminalAppender"/>
\r
1918 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Black">
\r
1923 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Red">
\r
1928 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Green">
\r
1933 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Yellow">
\r
1938 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Blue">
\r
1943 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Magenta">
\r
1948 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Cyan">
\r
1953 <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.White">
\r
1958 <member name="T:log4net.Appender.AnsiColorTerminalAppender.LevelColors">
\r
1960 A class to act as a mapping between the level that a logging call is made at and
\r
1961 the color it should be displayed as.
\r
1965 Defines the mapping between a level and the color it should be displayed in.
\r
1969 <member name="T:log4net.Util.LevelMappingEntry">
\r
1971 An entry in the <see cref="T:log4net.Util.LevelMapping"/>
\r
1975 This is an abstract base class for types that are stored in the
\r
1976 <see cref="T:log4net.Util.LevelMapping"/> object.
\r
1979 <author>Nicko Cadell</author>
\r
1981 <member name="M:log4net.Util.LevelMappingEntry.#ctor">
\r
1983 Default protected constructor
\r
1987 Default protected constructor
\r
1991 <member name="M:log4net.Util.LevelMappingEntry.ActivateOptions">
\r
1993 Initialize any options defined on this entry
\r
1997 Should be overridden by any classes that need to initialise based on their options
\r
2001 <member name="P:log4net.Util.LevelMappingEntry.Level">
\r
2003 The level that is the key for this mapping
\r
2006 The <see cref="P:log4net.Util.LevelMappingEntry.Level"/> that is the key for this mapping
\r
2010 Get or set the <see cref="P:log4net.Util.LevelMappingEntry.Level"/> that is the key for this
\r
2015 <member name="M:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ActivateOptions">
\r
2017 Initialize the options for the object
\r
2021 Combine the <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor"/> and <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor"/> together
\r
2022 and append the attributes.
\r
2026 <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor">
\r
2028 The mapped foreground color for the specified level
\r
2032 Required property.
\r
2033 The mapped foreground color for the specified level
\r
2037 <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor">
\r
2039 The mapped background color for the specified level
\r
2043 Required property.
\r
2044 The mapped background color for the specified level
\r
2048 <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.Attributes">
\r
2050 The color attributes for the specified level
\r
2054 Required property.
\r
2055 The color attributes for the specified level
\r
2059 <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.CombinedColor">
\r
2061 The combined <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor"/>, <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor"/> and
\r
2062 <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.Attributes"/> suitable for setting the ansi terminal color.
\r
2065 <member name="T:log4net.Appender.AppenderCollection">
\r
2067 A strongly-typed collection of <see cref="T:log4net.Appender.IAppender"/> objects.
\r
2069 <author>Nicko Cadell</author>
\r
2071 <member name="M:log4net.Appender.AppenderCollection.ReadOnly(log4net.Appender.AppenderCollection)">
\r
2073 Creates a read-only wrapper for a <c>AppenderCollection</c> instance.
\r
2075 <param name="list">list to create a readonly wrapper arround</param>
\r
2077 An <c>AppenderCollection</c> wrapper that is read-only.
\r
2080 <member name="F:log4net.Appender.AppenderCollection.EmptyCollection">
\r
2082 An empty readonly static AppenderCollection
\r
2085 <member name="M:log4net.Appender.AppenderCollection.#ctor">
\r
2087 Initializes a new instance of the <c>AppenderCollection</c> class
\r
2088 that is empty and has the default initial capacity.
\r
2091 <member name="M:log4net.Appender.AppenderCollection.#ctor(System.Int32)">
\r
2093 Initializes a new instance of the <c>AppenderCollection</c> class
\r
2094 that has the specified initial capacity.
\r
2096 <param name="capacity">
\r
2097 The number of elements that the new <c>AppenderCollection</c> is initially capable of storing.
\r
2100 <member name="M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.AppenderCollection)">
\r
2102 Initializes a new instance of the <c>AppenderCollection</c> class
\r
2103 that contains elements copied from the specified <c>AppenderCollection</c>.
\r
2105 <param name="c">The <c>AppenderCollection</c> whose elements are copied to the new collection.</param>
\r
2107 <member name="M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.IAppender[])">
\r
2109 Initializes a new instance of the <c>AppenderCollection</c> class
\r
2110 that contains elements copied from the specified <see cref="T:log4net.Appender.IAppender"/> array.
\r
2112 <param name="a">The <see cref="T:log4net.Appender.IAppender"/> array whose elements are copied to the new list.</param>
\r
2114 <member name="M:log4net.Appender.AppenderCollection.#ctor(System.Collections.ICollection)">
\r
2116 Initializes a new instance of the <c>AppenderCollection</c> class
\r
2117 that contains elements copied from the specified <see cref="T:log4net.Appender.IAppender"/> collection.
\r
2119 <param name="col">The <see cref="T:log4net.Appender.IAppender"/> collection whose elements are copied to the new list.</param>
\r
2121 <member name="M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.AppenderCollection.Tag)">
\r
2123 Allow subclasses to avoid our default constructors
\r
2125 <param name="tag"></param>
\r
2128 <member name="M:log4net.Appender.AppenderCollection.CopyTo(log4net.Appender.IAppender[])">
\r
2130 Copies the entire <c>AppenderCollection</c> to a one-dimensional
\r
2131 <see cref="T:log4net.Appender.IAppender"/> array.
\r
2133 <param name="array">The one-dimensional <see cref="T:log4net.Appender.IAppender"/> array to copy to.</param>
\r
2135 <member name="M:log4net.Appender.AppenderCollection.CopyTo(log4net.Appender.IAppender[],System.Int32)">
\r
2137 Copies the entire <c>AppenderCollection</c> to a one-dimensional
\r
2138 <see cref="T:log4net.Appender.IAppender"/> array, starting at the specified index of the target array.
\r
2140 <param name="array">The one-dimensional <see cref="T:log4net.Appender.IAppender"/> array to copy to.</param>
\r
2141 <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param>
\r
2143 <member name="M:log4net.Appender.AppenderCollection.Add(log4net.Appender.IAppender)">
\r
2145 Adds a <see cref="T:log4net.Appender.IAppender"/> to the end of the <c>AppenderCollection</c>.
\r
2147 <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to be added to the end of the <c>AppenderCollection</c>.</param>
\r
2148 <returns>The index at which the value has been added.</returns>
\r
2150 <member name="M:log4net.Appender.AppenderCollection.Clear">
\r
2152 Removes all elements from the <c>AppenderCollection</c>.
\r
2155 <member name="M:log4net.Appender.AppenderCollection.Clone">
\r
2157 Creates a shallow copy of the <see cref="T:log4net.Appender.AppenderCollection"/>.
\r
2159 <returns>A new <see cref="T:log4net.Appender.AppenderCollection"/> with a shallow copy of the collection data.</returns>
\r
2161 <member name="M:log4net.Appender.AppenderCollection.Contains(log4net.Appender.IAppender)">
\r
2163 Determines whether a given <see cref="T:log4net.Appender.IAppender"/> is in the <c>AppenderCollection</c>.
\r
2165 <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to check for.</param>
\r
2166 <returns><c>true</c> if <paramref name="item"/> is found in the <c>AppenderCollection</c>; otherwise, <c>false</c>.</returns>
\r
2168 <member name="M:log4net.Appender.AppenderCollection.IndexOf(log4net.Appender.IAppender)">
\r
2170 Returns the zero-based index of the first occurrence of a <see cref="T:log4net.Appender.IAppender"/>
\r
2171 in the <c>AppenderCollection</c>.
\r
2173 <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to locate in the <c>AppenderCollection</c>.</param>
\r
2175 The zero-based index of the first occurrence of <paramref name="item"/>
\r
2176 in the entire <c>AppenderCollection</c>, if found; otherwise, -1.
\r
2179 <member name="M:log4net.Appender.AppenderCollection.Insert(System.Int32,log4net.Appender.IAppender)">
\r
2181 Inserts an element into the <c>AppenderCollection</c> at the specified index.
\r
2183 <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
\r
2184 <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to insert.</param>
\r
2185 <exception cref="T:System.ArgumentOutOfRangeException">
\r
2186 <para><paramref name="index"/> is less than zero</para>
\r
2188 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
\r
2191 <member name="M:log4net.Appender.AppenderCollection.Remove(log4net.Appender.IAppender)">
\r
2193 Removes the first occurrence of a specific <see cref="T:log4net.Appender.IAppender"/> from the <c>AppenderCollection</c>.
\r
2195 <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to remove from the <c>AppenderCollection</c>.</param>
\r
2196 <exception cref="T:System.ArgumentException">
\r
2197 The specified <see cref="T:log4net.Appender.IAppender"/> was not found in the <c>AppenderCollection</c>.
\r
2200 <member name="M:log4net.Appender.AppenderCollection.RemoveAt(System.Int32)">
\r
2202 Removes the element at the specified index of the <c>AppenderCollection</c>.
\r
2204 <param name="index">The zero-based index of the element to remove.</param>
\r
2205 <exception cref="T:System.ArgumentOutOfRangeException">
\r
2206 <para><paramref name="index"/> is less than zero</para>
\r
2208 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
\r
2211 <member name="M:log4net.Appender.AppenderCollection.GetEnumerator">
\r
2213 Returns an enumerator that can iterate through the <c>AppenderCollection</c>.
\r
2215 <returns>An <see cref="T:log4net.Appender.AppenderCollection.Enumerator"/> for the entire <c>AppenderCollection</c>.</returns>
\r
2217 <member name="M:log4net.Appender.AppenderCollection.AddRange(log4net.Appender.AppenderCollection)">
\r
2219 Adds the elements of another <c>AppenderCollection</c> to the current <c>AppenderCollection</c>.
\r
2221 <param name="x">The <c>AppenderCollection</c> whose elements should be added to the end of the current <c>AppenderCollection</c>.</param>
\r
2222 <returns>The new <see cref="P:log4net.Appender.AppenderCollection.Count"/> of the <c>AppenderCollection</c>.</returns>
\r
2224 <member name="M:log4net.Appender.AppenderCollection.AddRange(log4net.Appender.IAppender[])">
\r
2226 Adds the elements of a <see cref="T:log4net.Appender.IAppender"/> array to the current <c>AppenderCollection</c>.
\r
2228 <param name="x">The <see cref="T:log4net.Appender.IAppender"/> array whose elements should be added to the end of the <c>AppenderCollection</c>.</param>
\r
2229 <returns>The new <see cref="P:log4net.Appender.AppenderCollection.Count"/> of the <c>AppenderCollection</c>.</returns>
\r
2231 <member name="M:log4net.Appender.AppenderCollection.AddRange(System.Collections.ICollection)">
\r
2233 Adds the elements of a <see cref="T:log4net.Appender.IAppender"/> collection to the current <c>AppenderCollection</c>.
\r
2235 <param name="col">The <see cref="T:log4net.Appender.IAppender"/> collection whose elements should be added to the end of the <c>AppenderCollection</c>.</param>
\r
2236 <returns>The new <see cref="P:log4net.Appender.AppenderCollection.Count"/> of the <c>AppenderCollection</c>.</returns>
\r
2238 <member name="M:log4net.Appender.AppenderCollection.TrimToSize">
\r
2240 Sets the capacity to the actual number of elements.
\r
2243 <member name="M:log4net.Appender.AppenderCollection.ToArray">
\r
2245 Return the collection elements as an array
\r
2247 <returns>the array</returns>
\r
2249 <member name="M:log4net.Appender.AppenderCollection.ValidateIndex(System.Int32)">
\r
2250 <exception cref="T:System.ArgumentOutOfRangeException">
\r
2251 <para><paramref name="index"/> is less than zero</para>
\r
2253 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
\r
2256 <member name="M:log4net.Appender.AppenderCollection.ValidateIndex(System.Int32,System.Boolean)">
\r
2257 <exception cref="T:System.ArgumentOutOfRangeException">
\r
2258 <para><paramref name="index"/> is less than zero</para>
\r
2260 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
\r
2263 <member name="P:log4net.Appender.AppenderCollection.Count">
\r
2265 Gets the number of elements actually contained in the <c>AppenderCollection</c>.
\r
2268 <member name="P:log4net.Appender.AppenderCollection.IsSynchronized">
\r
2270 Gets a value indicating whether access to the collection is synchronized (thread-safe).
\r
2272 <returns>true if access to the ICollection is synchronized (thread-safe); otherwise, false.</returns>
\r
2274 <member name="P:log4net.Appender.AppenderCollection.SyncRoot">
\r
2276 Gets an object that can be used to synchronize access to the collection.
\r
2279 <member name="P:log4net.Appender.AppenderCollection.Item(System.Int32)">
\r
2281 Gets or sets the <see cref="T:log4net.Appender.IAppender"/> at the specified index.
\r
2283 <param name="index">The zero-based index of the element to get or set.</param>
\r
2284 <exception cref="T:System.ArgumentOutOfRangeException">
\r
2285 <para><paramref name="index"/> is less than zero</para>
\r
2287 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
\r
2290 <member name="P:log4net.Appender.AppenderCollection.IsFixedSize">
\r
2292 Gets a value indicating whether the collection has a fixed size.
\r
2294 <value>true if the collection has a fixed size; otherwise, false. The default is false</value>
\r
2296 <member name="P:log4net.Appender.AppenderCollection.IsReadOnly">
\r
2298 Gets a value indicating whether the IList is read-only.
\r
2300 <value>true if the collection is read-only; otherwise, false. The default is false</value>
\r
2302 <member name="P:log4net.Appender.AppenderCollection.Capacity">
\r
2304 Gets or sets the number of elements the <c>AppenderCollection</c> can contain.
\r
2307 <member name="T:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator">
\r
2309 Supports type-safe iteration over a <see cref="T:log4net.Appender.AppenderCollection"/>.
\r
2313 <member name="M:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator.MoveNext">
\r
2315 Advances the enumerator to the next element in the collection.
\r
2318 <c>true</c> if the enumerator was successfully advanced to the next element;
\r
2319 <c>false</c> if the enumerator has passed the end of the collection.
\r
2321 <exception cref="T:System.InvalidOperationException">
\r
2322 The collection was modified after the enumerator was created.
\r
2325 <member name="M:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator.Reset">
\r
2327 Sets the enumerator to its initial position, before the first element in the collection.
\r
2330 <member name="P:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator.Current">
\r
2332 Gets the current element in the collection.
\r
2335 <member name="T:log4net.Appender.AppenderCollection.Tag">
\r
2337 Type visible only to our subclasses
\r
2338 Used to access protected constructor
\r
2342 <member name="F:log4net.Appender.AppenderCollection.Tag.Default">
\r
2347 <member name="T:log4net.Appender.AppenderCollection.Enumerator">
\r
2349 Supports simple iteration over a <see cref="T:log4net.Appender.AppenderCollection"/>.
\r
2353 <member name="M:log4net.Appender.AppenderCollection.Enumerator.#ctor(log4net.Appender.AppenderCollection)">
\r
2355 Initializes a new instance of the <c>Enumerator</c> class.
\r
2357 <param name="tc"></param>
\r
2359 <member name="M:log4net.Appender.AppenderCollection.Enumerator.MoveNext">
\r
2361 Advances the enumerator to the next element in the collection.
\r
2364 <c>true</c> if the enumerator was successfully advanced to the next element;
\r
2365 <c>false</c> if the enumerator has passed the end of the collection.
\r
2367 <exception cref="T:System.InvalidOperationException">
\r
2368 The collection was modified after the enumerator was created.
\r
2371 <member name="M:log4net.Appender.AppenderCollection.Enumerator.Reset">
\r
2373 Sets the enumerator to its initial position, before the first element in the collection.
\r
2376 <member name="P:log4net.Appender.AppenderCollection.Enumerator.Current">
\r
2378 Gets the current element in the collection.
\r
2381 <member name="T:log4net.Appender.AppenderCollection.ReadOnlyAppenderCollection">
\r
2384 <member name="T:log4net.Appender.AspNetTraceAppender">
\r
2387 Appends log events to the ASP.NET <see cref="T:System.Web.TraceContext"/> system.
\r
2392 Diagnostic information and tracing messages that you specify are appended to the output
\r
2393 of the page that is sent to the requesting browser. Optionally, you can view this information
\r
2394 from a separate trace viewer (Trace.axd) that displays trace information for every page in a
\r
2395 given application.
\r
2398 Trace statements are processed and displayed only when tracing is enabled. You can control
\r
2399 whether tracing is displayed to a page, to the trace viewer, or both.
\r
2402 The logging event is passed to the <see cref="M:System.Web.TraceContext.Write(System.String)"/> or
\r
2403 <see cref="M:System.Web.TraceContext.Warn(System.String)"/> method depending on the level of the logging event.
\r
2406 <author>Nicko Cadell</author>
\r
2407 <author>Gert Driesen</author>
\r
2409 <member name="M:log4net.Appender.AspNetTraceAppender.#ctor">
\r
2411 Initializes a new instance of the <see cref="T:log4net.Appender.AspNetTraceAppender"/> class.
\r
2415 Default constructor.
\r
2419 <member name="M:log4net.Appender.AspNetTraceAppender.Append(log4net.Core.LoggingEvent)">
\r
2421 Write the logging event to the ASP.NET trace
\r
2423 <param name="loggingEvent">the event to log</param>
\r
2426 Write the logging event to the ASP.NET trace
\r
2427 <c>HttpContext.Current.Trace</c>
\r
2428 (<see cref="T:System.Web.TraceContext"/>).
\r
2432 <member name="P:log4net.Appender.AspNetTraceAppender.RequiresLayout">
\r
2434 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
2436 <value><c>true</c></value>
\r
2439 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
2443 <member name="T:log4net.Appender.BufferingForwardingAppender">
\r
2445 Buffers events and then forwards them to attached appenders.
\r
2449 The events are buffered in this appender until conditions are
\r
2450 met to allow the appender to deliver the events to the attached
\r
2451 appenders. See <see cref="T:log4net.Appender.BufferingAppenderSkeleton"/> for the
\r
2452 conditions that cause the buffer to be sent.
\r
2454 <para>The forwarding appender can be used to specify different
\r
2455 thresholds and filters for the same appender at different locations
\r
2456 within the hierarchy.
\r
2459 <author>Nicko Cadell</author>
\r
2460 <author>Gert Driesen</author>
\r
2462 <member name="T:log4net.Core.IAppenderAttachable">
\r
2464 Interface for attaching appenders to objects.
\r
2468 Interface for attaching, removing and retrieving appenders.
\r
2471 <author>Nicko Cadell</author>
\r
2472 <author>Gert Driesen</author>
\r
2474 <member name="M:log4net.Core.IAppenderAttachable.AddAppender(log4net.Appender.IAppender)">
\r
2476 Attaches an appender.
\r
2478 <param name="appender">The appender to add.</param>
\r
2481 Add the specified appender. The implementation may
\r
2482 choose to allow or deny duplicate appenders.
\r
2486 <member name="M:log4net.Core.IAppenderAttachable.GetAppender(System.String)">
\r
2488 Gets an attached appender with the specified name.
\r
2490 <param name="name">The name of the appender to get.</param>
\r
2492 The appender with the name specified, or <c>null</c> if no appender with the
\r
2493 specified name is found.
\r
2497 Returns an attached appender with the <paramref name="name"/> specified.
\r
2498 If no appender with the specified name is found <c>null</c> will be
\r
2503 <member name="M:log4net.Core.IAppenderAttachable.RemoveAllAppenders">
\r
2505 Removes all attached appenders.
\r
2509 Removes and closes all attached appenders
\r
2513 <member name="M:log4net.Core.IAppenderAttachable.RemoveAppender(log4net.Appender.IAppender)">
\r
2515 Removes the specified appender from the list of attached appenders.
\r
2517 <param name="appender">The appender to remove.</param>
\r
2518 <returns>The appender removed from the list</returns>
\r
2521 The appender removed is not closed.
\r
2522 If you are discarding the appender you must call
\r
2523 <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
\r
2527 <member name="M:log4net.Core.IAppenderAttachable.RemoveAppender(System.String)">
\r
2529 Removes the appender with the specified name from the list of appenders.
\r
2531 <param name="name">The name of the appender to remove.</param>
\r
2532 <returns>The appender removed from the list</returns>
\r
2535 The appender removed is not closed.
\r
2536 If you are discarding the appender you must call
\r
2537 <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
\r
2541 <member name="P:log4net.Core.IAppenderAttachable.Appenders">
\r
2543 Gets all attached appenders.
\r
2546 A collection of attached appenders.
\r
2550 Gets a collection of attached appenders.
\r
2551 If there are no attached appenders the
\r
2552 implementation should return an empty
\r
2553 collection rather than <c>null</c>.
\r
2557 <member name="M:log4net.Appender.BufferingForwardingAppender.#ctor">
\r
2559 Initializes a new instance of the <see cref="T:log4net.Appender.BufferingForwardingAppender"/> class.
\r
2563 Default constructor.
\r
2567 <member name="M:log4net.Appender.BufferingForwardingAppender.OnClose">
\r
2569 Closes the appender and releases resources.
\r
2573 Releases any resources allocated within the appender such as file handles,
\r
2574 network connections, etc.
\r
2577 It is a programming error to append to a closed appender.
\r
2581 <member name="M:log4net.Appender.BufferingForwardingAppender.SendBuffer(log4net.Core.LoggingEvent[])">
\r
2585 <param name="events">The events that need to be send.</param>
\r
2588 Forwards the events to the attached appenders.
\r
2592 <member name="M:log4net.Appender.BufferingForwardingAppender.AddAppender(log4net.Appender.IAppender)">
\r
2594 Adds an <see cref="T:log4net.Appender.IAppender"/> to the list of appenders of this
\r
2597 <param name="newAppender">The <see cref="T:log4net.Appender.IAppender"/> to add to this appender.</param>
\r
2600 If the specified <see cref="T:log4net.Appender.IAppender"/> is already in the list of
\r
2601 appenders, then it won't be added again.
\r
2605 <member name="M:log4net.Appender.BufferingForwardingAppender.GetAppender(System.String)">
\r
2607 Looks for the appender with the specified name.
\r
2609 <param name="name">The name of the appender to lookup.</param>
\r
2611 The appender with the specified name, or <c>null</c>.
\r
2615 Get the named appender attached to this buffering appender.
\r
2619 <member name="M:log4net.Appender.BufferingForwardingAppender.RemoveAllAppenders">
\r
2621 Removes all previously added appenders from this appender.
\r
2625 This is useful when re-reading configuration information.
\r
2629 <member name="M:log4net.Appender.BufferingForwardingAppender.RemoveAppender(log4net.Appender.IAppender)">
\r
2631 Removes the specified appender from the list of appenders.
\r
2633 <param name="appender">The appender to remove.</param>
\r
2634 <returns>The appender removed from the list</returns>
\r
2636 The appender removed is not closed.
\r
2637 If you are discarding the appender you must call
\r
2638 <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
\r
2641 <member name="M:log4net.Appender.BufferingForwardingAppender.RemoveAppender(System.String)">
\r
2643 Removes the appender with the specified name from the list of appenders.
\r
2645 <param name="name">The name of the appender to remove.</param>
\r
2646 <returns>The appender removed from the list</returns>
\r
2648 The appender removed is not closed.
\r
2649 If you are discarding the appender you must call
\r
2650 <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
\r
2653 <member name="F:log4net.Appender.BufferingForwardingAppender.m_appenderAttachedImpl">
\r
2655 Implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
\r
2658 <member name="P:log4net.Appender.BufferingForwardingAppender.Appenders">
\r
2660 Gets the appenders contained in this appender as an
\r
2661 <see cref="T:System.Collections.ICollection"/>.
\r
2664 If no appenders can be found, then an <see cref="T:log4net.Util.EmptyCollection"/>
\r
2668 A collection of the appenders in this appender.
\r
2671 <member name="T:log4net.Appender.ColoredConsoleAppender">
\r
2673 Appends logging events to the console.
\r
2677 ColoredConsoleAppender appends log events to the standard output stream
\r
2678 or the error output stream using a layout specified by the
\r
2679 user. It also allows the color of a specific type of message to be set.
\r
2682 By default, all output is written to the console's standard output stream.
\r
2683 The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> property can be set to direct the output to the
\r
2687 NOTE: This appender writes directly to the application's attached console
\r
2688 not to the <c>System.Console.Out</c> or <c>System.Console.Error</c> <c>TextWriter</c>.
\r
2689 The <c>System.Console.Out</c> and <c>System.Console.Error</c> streams can be
\r
2690 programmatically redirected (for example NUnit does this to capture program output).
\r
2691 This appender will ignore these redirections because it needs to use Win32
\r
2692 API calls to colorize the output. To respect these redirections the <see cref="T:log4net.Appender.ConsoleAppender"/>
\r
2696 When configuring the colored console appender, mapping should be
\r
2697 specified to map a logging level to a color. For example:
\r
2699 <code lang="XML" escaped="true">
\r
2701 <level value="ERROR"/>
\r
2702 <foreColor value="White"/>
\r
2703 <backColor value="Red, HighIntensity"/>
\r
2706 <level value="DEBUG"/>
\r
2707 <backColor value="Green"/>
\r
2711 The Level is the standard log4net logging level and ForeColor and BackColor can be any
\r
2712 combination of the following values:
\r
2713 <list type="bullet">
\r
2714 <item><term>Blue</term><description></description></item>
\r
2715 <item><term>Green</term><description></description></item>
\r
2716 <item><term>Red</term><description></description></item>
\r
2717 <item><term>White</term><description></description></item>
\r
2718 <item><term>Yellow</term><description></description></item>
\r
2719 <item><term>Purple</term><description></description></item>
\r
2720 <item><term>Cyan</term><description></description></item>
\r
2721 <item><term>HighIntensity</term><description></description></item>
\r
2725 <author>Rick Hobbs</author>
\r
2726 <author>Nicko Cadell</author>
\r
2728 <member name="F:log4net.Appender.ColoredConsoleAppender.ConsoleOut">
\r
2730 The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console
\r
2731 standard output stream.
\r
2735 The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console
\r
2736 standard output stream.
\r
2740 <member name="F:log4net.Appender.ColoredConsoleAppender.ConsoleError">
\r
2742 The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console
\r
2743 standard error output stream.
\r
2747 The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console
\r
2748 standard error output stream.
\r
2752 <member name="M:log4net.Appender.ColoredConsoleAppender.#ctor">
\r
2754 Initializes a new instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class.
\r
2757 The instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class is set up to write
\r
2758 to the standard output stream.
\r
2761 <member name="M:log4net.Appender.ColoredConsoleAppender.#ctor(log4net.Layout.ILayout)">
\r
2763 Initializes a new instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class
\r
2764 with the specified layout.
\r
2766 <param name="layout">the layout to use for this appender</param>
\r
2768 The instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class is set up to write
\r
2769 to the standard output stream.
\r
2772 <member name="M:log4net.Appender.ColoredConsoleAppender.#ctor(log4net.Layout.ILayout,System.Boolean)">
\r
2774 Initializes a new instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class
\r
2775 with the specified layout.
\r
2777 <param name="layout">the layout to use for this appender</param>
\r
2778 <param name="writeToErrorStream">flag set to <c>true</c> to write to the console error stream</param>
\r
2780 When <paramref name="writeToErrorStream"/> is set to <c>true</c>, output is written to
\r
2781 the standard error output stream. Otherwise, output is written to the standard
\r
2785 <member name="M:log4net.Appender.ColoredConsoleAppender.AddMapping(log4net.Appender.ColoredConsoleAppender.LevelColors)">
\r
2787 Add a mapping of level to color - done by the config file
\r
2789 <param name="mapping">The mapping to add</param>
\r
2792 Add a <see cref="T:log4net.Appender.ColoredConsoleAppender.LevelColors"/> mapping to this appender.
\r
2793 Each mapping defines the foreground and background colors
\r
2798 <member name="M:log4net.Appender.ColoredConsoleAppender.Append(log4net.Core.LoggingEvent)">
\r
2800 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
\r
2802 <param name="loggingEvent">The event to log.</param>
\r
2805 Writes the event to the console.
\r
2808 The format of the output will depend on the appender's layout.
\r
2812 <member name="M:log4net.Appender.ColoredConsoleAppender.ActivateOptions">
\r
2814 Initialize the options for this appender
\r
2818 Initialize the level to color mappings set on this appender.
\r
2822 <member name="F:log4net.Appender.ColoredConsoleAppender.m_writeToErrorStream">
\r
2824 Flag to write output to the error stream rather than the standard output stream
\r
2827 <member name="F:log4net.Appender.ColoredConsoleAppender.m_levelMapping">
\r
2829 Mapping from level object to color value
\r
2832 <member name="F:log4net.Appender.ColoredConsoleAppender.m_consoleOutputWriter">
\r
2834 The console output stream writer to write to
\r
2838 This writer is not thread safe.
\r
2842 <member name="P:log4net.Appender.ColoredConsoleAppender.Target">
\r
2844 Target is the value of the console output stream.
\r
2845 This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
\r
2848 Target is the value of the console output stream.
\r
2849 This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
\r
2853 Target is the value of the console output stream.
\r
2854 This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
\r
2858 <member name="P:log4net.Appender.ColoredConsoleAppender.RequiresLayout">
\r
2860 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
2862 <value><c>true</c></value>
\r
2865 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
2869 <member name="T:log4net.Appender.ColoredConsoleAppender.Colors">
\r
2871 The enum of possible color values for use with the color mapping method
\r
2875 The following flags can be combined together to
\r
2879 <seealso cref="T:log4net.Appender.ColoredConsoleAppender"/>
\r
2881 <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Blue">
\r
2886 <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Green">
\r
2891 <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Red">
\r
2896 <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.White">
\r
2901 <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Yellow">
\r
2906 <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Purple">
\r
2911 <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Cyan">
\r
2916 <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.HighIntensity">
\r
2918 color is intensified
\r
2921 <member name="T:log4net.Appender.ColoredConsoleAppender.LevelColors">
\r
2923 A class to act as a mapping between the level that a logging call is made at and
\r
2924 the color it should be displayed as.
\r
2928 Defines the mapping between a level and the color it should be displayed in.
\r
2932 <member name="M:log4net.Appender.ColoredConsoleAppender.LevelColors.ActivateOptions">
\r
2934 Initialize the options for the object
\r
2938 Combine the <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor"/> and <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor"/> together.
\r
2942 <member name="P:log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor">
\r
2944 The mapped foreground color for the specified level
\r
2948 Required property.
\r
2949 The mapped foreground color for the specified level.
\r
2953 <member name="P:log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor">
\r
2955 The mapped background color for the specified level
\r
2959 Required property.
\r
2960 The mapped background color for the specified level.
\r
2964 <member name="P:log4net.Appender.ColoredConsoleAppender.LevelColors.CombinedColor">
\r
2966 The combined <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor"/> and <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor"/> suitable for
\r
2967 setting the console color.
\r
2970 <member name="T:log4net.Appender.ConsoleAppender">
\r
2972 Appends logging events to the console.
\r
2976 ConsoleAppender appends log events to the standard output stream
\r
2977 or the error output stream using a layout specified by the
\r
2981 By default, all output is written to the console's standard output stream.
\r
2982 The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> property can be set to direct the output to the
\r
2986 NOTE: This appender writes each message to the <c>System.Console.Out</c> or
\r
2987 <c>System.Console.Error</c> that is set at the time the event is appended.
\r
2988 Therefore it is possible to programmatically redirect the output of this appender
\r
2989 (for example NUnit does this to capture program output). While this is the desired
\r
2990 behavior of this appender it may have security implications in your application.
\r
2993 <author>Nicko Cadell</author>
\r
2994 <author>Gert Driesen</author>
\r
2996 <member name="F:log4net.Appender.ConsoleAppender.ConsoleOut">
\r
2998 The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console
\r
2999 standard output stream.
\r
3003 The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console
\r
3004 standard output stream.
\r
3008 <member name="F:log4net.Appender.ConsoleAppender.ConsoleError">
\r
3010 The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console
\r
3011 standard error output stream.
\r
3015 The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console
\r
3016 standard error output stream.
\r
3020 <member name="M:log4net.Appender.ConsoleAppender.#ctor">
\r
3022 Initializes a new instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class.
\r
3025 The instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class is set up to write
\r
3026 to the standard output stream.
\r
3029 <member name="M:log4net.Appender.ConsoleAppender.#ctor(log4net.Layout.ILayout)">
\r
3031 Initializes a new instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class
\r
3032 with the specified layout.
\r
3034 <param name="layout">the layout to use for this appender</param>
\r
3036 The instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class is set up to write
\r
3037 to the standard output stream.
\r
3040 <member name="M:log4net.Appender.ConsoleAppender.#ctor(log4net.Layout.ILayout,System.Boolean)">
\r
3042 Initializes a new instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class
\r
3043 with the specified layout.
\r
3045 <param name="layout">the layout to use for this appender</param>
\r
3046 <param name="writeToErrorStream">flag set to <c>true</c> to write to the console error stream</param>
\r
3048 When <paramref name="writeToErrorStream"/> is set to <c>true</c>, output is written to
\r
3049 the standard error output stream. Otherwise, output is written to the standard
\r
3053 <member name="M:log4net.Appender.ConsoleAppender.Append(log4net.Core.LoggingEvent)">
\r
3055 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
\r
3057 <param name="loggingEvent">The event to log.</param>
\r
3060 Writes the event to the console.
\r
3063 The format of the output will depend on the appender's layout.
\r
3067 <member name="P:log4net.Appender.ConsoleAppender.Target">
\r
3069 Target is the value of the console output stream.
\r
3070 This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
\r
3073 Target is the value of the console output stream.
\r
3074 This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
\r
3078 Target is the value of the console output stream.
\r
3079 This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
\r
3083 <member name="P:log4net.Appender.ConsoleAppender.RequiresLayout">
\r
3085 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
3087 <value><c>true</c></value>
\r
3090 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
3094 <member name="T:log4net.Appender.DebugAppender">
\r
3096 Appends log events to the <see cref="T:System.Diagnostics.Debug"/> system.
\r
3100 The application configuration file can be used to control what listeners
\r
3101 are actually used. See the MSDN documentation for the
\r
3102 <see cref="T:System.Diagnostics.Debug"/> class for details on configuring the
\r
3106 Events are written using the <see cref="M:System.Diagnostics.Debug.Write(System.String,System.String)"/>
\r
3107 method. The event's logger name is passed as the value for the category name to the Write method.
\r
3110 <author>Nicko Cadell</author>
\r
3112 <member name="M:log4net.Appender.DebugAppender.#ctor">
\r
3114 Initializes a new instance of the <see cref="T:log4net.Appender.DebugAppender"/>.
\r
3118 Default constructor.
\r
3122 <member name="M:log4net.Appender.DebugAppender.#ctor(log4net.Layout.ILayout)">
\r
3124 Initializes a new instance of the <see cref="T:log4net.Appender.DebugAppender"/>
\r
3125 with a specified layout.
\r
3127 <param name="layout">The layout to use with this appender.</param>
\r
3130 Obsolete constructor.
\r
3134 <member name="M:log4net.Appender.DebugAppender.Append(log4net.Core.LoggingEvent)">
\r
3136 Writes the logging event to the <see cref="T:System.Diagnostics.Debug"/> system.
\r
3138 <param name="loggingEvent">The event to log.</param>
\r
3141 Writes the logging event to the <see cref="T:System.Diagnostics.Debug"/> system.
\r
3142 If <see cref="P:log4net.Appender.DebugAppender.ImmediateFlush"/> is <c>true</c> then the <see cref="M:System.Diagnostics.Debug.Flush"/>
\r
3147 <member name="F:log4net.Appender.DebugAppender.m_immediateFlush">
\r
3149 Immediate flush means that the underlying writer or output stream
\r
3150 will be flushed at the end of each append operation.
\r
3154 Immediate flush is slower but ensures that each append request is
\r
3155 actually written. If <see cref="P:log4net.Appender.DebugAppender.ImmediateFlush"/> is set to
\r
3156 <c>false</c>, then there is a good chance that the last few
\r
3157 logs events are not actually written to persistent media if and
\r
3158 when the application crashes.
\r
3161 The default value is <c>true</c>.</para>
\r
3164 <member name="P:log4net.Appender.DebugAppender.ImmediateFlush">
\r
3166 Gets or sets a value that indicates whether the appender will
\r
3167 flush at the end of each write.
\r
3170 <para>The default behavior is to flush at the end of each
\r
3171 write. If the option is set to<c>false</c>, then the underlying
\r
3172 stream can defer writing to physical medium to a later time.
\r
3175 Avoiding the flush operation at the end of each append results
\r
3176 in a performance gain of 10 to 20 percent. However, there is safety
\r
3177 trade-off involved in skipping flushing. Indeed, when flushing is
\r
3178 skipped, then it is likely that the last few log events will not
\r
3179 be recorded on disk when the application exits. This is a high
\r
3180 price to pay even for a 20% performance gain.
\r
3184 <member name="P:log4net.Appender.DebugAppender.RequiresLayout">
\r
3186 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
3188 <value><c>true</c></value>
\r
3191 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
3195 <member name="T:log4net.Appender.EventLogAppender">
\r
3197 Writes events to the system event log.
\r
3201 The <c>EventID</c> of the event log entry can be
\r
3202 set using the <c>EventLogEventID</c> property (<see cref="P:log4net.Core.LoggingEvent.Properties"/>)
\r
3203 on the <see cref="T:log4net.Core.LoggingEvent"/>.
\r
3206 There is a limit of 32K characters for an event log message
\r
3209 When configuring the EventLogAppender a mapping can be
\r
3210 specified to map a logging level to an event log entry type. For example:
\r
3214 <level value="ERROR" />
\r
3215 <eventLogEntryType value="Error" />
\r
3218 <level value="DEBUG" />
\r
3219 <eventLogEntryType value="Information" />
\r
3223 The Level is the standard log4net logging level and eventLogEntryType can be any value
\r
3224 from the <see cref="T:System.Diagnostics.EventLogEntryType"/> enum, i.e.:
\r
3225 <list type="bullet">
\r
3226 <item><term>Error</term><description>an error event</description></item>
\r
3227 <item><term>Warning</term><description>a warning event</description></item>
\r
3228 <item><term>Information</term><description>an informational event</description></item>
\r
3232 <author>Aspi Havewala</author>
\r
3233 <author>Douglas de la Torre</author>
\r
3234 <author>Nicko Cadell</author>
\r
3235 <author>Gert Driesen</author>
\r
3236 <author>Thomas Voss</author>
\r
3238 <member name="M:log4net.Appender.EventLogAppender.#ctor">
\r
3240 Initializes a new instance of the <see cref="T:log4net.Appender.EventLogAppender"/> class.
\r
3244 Default constructor.
\r
3248 <member name="M:log4net.Appender.EventLogAppender.#ctor(log4net.Layout.ILayout)">
\r
3250 Initializes a new instance of the <see cref="T:log4net.Appender.EventLogAppender"/> class
\r
3251 with the specified <see cref="T:log4net.Layout.ILayout"/>.
\r
3253 <param name="layout">The <see cref="T:log4net.Layout.ILayout"/> to use with this appender.</param>
\r
3256 Obsolete constructor.
\r
3260 <member name="M:log4net.Appender.EventLogAppender.AddMapping(log4net.Appender.EventLogAppender.Level2EventLogEntryType)">
\r
3262 Add a mapping of level to <see cref="T:System.Diagnostics.EventLogEntryType"/> - done by the config file
\r
3264 <param name="mapping">The mapping to add</param>
\r
3267 Add a <see cref="T:log4net.Appender.EventLogAppender.Level2EventLogEntryType"/> mapping to this appender.
\r
3268 Each mapping defines the event log entry type for a level.
\r
3272 <member name="M:log4net.Appender.EventLogAppender.ActivateOptions">
\r
3274 Initialize the appender based on the options set
\r
3278 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
3279 activation scheme. The <see cref="M:log4net.Appender.EventLogAppender.ActivateOptions"/> method must
\r
3280 be called on this object after the configuration properties have
\r
3281 been set. Until <see cref="M:log4net.Appender.EventLogAppender.ActivateOptions"/> is called this
\r
3282 object is in an undefined state and must not be used.
\r
3285 If any of the configuration properties are modified then
\r
3286 <see cref="M:log4net.Appender.EventLogAppender.ActivateOptions"/> must be called again.
\r
3290 <member name="M:log4net.Appender.EventLogAppender.CreateEventSource(System.String,System.String,System.String)">
\r
3292 Create an event log source
\r
3295 Uses different API calls under NET_2_0
\r
3298 <member name="M:log4net.Appender.EventLogAppender.Append(log4net.Core.LoggingEvent)">
\r
3300 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/>
\r
3303 <param name="loggingEvent">the event to log</param>
\r
3305 <para>Writes the event to the system event log using the
\r
3306 <see cref="P:log4net.Appender.EventLogAppender.ApplicationName"/>.</para>
\r
3308 <para>If the event has an <c>EventID</c> property (see <see cref="P:log4net.Core.LoggingEvent.Properties"/>)
\r
3309 set then this integer will be used as the event log event id.</para>
\r
3312 There is a limit of 32K characters for an event log message
\r
3316 <member name="M:log4net.Appender.EventLogAppender.GetEntryType(log4net.Core.Level)">
\r
3318 Get the equivalent <see cref="T:System.Diagnostics.EventLogEntryType"/> for a <see cref="T:log4net.Core.Level"/> <paramref name="p"/>
\r
3320 <param name="level">the Level to convert to an EventLogEntryType</param>
\r
3321 <returns>The equivalent <see cref="T:System.Diagnostics.EventLogEntryType"/> for a <see cref="T:log4net.Core.Level"/> <paramref name="p"/></returns>
\r
3323 Because there are fewer applicable <see cref="T:System.Diagnostics.EventLogEntryType"/>
\r
3324 values to use in logging levels than there are in the
\r
3325 <see cref="T:log4net.Core.Level"/> this is a one way mapping. There is
\r
3326 a loss of information during the conversion.
\r
3329 <member name="F:log4net.Appender.EventLogAppender.m_logName">
\r
3331 The log name is the section in the event logs where the messages
\r
3335 <member name="F:log4net.Appender.EventLogAppender.m_applicationName">
\r
3337 Name of the application to use when logging. This appears in the
\r
3338 application column of the event log named by <see cref="F:log4net.Appender.EventLogAppender.m_logName"/>.
\r
3341 <member name="F:log4net.Appender.EventLogAppender.m_machineName">
\r
3343 The name of the machine which holds the event log. This is
\r
3344 currently only allowed to be '.' i.e. the current machine.
\r
3347 <member name="F:log4net.Appender.EventLogAppender.m_levelMapping">
\r
3349 Mapping from level object to EventLogEntryType
\r
3352 <member name="F:log4net.Appender.EventLogAppender.m_securityContext">
\r
3354 The security context to use for privileged calls
\r
3357 <member name="P:log4net.Appender.EventLogAppender.LogName">
\r
3359 The name of the log where messages will be stored.
\r
3362 The string name of the log where messages will be stored.
\r
3365 <para>This is the name of the log as it appears in the Event Viewer
\r
3366 tree. The default value is to log into the <c>Application</c>
\r
3367 log, this is where most applications write their events. However
\r
3368 if you need a separate log for your application (or applications)
\r
3369 then you should set the <see cref="P:log4net.Appender.EventLogAppender.LogName"/> appropriately.</para>
\r
3370 <para>This should not be used to distinguish your event log messages
\r
3371 from those of other applications, the <see cref="P:log4net.Appender.EventLogAppender.ApplicationName"/>
\r
3372 property should be used to distinguish events. This property should be
\r
3373 used to group together events into a single log.
\r
3377 <member name="P:log4net.Appender.EventLogAppender.ApplicationName">
\r
3379 Property used to set the Application name. This appears in the
\r
3380 event logs when logging.
\r
3383 The string used to distinguish events from different sources.
\r
3386 Sets the event log source property.
\r
3389 <member name="P:log4net.Appender.EventLogAppender.MachineName">
\r
3391 This property is used to return the name of the computer to use
\r
3392 when accessing the event logs. Currently, this is the current
\r
3393 computer, denoted by a dot "."
\r
3396 The string name of the machine holding the event log that
\r
3397 will be logged into.
\r
3400 This property cannot be changed. It is currently set to '.'
\r
3401 i.e. the local machine. This may be changed in future.
\r
3404 <member name="P:log4net.Appender.EventLogAppender.SecurityContext">
\r
3406 Gets or sets the <see cref="P:log4net.Appender.EventLogAppender.SecurityContext"/> used to write to the EventLog.
\r
3409 The <see cref="P:log4net.Appender.EventLogAppender.SecurityContext"/> used to write to the EventLog.
\r
3413 The system security context used to write to the EventLog.
\r
3416 Unless a <see cref="P:log4net.Appender.EventLogAppender.SecurityContext"/> specified here for this appender
\r
3417 the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
\r
3418 security context to use. The default behavior is to use the security context
\r
3419 of the current thread.
\r
3423 <member name="P:log4net.Appender.EventLogAppender.RequiresLayout">
\r
3425 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
3427 <value><c>true</c></value>
\r
3430 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
3434 <member name="T:log4net.Appender.EventLogAppender.Level2EventLogEntryType">
\r
3436 A class to act as a mapping between the level that a logging call is made at and
\r
3437 the color it should be displayed as.
\r
3441 Defines the mapping between a level and its event log entry type.
\r
3445 <member name="P:log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType">
\r
3447 The <see cref="P:log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType"/> for this entry
\r
3451 Required property.
\r
3452 The <see cref="P:log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType"/> for this entry
\r
3456 <member name="T:log4net.Appender.FileAppender">
\r
3458 Appends logging events to a file.
\r
3462 Logging events are sent to the file specified by
\r
3463 the <see cref="P:log4net.Appender.FileAppender.File"/> property.
\r
3466 The file can be opened in either append or overwrite mode
\r
3467 by specifying the <see cref="P:log4net.Appender.FileAppender.AppendToFile"/> property.
\r
3468 If the file path is relative it is taken as relative from
\r
3469 the application base directory. The file encoding can be
\r
3470 specified by setting the <see cref="P:log4net.Appender.FileAppender.Encoding"/> property.
\r
3473 The layout's <see cref="P:log4net.Layout.ILayout.Header"/> and <see cref="P:log4net.Layout.ILayout.Footer"/>
\r
3474 values will be written each time the file is opened and closed
\r
3475 respectively. If the <see cref="P:log4net.Appender.FileAppender.AppendToFile"/> property is <see langword="true"/>
\r
3476 then the file may contain multiple copies of the header and footer.
\r
3479 This appender will first try to open the file for writing when <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/>
\r
3480 is called. This will typically be during configuration.
\r
3481 If the file cannot be opened for writing the appender will attempt
\r
3482 to open the file again each time a message is logged to the appender.
\r
3483 If the file cannot be opened for writing when a message is logged then
\r
3484 the message will be discarded by this appender.
\r
3487 The <see cref="T:log4net.Appender.FileAppender"/> supports pluggable file locking models via
\r
3488 the <see cref="P:log4net.Appender.FileAppender.LockingModel"/> property.
\r
3489 The default behavior, implemented by <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/>
\r
3490 is to obtain an exclusive write lock on the file until this appender is closed.
\r
3491 The alternative model, <see cref="T:log4net.Appender.FileAppender.MinimalLock"/>, only holds a
\r
3492 write lock while the appender is writing a logging event.
\r
3495 <author>Nicko Cadell</author>
\r
3496 <author>Gert Driesen</author>
\r
3497 <author>Rodrigo B. de Oliveira</author>
\r
3498 <author>Douglas de la Torre</author>
\r
3499 <author>Niall Daley</author>
\r
3501 <member name="T:log4net.Appender.TextWriterAppender">
\r
3503 Sends logging events to a <see cref="T:System.IO.TextWriter"/>.
\r
3507 An Appender that writes to a <see cref="T:System.IO.TextWriter"/>.
\r
3510 This appender may be used stand alone if initialized with an appropriate
\r
3511 writer, however it is typically used as a base class for an appender that
\r
3512 can open a <see cref="T:System.IO.TextWriter"/> to write to.
\r
3515 <author>Nicko Cadell</author>
\r
3516 <author>Gert Driesen</author>
\r
3517 <author>Douglas de la Torre</author>
\r
3519 <member name="M:log4net.Appender.TextWriterAppender.#ctor">
\r
3521 Initializes a new instance of the <see cref="T:log4net.Appender.TextWriterAppender"/> class.
\r
3525 Default constructor.
\r
3529 <member name="M:log4net.Appender.TextWriterAppender.#ctor(log4net.Layout.ILayout,System.IO.Stream)">
\r
3531 Initializes a new instance of the <see cref="T:log4net.Appender.TextWriterAppender"/> class and
\r
3532 sets the output destination to a new <see cref="T:System.IO.StreamWriter"/> initialized
\r
3533 with the specified <see cref="T:System.IO.Stream"/>.
\r
3535 <param name="layout">The layout to use with this appender.</param>
\r
3536 <param name="os">The <see cref="T:System.IO.Stream"/> to output to.</param>
\r
3539 Obsolete constructor.
\r
3543 <member name="M:log4net.Appender.TextWriterAppender.#ctor(log4net.Layout.ILayout,System.IO.TextWriter)">
\r
3545 Initializes a new instance of the <see cref="T:log4net.Appender.TextWriterAppender"/> class and sets
\r
3546 the output destination to the specified <see cref="T:System.IO.StreamWriter"/>.
\r
3548 <param name="layout">The layout to use with this appender</param>
\r
3549 <param name="writer">The <see cref="T:System.IO.TextWriter"/> to output to</param>
\r
3551 The <see cref="T:System.IO.TextWriter"/> must have been previously opened.
\r
3555 Obsolete constructor.
\r
3559 <member name="M:log4net.Appender.TextWriterAppender.PreAppendCheck">
\r
3561 This method determines if there is a sense in attempting to append.
\r
3565 This method checked if an output target has been set and if a
\r
3566 layout has been set.
\r
3569 <returns><c>false</c> if any of the preconditions fail.</returns>
\r
3571 <member name="M:log4net.Appender.TextWriterAppender.Append(log4net.Core.LoggingEvent)">
\r
3573 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/>
\r
3576 <param name="loggingEvent">The event to log.</param>
\r
3579 Writes a log statement to the output stream if the output stream exists
\r
3583 The format of the output will depend on the appender's layout.
\r
3587 <member name="M:log4net.Appender.TextWriterAppender.Append(log4net.Core.LoggingEvent[])">
\r
3589 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent[])"/>
\r
3592 <param name="loggingEvents">The array of events to log.</param>
\r
3595 This method writes all the bulk logged events to the output writer
\r
3596 before flushing the stream.
\r
3600 <member name="M:log4net.Appender.TextWriterAppender.OnClose">
\r
3602 Close this appender instance. The underlying stream or writer is also closed.
\r
3605 Closed appenders cannot be reused.
\r
3608 <member name="M:log4net.Appender.TextWriterAppender.WriteFooterAndCloseWriter">
\r
3610 Writes the footer and closes the underlying <see cref="T:System.IO.TextWriter"/>.
\r
3614 Writes the footer and closes the underlying <see cref="T:System.IO.TextWriter"/>.
\r
3618 <member name="M:log4net.Appender.TextWriterAppender.CloseWriter">
\r
3620 Closes the underlying <see cref="T:System.IO.TextWriter"/>.
\r
3624 Closes the underlying <see cref="T:System.IO.TextWriter"/>.
\r
3628 <member name="M:log4net.Appender.TextWriterAppender.Reset">
\r
3630 Clears internal references to the underlying <see cref="T:System.IO.TextWriter"/>
\r
3631 and other variables.
\r
3635 Subclasses can override this method for an alternate closing behavior.
\r
3639 <member name="M:log4net.Appender.TextWriterAppender.WriteFooter">
\r
3641 Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
\r
3645 Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
\r
3649 <member name="M:log4net.Appender.TextWriterAppender.WriteHeader">
\r
3651 Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
\r
3655 Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
\r
3659 <member name="M:log4net.Appender.TextWriterAppender.PrepareWriter">
\r
3661 Called to allow a subclass to lazily initialize the writer
\r
3665 This method is called when an event is logged and the <see cref="P:log4net.Appender.TextWriterAppender.Writer"/> or
\r
3666 <see cref="P:log4net.Appender.TextWriterAppender.QuietWriter"/> have not been set. This allows a subclass to
\r
3667 attempt to initialize the writer multiple times.
\r
3671 <member name="F:log4net.Appender.TextWriterAppender.m_qtw">
\r
3673 This is the <see cref="T:log4net.Util.QuietTextWriter"/> where logging events
\r
3674 will be written to.
\r
3677 <member name="F:log4net.Appender.TextWriterAppender.m_immediateFlush">
\r
3679 Immediate flush means that the underlying <see cref="T:System.IO.TextWriter"/>
\r
3680 or output stream will be flushed at the end of each append operation.
\r
3684 Immediate flush is slower but ensures that each append request is
\r
3685 actually written. If <see cref="P:log4net.Appender.TextWriterAppender.ImmediateFlush"/> is set to
\r
3686 <c>false</c>, then there is a good chance that the last few
\r
3687 logging events are not actually persisted if and when the application
\r
3691 The default value is <c>true</c>.
\r
3695 <member name="P:log4net.Appender.TextWriterAppender.ImmediateFlush">
\r
3697 Gets or set whether the appender will flush at the end
\r
3698 of each append operation.
\r
3702 The default behavior is to flush at the end of each
\r
3706 If this option is set to <c>false</c>, then the underlying
\r
3707 stream can defer persisting the logging event to a later
\r
3712 Avoiding the flush operation at the end of each append results in
\r
3713 a performance gain of 10 to 20 percent. However, there is safety
\r
3714 trade-off involved in skipping flushing. Indeed, when flushing is
\r
3715 skipped, then it is likely that the last few log events will not
\r
3716 be recorded on disk when the application exits. This is a high
\r
3717 price to pay even for a 20% performance gain.
\r
3720 <member name="P:log4net.Appender.TextWriterAppender.Writer">
\r
3722 Sets the <see cref="T:System.IO.TextWriter"/> where the log output will go.
\r
3726 The specified <see cref="T:System.IO.TextWriter"/> must be open and writable.
\r
3729 The <see cref="T:System.IO.TextWriter"/> will be closed when the appender
\r
3730 instance is closed.
\r
3733 <b>Note:</b> Logging to an unopened <see cref="T:System.IO.TextWriter"/> will fail.
\r
3737 <member name="P:log4net.Appender.TextWriterAppender.ErrorHandler">
\r
3739 Gets or set the <see cref="T:log4net.Core.IErrorHandler"/> and the underlying
\r
3740 <see cref="T:log4net.Util.QuietTextWriter"/>, if any, for this appender.
\r
3743 The <see cref="T:log4net.Core.IErrorHandler"/> for this appender.
\r
3746 <member name="P:log4net.Appender.TextWriterAppender.RequiresLayout">
\r
3748 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
3750 <value><c>true</c></value>
\r
3753 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
3757 <member name="P:log4net.Appender.TextWriterAppender.QuietWriter">
\r
3759 Gets or sets the <see cref="T:log4net.Util.QuietTextWriter"/> where logging events
\r
3760 will be written to.
\r
3763 The <see cref="T:log4net.Util.QuietTextWriter"/> where logging events are written.
\r
3767 This is the <see cref="T:log4net.Util.QuietTextWriter"/> where logging events
\r
3768 will be written to.
\r
3772 <member name="M:log4net.Appender.FileAppender.#ctor">
\r
3774 Default constructor
\r
3778 Default constructor
\r
3782 <member name="M:log4net.Appender.FileAppender.#ctor(log4net.Layout.ILayout,System.String,System.Boolean)">
\r
3784 Construct a new appender using the layout, file and append mode.
\r
3786 <param name="layout">the layout to use with this appender</param>
\r
3787 <param name="filename">the full path to the file to write to</param>
\r
3788 <param name="append">flag to indicate if the file should be appended to</param>
\r
3791 Obsolete constructor.
\r
3795 <member name="M:log4net.Appender.FileAppender.#ctor(log4net.Layout.ILayout,System.String)">
\r
3797 Construct a new appender using the layout and file specified.
\r
3798 The file will be appended to.
\r
3800 <param name="layout">the layout to use with this appender</param>
\r
3801 <param name="filename">the full path to the file to write to</param>
\r
3804 Obsolete constructor.
\r
3808 <member name="M:log4net.Appender.FileAppender.ActivateOptions">
\r
3810 Activate the options on the file appender.
\r
3814 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
3815 activation scheme. The <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/> method must
\r
3816 be called on this object after the configuration properties have
\r
3817 been set. Until <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/> is called this
\r
3818 object is in an undefined state and must not be used.
\r
3821 If any of the configuration properties are modified then
\r
3822 <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/> must be called again.
\r
3825 This will cause the file to be opened.
\r
3829 <member name="M:log4net.Appender.FileAppender.Reset">
\r
3831 Closes any previously opened file and calls the parent's <see cref="M:log4net.Appender.TextWriterAppender.Reset"/>.
\r
3835 Resets the filename and the file stream.
\r
3839 <member name="M:log4net.Appender.FileAppender.PrepareWriter">
\r
3841 Called to initialize the file writer
\r
3845 Will be called for each logged message until the file is
\r
3846 successfully opened.
\r
3850 <member name="M:log4net.Appender.FileAppender.Append(log4net.Core.LoggingEvent)">
\r
3852 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/>
\r
3855 <param name="loggingEvent">The event to log.</param>
\r
3858 Writes a log statement to the output stream if the output stream exists
\r
3862 The format of the output will depend on the appender's layout.
\r
3866 <member name="M:log4net.Appender.FileAppender.Append(log4net.Core.LoggingEvent[])">
\r
3868 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent[])"/>
\r
3871 <param name="loggingEvents">The array of events to log.</param>
\r
3874 Acquires the output file locks once before writing all the events to
\r
3879 <member name="M:log4net.Appender.FileAppender.WriteFooter">
\r
3881 Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
\r
3885 Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
\r
3889 <member name="M:log4net.Appender.FileAppender.WriteHeader">
\r
3891 Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
\r
3895 Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
\r
3899 <member name="M:log4net.Appender.FileAppender.CloseWriter">
\r
3901 Closes the underlying <see cref="T:System.IO.TextWriter"/>.
\r
3905 Closes the underlying <see cref="T:System.IO.TextWriter"/>.
\r
3909 <member name="M:log4net.Appender.FileAppender.CloseFile">
\r
3911 Closes the previously opened file.
\r
3915 Writes the <see cref="P:log4net.Layout.ILayout.Footer"/> to the file and then
\r
3920 <member name="M:log4net.Appender.FileAppender.SafeOpenFile(System.String,System.Boolean)">
\r
3922 Sets and <i>opens</i> the file where the log output will go. The specified file must be writable.
\r
3924 <param name="fileName">The path to the log file. Must be a fully qualified path.</param>
\r
3925 <param name="append">If true will append to fileName. Otherwise will truncate fileName</param>
\r
3928 Calls <see cref="M:log4net.Appender.FileAppender.OpenFile(System.String,System.Boolean)"/> but guarantees not to throw an exception.
\r
3929 Errors are passed to the <see cref="P:log4net.Appender.TextWriterAppender.ErrorHandler"/>.
\r
3933 <member name="M:log4net.Appender.FileAppender.OpenFile(System.String,System.Boolean)">
\r
3935 Sets and <i>opens</i> the file where the log output will go. The specified file must be writable.
\r
3937 <param name="fileName">The path to the log file. Must be a fully qualified path.</param>
\r
3938 <param name="append">If true will append to fileName. Otherwise will truncate fileName</param>
\r
3941 If there was already an opened file, then the previous file
\r
3945 This method will ensure that the directory structure
\r
3946 for the <paramref name="fileName"/> specified exists.
\r
3950 <member name="M:log4net.Appender.FileAppender.SetQWForFiles(System.IO.Stream)">
\r
3952 Sets the quiet writer used for file output
\r
3954 <param name="fileStream">the file stream that has been opened for writing</param>
\r
3957 This implementation of <see cref="M:log4net.Appender.FileAppender.SetQWForFiles(System.IO.Stream)"/> creates a <see cref="T:System.IO.StreamWriter"/>
\r
3958 over the <paramref name="fileStream"/> and passes it to the
\r
3959 <see cref="M:log4net.Appender.FileAppender.SetQWForFiles(System.IO.TextWriter)"/> method.
\r
3962 This method can be overridden by sub classes that want to wrap the
\r
3963 <see cref="T:System.IO.Stream"/> in some way, for example to encrypt the output
\r
3964 data using a <c>System.Security.Cryptography.CryptoStream</c>.
\r
3968 <member name="M:log4net.Appender.FileAppender.SetQWForFiles(System.IO.TextWriter)">
\r
3970 Sets the quiet writer being used.
\r
3972 <param name="writer">the writer over the file stream that has been opened for writing</param>
\r
3975 This method can be overridden by sub classes that want to
\r
3976 wrap the <see cref="T:System.IO.TextWriter"/> in some way.
\r
3980 <member name="M:log4net.Appender.FileAppender.ConvertToFullPath(System.String)">
\r
3982 Convert a path into a fully qualified path.
\r
3984 <param name="path">The path to convert.</param>
\r
3985 <returns>The fully qualified path.</returns>
\r
3988 Converts the path specified to a fully
\r
3989 qualified path. If the path is relative it is
\r
3990 taken as relative from the application base
\r
3995 <member name="F:log4net.Appender.FileAppender.m_appendToFile">
\r
3997 Flag to indicate if we should append to the file
\r
3998 or overwrite the file. The default is to append.
\r
4001 <member name="F:log4net.Appender.FileAppender.m_fileName">
\r
4003 The name of the log file.
\r
4006 <member name="F:log4net.Appender.FileAppender.m_encoding">
\r
4008 The encoding to use for the file stream.
\r
4011 <member name="F:log4net.Appender.FileAppender.m_securityContext">
\r
4013 The security context to use for privileged calls
\r
4016 <member name="F:log4net.Appender.FileAppender.m_stream">
\r
4018 The stream to log to. Has added locking semantics
\r
4021 <member name="F:log4net.Appender.FileAppender.m_lockingModel">
\r
4023 The locking model to use
\r
4026 <member name="P:log4net.Appender.FileAppender.File">
\r
4028 Gets or sets the path to the file that logging will be written to.
\r
4031 The path to the file that logging will be written to.
\r
4035 If the path is relative it is taken as relative from
\r
4036 the application base directory.
\r
4040 <member name="P:log4net.Appender.FileAppender.AppendToFile">
\r
4042 Gets or sets a flag that indicates whether the file should be
\r
4043 appended to or overwritten.
\r
4046 Indicates whether the file should be appended to or overwritten.
\r
4050 If the value is set to false then the file will be overwritten, if
\r
4051 it is set to true then the file will be appended to.
\r
4053 The default value is true.
\r
4056 <member name="P:log4net.Appender.FileAppender.Encoding">
\r
4058 Gets or sets <see cref="P:log4net.Appender.FileAppender.Encoding"/> used to write to the file.
\r
4061 The <see cref="P:log4net.Appender.FileAppender.Encoding"/> used to write to the file.
\r
4065 The default encoding set is <see cref="P:System.Text.Encoding.Default"/>
\r
4066 which is the encoding for the system's current ANSI code page.
\r
4070 <member name="P:log4net.Appender.FileAppender.SecurityContext">
\r
4072 Gets or sets the <see cref="P:log4net.Appender.FileAppender.SecurityContext"/> used to write to the file.
\r
4075 The <see cref="P:log4net.Appender.FileAppender.SecurityContext"/> used to write to the file.
\r
4079 Unless a <see cref="P:log4net.Appender.FileAppender.SecurityContext"/> specified here for this appender
\r
4080 the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
\r
4081 security context to use. The default behavior is to use the security context
\r
4082 of the current thread.
\r
4086 <member name="P:log4net.Appender.FileAppender.LockingModel">
\r
4088 Gets or sets the <see cref="P:log4net.Appender.FileAppender.LockingModel"/> used to handle locking of the file.
\r
4091 The <see cref="P:log4net.Appender.FileAppender.LockingModel"/> used to lock the file.
\r
4095 Gets or sets the <see cref="P:log4net.Appender.FileAppender.LockingModel"/> used to handle locking of the file.
\r
4098 There are two built in locking models, <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/> and <see cref="T:log4net.Appender.FileAppender.MinimalLock"/>.
\r
4099 The former locks the file from the start of logging to the end and the
\r
4100 later lock only for the minimal amount of time when logging each message.
\r
4103 The default locking model is the <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/>.
\r
4107 <member name="T:log4net.Appender.FileAppender.LockingStream">
\r
4109 Write only <see cref="T:System.IO.Stream"/> that uses the <see cref="T:log4net.Appender.FileAppender.LockingModelBase"/>
\r
4110 to manage access to an underlying resource.
\r
4113 <member name="M:log4net.Appender.FileAppender.LockingStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)">
\r
4115 True asynchronous writes are not supported, the implementation forces a synchronous write.
\r
4118 <member name="T:log4net.Core.LogException">
\r
4120 Exception base type for log4net.
\r
4124 This type extends <see cref="T:System.ApplicationException"/>. It
\r
4125 does not add any new functionality but does differentiate the
\r
4126 type of exception being thrown.
\r
4129 <author>Nicko Cadell</author>
\r
4130 <author>Gert Driesen</author>
\r
4132 <member name="M:log4net.Core.LogException.#ctor">
\r
4138 Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class.
\r
4142 <member name="M:log4net.Core.LogException.#ctor(System.String)">
\r
4146 <param name="message">A message to include with the exception.</param>
\r
4149 Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class with
\r
4150 the specified message.
\r
4154 <member name="M:log4net.Core.LogException.#ctor(System.String,System.Exception)">
\r
4158 <param name="message">A message to include with the exception.</param>
\r
4159 <param name="innerException">A nested exception to include.</param>
\r
4162 Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class
\r
4163 with the specified message and inner exception.
\r
4167 <member name="M:log4net.Core.LogException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
\r
4169 Serialization constructor
\r
4171 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
\r
4172 <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
\r
4175 Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class
\r
4176 with serialized data.
\r
4180 <member name="T:log4net.Appender.FileAppender.LockingModelBase">
\r
4182 Locking model base class
\r
4186 Base class for the locking models available to the <see cref="T:log4net.Appender.FileAppender"/> derived loggers.
\r
4190 <member name="M:log4net.Appender.FileAppender.LockingModelBase.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
\r
4192 Open the output file
\r
4194 <param name="filename">The filename to use</param>
\r
4195 <param name="append">Whether to append to the file, or overwrite</param>
\r
4196 <param name="encoding">The encoding to use</param>
\r
4199 Open the file specified and prepare for logging.
\r
4200 No writes will be made until <see cref="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock"/> is called.
\r
4201 Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock"/>,
\r
4202 <see cref="M:log4net.Appender.FileAppender.LockingModelBase.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.LockingModelBase.CloseFile"/>.
\r
4206 <member name="M:log4net.Appender.FileAppender.LockingModelBase.CloseFile">
\r
4212 Close the file. No further writes will be made.
\r
4216 <member name="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock">
\r
4218 Acquire the lock on the file
\r
4220 <returns>A stream that is ready to be written to.</returns>
\r
4223 Acquire the lock on the file in preparation for writing to it.
\r
4224 Return a stream pointing to the file. <see cref="M:log4net.Appender.FileAppender.LockingModelBase.ReleaseLock"/>
\r
4225 must be called to release the lock on the output file.
\r
4229 <member name="M:log4net.Appender.FileAppender.LockingModelBase.ReleaseLock">
\r
4231 Release the lock on the file
\r
4235 Release the lock on the file. No further writes will be made to the
\r
4236 stream until <see cref="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock"/> is called again.
\r
4240 <member name="P:log4net.Appender.FileAppender.LockingModelBase.CurrentAppender">
\r
4242 Gets or sets the <see cref="T:log4net.Appender.FileAppender"/> for this LockingModel
\r
4245 The <see cref="T:log4net.Appender.FileAppender"/> for this LockingModel
\r
4249 The file appender this locking model is attached to and working on
\r
4253 The file appender is used to locate the security context and the error handler to use.
\r
4256 The value of this property will be set before <see cref="M:log4net.Appender.FileAppender.LockingModelBase.OpenFile(System.String,System.Boolean,System.Text.Encoding)"/> is
\r
4261 <member name="T:log4net.Appender.FileAppender.ExclusiveLock">
\r
4263 Hold an exclusive lock on the output file
\r
4267 Open the file once for writing and hold it open until <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.CloseFile"/> is called.
\r
4268 Maintains an exclusive lock on the file during this time.
\r
4272 <member name="M:log4net.Appender.FileAppender.ExclusiveLock.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
\r
4274 Open the file specified and prepare for logging.
\r
4276 <param name="filename">The filename to use</param>
\r
4277 <param name="append">Whether to append to the file, or overwrite</param>
\r
4278 <param name="encoding">The encoding to use</param>
\r
4281 Open the file specified and prepare for logging.
\r
4282 No writes will be made until <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.AcquireLock"/> is called.
\r
4283 Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.AcquireLock"/>,
\r
4284 <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.CloseFile"/>.
\r
4288 <member name="M:log4net.Appender.FileAppender.ExclusiveLock.CloseFile">
\r
4294 Close the file. No further writes will be made.
\r
4298 <member name="M:log4net.Appender.FileAppender.ExclusiveLock.AcquireLock">
\r
4300 Acquire the lock on the file
\r
4302 <returns>A stream that is ready to be written to.</returns>
\r
4305 Does nothing. The lock is already taken
\r
4309 <member name="M:log4net.Appender.FileAppender.ExclusiveLock.ReleaseLock">
\r
4311 Release the lock on the file
\r
4315 Does nothing. The lock will be released when the file is closed.
\r
4319 <member name="T:log4net.Appender.FileAppender.MinimalLock">
\r
4321 Acquires the file lock for each write
\r
4325 Opens the file once for each <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/>/<see cref="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock"/> cycle,
\r
4326 thus holding the lock for the minimal amount of time. This method of locking
\r
4327 is considerably slower than <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/> but allows
\r
4328 other processes to move/delete the log file whilst logging continues.
\r
4332 <member name="M:log4net.Appender.FileAppender.MinimalLock.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
\r
4334 Prepares to open the file when the first message is logged.
\r
4336 <param name="filename">The filename to use</param>
\r
4337 <param name="append">Whether to append to the file, or overwrite</param>
\r
4338 <param name="encoding">The encoding to use</param>
\r
4341 Open the file specified and prepare for logging.
\r
4342 No writes will be made until <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/> is called.
\r
4343 Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/>,
\r
4344 <see cref="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.MinimalLock.CloseFile"/>.
\r
4348 <member name="M:log4net.Appender.FileAppender.MinimalLock.CloseFile">
\r
4354 Close the file. No further writes will be made.
\r
4358 <member name="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock">
\r
4360 Acquire the lock on the file
\r
4362 <returns>A stream that is ready to be written to.</returns>
\r
4365 Acquire the lock on the file in preparation for writing to it.
\r
4366 Return a stream pointing to the file. <see cref="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock"/>
\r
4367 must be called to release the lock on the output file.
\r
4371 <member name="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock">
\r
4373 Release the lock on the file
\r
4377 Release the lock on the file. No further writes will be made to the
\r
4378 stream until <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/> is called again.
\r
4382 <member name="T:log4net.Appender.ForwardingAppender">
\r
4384 This appender forwards logging events to attached appenders.
\r
4388 The forwarding appender can be used to specify different thresholds
\r
4389 and filters for the same appender at different locations within the hierarchy.
\r
4392 <author>Nicko Cadell</author>
\r
4393 <author>Gert Driesen</author>
\r
4395 <member name="M:log4net.Appender.ForwardingAppender.#ctor">
\r
4397 Initializes a new instance of the <see cref="T:log4net.Appender.ForwardingAppender"/> class.
\r
4401 Default constructor.
\r
4405 <member name="M:log4net.Appender.ForwardingAppender.OnClose">
\r
4407 Closes the appender and releases resources.
\r
4411 Releases any resources allocated within the appender such as file handles,
\r
4412 network connections, etc.
\r
4415 It is a programming error to append to a closed appender.
\r
4419 <member name="M:log4net.Appender.ForwardingAppender.Append(log4net.Core.LoggingEvent)">
\r
4421 Forward the logging event to the attached appenders
\r
4423 <param name="loggingEvent">The event to log.</param>
\r
4426 Delivers the logging event to all the attached appenders.
\r
4430 <member name="M:log4net.Appender.ForwardingAppender.Append(log4net.Core.LoggingEvent[])">
\r
4432 Forward the logging events to the attached appenders
\r
4434 <param name="loggingEvents">The array of events to log.</param>
\r
4437 Delivers the logging events to all the attached appenders.
\r
4441 <member name="M:log4net.Appender.ForwardingAppender.AddAppender(log4net.Appender.IAppender)">
\r
4443 Adds an <see cref="T:log4net.Appender.IAppender"/> to the list of appenders of this
\r
4446 <param name="newAppender">The <see cref="T:log4net.Appender.IAppender"/> to add to this appender.</param>
\r
4449 If the specified <see cref="T:log4net.Appender.IAppender"/> is already in the list of
\r
4450 appenders, then it won't be added again.
\r
4454 <member name="M:log4net.Appender.ForwardingAppender.GetAppender(System.String)">
\r
4456 Looks for the appender with the specified name.
\r
4458 <param name="name">The name of the appender to lookup.</param>
\r
4460 The appender with the specified name, or <c>null</c>.
\r
4464 Get the named appender attached to this appender.
\r
4468 <member name="M:log4net.Appender.ForwardingAppender.RemoveAllAppenders">
\r
4470 Removes all previously added appenders from this appender.
\r
4474 This is useful when re-reading configuration information.
\r
4478 <member name="M:log4net.Appender.ForwardingAppender.RemoveAppender(log4net.Appender.IAppender)">
\r
4480 Removes the specified appender from the list of appenders.
\r
4482 <param name="appender">The appender to remove.</param>
\r
4483 <returns>The appender removed from the list</returns>
\r
4485 The appender removed is not closed.
\r
4486 If you are discarding the appender you must call
\r
4487 <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
\r
4490 <member name="M:log4net.Appender.ForwardingAppender.RemoveAppender(System.String)">
\r
4492 Removes the appender with the specified name from the list of appenders.
\r
4494 <param name="name">The name of the appender to remove.</param>
\r
4495 <returns>The appender removed from the list</returns>
\r
4497 The appender removed is not closed.
\r
4498 If you are discarding the appender you must call
\r
4499 <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
\r
4502 <member name="F:log4net.Appender.ForwardingAppender.m_appenderAttachedImpl">
\r
4504 Implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
\r
4507 <member name="P:log4net.Appender.ForwardingAppender.Appenders">
\r
4509 Gets the appenders contained in this appender as an
\r
4510 <see cref="T:System.Collections.ICollection"/>.
\r
4513 If no appenders can be found, then an <see cref="T:log4net.Util.EmptyCollection"/>
\r
4517 A collection of the appenders in this appender.
\r
4520 <member name="T:log4net.Appender.LocalSyslogAppender">
\r
4522 Logs events to a local syslog service.
\r
4526 This appender uses the POSIX libc library functions <c>openlog</c>, <c>syslog</c>, and <c>closelog</c>.
\r
4527 If these functions are not available on the local system then this appender will not work!
\r
4530 The functions <c>openlog</c>, <c>syslog</c>, and <c>closelog</c> are specified in SUSv2 and
\r
4531 POSIX 1003.1-2001 standards. These are used to log messages to the local syslog service.
\r
4534 This appender talks to a local syslog service. If you need to log to a remote syslog
\r
4535 daemon and you cannot configure your local syslog service to do this you may be
\r
4536 able to use the <see cref="T:log4net.Appender.RemoteSyslogAppender"/> to log via UDP.
\r
4539 Syslog messages must have a facility and and a severity. The severity
\r
4540 is derived from the Level of the logging event.
\r
4541 The facility must be chosen from the set of defined syslog
\r
4542 <see cref="T:log4net.Appender.LocalSyslogAppender.SyslogFacility"/> values. The facilities list is predefined
\r
4543 and cannot be extended.
\r
4546 An identifier is specified with each log message. This can be specified
\r
4547 by setting the <see cref="P:log4net.Appender.LocalSyslogAppender.Identity"/> property. The identity (also know
\r
4548 as the tag) must not contain white space. The default value for the
\r
4549 identity is the application name (from <see cref="P:log4net.Util.SystemInfo.ApplicationFriendlyName"/>).
\r
4552 <author>Rob Lyon</author>
\r
4553 <author>Nicko Cadell</author>
\r
4555 <member name="M:log4net.Appender.LocalSyslogAppender.#ctor">
\r
4557 Initializes a new instance of the <see cref="T:log4net.Appender.LocalSyslogAppender"/> class.
\r
4560 This instance of the <see cref="T:log4net.Appender.LocalSyslogAppender"/> class is set up to write
\r
4561 to a local syslog service.
\r
4564 <member name="M:log4net.Appender.LocalSyslogAppender.AddMapping(log4net.Appender.LocalSyslogAppender.LevelSeverity)">
\r
4566 Add a mapping of level to severity
\r
4568 <param name="mapping">The mapping to add</param>
\r
4571 Adds a <see cref="T:log4net.Appender.LocalSyslogAppender.LevelSeverity"/> to this appender.
\r
4575 <member name="M:log4net.Appender.LocalSyslogAppender.ActivateOptions">
\r
4577 Initialize the appender based on the options set.
\r
4581 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
4582 activation scheme. The <see cref="M:log4net.Appender.LocalSyslogAppender.ActivateOptions"/> method must
\r
4583 be called on this object after the configuration properties have
\r
4584 been set. Until <see cref="M:log4net.Appender.LocalSyslogAppender.ActivateOptions"/> is called this
\r
4585 object is in an undefined state and must not be used.
\r
4588 If any of the configuration properties are modified then
\r
4589 <see cref="M:log4net.Appender.LocalSyslogAppender.ActivateOptions"/> must be called again.
\r
4593 <member name="M:log4net.Appender.LocalSyslogAppender.Append(log4net.Core.LoggingEvent)">
\r
4595 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
\r
4597 <param name="loggingEvent">The event to log.</param>
\r
4600 Writes the event to a remote syslog daemon.
\r
4603 The format of the output will depend on the appender's layout.
\r
4607 <member name="M:log4net.Appender.LocalSyslogAppender.OnClose">
\r
4609 Close the syslog when the appender is closed
\r
4613 Close the syslog when the appender is closed
\r
4617 <member name="M:log4net.Appender.LocalSyslogAppender.GetSeverity(log4net.Core.Level)">
\r
4619 Translates a log4net level to a syslog severity.
\r
4621 <param name="level">A log4net level.</param>
\r
4622 <returns>A syslog severity.</returns>
\r
4625 Translates a log4net level to a syslog severity.
\r
4629 <member name="M:log4net.Appender.LocalSyslogAppender.GeneratePriority(log4net.Appender.LocalSyslogAppender.SyslogFacility,log4net.Appender.LocalSyslogAppender.SyslogSeverity)">
\r
4631 Generate a syslog priority.
\r
4633 <param name="facility">The syslog facility.</param>
\r
4634 <param name="severity">The syslog severity.</param>
\r
4635 <returns>A syslog priority.</returns>
\r
4637 <member name="F:log4net.Appender.LocalSyslogAppender.m_facility">
\r
4639 The facility. The default facility is <see cref="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.User"/>.
\r
4642 <member name="F:log4net.Appender.LocalSyslogAppender.m_identity">
\r
4644 The message identity
\r
4647 <member name="F:log4net.Appender.LocalSyslogAppender.m_handleToIdentity">
\r
4649 Marshaled handle to the identity string. We have to hold on to the
\r
4650 string as the <c>openlog</c> and <c>syslog</c> APIs just hold the
\r
4651 pointer to the ident and dereference it for each log message.
\r
4654 <member name="F:log4net.Appender.LocalSyslogAppender.m_levelMapping">
\r
4656 Mapping from level object to syslog severity
\r
4659 <member name="M:log4net.Appender.LocalSyslogAppender.openlog(System.IntPtr,System.Int32,log4net.Appender.LocalSyslogAppender.SyslogFacility)">
\r
4661 Open connection to system logger.
\r
4664 <member name="M:log4net.Appender.LocalSyslogAppender.syslog(System.Int32,System.String,System.String)">
\r
4666 Generate a log message.
\r
4670 The libc syslog method takes a format string and a variable argument list similar
\r
4671 to the classic printf function. As this type of vararg list is not supported
\r
4672 by C# we need to specify the arguments explicitly. Here we have specified the
\r
4673 format string with a single message argument. The caller must set the format
\r
4674 string to <c>"%s"</c>.
\r
4678 <member name="M:log4net.Appender.LocalSyslogAppender.closelog">
\r
4680 Close descriptor used to write to system logger.
\r
4683 <member name="P:log4net.Appender.LocalSyslogAppender.Identity">
\r
4689 An identifier is specified with each log message. This can be specified
\r
4690 by setting the <see cref="P:log4net.Appender.LocalSyslogAppender.Identity"/> property. The identity (also know
\r
4691 as the tag) must not contain white space. The default value for the
\r
4692 identity is the application name (from <see cref="P:log4net.Util.SystemInfo.ApplicationFriendlyName"/>).
\r
4696 <member name="P:log4net.Appender.LocalSyslogAppender.Facility">
\r
4701 Set to one of the <see cref="T:log4net.Appender.LocalSyslogAppender.SyslogFacility"/> values. The list of
\r
4702 facilities is predefined and cannot be extended. The default value
\r
4703 is <see cref="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.User"/>.
\r
4706 <member name="P:log4net.Appender.LocalSyslogAppender.RequiresLayout">
\r
4708 This appender requires a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> to be set.
\r
4710 <value><c>true</c></value>
\r
4713 This appender requires a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> to be set.
\r
4717 <member name="T:log4net.Appender.LocalSyslogAppender.SyslogSeverity">
\r
4723 The log4net Level maps to a syslog severity using the
\r
4724 <see cref="M:log4net.Appender.LocalSyslogAppender.AddMapping(log4net.Appender.LocalSyslogAppender.LevelSeverity)"/> method and the <see cref="T:log4net.Appender.LocalSyslogAppender.LevelSeverity"/>
\r
4725 class. The severity is set on <see cref="P:log4net.Appender.LocalSyslogAppender.LevelSeverity.Severity"/>.
\r
4729 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Emergency">
\r
4731 system is unusable
\r
4734 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Alert">
\r
4736 action must be taken immediately
\r
4739 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Critical">
\r
4741 critical conditions
\r
4744 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Error">
\r
4749 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Warning">
\r
4751 warning conditions
\r
4754 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Notice">
\r
4756 normal but significant condition
\r
4759 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Informational">
\r
4764 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Debug">
\r
4766 debug-level messages
\r
4769 <member name="T:log4net.Appender.LocalSyslogAppender.SyslogFacility">
\r
4775 The syslog facility defines which subsystem the logging comes from.
\r
4776 This is set on the <see cref="P:log4net.Appender.LocalSyslogAppender.Facility"/> property.
\r
4780 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Kernel">
\r
4785 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.User">
\r
4787 random user-level messages
\r
4790 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Mail">
\r
4795 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Daemons">
\r
4800 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Authorization">
\r
4802 security/authorization messages
\r
4805 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Syslog">
\r
4807 messages generated internally by syslogd
\r
4810 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Printer">
\r
4812 line printer subsystem
\r
4815 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.News">
\r
4817 network news subsystem
\r
4820 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Uucp">
\r
4825 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Clock">
\r
4827 clock (cron/at) daemon
\r
4830 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Authorization2">
\r
4832 security/authorization messages (private)
\r
4835 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Ftp">
\r
4840 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Ntp">
\r
4845 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Audit">
\r
4850 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Alert">
\r
4855 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Clock2">
\r
4860 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local0">
\r
4862 reserved for local use
\r
4865 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local1">
\r
4867 reserved for local use
\r
4870 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local2">
\r
4872 reserved for local use
\r
4875 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local3">
\r
4877 reserved for local use
\r
4880 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local4">
\r
4882 reserved for local use
\r
4885 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local5">
\r
4887 reserved for local use
\r
4890 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local6">
\r
4892 reserved for local use
\r
4895 <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local7">
\r
4897 reserved for local use
\r
4900 <member name="T:log4net.Appender.LocalSyslogAppender.LevelSeverity">
\r
4902 A class to act as a mapping between the level that a logging call is made at and
\r
4903 the syslog severity that is should be logged at.
\r
4907 A class to act as a mapping between the level that a logging call is made at and
\r
4908 the syslog severity that is should be logged at.
\r
4912 <member name="P:log4net.Appender.LocalSyslogAppender.LevelSeverity.Severity">
\r
4914 The mapped syslog severity for the specified level
\r
4918 Required property.
\r
4919 The mapped syslog severity for the specified level
\r
4923 <member name="T:log4net.Appender.MemoryAppender">
\r
4925 Stores logging events in an array.
\r
4929 The memory appender stores all the logging events
\r
4930 that are appended in an in-memory array.
\r
4933 Use the <see cref="M:log4net.Appender.MemoryAppender.GetEvents"/> method to get
\r
4934 the current list of events that have been appended.
\r
4937 Use the <see cref="M:log4net.Appender.MemoryAppender.Clear"/> method to clear the
\r
4938 current list of events.
\r
4941 <author>Julian Biddle</author>
\r
4942 <author>Nicko Cadell</author>
\r
4943 <author>Gert Driesen</author>
\r
4945 <member name="M:log4net.Appender.MemoryAppender.#ctor">
\r
4947 Initializes a new instance of the <see cref="T:log4net.Appender.MemoryAppender"/> class.
\r
4951 Default constructor.
\r
4955 <member name="M:log4net.Appender.MemoryAppender.GetEvents">
\r
4957 Gets the events that have been logged.
\r
4959 <returns>The events that have been logged</returns>
\r
4962 Gets the events that have been logged.
\r
4966 <member name="M:log4net.Appender.MemoryAppender.Append(log4net.Core.LoggingEvent)">
\r
4968 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
\r
4970 <param name="loggingEvent">the event to log</param>
\r
4972 <para>Stores the <paramref name="loggingEvent"/> in the events list.</para>
\r
4975 <member name="M:log4net.Appender.MemoryAppender.Clear">
\r
4977 Clear the list of events
\r
4980 Clear the list of events
\r
4983 <member name="F:log4net.Appender.MemoryAppender.m_eventsList">
\r
4985 The list of events that have been appended.
\r
4988 <member name="F:log4net.Appender.MemoryAppender.m_fixFlags">
\r
4990 Value indicating which fields in the event should be fixed
\r
4993 By default all fields are fixed
\r
4996 <member name="P:log4net.Appender.MemoryAppender.OnlyFixPartialEventData">
\r
4998 Gets or sets a value indicating whether only part of the logging event
\r
4999 data should be fixed.
\r
5002 <c>true</c> if the appender should only fix part of the logging event
\r
5003 data, otherwise <c>false</c>. The default is <c>false</c>.
\r
5007 Setting this property to <c>true</c> will cause only part of the event
\r
5008 data to be fixed and stored in the appender, hereby improving performance.
\r
5011 See <see cref="M:log4net.Core.LoggingEvent.FixVolatileData(System.Boolean)"/> for more information.
\r
5015 <member name="P:log4net.Appender.MemoryAppender.Fix">
\r
5017 Gets or sets the fields that will be fixed in the event
\r
5021 The logging event needs to have certain thread specific values
\r
5022 captured before it can be buffered. See <see cref="P:log4net.Core.LoggingEvent.Fix"/>
\r
5027 <member name="T:log4net.Appender.NetSendAppender">
\r
5029 Logs entries by sending network messages using the
\r
5030 <see cref="M:log4net.Appender.NetSendAppender.NetMessageBufferSend(System.String,System.String,System.String,System.String,System.Int32)"/> native function.
\r
5034 You can send messages only to names that are active
\r
5035 on the network. If you send the message to a user name,
\r
5036 that user must be logged on and running the Messenger
\r
5037 service to receive the message.
\r
5040 The receiver will get a top most window displaying the
\r
5041 messages one at a time, therefore this appender should
\r
5042 not be used to deliver a high volume of messages.
\r
5045 The following table lists some possible uses for this appender :
\r
5048 <list type="table">
\r
5050 <term>Action</term>
\r
5051 <description>Property Value(s)</description>
\r
5054 <term>Send a message to a user account on the local machine</term>
\r
5057 <paramref name="Server"/> = <name of the local machine>
\r
5060 <paramref name="Recipient"/> = <user name>
\r
5065 <term>Send a message to a user account on a remote machine</term>
\r
5068 <paramref name="Server"/> = <name of the remote machine>
\r
5071 <paramref name="Recipient"/> = <user name>
\r
5076 <term>Send a message to a domain user account</term>
\r
5079 <paramref name="Server"/> = <name of a domain controller | uninitialized>
\r
5082 <paramref name="Recipient"/> = <user name>
\r
5087 <term>Send a message to all the names in a workgroup or domain</term>
\r
5090 <paramref name="Recipient"/> = <workgroup name | domain name>*
\r
5095 <term>Send a message from the local machine to a remote machine</term>
\r
5098 <paramref name="Server"/> = <name of the local machine | uninitialized>
\r
5101 <paramref name="Recipient"/> = <name of the remote machine>
\r
5108 <b>Note :</b> security restrictions apply for sending
\r
5109 network messages, see <see cref="M:log4net.Appender.NetSendAppender.NetMessageBufferSend(System.String,System.String,System.String,System.String,System.Int32)"/>
\r
5110 for more information.
\r
5115 An example configuration section to log information
\r
5116 using this appender from the local machine, named
\r
5117 LOCAL_PC, to machine OPERATOR_PC :
\r
5119 <code lang="XML" escaped="true">
\r
5120 <appender name="NetSendAppender_Operator" type="log4net.Appender.NetSendAppender">
\r
5121 <server value="LOCAL_PC"/>
\r
5122 <recipient value="OPERATOR_PC"/>
\r
5123 <layout type="log4net.Layout.PatternLayout" value="%-5p %c [%x] - %m%n"/>
\r
5127 <author>Nicko Cadell</author>
\r
5128 <author>Gert Driesen</author>
\r
5130 <member name="F:log4net.Appender.NetSendAppender.m_server">
\r
5132 The DNS or NetBIOS name of the server on which the function is to execute.
\r
5135 <member name="F:log4net.Appender.NetSendAppender.m_sender">
\r
5137 The sender of the network message.
\r
5140 <member name="F:log4net.Appender.NetSendAppender.m_recipient">
\r
5142 The message alias to which the message should be sent.
\r
5145 <member name="F:log4net.Appender.NetSendAppender.m_securityContext">
\r
5147 The security context to use for privileged calls
\r
5150 <member name="M:log4net.Appender.NetSendAppender.#ctor">
\r
5152 Initializes the appender.
\r
5155 The default constructor initializes all fields to their default values.
\r
5158 <member name="M:log4net.Appender.NetSendAppender.ActivateOptions">
\r
5160 Initialize the appender based on the options set.
\r
5164 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
5165 activation scheme. The <see cref="M:log4net.Appender.NetSendAppender.ActivateOptions"/> method must
\r
5166 be called on this object after the configuration properties have
\r
5167 been set. Until <see cref="M:log4net.Appender.NetSendAppender.ActivateOptions"/> is called this
\r
5168 object is in an undefined state and must not be used.
\r
5171 If any of the configuration properties are modified then
\r
5172 <see cref="M:log4net.Appender.NetSendAppender.ActivateOptions"/> must be called again.
\r
5175 The appender will be ignored if no <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> was specified.
\r
5178 <exception cref="T:System.ArgumentNullException">The required property <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> was not specified.</exception>
\r
5180 <member name="M:log4net.Appender.NetSendAppender.Append(log4net.Core.LoggingEvent)">
\r
5182 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
\r
5184 <param name="loggingEvent">The event to log.</param>
\r
5187 Sends the event using a network message.
\r
5191 <member name="M:log4net.Appender.NetSendAppender.NetMessageBufferSend(System.String,System.String,System.String,System.String,System.Int32)">
\r
5193 Sends a buffer of information to a registered message alias.
\r
5195 <param name="serverName">The DNS or NetBIOS name of the server on which the function is to execute.</param>
\r
5196 <param name="msgName">The message alias to which the message buffer should be sent</param>
\r
5197 <param name="fromName">The originator of the message.</param>
\r
5198 <param name="buffer">The message text.</param>
\r
5199 <param name="bufferSize">The length, in bytes, of the message text.</param>
\r
5202 The following restrictions apply for sending network messages:
\r
5205 <list type="table">
\r
5207 <term>Platform</term>
\r
5208 <description>Requirements</description>
\r
5211 <term>Windows NT</term>
\r
5214 No special group membership is required to send a network message.
\r
5217 Admin, Accounts, Print, or Server Operator group membership is required to
\r
5218 successfully send a network message on a remote server.
\r
5223 <term>Windows 2000 or later</term>
\r
5226 If you send a message on a domain controller that is running Active Directory,
\r
5227 access is allowed or denied based on the access control list (ACL) for the securable
\r
5228 object. The default ACL permits only Domain Admins and Account Operators to send a network message.
\r
5231 On a member server or workstation, only Administrators and Server Operators can send a network message.
\r
5238 For more information see <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/security_requirements_for_the_network_management_functions.asp">Security Requirements for the Network Management Functions</a>.
\r
5243 If the function succeeds, the return value is zero.
\r
5247 <member name="P:log4net.Appender.NetSendAppender.Sender">
\r
5249 Gets or sets the sender of the message.
\r
5252 The sender of the message.
\r
5255 If this property is not specified, the message is sent from the local computer.
\r
5258 <member name="P:log4net.Appender.NetSendAppender.Recipient">
\r
5260 Gets or sets the message alias to which the message should be sent.
\r
5263 The recipient of the message.
\r
5266 This property should always be specified in order to send a message.
\r
5269 <member name="P:log4net.Appender.NetSendAppender.Server">
\r
5271 Gets or sets the DNS or NetBIOS name of the remote server on which the function is to execute.
\r
5274 DNS or NetBIOS name of the remote server on which the function is to execute.
\r
5278 For Windows NT 4.0 and earlier, the string should begin with \\.
\r
5281 If this property is not specified, the local computer is used.
\r
5285 <member name="P:log4net.Appender.NetSendAppender.SecurityContext">
\r
5287 Gets or sets the <see cref="P:log4net.Appender.NetSendAppender.SecurityContext"/> used to call the NetSend method.
\r
5290 The <see cref="P:log4net.Appender.NetSendAppender.SecurityContext"/> used to call the NetSend method.
\r
5294 Unless a <see cref="P:log4net.Appender.NetSendAppender.SecurityContext"/> specified here for this appender
\r
5295 the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
\r
5296 security context to use. The default behavior is to use the security context
\r
5297 of the current thread.
\r
5301 <member name="P:log4net.Appender.NetSendAppender.RequiresLayout">
\r
5303 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
5305 <value><c>true</c></value>
\r
5308 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
5312 <member name="T:log4net.Appender.OutputDebugStringAppender">
\r
5314 Appends log events to the OutputDebugString system.
\r
5318 OutputDebugStringAppender appends log events to the
\r
5319 OutputDebugString system.
\r
5322 The string is passed to the native <c>OutputDebugString</c>
\r
5326 <author>Nicko Cadell</author>
\r
5327 <author>Gert Driesen</author>
\r
5329 <member name="M:log4net.Appender.OutputDebugStringAppender.#ctor">
\r
5331 Initializes a new instance of the <see cref="T:log4net.Appender.OutputDebugStringAppender"/> class.
\r
5335 Default constructor.
\r
5339 <member name="M:log4net.Appender.OutputDebugStringAppender.Append(log4net.Core.LoggingEvent)">
\r
5341 Write the logging event to the output debug string API
\r
5343 <param name="loggingEvent">the event to log</param>
\r
5346 Write the logging event to the output debug string API
\r
5350 <member name="M:log4net.Appender.OutputDebugStringAppender.OutputDebugString(System.String)">
\r
5352 Stub for OutputDebugString native method
\r
5354 <param name="message">the string to output</param>
\r
5357 Stub for OutputDebugString native method
\r
5361 <member name="P:log4net.Appender.OutputDebugStringAppender.RequiresLayout">
\r
5363 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
5365 <value><c>true</c></value>
\r
5368 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
5372 <member name="T:log4net.Appender.RemoteSyslogAppender">
\r
5374 Logs events to a remote syslog daemon.
\r
5378 The BSD syslog protocol is used to remotely log to
\r
5379 a syslog daemon. The syslogd listens for for messages
\r
5383 The syslog UDP protocol is not authenticated. Most syslog daemons
\r
5384 do not accept remote log messages because of the security implications.
\r
5385 You may be able to use the LocalSyslogAppender to talk to a local
\r
5389 There is an RFC 3164 that claims to document the BSD Syslog Protocol.
\r
5390 This RFC can be seen here: http://www.faqs.org/rfcs/rfc3164.html.
\r
5391 This appender generates what the RFC calls an "Original Device Message",
\r
5392 i.e. does not include the TIMESTAMP or HOSTNAME fields. By observation
\r
5393 this format of message will be accepted by all current syslog daemon
\r
5394 implementations. The daemon will attach the current time and the source
\r
5395 hostname or IP address to any messages received.
\r
5398 Syslog messages must have a facility and and a severity. The severity
\r
5399 is derived from the Level of the logging event.
\r
5400 The facility must be chosen from the set of defined syslog
\r
5401 <see cref="T:log4net.Appender.RemoteSyslogAppender.SyslogFacility"/> values. The facilities list is predefined
\r
5402 and cannot be extended.
\r
5405 An identifier is specified with each log message. This can be specified
\r
5406 by setting the <see cref="P:log4net.Appender.RemoteSyslogAppender.Identity"/> property. The identity (also know
\r
5407 as the tag) must not contain white space. The default value for the
\r
5408 identity is the application name (from <see cref="P:log4net.Core.LoggingEvent.Domain"/>).
\r
5411 <author>Rob Lyon</author>
\r
5412 <author>Nicko Cadell</author>
\r
5414 <member name="T:log4net.Appender.UdpAppender">
\r
5416 Sends logging events as connectionless UDP datagrams to a remote host or a
\r
5417 multicast group using an <see cref="T:System.Net.Sockets.UdpClient"/>.
\r
5421 UDP guarantees neither that messages arrive, nor that they arrive in the correct order.
\r
5424 To view the logging results, a custom application can be developed that listens for logging
\r
5428 When decoding events send via this appender remember to use the same encoding
\r
5429 to decode the events as was used to send the events. See the <see cref="P:log4net.Appender.UdpAppender.Encoding"/>
\r
5430 property to specify the encoding to use.
\r
5434 This example shows how to log receive logging events that are sent
\r
5435 on IP address 244.0.0.1 and port 8080 to the console. The event is
\r
5436 encoded in the packet as a unicode string and it is decoded as such.
\r
5438 IPEndPoint remoteEndPoint = new IPEndPoint(IPAddress.Any, 0);
\r
5439 UdpClient udpClient;
\r
5441 string loggingEvent;
\r
5445 udpClient = new UdpClient(8080);
\r
5449 buffer = udpClient.Receive(ref remoteEndPoint);
\r
5450 loggingEvent = System.Text.Encoding.Unicode.GetString(buffer);
\r
5451 Console.WriteLine(loggingEvent);
\r
5454 catch(Exception e)
\r
5456 Console.WriteLine(e.ToString());
\r
5459 <code lang="Visual Basic">
\r
5460 Dim remoteEndPoint as IPEndPoint
\r
5461 Dim udpClient as UdpClient
\r
5462 Dim buffer as Byte()
\r
5463 Dim loggingEvent as String
\r
5466 remoteEndPoint = new IPEndPoint(IPAddress.Any, 0)
\r
5467 udpClient = new UdpClient(8080)
\r
5470 buffer = udpClient.Receive(ByRef remoteEndPoint)
\r
5471 loggingEvent = System.Text.Encoding.Unicode.GetString(buffer)
\r
5472 Console.WriteLine(loggingEvent)
\r
5474 Catch e As Exception
\r
5475 Console.WriteLine(e.ToString())
\r
5479 An example configuration section to log information using this appender to the
\r
5480 IP 224.0.0.1 on port 8080:
\r
5482 <code lang="XML" escaped="true">
\r
5483 <appender name="UdpAppender" type="log4net.Appender.UdpAppender">
\r
5484 <remoteAddress value="224.0.0.1"/>
\r
5485 <remotePort value="8080"/>
\r
5486 <layout type="log4net.Layout.PatternLayout" value="%-5level %logger [%ndc] - %message%newline"/>
\r
5490 <author>Gert Driesen</author>
\r
5491 <author>Nicko Cadell</author>
\r
5493 <member name="M:log4net.Appender.UdpAppender.#ctor">
\r
5495 Initializes a new instance of the <see cref="T:log4net.Appender.UdpAppender"/> class.
\r
5498 The default constructor initializes all fields to their default values.
\r
5501 <member name="M:log4net.Appender.UdpAppender.ActivateOptions">
\r
5503 Initialize the appender based on the options set.
\r
5507 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
5508 activation scheme. The <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> method must
\r
5509 be called on this object after the configuration properties have
\r
5510 been set. Until <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> is called this
\r
5511 object is in an undefined state and must not be used.
\r
5514 If any of the configuration properties are modified then
\r
5515 <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> must be called again.
\r
5518 The appender will be ignored if no <see cref="P:log4net.Appender.UdpAppender.RemoteAddress"/> was specified or
\r
5519 an invalid remote or local TCP port number was specified.
\r
5522 <exception cref="T:System.ArgumentNullException">The required property <see cref="P:log4net.Appender.UdpAppender.RemoteAddress"/> was not specified.</exception>
\r
5523 <exception cref="T:System.ArgumentOutOfRangeException">The TCP port number assigned to <see cref="P:log4net.Appender.UdpAppender.LocalPort"/> or <see cref="P:log4net.Appender.UdpAppender.RemotePort"/> is less than <see cref="F:System.Net.IPEndPoint.MinPort"/> or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
\r
5525 <member name="M:log4net.Appender.UdpAppender.Append(log4net.Core.LoggingEvent)">
\r
5527 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
\r
5529 <param name="loggingEvent">The event to log.</param>
\r
5532 Sends the event using an UDP datagram.
\r
5535 Exceptions are passed to the <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/>.
\r
5539 <member name="M:log4net.Appender.UdpAppender.OnClose">
\r
5541 Closes the UDP connection and releases all resources associated with
\r
5542 this <see cref="T:log4net.Appender.UdpAppender"/> instance.
\r
5546 Disables the underlying <see cref="T:System.Net.Sockets.UdpClient"/> and releases all managed
\r
5547 and unmanaged resources associated with the <see cref="T:log4net.Appender.UdpAppender"/>.
\r
5551 <member name="M:log4net.Appender.UdpAppender.InitializeClientConnection">
\r
5553 Initializes the underlying <see cref="T:System.Net.Sockets.UdpClient"/> connection.
\r
5557 The underlying <see cref="T:System.Net.Sockets.UdpClient"/> is initialized and binds to the
\r
5558 port number from which you intend to communicate.
\r
5561 Exceptions are passed to the <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/>.
\r
5565 <member name="F:log4net.Appender.UdpAppender.m_remoteAddress">
\r
5567 The IP address of the remote host or multicast group to which
\r
5568 the logging event will be sent.
\r
5571 <member name="F:log4net.Appender.UdpAppender.m_remotePort">
\r
5573 The TCP port number of the remote host or multicast group to
\r
5574 which the logging event will be sent.
\r
5577 <member name="F:log4net.Appender.UdpAppender.m_remoteEndPoint">
\r
5579 The cached remote endpoint to which the logging events will be sent.
\r
5582 <member name="F:log4net.Appender.UdpAppender.m_localPort">
\r
5584 The TCP port number from which the <see cref="T:System.Net.Sockets.UdpClient"/> will communicate.
\r
5587 <member name="F:log4net.Appender.UdpAppender.m_client">
\r
5589 The <see cref="T:System.Net.Sockets.UdpClient"/> instance that will be used for sending the
\r
5593 <member name="F:log4net.Appender.UdpAppender.m_encoding">
\r
5595 The encoding to use for the packet.
\r
5598 <member name="P:log4net.Appender.UdpAppender.RemoteAddress">
\r
5600 Gets or sets the IP address of the remote host or multicast group to which
\r
5601 the underlying <see cref="T:System.Net.Sockets.UdpClient"/> should sent the logging event.
\r
5604 The IP address of the remote host or multicast group to which the logging event
\r
5609 Multicast addresses are identified by IP class <b>D</b> addresses (in the range 224.0.0.0 to
\r
5610 239.255.255.255). Multicast packets can pass across different networks through routers, so
\r
5611 it is possible to use multicasts in an Internet scenario as long as your network provider
\r
5612 supports multicasting.
\r
5615 Hosts that want to receive particular multicast messages must register their interest by joining
\r
5616 the multicast group. Multicast messages are not sent to networks where no host has joined
\r
5617 the multicast group. Class <b>D</b> IP addresses are used for multicast groups, to differentiate
\r
5618 them from normal host addresses, allowing nodes to easily detect if a message is of interest.
\r
5621 Static multicast addresses that are needed globally are assigned by IANA. A few examples are listed in the table below:
\r
5624 <list type="table">
\r
5626 <term>IP Address</term>
\r
5627 <description>Description</description>
\r
5630 <term>224.0.0.1</term>
\r
5633 Sends a message to all system on the subnet.
\r
5638 <term>224.0.0.2</term>
\r
5641 Sends a message to all routers on the subnet.
\r
5646 <term>224.0.0.12</term>
\r
5649 The DHCP server answers messages on the IP address 224.0.0.12, but only on a subnet.
\r
5656 A complete list of actually reserved multicast addresses and their owners in the ranges
\r
5657 defined by RFC 3171 can be found at the <A href="http://www.iana.org/assignments/multicast-addresses">IANA web site</A>.
\r
5660 The address range 239.0.0.0 to 239.255.255.255 is reserved for administrative scope-relative
\r
5661 addresses. These addresses can be reused with other local groups. Routers are typically
\r
5662 configured with filters to prevent multicast traffic in this range from flowing outside
\r
5663 of the local network.
\r
5667 <member name="P:log4net.Appender.UdpAppender.RemotePort">
\r
5669 Gets or sets the TCP port number of the remote host or multicast group to which
\r
5670 the underlying <see cref="T:System.Net.Sockets.UdpClient"/> should sent the logging event.
\r
5673 An integer value in the range <see cref="F:System.Net.IPEndPoint.MinPort"/> to <see cref="F:System.Net.IPEndPoint.MaxPort"/>
\r
5674 indicating the TCP port number of the remote host or multicast group to which the logging event
\r
5678 The underlying <see cref="T:System.Net.Sockets.UdpClient"/> will send messages to this TCP port number
\r
5679 on the remote host or multicast group.
\r
5681 <exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than <see cref="F:System.Net.IPEndPoint.MinPort"/> or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
\r
5683 <member name="P:log4net.Appender.UdpAppender.LocalPort">
\r
5685 Gets or sets the TCP port number from which the underlying <see cref="T:System.Net.Sockets.UdpClient"/> will communicate.
\r
5688 An integer value in the range <see cref="F:System.Net.IPEndPoint.MinPort"/> to <see cref="F:System.Net.IPEndPoint.MaxPort"/>
\r
5689 indicating the TCP port number from which the underlying <see cref="T:System.Net.Sockets.UdpClient"/> will communicate.
\r
5693 The underlying <see cref="T:System.Net.Sockets.UdpClient"/> will bind to this port for sending messages.
\r
5696 Setting the value to 0 (the default) will cause the udp client not to bind to
\r
5700 <exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than <see cref="F:System.Net.IPEndPoint.MinPort"/> or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
\r
5702 <member name="P:log4net.Appender.UdpAppender.Encoding">
\r
5704 Gets or sets <see cref="P:log4net.Appender.UdpAppender.Encoding"/> used to write the packets.
\r
5707 The <see cref="P:log4net.Appender.UdpAppender.Encoding"/> used to write the packets.
\r
5711 The <see cref="P:log4net.Appender.UdpAppender.Encoding"/> used to write the packets.
\r
5715 <member name="P:log4net.Appender.UdpAppender.Client">
\r
5717 Gets or sets the underlying <see cref="T:System.Net.Sockets.UdpClient"/>.
\r
5720 The underlying <see cref="T:System.Net.Sockets.UdpClient"/>.
\r
5723 <see cref="T:log4net.Appender.UdpAppender"/> creates a <see cref="T:System.Net.Sockets.UdpClient"/> to send logging events
\r
5724 over a network. Classes deriving from <see cref="T:log4net.Appender.UdpAppender"/> can use this
\r
5725 property to get or set this <see cref="T:System.Net.Sockets.UdpClient"/>. Use the underlying <see cref="T:System.Net.Sockets.UdpClient"/>
\r
5726 returned from <see cref="P:log4net.Appender.UdpAppender.Client"/> if you require access beyond that which
\r
5727 <see cref="T:log4net.Appender.UdpAppender"/> provides.
\r
5730 <member name="P:log4net.Appender.UdpAppender.RemoteEndPoint">
\r
5732 Gets or sets the cached remote endpoint to which the logging events should be sent.
\r
5735 The cached remote endpoint to which the logging events will be sent.
\r
5738 The <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> method will initialize the remote endpoint
\r
5739 with the values of the <see cref="P:log4net.Appender.UdpAppender.RemoteAddress"/> and <see cref="P:log4net.Appender.UdpAppender.RemotePort"/>
\r
5743 <member name="P:log4net.Appender.UdpAppender.RequiresLayout">
\r
5745 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
5747 <value><c>true</c></value>
\r
5750 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
5754 <member name="F:log4net.Appender.RemoteSyslogAppender.DefaultSyslogPort">
\r
5759 <member name="M:log4net.Appender.RemoteSyslogAppender.#ctor">
\r
5761 Initializes a new instance of the <see cref="T:log4net.Appender.RemoteSyslogAppender"/> class.
\r
5764 This instance of the <see cref="T:log4net.Appender.RemoteSyslogAppender"/> class is set up to write
\r
5765 to a remote syslog daemon.
\r
5768 <member name="M:log4net.Appender.RemoteSyslogAppender.AddMapping(log4net.Appender.RemoteSyslogAppender.LevelSeverity)">
\r
5770 Add a mapping of level to severity
\r
5772 <param name="mapping">The mapping to add</param>
\r
5775 Add a <see cref="T:log4net.Appender.RemoteSyslogAppender.LevelSeverity"/> mapping to this appender.
\r
5779 <member name="M:log4net.Appender.RemoteSyslogAppender.Append(log4net.Core.LoggingEvent)">
\r
5781 This method is called by the <see cref="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
\r
5783 <param name="loggingEvent">The event to log.</param>
\r
5786 Writes the event to a remote syslog daemon.
\r
5789 The format of the output will depend on the appender's layout.
\r
5793 <member name="M:log4net.Appender.RemoteSyslogAppender.ActivateOptions">
\r
5795 Initialize the options for this appender
\r
5799 Initialize the level to syslog severity mappings set on this appender.
\r
5803 <member name="M:log4net.Appender.RemoteSyslogAppender.GetSeverity(log4net.Core.Level)">
\r
5805 Translates a log4net level to a syslog severity.
\r
5807 <param name="level">A log4net level.</param>
\r
5808 <returns>A syslog severity.</returns>
\r
5811 Translates a log4net level to a syslog severity.
\r
5815 <member name="M:log4net.Appender.RemoteSyslogAppender.GeneratePriority(log4net.Appender.RemoteSyslogAppender.SyslogFacility,log4net.Appender.RemoteSyslogAppender.SyslogSeverity)">
\r
5817 Generate a syslog priority.
\r
5819 <param name="facility">The syslog facility.</param>
\r
5820 <param name="severity">The syslog severity.</param>
\r
5821 <returns>A syslog priority.</returns>
\r
5824 Generate a syslog priority.
\r
5828 <member name="F:log4net.Appender.RemoteSyslogAppender.m_facility">
\r
5830 The facility. The default facility is <see cref="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.User"/>.
\r
5833 <member name="F:log4net.Appender.RemoteSyslogAppender.m_identity">
\r
5835 The message identity
\r
5838 <member name="F:log4net.Appender.RemoteSyslogAppender.m_levelMapping">
\r
5840 Mapping from level object to syslog severity
\r
5843 <member name="P:log4net.Appender.RemoteSyslogAppender.Identity">
\r
5849 An identifier is specified with each log message. This can be specified
\r
5850 by setting the <see cref="P:log4net.Appender.RemoteSyslogAppender.Identity"/> property. The identity (also know
\r
5851 as the tag) must not contain white space. The default value for the
\r
5852 identity is the application name (from <see cref="P:log4net.Core.LoggingEvent.Domain"/>).
\r
5856 <member name="P:log4net.Appender.RemoteSyslogAppender.Facility">
\r
5861 Set to one of the <see cref="T:log4net.Appender.RemoteSyslogAppender.SyslogFacility"/> values. The list of
\r
5862 facilities is predefined and cannot be extended. The default value
\r
5863 is <see cref="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.User"/>.
\r
5866 <member name="T:log4net.Appender.RemoteSyslogAppender.SyslogSeverity">
\r
5872 The syslog severities.
\r
5876 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Emergency">
\r
5878 system is unusable
\r
5881 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Alert">
\r
5883 action must be taken immediately
\r
5886 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Critical">
\r
5888 critical conditions
\r
5891 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Error">
\r
5896 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Warning">
\r
5898 warning conditions
\r
5901 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Notice">
\r
5903 normal but significant condition
\r
5906 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Informational">
\r
5911 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Debug">
\r
5913 debug-level messages
\r
5916 <member name="T:log4net.Appender.RemoteSyslogAppender.SyslogFacility">
\r
5922 The syslog facilities
\r
5926 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Kernel">
\r
5931 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.User">
\r
5933 random user-level messages
\r
5936 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Mail">
\r
5941 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Daemons">
\r
5946 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Authorization">
\r
5948 security/authorization messages
\r
5951 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Syslog">
\r
5953 messages generated internally by syslogd
\r
5956 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Printer">
\r
5958 line printer subsystem
\r
5961 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.News">
\r
5963 network news subsystem
\r
5966 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Uucp">
\r
5971 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Clock">
\r
5973 clock (cron/at) daemon
\r
5976 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Authorization2">
\r
5978 security/authorization messages (private)
\r
5981 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Ftp">
\r
5986 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Ntp">
\r
5991 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Audit">
\r
5996 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Alert">
\r
6001 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Clock2">
\r
6006 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local0">
\r
6008 reserved for local use
\r
6011 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local1">
\r
6013 reserved for local use
\r
6016 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local2">
\r
6018 reserved for local use
\r
6021 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local3">
\r
6023 reserved for local use
\r
6026 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local4">
\r
6028 reserved for local use
\r
6031 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local5">
\r
6033 reserved for local use
\r
6036 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local6">
\r
6038 reserved for local use
\r
6041 <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local7">
\r
6043 reserved for local use
\r
6046 <member name="T:log4net.Appender.RemoteSyslogAppender.LevelSeverity">
\r
6048 A class to act as a mapping between the level that a logging call is made at and
\r
6049 the syslog severity that is should be logged at.
\r
6053 A class to act as a mapping between the level that a logging call is made at and
\r
6054 the syslog severity that is should be logged at.
\r
6058 <member name="P:log4net.Appender.RemoteSyslogAppender.LevelSeverity.Severity">
\r
6060 The mapped syslog severity for the specified level
\r
6064 Required property.
\r
6065 The mapped syslog severity for the specified level
\r
6069 <member name="T:log4net.Appender.RemotingAppender">
\r
6071 Delivers logging events to a remote logging sink.
\r
6075 This Appender is designed to deliver events to a remote sink.
\r
6076 That is any object that implements the <see cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
\r
6077 interface. It delivers the events using .NET remoting. The
\r
6078 object to deliver events to is specified by setting the
\r
6079 appenders <see cref="P:log4net.Appender.RemotingAppender.Sink"/> property.</para>
\r
6081 The RemotingAppender buffers events before sending them. This allows it to
\r
6082 make more efficient use of the remoting infrastructure.</para>
\r
6084 Once the buffer is full the events are still not sent immediately.
\r
6085 They are scheduled to be sent using a pool thread. The effect is that
\r
6086 the send occurs asynchronously. This is very important for a
\r
6087 number of non obvious reasons. The remoting infrastructure will
\r
6088 flow thread local variables (stored in the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>),
\r
6089 if they are marked as <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>, across the
\r
6090 remoting boundary. If the server is not contactable then
\r
6091 the remoting infrastructure will clear the <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>
\r
6092 objects from the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>. To prevent a logging failure from
\r
6093 having side effects on the calling application the remoting call must be made
\r
6094 from a separate thread to the one used by the application. A <see cref="T:System.Threading.ThreadPool"/>
\r
6095 thread is used for this. If no <see cref="T:System.Threading.ThreadPool"/> thread is available then
\r
6096 the events will block in the thread pool manager until a thread is available.</para>
\r
6098 Because the events are sent asynchronously using pool threads it is possible to close
\r
6099 this appender before all the queued events have been sent.
\r
6100 When closing the appender attempts to wait until all the queued events have been sent, but
\r
6101 this will timeout after 30 seconds regardless.</para>
\r
6103 If this appender is being closed because the <see cref="E:System.AppDomain.ProcessExit"/>
\r
6104 event has fired it may not be possible to send all the queued events. During process
\r
6105 exit the runtime limits the time that a <see cref="E:System.AppDomain.ProcessExit"/>
\r
6106 event handler is allowed to run for. If the runtime terminates the threads before
\r
6107 the queued events have been sent then they will be lost. To ensure that all events
\r
6108 are sent the appender must be closed before the application exits. See
\r
6109 <see cref="M:log4net.Core.LoggerManager.Shutdown"/> for details on how to shutdown
\r
6110 log4net programmatically.</para>
\r
6112 <seealso cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
\r
6113 <author>Nicko Cadell</author>
\r
6114 <author>Gert Driesen</author>
\r
6115 <author>Daniel Cazzulino</author>
\r
6117 <member name="M:log4net.Appender.RemotingAppender.#ctor">
\r
6119 Initializes a new instance of the <see cref="T:log4net.Appender.RemotingAppender"/> class.
\r
6123 Default constructor.
\r
6127 <member name="M:log4net.Appender.RemotingAppender.ActivateOptions">
\r
6129 Initialize the appender based on the options set
\r
6133 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
6134 activation scheme. The <see cref="M:log4net.Appender.RemotingAppender.ActivateOptions"/> method must
\r
6135 be called on this object after the configuration properties have
\r
6136 been set. Until <see cref="M:log4net.Appender.RemotingAppender.ActivateOptions"/> is called this
\r
6137 object is in an undefined state and must not be used.
\r
6140 If any of the configuration properties are modified then
\r
6141 <see cref="M:log4net.Appender.RemotingAppender.ActivateOptions"/> must be called again.
\r
6145 <member name="M:log4net.Appender.RemotingAppender.SendBuffer(log4net.Core.LoggingEvent[])">
\r
6147 Send the contents of the buffer to the remote sink.
\r
6150 The events are not sent immediately. They are scheduled to be sent
\r
6151 using a pool thread. The effect is that the send occurs asynchronously.
\r
6152 This is very important for a number of non obvious reasons. The remoting
\r
6153 infrastructure will flow thread local variables (stored in the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>),
\r
6154 if they are marked as <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>, across the
\r
6155 remoting boundary. If the server is not contactable then
\r
6156 the remoting infrastructure will clear the <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>
\r
6157 objects from the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>. To prevent a logging failure from
\r
6158 having side effects on the calling application the remoting call must be made
\r
6159 from a separate thread to the one used by the application. A <see cref="T:System.Threading.ThreadPool"/>
\r
6160 thread is used for this. If no <see cref="T:System.Threading.ThreadPool"/> thread is available then
\r
6161 the events will block in the thread pool manager until a thread is available.
\r
6163 <param name="events">The events to send.</param>
\r
6165 <member name="M:log4net.Appender.RemotingAppender.OnClose">
\r
6167 Override base class close.
\r
6171 This method waits while there are queued work items. The events are
\r
6172 sent asynchronously using <see cref="T:System.Threading.ThreadPool"/> work items. These items
\r
6173 will be sent once a thread pool thread is available to send them, therefore
\r
6174 it is possible to close the appender before all the queued events have been
\r
6177 This method attempts to wait until all the queued events have been sent, but this
\r
6178 method will timeout after 30 seconds regardless.</para>
\r
6180 If the appender is being closed because the <see cref="E:System.AppDomain.ProcessExit"/>
\r
6181 event has fired it may not be possible to send all the queued events. During process
\r
6182 exit the runtime limits the time that a <see cref="E:System.AppDomain.ProcessExit"/>
\r
6183 event handler is allowed to run for.</para>
\r
6186 <member name="M:log4net.Appender.RemotingAppender.BeginAsyncSend">
\r
6188 A work item is being queued into the thread pool
\r
6191 <member name="M:log4net.Appender.RemotingAppender.EndAsyncSend">
\r
6193 A work item from the thread pool has completed
\r
6196 <member name="M:log4net.Appender.RemotingAppender.SendBufferCallback(System.Object)">
\r
6198 Send the contents of the buffer to the remote sink.
\r
6201 This method is designed to be used with the <see cref="T:System.Threading.ThreadPool"/>.
\r
6202 This method expects to be passed an array of <see cref="T:log4net.Core.LoggingEvent"/>
\r
6203 objects in the state param.
\r
6205 <param name="state">the logging events to send</param>
\r
6207 <member name="F:log4net.Appender.RemotingAppender.m_sinkUrl">
\r
6209 The URL of the remote sink.
\r
6212 <member name="F:log4net.Appender.RemotingAppender.m_sinkObj">
\r
6214 The local proxy (.NET remoting) for the remote logging sink.
\r
6217 <member name="F:log4net.Appender.RemotingAppender.m_queuedCallbackCount">
\r
6219 The number of queued callbacks currently waiting or executing
\r
6222 <member name="F:log4net.Appender.RemotingAppender.m_workQueueEmptyEvent">
\r
6224 Event used to signal when there are no queued work items
\r
6227 This event is set when there are no queued work items. In this
\r
6228 state it is safe to close the appender.
\r
6231 <member name="P:log4net.Appender.RemotingAppender.Sink">
\r
6233 Gets or sets the URL of the well-known object that will accept
\r
6234 the logging events.
\r
6237 The well-known URL of the remote sink.
\r
6241 The URL of the remoting sink that will accept logging events.
\r
6242 The sink must implement the <see cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
\r
6247 <member name="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink">
\r
6249 Interface used to deliver <see cref="T:log4net.Core.LoggingEvent"/> objects to a remote sink.
\r
6252 This interface must be implemented by a remoting sink
\r
6253 if the <see cref="T:log4net.Appender.RemotingAppender"/> is to be used
\r
6254 to deliver logging events to the sink.
\r
6257 <member name="M:log4net.Appender.RemotingAppender.IRemoteLoggingSink.LogEvents(log4net.Core.LoggingEvent[])">
\r
6259 Delivers logging events to the remote sink
\r
6261 <param name="events">Array of events to log.</param>
\r
6264 Delivers logging events to the remote sink
\r
6268 <member name="T:log4net.Appender.RollingFileAppender">
\r
6270 Appender that rolls log files based on size or date or both.
\r
6274 RollingFileAppender can roll log files based on size or date or both
\r
6275 depending on the setting of the <see cref="P:log4net.Appender.RollingFileAppender.RollingStyle"/> property.
\r
6276 When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Size"/> the log file will be rolled
\r
6277 once its size exceeds the <see cref="P:log4net.Appender.RollingFileAppender.MaximumFileSize"/>.
\r
6278 When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Date"/> the log file will be rolled
\r
6279 once the date boundary specified in the <see cref="P:log4net.Appender.RollingFileAppender.DatePattern"/> property
\r
6281 When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Composite"/> the log file will be
\r
6282 rolled once the date boundary specified in the <see cref="P:log4net.Appender.RollingFileAppender.DatePattern"/> property
\r
6283 is crossed, but within a date boundary the file will also be rolled
\r
6284 once its size exceeds the <see cref="P:log4net.Appender.RollingFileAppender.MaximumFileSize"/>.
\r
6285 When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Once"/> the log file will be rolled when
\r
6286 the appender is configured. This effectively means that the log file can be
\r
6287 rolled once per program execution.
\r
6290 A of few additional optional features have been added:
\r
6291 <list type="bullet">
\r
6292 <item>Attach date pattern for current log file <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/></item>
\r
6293 <item>Backup number increments for newer files <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/></item>
\r
6294 <item>Infinite number of backups by file size <see cref="P:log4net.Appender.RollingFileAppender.MaxSizeRollBackups"/></item>
\r
6300 For large or infinite numbers of backup files a <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/>
\r
6301 greater than zero is highly recommended, otherwise all the backup files need
\r
6302 to be renamed each time a new backup is created.
\r
6305 When Date/Time based rolling is used setting <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/>
\r
6306 to <see langword="true"/> will reduce the number of file renamings to few or none.
\r
6310 <note type="caution">
\r
6312 Changing <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/> or <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> without clearing
\r
6313 the log file directory of backup files will cause unexpected and unwanted side effects.
\r
6318 If Date/Time based rolling is enabled this appender will attempt to roll existing files
\r
6319 in the directory without a Date/Time tag based on the last write date of the base log file.
\r
6320 The appender only rolls the log file when a message is logged. If Date/Time based rolling
\r
6321 is enabled then the appender will not roll the log file at the Date/Time boundary but
\r
6322 at the point when the next message is logged after the boundary has been crossed.
\r
6326 The <see cref="T:log4net.Appender.RollingFileAppender"/> extends the <see cref="T:log4net.Appender.FileAppender"/> and
\r
6327 has the same behavior when opening the log file.
\r
6328 The appender will first try to open the file for writing when <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/>
\r
6329 is called. This will typically be during configuration.
\r
6330 If the file cannot be opened for writing the appender will attempt
\r
6331 to open the file again each time a message is logged to the appender.
\r
6332 If the file cannot be opened for writing when a message is logged then
\r
6333 the message will be discarded by this appender.
\r
6336 When rolling a backup file necessitates deleting an older backup file the
\r
6337 file to be deleted is moved to a temporary name before being deleted.
\r
6340 <note type="caution">
\r
6342 A maximum number of backup files when rolling on date/time boundaries is not supported.
\r
6346 <author>Nicko Cadell</author>
\r
6347 <author>Gert Driesen</author>
\r
6348 <author>Aspi Havewala</author>
\r
6349 <author>Douglas de la Torre</author>
\r
6350 <author>Edward Smit</author>
\r
6352 <member name="M:log4net.Appender.RollingFileAppender.#ctor">
\r
6354 Initializes a new instance of the <see cref="T:log4net.Appender.RollingFileAppender"/> class.
\r
6358 Default constructor.
\r
6362 <member name="M:log4net.Appender.RollingFileAppender.SetQWForFiles(System.IO.TextWriter)">
\r
6364 Sets the quiet writer being used.
\r
6367 This method can be overridden by sub classes.
\r
6369 <param name="writer">the writer to set</param>
\r
6371 <member name="M:log4net.Appender.RollingFileAppender.Append(log4net.Core.LoggingEvent)">
\r
6373 Write out a logging event.
\r
6375 <param name="loggingEvent">the event to write to file.</param>
\r
6378 Handles append time behavior for RollingFileAppender. This checks
\r
6379 if a roll over either by date (checked first) or time (checked second)
\r
6380 is need and then appends to the file last.
\r
6384 <member name="M:log4net.Appender.RollingFileAppender.Append(log4net.Core.LoggingEvent[])">
\r
6386 Write out an array of logging events.
\r
6388 <param name="loggingEvents">the events to write to file.</param>
\r
6391 Handles append time behavior for RollingFileAppender. This checks
\r
6392 if a roll over either by date (checked first) or time (checked second)
\r
6393 is need and then appends to the file last.
\r
6397 <member name="M:log4net.Appender.RollingFileAppender.AdjustFileBeforeAppend">
\r
6399 Performs any required rolling before outputting the next event
\r
6403 Handles append time behavior for RollingFileAppender. This checks
\r
6404 if a roll over either by date (checked first) or time (checked second)
\r
6405 is need and then appends to the file last.
\r
6409 <member name="M:log4net.Appender.RollingFileAppender.OpenFile(System.String,System.Boolean)">
\r
6411 Creates and opens the file for logging. If <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/>
\r
6412 is false then the fully qualified name is determined and used.
\r
6414 <param name="fileName">the name of the file to open</param>
\r
6415 <param name="append">true to append to existing file</param>
\r
6417 <para>This method will ensure that the directory structure
\r
6418 for the <paramref name="fileName"/> specified exists.</para>
\r
6421 <member name="M:log4net.Appender.RollingFileAppender.GetNextOutputFileName(System.String)">
\r
6423 Get the current output file name
\r
6425 <param name="fileName">the base file name</param>
\r
6426 <returns>the output file name</returns>
\r
6428 The output file name is based on the base fileName specified.
\r
6429 If <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/> is set then the output
\r
6430 file name is the same as the base file passed in. Otherwise
\r
6431 the output file depends on the date pattern, on the count
\r
6432 direction or both.
\r
6435 <member name="M:log4net.Appender.RollingFileAppender.DetermineCurSizeRollBackups">
\r
6437 Determines curSizeRollBackups (only within the current roll point)
\r
6440 <member name="M:log4net.Appender.RollingFileAppender.GetWildcardPatternForFile(System.String)">
\r
6442 Generates a wildcard pattern that can be used to find all files
\r
6443 that are similar to the base file name.
\r
6445 <param name="baseFileName"></param>
\r
6446 <returns></returns>
\r
6448 <member name="M:log4net.Appender.RollingFileAppender.GetExistingFiles(System.String)">
\r
6450 Builds a list of filenames for all files matching the base filename plus a file
\r
6453 <param name="baseFilePath"></param>
\r
6454 <returns></returns>
\r
6456 <member name="M:log4net.Appender.RollingFileAppender.RollOverIfDateBoundaryCrossing">
\r
6458 Initiates a roll over if needed for crossing a date boundary since the last run.
\r
6461 <member name="M:log4net.Appender.RollingFileAppender.ExistingInit">
\r
6463 Initializes based on existing conditions at time of <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/>.
\r
6467 Initializes based on existing conditions at time of <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/>.
\r
6468 The following is done
\r
6469 <list type="bullet">
\r
6470 <item>determine curSizeRollBackups (only within the current roll point)</item>
\r
6471 <item>initiates a roll over if needed for crossing a date boundary since the last run.</item>
\r
6476 <member name="M:log4net.Appender.RollingFileAppender.InitializeFromOneFile(System.String,System.String)">
\r
6478 Does the work of bumping the 'current' file counter higher
\r
6479 to the highest count when an incremental file name is seen.
\r
6480 The highest count is either the first file (when count direction
\r
6481 is greater than 0) or the last file (when count direction less than 0).
\r
6482 In either case, we want to know the highest count that is present.
\r
6484 <param name="baseFile"></param>
\r
6485 <param name="curFileName"></param>
\r
6487 <member name="M:log4net.Appender.RollingFileAppender.InitializeRollBackups(System.String,System.Collections.ArrayList)">
\r
6489 Takes a list of files and a base file name, and looks for
\r
6490 'incremented' versions of the base file. Bumps the max
\r
6491 count up to the highest count seen.
\r
6493 <param name="baseFile"></param>
\r
6494 <param name="arrayFiles"></param>
\r
6496 <member name="M:log4net.Appender.RollingFileAppender.ComputeCheckPeriod(System.String)">
\r
6498 Calculates the RollPoint for the datePattern supplied.
\r
6500 <param name="datePattern">the date pattern to calculate the check period for</param>
\r
6501 <returns>The RollPoint that is most accurate for the date pattern supplied</returns>
\r
6503 Essentially the date pattern is examined to determine what the
\r
6504 most suitable roll point is. The roll point chosen is the roll point
\r
6505 with the smallest period that can be detected using the date pattern
\r
6506 supplied. i.e. if the date pattern only outputs the year, month, day
\r
6507 and hour then the smallest roll point that can be detected would be
\r
6508 and hourly roll point as minutes could not be detected.
\r
6511 <member name="M:log4net.Appender.RollingFileAppender.ActivateOptions">
\r
6513 Initialize the appender based on the options set
\r
6517 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
6518 activation scheme. The <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/> method must
\r
6519 be called on this object after the configuration properties have
\r
6520 been set. Until <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/> is called this
\r
6521 object is in an undefined state and must not be used.
\r
6524 If any of the configuration properties are modified then
\r
6525 <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/> must be called again.
\r
6528 Sets initial conditions including date/time roll over information, first check,
\r
6529 scheduledFilename, and calls <see cref="M:log4net.Appender.RollingFileAppender.ExistingInit"/> to initialize
\r
6530 the current number of backups.
\r
6534 <member name="M:log4net.Appender.RollingFileAppender.RollOverTime(System.Boolean)">
\r
6536 Rollover the file(s) to date/time tagged file(s).
\r
6538 <param name="fileIsOpen">set to true if the file to be rolled is currently open</param>
\r
6541 Rollover the file(s) to date/time tagged file(s).
\r
6542 Resets curSizeRollBackups.
\r
6543 If fileIsOpen is set then the new file is opened (through SafeOpenFile).
\r
6547 <member name="M:log4net.Appender.RollingFileAppender.RollFile(System.String,System.String)">
\r
6549 Renames file <paramref name="fromFile"/> to file <paramref name="toFile"/>.
\r
6551 <param name="fromFile">Name of existing file to roll.</param>
\r
6552 <param name="toFile">New name for file.</param>
\r
6555 Renames file <paramref name="fromFile"/> to file <paramref name="toFile"/>. It
\r
6556 also checks for existence of target file and deletes if it does.
\r
6560 <member name="M:log4net.Appender.RollingFileAppender.FileExists(System.String)">
\r
6562 Test if a file exists at a specified path
\r
6564 <param name="path">the path to the file</param>
\r
6565 <returns>true if the file exists</returns>
\r
6568 Test if a file exists at a specified path
\r
6572 <member name="M:log4net.Appender.RollingFileAppender.DeleteFile(System.String)">
\r
6574 Deletes the specified file if it exists.
\r
6576 <param name="fileName">The file to delete.</param>
\r
6579 Delete a file if is exists.
\r
6580 The file is first moved to a new filename then deleted.
\r
6581 This allows the file to be removed even when it cannot
\r
6582 be deleted, but it still can be moved.
\r
6586 <member name="M:log4net.Appender.RollingFileAppender.RollOverSize">
\r
6588 Implements file roll base on file size.
\r
6592 If the maximum number of size based backups is reached
\r
6593 (<c>curSizeRollBackups == maxSizeRollBackups</c>) then the oldest
\r
6594 file is deleted -- its index determined by the sign of countDirection.
\r
6595 If <c>countDirection</c> < 0, then files
\r
6596 {<c>File.1</c>, ..., <c>File.curSizeRollBackups -1</c>}
\r
6597 are renamed to {<c>File.2</c>, ...,
\r
6598 <c>File.curSizeRollBackups</c>}. Moreover, <c>File</c> is
\r
6599 renamed <c>File.1</c> and closed.
\r
6602 A new file is created to receive further log output.
\r
6605 If <c>maxSizeRollBackups</c> is equal to zero, then the
\r
6606 <c>File</c> is truncated with no backup files created.
\r
6609 If <c>maxSizeRollBackups</c> < 0, then <c>File</c> is
\r
6610 renamed if needed and no files are deleted.
\r
6614 <member name="M:log4net.Appender.RollingFileAppender.RollOverRenameFiles(System.String)">
\r
6616 Implements file roll.
\r
6618 <param name="baseFileName">the base name to rename</param>
\r
6621 If the maximum number of size based backups is reached
\r
6622 (<c>curSizeRollBackups == maxSizeRollBackups</c>) then the oldest
\r
6623 file is deleted -- its index determined by the sign of countDirection.
\r
6624 If <c>countDirection</c> < 0, then files
\r
6625 {<c>File.1</c>, ..., <c>File.curSizeRollBackups -1</c>}
\r
6626 are renamed to {<c>File.2</c>, ...,
\r
6627 <c>File.curSizeRollBackups</c>}.
\r
6630 If <c>maxSizeRollBackups</c> is equal to zero, then the
\r
6631 <c>File</c> is truncated with no backup files created.
\r
6634 If <c>maxSizeRollBackups</c> < 0, then <c>File</c> is
\r
6635 renamed if needed and no files are deleted.
\r
6638 This is called by <see cref="M:log4net.Appender.RollingFileAppender.RollOverSize"/> to rename the files.
\r
6642 <member name="M:log4net.Appender.RollingFileAppender.NextCheckDate(System.DateTime,log4net.Appender.RollingFileAppender.RollPoint)">
\r
6644 Get the start time of the next window for the current rollpoint
\r
6646 <param name="currentDateTime">the current date</param>
\r
6647 <param name="rollPoint">the type of roll point we are working with</param>
\r
6648 <returns>the start time for the next roll point an interval after the currentDateTime date</returns>
\r
6651 Returns the date of the next roll point after the currentDateTime date passed to the method.
\r
6654 The basic strategy is to subtract the time parts that are less significant
\r
6655 than the rollpoint from the current time. This should roll the time back to
\r
6656 the start of the time window for the current rollpoint. Then we add 1 window
\r
6657 worth of time and get the start time of the next window for the rollpoint.
\r
6661 <member name="F:log4net.Appender.RollingFileAppender.m_dateTime">
\r
6663 This object supplies the current date/time. Allows test code to plug in
\r
6664 a method to control this class when testing date/time based rolling.
\r
6667 <member name="F:log4net.Appender.RollingFileAppender.m_datePattern">
\r
6669 The date pattern. By default, the pattern is set to <c>".yyyy-MM-dd"</c>
\r
6670 meaning daily rollover.
\r
6673 <member name="F:log4net.Appender.RollingFileAppender.m_scheduledFilename">
\r
6675 The actual formatted filename that is currently being written to
\r
6676 or will be the file transferred to on roll over
\r
6677 (based on staticLogFileName).
\r
6680 <member name="F:log4net.Appender.RollingFileAppender.m_nextCheck">
\r
6682 The timestamp when we shall next recompute the filename.
\r
6685 <member name="F:log4net.Appender.RollingFileAppender.m_now">
\r
6687 Holds date of last roll over
\r
6690 <member name="F:log4net.Appender.RollingFileAppender.m_rollPoint">
\r
6692 The type of rolling done
\r
6695 <member name="F:log4net.Appender.RollingFileAppender.m_maxFileSize">
\r
6697 The default maximum file size is 10MB
\r
6700 <member name="F:log4net.Appender.RollingFileAppender.m_maxSizeRollBackups">
\r
6702 There is zero backup files by default
\r
6705 <member name="F:log4net.Appender.RollingFileAppender.m_curSizeRollBackups">
\r
6707 How many sized based backups have been made so far
\r
6710 <member name="F:log4net.Appender.RollingFileAppender.m_countDirection">
\r
6712 The rolling file count direction.
\r
6715 <member name="F:log4net.Appender.RollingFileAppender.m_rollingStyle">
\r
6717 The rolling mode used in this appender.
\r
6720 <member name="F:log4net.Appender.RollingFileAppender.m_rollDate">
\r
6722 Cache flag set if we are rolling by date.
\r
6725 <member name="F:log4net.Appender.RollingFileAppender.m_rollSize">
\r
6727 Cache flag set if we are rolling by size.
\r
6730 <member name="F:log4net.Appender.RollingFileAppender.m_staticLogFileName">
\r
6732 Value indicating whether to always log to the same file.
\r
6735 <member name="F:log4net.Appender.RollingFileAppender.m_baseFileName">
\r
6737 FileName provided in configuration. Used for rolling properly
\r
6740 <member name="F:log4net.Appender.RollingFileAppender.s_date1970">
\r
6742 The 1st of January 1970 in UTC
\r
6745 <member name="P:log4net.Appender.RollingFileAppender.DatePattern">
\r
6747 Gets or sets the date pattern to be used for generating file names
\r
6748 when rolling over on date.
\r
6751 The date pattern to be used for generating file names when rolling
\r
6756 Takes a string in the same format as expected by
\r
6757 <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/>.
\r
6760 This property determines the rollover schedule when rolling over
\r
6765 <member name="P:log4net.Appender.RollingFileAppender.MaxSizeRollBackups">
\r
6767 Gets or sets the maximum number of backup files that are kept before
\r
6768 the oldest is erased.
\r
6771 The maximum number of backup files that are kept before the oldest is
\r
6776 If set to zero, then there will be no backup files and the log file
\r
6777 will be truncated when it reaches <see cref="P:log4net.Appender.RollingFileAppender.MaxFileSize"/>.
\r
6780 If a negative number is supplied then no deletions will be made. Note
\r
6781 that this could result in very slow performance as a large number of
\r
6782 files are rolled over unless <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> is used.
\r
6785 The maximum applies to <b>each</b> time based group of files and
\r
6786 <b>not</b> the total.
\r
6790 <member name="P:log4net.Appender.RollingFileAppender.MaxFileSize">
\r
6792 Gets or sets the maximum size that the output file is allowed to reach
\r
6793 before being rolled over to backup files.
\r
6796 The maximum size in bytes that the output file is allowed to reach before being
\r
6797 rolled over to backup files.
\r
6801 This property is equivalent to <see cref="P:log4net.Appender.RollingFileAppender.MaximumFileSize"/> except
\r
6802 that it is required for differentiating the setter taking a
\r
6803 <see cref="T:System.Int64"/> argument from the setter taking a <see cref="T:System.String"/>
\r
6807 The default maximum file size is 10MB (10*1024*1024).
\r
6811 <member name="P:log4net.Appender.RollingFileAppender.MaximumFileSize">
\r
6813 Gets or sets the maximum size that the output file is allowed to reach
\r
6814 before being rolled over to backup files.
\r
6817 The maximum size that the output file is allowed to reach before being
\r
6818 rolled over to backup files.
\r
6822 This property allows you to specify the maximum size with the
\r
6823 suffixes "KB", "MB" or "GB" so that the size is interpreted being
\r
6824 expressed respectively in kilobytes, megabytes or gigabytes.
\r
6827 For example, the value "10KB" will be interpreted as 10240 bytes.
\r
6830 The default maximum file size is 10MB.
\r
6833 If you have the option to set the maximum file size programmatically
\r
6834 consider using the <see cref="P:log4net.Appender.RollingFileAppender.MaxFileSize"/> property instead as this
\r
6835 allows you to set the size in bytes as a <see cref="T:System.Int64"/>.
\r
6839 <member name="P:log4net.Appender.RollingFileAppender.CountDirection">
\r
6841 Gets or sets the rolling file count direction.
\r
6844 The rolling file count direction.
\r
6848 Indicates if the current file is the lowest numbered file or the
\r
6849 highest numbered file.
\r
6852 By default newer files have lower numbers (<see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> < 0),
\r
6853 i.e. log.1 is most recent, log.5 is the 5th backup, etc...
\r
6856 <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> >= 0 does the opposite i.e.
\r
6857 log.1 is the first backup made, log.5 is the 5th backup made, etc.
\r
6858 For infinite backups use <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> >= 0 to reduce
\r
6861 <para>The default file count direction is -1.</para>
\r
6864 <member name="P:log4net.Appender.RollingFileAppender.RollingStyle">
\r
6866 Gets or sets the rolling style.
\r
6868 <value>The rolling style.</value>
\r
6871 The default rolling style is <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Composite"/>.
\r
6874 When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Once"/> this appender's
\r
6875 <see cref="P:log4net.Appender.FileAppender.AppendToFile"/> property is set to <c>false</c>, otherwise
\r
6876 the appender would append to a single file rather than rolling
\r
6877 the file each time it is opened.
\r
6881 <member name="P:log4net.Appender.RollingFileAppender.StaticLogFileName">
\r
6883 Gets or sets a value indicating whether to always log to
\r
6887 <c>true</c> if always should be logged to the same file, otherwise <c>false</c>.
\r
6891 By default file.log is always the current file. Optionally
\r
6892 file.log.yyyy-mm-dd for current formatted datePattern can by the currently
\r
6893 logging file (or file.log.curSizeRollBackup or even
\r
6894 file.log.yyyy-mm-dd.curSizeRollBackup).
\r
6897 This will make time based rollovers with a large number of backups
\r
6898 much faster as the appender it won't have to rename all the backups!
\r
6902 <member name="T:log4net.Appender.RollingFileAppender.RollingMode">
\r
6904 Style of rolling to use
\r
6908 Style of rolling to use
\r
6912 <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Once">
\r
6914 Roll files once per program execution
\r
6918 Roll files once per program execution.
\r
6919 Well really once each time this appender is
\r
6923 Setting this option also sets <c>AppendToFile</c> to
\r
6924 <c>false</c> on the <c>RollingFileAppender</c>, otherwise
\r
6925 this appender would just be a normal file appender.
\r
6929 <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Size">
\r
6931 Roll files based only on the size of the file
\r
6934 <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Date">
\r
6936 Roll files based only on the date
\r
6939 <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Composite">
\r
6941 Roll files based on both the size and date of the file
\r
6944 <member name="T:log4net.Appender.RollingFileAppender.RollPoint">
\r
6946 The code assumes that the following 'time' constants are in a increasing sequence.
\r
6950 The code assumes that the following 'time' constants are in a increasing sequence.
\r
6954 <member name="F:log4net.Appender.RollingFileAppender.RollPoint.InvalidRollPoint">
\r
6956 Roll the log not based on the date
\r
6959 <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfMinute">
\r
6961 Roll the log for each minute
\r
6964 <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfHour">
\r
6966 Roll the log for each hour
\r
6969 <member name="F:log4net.Appender.RollingFileAppender.RollPoint.HalfDay">
\r
6971 Roll the log twice a day (midday and midnight)
\r
6974 <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfDay">
\r
6976 Roll the log each day (midnight)
\r
6979 <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfWeek">
\r
6981 Roll the log each week
\r
6984 <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfMonth">
\r
6986 Roll the log each month
\r
6989 <member name="T:log4net.Appender.RollingFileAppender.IDateTime">
\r
6991 This interface is used to supply Date/Time information to the <see cref="T:log4net.Appender.RollingFileAppender"/>.
\r
6994 This interface is used to supply Date/Time information to the <see cref="T:log4net.Appender.RollingFileAppender"/>.
\r
6995 Used primarily to allow test classes to plug themselves in so they can
\r
6996 supply test date/times.
\r
6999 <member name="P:log4net.Appender.RollingFileAppender.IDateTime.Now">
\r
7001 Gets the <i>current</i> time.
\r
7003 <value>The <i>current</i> time.</value>
\r
7006 Gets the <i>current</i> time.
\r
7010 <member name="T:log4net.Appender.RollingFileAppender.DefaultDateTime">
\r
7012 Default implementation of <see cref="T:log4net.Appender.RollingFileAppender.IDateTime"/> that returns the current time.
\r
7015 <member name="P:log4net.Appender.RollingFileAppender.DefaultDateTime.Now">
\r
7017 Gets the <b>current</b> time.
\r
7019 <value>The <b>current</b> time.</value>
\r
7022 Gets the <b>current</b> time.
\r
7026 <member name="T:log4net.Appender.SmtpAppender">
\r
7028 Send an e-mail when a specific logging event occurs, typically on errors
\r
7033 The number of logging events delivered in this e-mail depend on
\r
7034 the value of <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> option. The
\r
7035 <see cref="T:log4net.Appender.SmtpAppender"/> keeps only the last
\r
7036 <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> logging events in its
\r
7037 cyclic buffer. This keeps memory requirements at a reasonable level while
\r
7038 still delivering useful application context.
\r
7040 <note type="caution">
\r
7041 Authentication and setting the server Port are only available on the MS .NET 1.1 runtime.
\r
7042 For these features to be enabled you need to ensure that you are using a version of
\r
7043 the log4net assembly that is built against the MS .NET 1.1 framework and that you are
\r
7044 running the your application on the MS .NET 1.1 runtime. On all other platforms only sending
\r
7045 unauthenticated messages to a server listening on port 25 (the default) is supported.
\r
7048 Authentication is supported by setting the <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> property to
\r
7049 either <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/> or <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm"/>.
\r
7050 If using <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/> authentication then the <see cref="P:log4net.Appender.SmtpAppender.Username"/>
\r
7051 and <see cref="P:log4net.Appender.SmtpAppender.Password"/> properties must also be set.
\r
7054 To set the SMTP server port use the <see cref="P:log4net.Appender.SmtpAppender.Port"/> property. The default port is 25.
\r
7057 <author>Nicko Cadell</author>
\r
7058 <author>Gert Driesen</author>
\r
7060 <member name="M:log4net.Appender.SmtpAppender.#ctor">
\r
7062 Default constructor
\r
7066 Default constructor
\r
7070 <member name="M:log4net.Appender.SmtpAppender.SendBuffer(log4net.Core.LoggingEvent[])">
\r
7072 Sends the contents of the cyclic buffer as an e-mail message.
\r
7074 <param name="events">The logging events to send.</param>
\r
7076 <member name="M:log4net.Appender.SmtpAppender.SendEmail(System.String)">
\r
7078 Send the email message
\r
7080 <param name="messageBody">the body text to include in the mail</param>
\r
7082 <member name="P:log4net.Appender.SmtpAppender.To">
\r
7084 Gets or sets a semicolon-delimited list of recipient e-mail addresses.
\r
7087 A semicolon-delimited list of e-mail addresses.
\r
7091 A semicolon-delimited list of recipient e-mail addresses.
\r
7095 <member name="P:log4net.Appender.SmtpAppender.From">
\r
7097 Gets or sets the e-mail address of the sender.
\r
7100 The e-mail address of the sender.
\r
7104 The e-mail address of the sender.
\r
7108 <member name="P:log4net.Appender.SmtpAppender.Subject">
\r
7110 Gets or sets the subject line of the e-mail message.
\r
7113 The subject line of the e-mail message.
\r
7117 The subject line of the e-mail message.
\r
7121 <member name="P:log4net.Appender.SmtpAppender.SmtpHost">
\r
7123 Gets or sets the name of the SMTP relay mail server to use to send
\r
7124 the e-mail messages.
\r
7127 The name of the e-mail relay server. If SmtpServer is not set, the
\r
7128 name of the local SMTP server is used.
\r
7132 The name of the e-mail relay server. If SmtpServer is not set, the
\r
7133 name of the local SMTP server is used.
\r
7137 <member name="P:log4net.Appender.SmtpAppender.LocationInfo">
\r
7142 Use the BufferingAppenderSkeleton Fix methods instead
\r
7146 Obsolete property.
\r
7150 <member name="P:log4net.Appender.SmtpAppender.Authentication">
\r
7152 The mode to use to authentication with the SMTP server
\r
7155 <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
\r
7157 Valid Authentication mode values are: <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.None"/>,
\r
7158 <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/>, and <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm"/>.
\r
7159 The default value is <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.None"/>. When using
\r
7160 <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/> you must specify the <see cref="P:log4net.Appender.SmtpAppender.Username"/>
\r
7161 and <see cref="P:log4net.Appender.SmtpAppender.Password"/> to use to authenticate.
\r
7162 When using <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm"/> the Windows credentials for the current
\r
7163 thread, if impersonating, or the process will be used to authenticate.
\r
7167 <member name="P:log4net.Appender.SmtpAppender.Username">
\r
7169 The username to use to authenticate with the SMTP server
\r
7172 <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
\r
7174 A <see cref="P:log4net.Appender.SmtpAppender.Username"/> and <see cref="P:log4net.Appender.SmtpAppender.Password"/> must be specified when
\r
7175 <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> is set to <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/>,
\r
7176 otherwise the username will be ignored.
\r
7180 <member name="P:log4net.Appender.SmtpAppender.Password">
\r
7182 The password to use to authenticate with the SMTP server
\r
7185 <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
\r
7187 A <see cref="P:log4net.Appender.SmtpAppender.Username"/> and <see cref="P:log4net.Appender.SmtpAppender.Password"/> must be specified when
\r
7188 <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> is set to <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/>,
\r
7189 otherwise the password will be ignored.
\r
7193 <member name="P:log4net.Appender.SmtpAppender.Port">
\r
7195 The port on which the SMTP server is listening
\r
7198 <note type="caution">Server Port is only available on the MS .NET 1.1 runtime.</note>
\r
7200 The port on which the SMTP server is listening. The default
\r
7201 port is <c>25</c>. The Port can only be changed when running on
\r
7202 the MS .NET 1.1 runtime.
\r
7206 <member name="P:log4net.Appender.SmtpAppender.Priority">
\r
7208 Gets or sets the priority of the e-mail message
\r
7211 One of the <see cref="T:System.Net.Mail.MailPriority"/> values.
\r
7215 Sets the priority of the e-mails generated by this
\r
7216 appender. The default priority is <see cref="F:System.Net.Mail.MailPriority.Normal"/>.
\r
7219 If you are using this appender to report errors then
\r
7220 you may want to set the priority to <see cref="F:System.Net.Mail.MailPriority.High"/>.
\r
7224 <member name="P:log4net.Appender.SmtpAppender.RequiresLayout">
\r
7226 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
7228 <value><c>true</c></value>
\r
7231 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
7235 <member name="T:log4net.Appender.SmtpAppender.SmtpAuthentication">
\r
7237 Values for the <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> property.
\r
7241 SMTP authentication modes.
\r
7245 <member name="F:log4net.Appender.SmtpAppender.SmtpAuthentication.None">
\r
7250 <member name="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic">
\r
7252 Basic authentication.
\r
7255 Requires a username and password to be supplied
\r
7258 <member name="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm">
\r
7260 Integrated authentication
\r
7263 Uses the Windows credentials from the current thread or process to authenticate.
\r
7266 <member name="T:log4net.Appender.SmtpPickupDirAppender">
\r
7268 Send an email when a specific logging event occurs, typically on errors
\r
7269 or fatal errors. Rather than sending via smtp it writes a file into the
\r
7270 directory specified by <see cref="P:log4net.Appender.SmtpPickupDirAppender.PickupDir"/>. This allows services such
\r
7271 as the IIS SMTP agent to manage sending the messages.
\r
7275 The configuration for this appender is identical to that of the <c>SMTPAppender</c>,
\r
7276 except that instead of specifying the <c>SMTPAppender.SMTPHost</c> you specify
\r
7277 <see cref="P:log4net.Appender.SmtpPickupDirAppender.PickupDir"/>.
\r
7280 The number of logging events delivered in this e-mail depend on
\r
7281 the value of <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> option. The
\r
7282 <see cref="T:log4net.Appender.SmtpPickupDirAppender"/> keeps only the last
\r
7283 <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> logging events in its
\r
7284 cyclic buffer. This keeps memory requirements at a reasonable level while
\r
7285 still delivering useful application context.
\r
7288 <author>Niall Daley</author>
\r
7289 <author>Nicko Cadell</author>
\r
7291 <member name="M:log4net.Appender.SmtpPickupDirAppender.#ctor">
\r
7293 Default constructor
\r
7297 Default constructor
\r
7301 <member name="M:log4net.Appender.SmtpPickupDirAppender.SendBuffer(log4net.Core.LoggingEvent[])">
\r
7303 Sends the contents of the cyclic buffer as an e-mail message.
\r
7305 <param name="events">The logging events to send.</param>
\r
7308 Sends the contents of the cyclic buffer as an e-mail message.
\r
7312 <member name="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions">
\r
7314 Activate the options on this appender.
\r
7318 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
7319 activation scheme. The <see cref="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions"/> method must
\r
7320 be called on this object after the configuration properties have
\r
7321 been set. Until <see cref="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions"/> is called this
\r
7322 object is in an undefined state and must not be used.
\r
7325 If any of the configuration properties are modified then
\r
7326 <see cref="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions"/> must be called again.
\r
7330 <member name="M:log4net.Appender.SmtpPickupDirAppender.ConvertToFullPath(System.String)">
\r
7332 Convert a path into a fully qualified path.
\r
7334 <param name="path">The path to convert.</param>
\r
7335 <returns>The fully qualified path.</returns>
\r
7338 Converts the path specified to a fully
\r
7339 qualified path. If the path is relative it is
\r
7340 taken as relative from the application base
\r
7345 <member name="F:log4net.Appender.SmtpPickupDirAppender.m_securityContext">
\r
7347 The security context to use for privileged calls
\r
7350 <member name="P:log4net.Appender.SmtpPickupDirAppender.To">
\r
7352 Gets or sets a semicolon-delimited list of recipient e-mail addresses.
\r
7355 A semicolon-delimited list of e-mail addresses.
\r
7359 A semicolon-delimited list of e-mail addresses.
\r
7363 <member name="P:log4net.Appender.SmtpPickupDirAppender.From">
\r
7365 Gets or sets the e-mail address of the sender.
\r
7368 The e-mail address of the sender.
\r
7372 The e-mail address of the sender.
\r
7376 <member name="P:log4net.Appender.SmtpPickupDirAppender.Subject">
\r
7378 Gets or sets the subject line of the e-mail message.
\r
7381 The subject line of the e-mail message.
\r
7385 The subject line of the e-mail message.
\r
7389 <member name="P:log4net.Appender.SmtpPickupDirAppender.PickupDir">
\r
7391 Gets or sets the path to write the messages to.
\r
7395 Gets or sets the path to write the messages to. This should be the same
\r
7396 as that used by the agent sending the messages.
\r
7400 <member name="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext">
\r
7402 Gets or sets the <see cref="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext"/> used to write to the pickup directory.
\r
7405 The <see cref="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext"/> used to write to the pickup directory.
\r
7409 Unless a <see cref="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext"/> specified here for this appender
\r
7410 the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
\r
7411 security context to use. The default behavior is to use the security context
\r
7412 of the current thread.
\r
7416 <member name="P:log4net.Appender.SmtpPickupDirAppender.RequiresLayout">
\r
7418 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
7420 <value><c>true</c></value>
\r
7423 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
7427 <member name="T:log4net.Appender.TelnetAppender">
\r
7429 Appender that allows clients to connect via Telnet to receive log messages
\r
7433 The TelnetAppender accepts socket connections and streams logging messages
\r
7434 back to the client.
\r
7435 The output is provided in a telnet-friendly way so that a log can be monitored
\r
7436 over a TCP/IP socket.
\r
7437 This allows simple remote monitoring of application logging.
\r
7440 The default <see cref="P:log4net.Appender.TelnetAppender.Port"/> is 23 (the telnet port).
\r
7443 <author>Keith Long</author>
\r
7444 <author>Nicko Cadell</author>
\r
7446 <member name="M:log4net.Appender.TelnetAppender.#ctor">
\r
7448 Default constructor
\r
7452 Default constructor
\r
7456 <member name="M:log4net.Appender.TelnetAppender.OnClose">
\r
7458 Overrides the parent method to close the socket handler
\r
7462 Closes all the outstanding connections.
\r
7466 <member name="M:log4net.Appender.TelnetAppender.ActivateOptions">
\r
7468 Initialize the appender based on the options set.
\r
7472 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
7473 activation scheme. The <see cref="M:log4net.Appender.TelnetAppender.ActivateOptions"/> method must
\r
7474 be called on this object after the configuration properties have
\r
7475 been set. Until <see cref="M:log4net.Appender.TelnetAppender.ActivateOptions"/> is called this
\r
7476 object is in an undefined state and must not be used.
\r
7479 If any of the configuration properties are modified then
\r
7480 <see cref="M:log4net.Appender.TelnetAppender.ActivateOptions"/> must be called again.
\r
7483 Create the socket handler and wait for connections
\r
7487 <member name="M:log4net.Appender.TelnetAppender.Append(log4net.Core.LoggingEvent)">
\r
7489 Writes the logging event to each connected client.
\r
7491 <param name="loggingEvent">The event to log.</param>
\r
7494 Writes the logging event to each connected client.
\r
7498 <member name="P:log4net.Appender.TelnetAppender.Port">
\r
7500 Gets or sets the TCP port number on which this <see cref="T:log4net.Appender.TelnetAppender"/> will listen for connections.
\r
7503 An integer value in the range <see cref="F:System.Net.IPEndPoint.MinPort"/> to <see cref="F:System.Net.IPEndPoint.MaxPort"/>
\r
7504 indicating the TCP port number on which this <see cref="T:log4net.Appender.TelnetAppender"/> will listen for connections.
\r
7508 The default value is 23 (the telnet port).
\r
7511 <exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than <see cref="F:System.Net.IPEndPoint.MinPort"/>
\r
7512 or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
\r
7514 <member name="P:log4net.Appender.TelnetAppender.RequiresLayout">
\r
7516 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
7518 <value><c>true</c></value>
\r
7521 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
7525 <member name="T:log4net.Appender.TelnetAppender.SocketHandler">
\r
7527 Helper class to manage connected clients
\r
7531 The SocketHandler class is used to accept connections from
\r
7532 clients. It is threaded so that clients can connect/disconnect
\r
7537 <member name="M:log4net.Appender.TelnetAppender.SocketHandler.#ctor(System.Int32)">
\r
7539 Opens a new server port on <paramref ref="port"/>
\r
7541 <param name="port">the local port to listen on for connections</param>
\r
7544 Creates a socket handler on the specified local server port.
\r
7548 <member name="M:log4net.Appender.TelnetAppender.SocketHandler.Send(System.String)">
\r
7550 Sends a string message to each of the connected clients
\r
7552 <param name="message">the text to send</param>
\r
7555 Sends a string message to each of the connected clients
\r
7559 <member name="M:log4net.Appender.TelnetAppender.SocketHandler.AddClient(log4net.Appender.TelnetAppender.SocketHandler.SocketClient)">
\r
7561 Add a client to the internal clients list
\r
7563 <param name="client">client to add</param>
\r
7565 <member name="M:log4net.Appender.TelnetAppender.SocketHandler.RemoveClient(log4net.Appender.TelnetAppender.SocketHandler.SocketClient)">
\r
7567 Remove a client from the internal clients list
\r
7569 <param name="client">client to remove</param>
\r
7571 <member name="M:log4net.Appender.TelnetAppender.SocketHandler.OnConnect(System.IAsyncResult)">
\r
7573 Callback used to accept a connection on the server socket
\r
7575 <param name="asyncResult">The result of the asynchronous operation</param>
\r
7578 On connection adds to the list of connections
\r
7579 if there are two many open connections you will be disconnected
\r
7583 <member name="M:log4net.Appender.TelnetAppender.SocketHandler.Dispose">
\r
7585 Close all network connections
\r
7589 Make sure we close all network connections
\r
7593 <member name="P:log4net.Appender.TelnetAppender.SocketHandler.HasConnections">
\r
7595 Test if this handler has active connections
\r
7598 <c>true</c> if this handler has active connections
\r
7602 This property will be <c>true</c> while this handler has
\r
7603 active connections, that is at least one connection that
\r
7604 the handler will attempt to send a message to.
\r
7608 <member name="T:log4net.Appender.TelnetAppender.SocketHandler.SocketClient">
\r
7610 Class that represents a client connected to this handler
\r
7614 Class that represents a client connected to this handler
\r
7618 <member name="M:log4net.Appender.TelnetAppender.SocketHandler.SocketClient.#ctor(System.Net.Sockets.Socket)">
\r
7620 Create this <see cref="T:log4net.Appender.TelnetAppender.SocketHandler.SocketClient"/> for the specified <see cref="T:System.Net.Sockets.Socket"/>
\r
7622 <param name="socket">the client's socket</param>
\r
7625 Opens a stream writer on the socket.
\r
7629 <member name="M:log4net.Appender.TelnetAppender.SocketHandler.SocketClient.Send(System.String)">
\r
7631 Write a string to the client
\r
7633 <param name="message">string to send</param>
\r
7636 Write a string to the client
\r
7640 <member name="M:log4net.Appender.TelnetAppender.SocketHandler.SocketClient.Dispose">
\r
7642 Cleanup the clients connection
\r
7646 Close the socket connection.
\r
7650 <member name="T:log4net.Appender.TraceAppender">
\r
7652 Appends log events to the <see cref="T:System.Diagnostics.Trace"/> system.
\r
7656 The application configuration file can be used to control what listeners
\r
7657 are actually used. See the MSDN documentation for the
\r
7658 <see cref="T:System.Diagnostics.Trace"/> class for details on configuring the
\r
7662 Events are written using the <c>System.Diagnostics.Trace.Write(string,string)</c>
\r
7663 method. The event's logger name is passed as the value for the category name to the Write method.
\r
7666 <b>Compact Framework</b><br/>
\r
7667 The Compact Framework does not support the <see cref="T:System.Diagnostics.Trace"/>
\r
7668 class for any operation except <c>Assert</c>. When using the Compact Framework this
\r
7669 appender will write to the <see cref="T:System.Diagnostics.Debug"/> system rather than
\r
7670 the Trace system. This appender will therefore behave like the <see cref="T:log4net.Appender.DebugAppender"/>.
\r
7673 <author>Douglas de la Torre</author>
\r
7674 <author>Nicko Cadell</author>
\r
7675 <author>Gert Driesen</author>
\r
7677 <member name="M:log4net.Appender.TraceAppender.#ctor">
\r
7679 Initializes a new instance of the <see cref="T:log4net.Appender.TraceAppender"/>.
\r
7683 Default constructor.
\r
7687 <member name="M:log4net.Appender.TraceAppender.#ctor(log4net.Layout.ILayout)">
\r
7689 Initializes a new instance of the <see cref="T:log4net.Appender.TraceAppender"/>
\r
7690 with a specified layout.
\r
7692 <param name="layout">The layout to use with this appender.</param>
\r
7695 Obsolete constructor.
\r
7699 <member name="M:log4net.Appender.TraceAppender.Append(log4net.Core.LoggingEvent)">
\r
7701 Writes the logging event to the <see cref="T:System.Diagnostics.Trace"/> system.
\r
7703 <param name="loggingEvent">The event to log.</param>
\r
7706 Writes the logging event to the <see cref="T:System.Diagnostics.Trace"/> system.
\r
7710 <member name="F:log4net.Appender.TraceAppender.m_immediateFlush">
\r
7712 Immediate flush means that the underlying writer or output stream
\r
7713 will be flushed at the end of each append operation.
\r
7717 Immediate flush is slower but ensures that each append request is
\r
7718 actually written. If <see cref="P:log4net.Appender.TraceAppender.ImmediateFlush"/> is set to
\r
7719 <c>false</c>, then there is a good chance that the last few
\r
7720 logs events are not actually written to persistent media if and
\r
7721 when the application crashes.
\r
7724 The default value is <c>true</c>.</para>
\r
7727 <member name="P:log4net.Appender.TraceAppender.ImmediateFlush">
\r
7729 Gets or sets a value that indicates whether the appender will
\r
7730 flush at the end of each write.
\r
7733 <para>The default behavior is to flush at the end of each
\r
7734 write. If the option is set to<c>false</c>, then the underlying
\r
7735 stream can defer writing to physical medium to a later time.
\r
7738 Avoiding the flush operation at the end of each append results
\r
7739 in a performance gain of 10 to 20 percent. However, there is safety
\r
7740 trade-off involved in skipping flushing. Indeed, when flushing is
\r
7741 skipped, then it is likely that the last few log events will not
\r
7742 be recorded on disk when the application exits. This is a high
\r
7743 price to pay even for a 20% performance gain.
\r
7747 <member name="P:log4net.Appender.TraceAppender.RequiresLayout">
\r
7749 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
7751 <value><c>true</c></value>
\r
7754 This appender requires a <see cref="N:log4net.Layout"/> to be set.
\r
7758 <member name="T:log4net.Config.AliasDomainAttribute">
\r
7760 Assembly level attribute that specifies a domain to alias to this assembly's repository.
\r
7764 <b>AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.</b>
\r
7767 An assembly's logger repository is defined by its <see cref="T:log4net.Config.DomainAttribute"/>,
\r
7768 however this can be overridden by an assembly loaded before the target assembly.
\r
7771 An assembly can alias another assembly's domain to its repository by
\r
7772 specifying this attribute with the name of the target domain.
\r
7775 This attribute can only be specified on the assembly and may be used
\r
7776 as many times as necessary to alias all the required domains.
\r
7779 <author>Nicko Cadell</author>
\r
7780 <author>Gert Driesen</author>
\r
7782 <member name="T:log4net.Config.AliasRepositoryAttribute">
\r
7784 Assembly level attribute that specifies a repository to alias to this assembly's repository.
\r
7788 An assembly's logger repository is defined by its <see cref="T:log4net.Config.RepositoryAttribute"/>,
\r
7789 however this can be overridden by an assembly loaded before the target assembly.
\r
7792 An assembly can alias another assembly's repository to its repository by
\r
7793 specifying this attribute with the name of the target repository.
\r
7796 This attribute can only be specified on the assembly and may be used
\r
7797 as many times as necessary to alias all the required repositories.
\r
7800 <author>Nicko Cadell</author>
\r
7801 <author>Gert Driesen</author>
\r
7803 <member name="M:log4net.Config.AliasRepositoryAttribute.#ctor(System.String)">
\r
7805 Initializes a new instance of the <see cref="T:log4net.Config.AliasRepositoryAttribute"/> class with
\r
7806 the specified repository to alias to this assembly's repository.
\r
7808 <param name="name">The repository to alias to this assemby's repository.</param>
\r
7811 Initializes a new instance of the <see cref="T:log4net.Config.AliasRepositoryAttribute"/> class with
\r
7812 the specified repository to alias to this assembly's repository.
\r
7816 <member name="P:log4net.Config.AliasRepositoryAttribute.Name">
\r
7818 Gets or sets the repository to alias to this assemby's repository.
\r
7821 The repository to alias to this assemby's repository.
\r
7825 The name of the repository to alias to this assemby's repository.
\r
7829 <member name="M:log4net.Config.AliasDomainAttribute.#ctor(System.String)">
\r
7831 Initializes a new instance of the <see cref="T:log4net.Config.AliasDomainAttribute"/> class with
\r
7832 the specified domain to alias to this assembly's repository.
\r
7834 <param name="name">The domain to alias to this assemby's repository.</param>
\r
7837 Obsolete. Use <see cref="T:log4net.Config.AliasRepositoryAttribute"/> instead of <see cref="T:log4net.Config.AliasDomainAttribute"/>.
\r
7841 <member name="T:log4net.Config.BasicConfigurator">
\r
7843 Use this class to quickly configure a <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
\r
7847 Allows very simple programmatic configuration of log4net.
\r
7850 Only one appender can be configured using this configurator.
\r
7851 The appender is set at the root of the hierarchy and all logging
\r
7852 events will be delivered to that appender.
\r
7855 Appenders can also implement the <see cref="T:log4net.Core.IOptionHandler"/> interface. Therefore
\r
7856 they would require that the <see cref="M:log4net.Core.IOptionHandler.ActivateOptions"/> method
\r
7857 be called after the appenders properties have been configured.
\r
7860 <author>Nicko Cadell</author>
\r
7861 <author>Gert Driesen</author>
\r
7863 <member name="M:log4net.Config.BasicConfigurator.#ctor">
\r
7865 Initializes a new instance of the <see cref="T:log4net.Config.BasicConfigurator"/> class.
\r
7869 Uses a private access modifier to prevent instantiation of this class.
\r
7873 <member name="M:log4net.Config.BasicConfigurator.Configure">
\r
7875 Initializes the log4net system with a default configuration.
\r
7879 Initializes the log4net logging system using a <see cref="T:log4net.Appender.ConsoleAppender"/>
\r
7880 that will write to <c>Console.Out</c>. The log messages are
\r
7881 formatted using the <see cref="T:log4net.Layout.PatternLayout"/> layout object
\r
7882 with the <see cref="F:log4net.Layout.PatternLayout.DetailConversionPattern"/>
\r
7887 <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Appender.IAppender)">
\r
7889 Initializes the log4net system using the specified appender.
\r
7891 <param name="appender">The appender to use to log all logging events.</param>
\r
7894 Initializes the log4net system using the specified appender.
\r
7898 <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Repository.ILoggerRepository)">
\r
7900 Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> with a default configuration.
\r
7902 <param name="repository">The repository to configure.</param>
\r
7905 Initializes the specified repository using a <see cref="T:log4net.Appender.ConsoleAppender"/>
\r
7906 that will write to <c>Console.Out</c>. The log messages are
\r
7907 formatted using the <see cref="T:log4net.Layout.PatternLayout"/> layout object
\r
7908 with the <see cref="F:log4net.Layout.PatternLayout.DetailConversionPattern"/>
\r
7913 <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Repository.ILoggerRepository,log4net.Appender.IAppender)">
\r
7915 Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified appender.
\r
7917 <param name="repository">The repository to configure.</param>
\r
7918 <param name="appender">The appender to use to log all logging events.</param>
\r
7921 Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified appender.
\r
7925 <member name="T:log4net.Config.ConfiguratorAttribute">
\r
7927 Base class for all log4net configuration attributes.
\r
7930 This is an abstract class that must be extended by
\r
7931 specific configurators. This attribute allows the
\r
7932 configurator to be parameterized by an assembly level
\r
7935 <author>Nicko Cadell</author>
\r
7936 <author>Gert Driesen</author>
\r
7938 <member name="M:log4net.Config.ConfiguratorAttribute.#ctor(System.Int32)">
\r
7940 Constructor used by subclasses.
\r
7942 <param name="priority">the ordering priority for this configurator</param>
\r
7945 The <paramref name="priority"/> is used to order the configurator
\r
7946 attributes before they are invoked. Higher priority configurators are executed
\r
7947 before lower priority ones.
\r
7951 <member name="M:log4net.Config.ConfiguratorAttribute.Configure(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
\r
7953 Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
\r
7955 <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
\r
7956 <param name="targetRepository">The repository to configure.</param>
\r
7959 Abstract method implemented by a subclass. When this method is called
\r
7960 the subclass should configure the <paramref name="targetRepository"/>.
\r
7964 <member name="M:log4net.Config.ConfiguratorAttribute.CompareTo(System.Object)">
\r
7966 Compare this instance to another ConfiguratorAttribute
\r
7968 <param name="obj">the object to compare to</param>
\r
7969 <returns>see <see cref="M:System.IComparable.CompareTo(System.Object)"/></returns>
\r
7972 Compares the priorities of the two <see cref="T:log4net.Config.ConfiguratorAttribute"/> instances.
\r
7973 Sorts by priority in descending order. Objects with the same priority are
\r
7978 <member name="T:log4net.Config.DomainAttribute">
\r
7980 Assembly level attribute that specifies the logging domain for the assembly.
\r
7984 <b>DomainAttribute is obsolete. Use RepositoryAttribute instead of DomainAttribute.</b>
\r
7987 Assemblies are mapped to logging domains. Each domain has its own
\r
7988 logging repository. This attribute specified on the assembly controls
\r
7989 the configuration of the domain. The <see cref="P:log4net.Config.RepositoryAttribute.Name"/> property specifies the name
\r
7990 of the domain that this assembly is a part of. The <see cref="P:log4net.Config.RepositoryAttribute.RepositoryType"/>
\r
7991 specifies the type of the repository objects to create for the domain. If
\r
7992 this attribute is not specified and a <see cref="P:log4net.Config.RepositoryAttribute.Name"/> is not specified
\r
7993 then the assembly will be part of the default shared logging domain.
\r
7996 This attribute can only be specified on the assembly and may only be used
\r
7997 once per assembly.
\r
8000 <author>Nicko Cadell</author>
\r
8001 <author>Gert Driesen</author>
\r
8003 <member name="T:log4net.Config.RepositoryAttribute">
\r
8005 Assembly level attribute that specifies the logging repository for the assembly.
\r
8009 Assemblies are mapped to logging repository. This attribute specified
\r
8010 on the assembly controls
\r
8011 the configuration of the repository. The <see cref="P:log4net.Config.RepositoryAttribute.Name"/> property specifies the name
\r
8012 of the repository that this assembly is a part of. The <see cref="P:log4net.Config.RepositoryAttribute.RepositoryType"/>
\r
8013 specifies the type of the <see cref="T:log4net.Repository.ILoggerRepository"/> object
\r
8014 to create for the assembly. If this attribute is not specified or a <see cref="P:log4net.Config.RepositoryAttribute.Name"/>
\r
8015 is not specified then the assembly will be part of the default shared logging repository.
\r
8018 This attribute can only be specified on the assembly and may only be used
\r
8019 once per assembly.
\r
8022 <author>Nicko Cadell</author>
\r
8023 <author>Gert Driesen</author>
\r
8025 <member name="M:log4net.Config.RepositoryAttribute.#ctor">
\r
8027 Initializes a new instance of the <see cref="T:log4net.Config.RepositoryAttribute"/> class.
\r
8031 Default constructor.
\r
8035 <member name="M:log4net.Config.RepositoryAttribute.#ctor(System.String)">
\r
8037 Initialize a new instance of the <see cref="T:log4net.Config.RepositoryAttribute"/> class
\r
8038 with the name of the repository.
\r
8040 <param name="name">The name of the repository.</param>
\r
8043 Initialize the attribute with the name for the assembly's repository.
\r
8047 <member name="P:log4net.Config.RepositoryAttribute.Name">
\r
8049 Gets or sets the name of the logging repository.
\r
8052 The string name to use as the name of the repository associated with this
\r
8057 This value does not have to be unique. Several assemblies can share the
\r
8058 same repository. They will share the logging configuration of the repository.
\r
8062 <member name="P:log4net.Config.RepositoryAttribute.RepositoryType">
\r
8064 Gets or sets the type of repository to create for this assembly.
\r
8067 The type of repository to create for this assembly.
\r
8071 The type of the repository to create for the assembly.
\r
8072 The type must implement the <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
8076 This will be the type of repository created when
\r
8077 the repository is created. If multiple assemblies reference the
\r
8078 same repository then the repository is only created once using the
\r
8079 <see cref="P:log4net.Config.RepositoryAttribute.RepositoryType"/> of the first assembly to call into the
\r
8084 <member name="M:log4net.Config.DomainAttribute.#ctor">
\r
8086 Initializes a new instance of the <see cref="T:log4net.Config.DomainAttribute"/> class.
\r
8090 Obsolete. Use RepositoryAttribute instead of DomainAttribute.
\r
8094 <member name="M:log4net.Config.DomainAttribute.#ctor(System.String)">
\r
8096 Initialize a new instance of the <see cref="T:log4net.Config.DomainAttribute"/> class
\r
8097 with the name of the domain.
\r
8099 <param name="name">The name of the domain.</param>
\r
8102 Obsolete. Use RepositoryAttribute instead of DomainAttribute.
\r
8106 <member name="T:log4net.Config.DOMConfigurator">
\r
8108 Use this class to initialize the log4net environment using an Xml tree.
\r
8112 <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
\r
8115 Configures a <see cref="T:log4net.Repository.ILoggerRepository"/> using an Xml tree.
\r
8118 <author>Nicko Cadell</author>
\r
8119 <author>Gert Driesen</author>
\r
8121 <member name="M:log4net.Config.DOMConfigurator.#ctor">
\r
8123 Private constructor
\r
8126 <member name="M:log4net.Config.DOMConfigurator.Configure">
\r
8128 Automatically configures the log4net system based on the
\r
8129 application's configuration settings.
\r
8133 <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
\r
8135 Each application has a configuration file. This has the
\r
8136 same name as the application with '.config' appended.
\r
8137 This file is XML and calling this function prompts the
\r
8138 configurator to look in that file for a section called
\r
8139 <c>log4net</c> that contains the configuration data.
\r
8142 <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository)">
\r
8144 Automatically configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using settings
\r
8145 stored in the application's configuration file.
\r
8149 <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
\r
8151 Each application has a configuration file. This has the
\r
8152 same name as the application with '.config' appended.
\r
8153 This file is XML and calling this function prompts the
\r
8154 configurator to look in that file for a section called
\r
8155 <c>log4net</c> that contains the configuration data.
\r
8157 <param name="repository">The repository to configure.</param>
\r
8159 <member name="M:log4net.Config.DOMConfigurator.Configure(System.Xml.XmlElement)">
\r
8161 Configures log4net using a <c>log4net</c> element
\r
8165 <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
\r
8167 Loads the log4net configuration from the XML element
\r
8168 supplied as <paramref name="element"/>.
\r
8170 <param name="element">The element to parse.</param>
\r
8172 <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)">
\r
8174 Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified XML
\r
8179 <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
\r
8181 Loads the log4net configuration from the XML element
\r
8182 supplied as <paramref name="element"/>.
\r
8184 <param name="repository">The repository to configure.</param>
\r
8185 <param name="element">The element to parse.</param>
\r
8187 <member name="M:log4net.Config.DOMConfigurator.Configure(System.IO.FileInfo)">
\r
8189 Configures log4net using the specified configuration file.
\r
8191 <param name="configFile">The XML file to load the configuration from.</param>
\r
8194 <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
\r
8197 The configuration file must be valid XML. It must contain
\r
8198 at least one element called <c>log4net</c> that holds
\r
8199 the log4net configuration data.
\r
8202 The log4net configuration file can possible be specified in the application's
\r
8203 configuration file (either <c>MyAppName.exe.config</c> for a
\r
8204 normal application on <c>Web.config</c> for an ASP.NET application).
\r
8207 The following example configures log4net using a configuration file, of which the
\r
8208 location is stored in the application's configuration file :
\r
8211 using log4net.Config;
\r
8213 using System.Configuration;
\r
8217 DOMConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
\r
8220 In the <c>.config</c> file, the path to the log4net can be specified like this :
\r
8222 <code lang="XML" escaped="true">
\r
8225 <add key="log4net-config-file" value="log.config"/>
\r
8231 <member name="M:log4net.Config.DOMConfigurator.Configure(System.IO.Stream)">
\r
8233 Configures log4net using the specified configuration file.
\r
8235 <param name="configStream">A stream to load the XML configuration from.</param>
\r
8238 <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
\r
8241 The configuration data must be valid XML. It must contain
\r
8242 at least one element called <c>log4net</c> that holds
\r
8243 the log4net configuration data.
\r
8246 Note that this method will NOT close the stream parameter.
\r
8250 <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
\r
8252 Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
\r
8255 <param name="repository">The repository to configure.</param>
\r
8256 <param name="configFile">The XML file to load the configuration from.</param>
\r
8259 <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
\r
8262 The configuration file must be valid XML. It must contain
\r
8263 at least one element called <c>log4net</c> that holds
\r
8264 the configuration data.
\r
8267 The log4net configuration file can possible be specified in the application's
\r
8268 configuration file (either <c>MyAppName.exe.config</c> for a
\r
8269 normal application on <c>Web.config</c> for an ASP.NET application).
\r
8272 The following example configures log4net using a configuration file, of which the
\r
8273 location is stored in the application's configuration file :
\r
8276 using log4net.Config;
\r
8278 using System.Configuration;
\r
8282 DOMConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
\r
8285 In the <c>.config</c> file, the path to the log4net can be specified like this :
\r
8287 <code lang="XML" escaped="true">
\r
8290 <add key="log4net-config-file" value="log.config"/>
\r
8296 <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.Stream)">
\r
8298 Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
\r
8301 <param name="repository">The repository to configure.</param>
\r
8302 <param name="configStream">The stream to load the XML configuration from.</param>
\r
8305 <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
\r
8308 The configuration data must be valid XML. It must contain
\r
8309 at least one element called <c>log4net</c> that holds
\r
8310 the configuration data.
\r
8313 Note that this method will NOT close the stream parameter.
\r
8317 <member name="M:log4net.Config.DOMConfigurator.ConfigureAndWatch(System.IO.FileInfo)">
\r
8319 Configures log4net using the file specified, monitors the file for changes
\r
8320 and reloads the configuration if a change is detected.
\r
8322 <param name="configFile">The XML file to load the configuration from.</param>
\r
8325 <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
\r
8328 The configuration file must be valid XML. It must contain
\r
8329 at least one element called <c>log4net</c> that holds
\r
8330 the configuration data.
\r
8333 The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
\r
8334 and depends on the behavior of that class.
\r
8337 For more information on how to configure log4net using
\r
8338 a separate configuration file, see <see cref="M:log4net.Config.DOMConfigurator.Configure(System.IO.FileInfo)"/>.
\r
8341 <seealso cref="M:log4net.Config.DOMConfigurator.Configure(System.IO.FileInfo)"/>
\r
8343 <member name="M:log4net.Config.DOMConfigurator.ConfigureAndWatch(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
\r
8345 Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the file specified,
\r
8346 monitors the file for changes and reloads the configuration if a change
\r
8349 <param name="repository">The repository to configure.</param>
\r
8350 <param name="configFile">The XML file to load the configuration from.</param>
\r
8353 <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
\r
8356 The configuration file must be valid XML. It must contain
\r
8357 at least one element called <c>log4net</c> that holds
\r
8358 the configuration data.
\r
8361 The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
\r
8362 and depends on the behavior of that class.
\r
8365 For more information on how to configure log4net using
\r
8366 a separate configuration file, see <see cref="M:log4net.Config.DOMConfigurator.Configure(System.IO.FileInfo)"/>.
\r
8369 <seealso cref="M:log4net.Config.DOMConfigurator.Configure(System.IO.FileInfo)"/>
\r
8371 <member name="T:log4net.Config.DOMConfiguratorAttribute">
\r
8373 Assembly level attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>.
\r
8377 <b>AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.</b>
\r
8380 This attribute may only be used at the assembly scope and can only
\r
8381 be used once per assembly.
\r
8384 Use this attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>
\r
8385 without calling one of the <see cref="M:log4net.Config.XmlConfigurator.Configure"/>
\r
8389 <author>Nicko Cadell</author>
\r
8390 <author>Gert Driesen</author>
\r
8392 <member name="T:log4net.Config.XmlConfiguratorAttribute">
\r
8394 Assembly level attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>.
\r
8398 This attribute may only be used at the assembly scope and can only
\r
8399 be used once per assembly.
\r
8402 Use this attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>
\r
8403 without calling one of the <see cref="M:log4net.Config.XmlConfigurator.Configure"/>
\r
8407 If neither of the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> or <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/>
\r
8408 properties are set the configuration is loaded from the application's .config file.
\r
8409 If set the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> property takes priority over the
\r
8410 <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> property. The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> property
\r
8411 specifies a path to a file to load the config from. The path is relative to the
\r
8412 application's base directory; <see cref="P:System.AppDomain.BaseDirectory"/>.
\r
8413 The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> property is used as a postfix to the assembly file name.
\r
8414 The config file must be located in the application's base directory; <see cref="P:System.AppDomain.BaseDirectory"/>.
\r
8415 For example in a console application setting the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> to
\r
8416 <c>config</c> has the same effect as not specifying the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> or
\r
8417 <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> properties.
\r
8420 The <see cref="P:log4net.Config.XmlConfiguratorAttribute.Watch"/> property can be set to cause the <see cref="T:log4net.Config.XmlConfigurator"/>
\r
8421 to watch the configuration file for changes.
\r
8425 Log4net will only look for assembly level configuration attributes once.
\r
8426 When using the log4net assembly level attributes to control the configuration
\r
8427 of log4net you must ensure that the first call to any of the
\r
8428 <see cref="T:log4net.Core.LoggerManager"/> methods is made from the assembly with the configuration
\r
8432 If you cannot guarantee the order in which log4net calls will be made from
\r
8433 different assemblies you must use programmatic configuration instead, i.e.
\r
8434 call the <see cref="M:log4net.Config.XmlConfigurator.Configure"/> method directly.
\r
8438 <author>Nicko Cadell</author>
\r
8439 <author>Gert Driesen</author>
\r
8441 <member name="M:log4net.Config.XmlConfiguratorAttribute.#ctor">
\r
8443 Default constructor
\r
8447 Default constructor
\r
8451 <member name="M:log4net.Config.XmlConfiguratorAttribute.Configure(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
\r
8453 Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
\r
8455 <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
\r
8456 <param name="targetRepository">The repository to configure.</param>
\r
8459 Configure the repository using the <see cref="T:log4net.Config.XmlConfigurator"/>.
\r
8460 The <paramref name="targetRepository"/> specified must extend the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>
\r
8461 class otherwise the <see cref="T:log4net.Config.XmlConfigurator"/> will not be able to
\r
8465 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="repository"/> does not extend <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.</exception>
\r
8467 <member name="M:log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
\r
8469 Attempt to load configuration from the local file system
\r
8471 <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
\r
8472 <param name="targetRepository">The repository to configure.</param>
\r
8474 <member name="M:log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
\r
8476 Configure the specified repository using a <see cref="T:System.IO.FileInfo"/>
\r
8478 <param name="targetRepository">The repository to configure.</param>
\r
8479 <param name="configFile">the FileInfo pointing to the config file</param>
\r
8481 <member name="M:log4net.Config.XmlConfiguratorAttribute.ConfigureFromUri(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
\r
8483 Attempt to load configuration from a URI
\r
8485 <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
\r
8486 <param name="targetRepository">The repository to configure.</param>
\r
8488 <member name="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile">
\r
8490 Gets or sets the filename of the configuration file.
\r
8493 The filename of the configuration file.
\r
8497 If specified, this is the name of the configuration file to use with
\r
8498 the <see cref="T:log4net.Config.XmlConfigurator"/>. This file path is relative to the
\r
8499 <b>application base</b> directory (<see cref="P:System.AppDomain.BaseDirectory"/>).
\r
8502 The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> takes priority over the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/>.
\r
8506 <member name="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension">
\r
8508 Gets or sets the extension of the configuration file.
\r
8511 The extension of the configuration file.
\r
8515 If specified this is the extension for the configuration file.
\r
8516 The path to the config file is built by using the <b>application
\r
8517 base</b> directory (<see cref="P:System.AppDomain.BaseDirectory"/>),
\r
8518 the <b>assembly file name</b> and the config file extension.
\r
8521 If the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> is set to <c>MyExt</c> then
\r
8522 possible config file names would be: <c>MyConsoleApp.exe.MyExt</c> or
\r
8523 <c>MyClassLibrary.dll.MyExt</c>.
\r
8526 The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> takes priority over the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/>.
\r
8530 <member name="P:log4net.Config.XmlConfiguratorAttribute.Watch">
\r
8532 Gets or sets a value indicating whether to watch the configuration file.
\r
8535 <c>true</c> if the configuration should be watched, <c>false</c> otherwise.
\r
8539 If this flag is specified and set to <c>true</c> then the framework
\r
8540 will watch the configuration file and will reload the config each time
\r
8541 the file is modified.
\r
8544 The config file can only be watched if it is loaded from local disk.
\r
8545 In a No-Touch (Smart Client) deployment where the application is downloaded
\r
8546 from a web server the config file may not reside on the local disk
\r
8547 and therefore it may not be able to watch it.
\r
8550 Watching configuration is not supported on the SSCLI.
\r
8554 <member name="T:log4net.Config.Log4NetConfigurationSectionHandler">
\r
8556 Class to register for the log4net section of the configuration file
\r
8559 The log4net section of the configuration file needs to have a section
\r
8560 handler registered. This is the section handler used. It simply returns
\r
8561 the XML element that is the root of the section.
\r
8564 Example of registering the log4net section handler :
\r
8565 <code lang="XML" escaped="true">
\r
8568 <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
\r
8571 log4net configuration XML goes here
\r
8576 <author>Nicko Cadell</author>
\r
8577 <author>Gert Driesen</author>
\r
8579 <member name="M:log4net.Config.Log4NetConfigurationSectionHandler.#ctor">
\r
8581 Initializes a new instance of the <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> class.
\r
8585 Default constructor.
\r
8589 <member name="M:log4net.Config.Log4NetConfigurationSectionHandler.Create(System.Object,System.Object,System.Xml.XmlNode)">
\r
8591 Parses the configuration section.
\r
8593 <param name="parent">The configuration settings in a corresponding parent configuration section.</param>
\r
8594 <param name="configContext">The configuration context when called from the ASP.NET configuration system. Otherwise, this parameter is reserved and is a null reference.</param>
\r
8595 <param name="section">The <see cref="T:System.Xml.XmlNode"/> for the log4net section.</param>
\r
8596 <returns>The <see cref="T:System.Xml.XmlNode"/> for the log4net section.</returns>
\r
8599 Returns the <see cref="T:System.Xml.XmlNode"/> containing the configuration data,
\r
8603 <member name="T:log4net.Config.PluginAttribute">
\r
8605 Assembly level attribute that specifies a plugin to attach to
\r
8610 Specifies the type of a plugin to create and attach to the
\r
8611 assembly's repository. The plugin type must implement the
\r
8612 <see cref="T:log4net.Plugin.IPlugin"/> interface.
\r
8615 <author>Nicko Cadell</author>
\r
8616 <author>Gert Driesen</author>
\r
8618 <member name="T:log4net.Plugin.IPluginFactory">
\r
8620 Interface used to create plugins.
\r
8624 Interface used to create a plugin.
\r
8627 <author>Nicko Cadell</author>
\r
8628 <author>Gert Driesen</author>
\r
8630 <member name="M:log4net.Plugin.IPluginFactory.CreatePlugin">
\r
8632 Creates the plugin object.
\r
8634 <returns>the new plugin instance</returns>
\r
8637 Create and return a new plugin instance.
\r
8641 <member name="M:log4net.Config.PluginAttribute.#ctor(System.String)">
\r
8643 Initializes a new instance of the <see cref="T:log4net.Config.PluginAttribute"/> class
\r
8644 with the specified type.
\r
8646 <param name="typeName">The type name of plugin to create.</param>
\r
8649 Create the attribute with the plugin type specified.
\r
8652 Where possible use the constructor that takes a <see cref="T:System.Type"/>.
\r
8656 <member name="M:log4net.Config.PluginAttribute.#ctor(System.Type)">
\r
8658 Initializes a new instance of the <see cref="T:log4net.Config.PluginAttribute"/> class
\r
8659 with the specified type.
\r
8661 <param name="type">The type of plugin to create.</param>
\r
8664 Create the attribute with the plugin type specified.
\r
8668 <member name="M:log4net.Config.PluginAttribute.CreatePlugin">
\r
8670 Creates the plugin object defined by this attribute.
\r
8674 Creates the instance of the <see cref="T:log4net.Plugin.IPlugin"/> object as
\r
8675 specified by this attribute.
\r
8678 <returns>The plugin object.</returns>
\r
8680 <member name="M:log4net.Config.PluginAttribute.ToString">
\r
8682 Returns a representation of the properties of this object.
\r
8686 Overrides base class <see cref="M:System.Object.ToString"/> method to
\r
8687 return a representation of the properties of this object.
\r
8690 <returns>A representation of the properties of this object</returns>
\r
8692 <member name="P:log4net.Config.PluginAttribute.Type">
\r
8694 Gets or sets the type for the plugin.
\r
8697 The type for the plugin.
\r
8701 The type for the plugin.
\r
8705 <member name="P:log4net.Config.PluginAttribute.TypeName">
\r
8707 Gets or sets the type name for the plugin.
\r
8710 The type name for the plugin.
\r
8714 The type name for the plugin.
\r
8717 Where possible use the <see cref="P:log4net.Config.PluginAttribute.Type"/> property instead.
\r
8721 <member name="T:log4net.Config.SecurityContextProviderAttribute">
\r
8723 Assembly level attribute to configure the <see cref="T:log4net.Core.SecurityContextProvider"/>.
\r
8727 This attribute may only be used at the assembly scope and can only
\r
8728 be used once per assembly.
\r
8731 Use this attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>
\r
8732 without calling one of the <see cref="M:log4net.Config.XmlConfigurator.Configure"/>
\r
8736 <author>Nicko Cadell</author>
\r
8738 <member name="M:log4net.Config.SecurityContextProviderAttribute.#ctor(System.Type)">
\r
8740 Construct provider attribute with type specified
\r
8742 <param name="providerType">the type of the provider to use</param>
\r
8745 The provider specified must subclass the <see cref="T:log4net.Core.SecurityContextProvider"/>
\r
8750 <member name="M:log4net.Config.SecurityContextProviderAttribute.Configure(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
\r
8752 Configures the SecurityContextProvider
\r
8754 <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
\r
8755 <param name="targetRepository">The repository to configure.</param>
\r
8758 Creates a provider instance from the <see cref="P:log4net.Config.SecurityContextProviderAttribute.ProviderType"/> specified.
\r
8759 Sets this as the default security context provider <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/>.
\r
8763 <member name="P:log4net.Config.SecurityContextProviderAttribute.ProviderType">
\r
8765 Gets or sets the type of the provider to use.
\r
8768 the type of the provider to use.
\r
8772 The provider specified must subclass the <see cref="T:log4net.Core.SecurityContextProvider"/>
\r
8777 <member name="T:log4net.Config.XmlConfigurator">
\r
8779 Use this class to initialize the log4net environment using an Xml tree.
\r
8783 Configures a <see cref="T:log4net.Repository.ILoggerRepository"/> using an Xml tree.
\r
8786 <author>Nicko Cadell</author>
\r
8787 <author>Gert Driesen</author>
\r
8789 <member name="M:log4net.Config.XmlConfigurator.#ctor">
\r
8791 Private constructor
\r
8794 <member name="M:log4net.Config.XmlConfigurator.Configure">
\r
8796 Automatically configures the log4net system based on the
\r
8797 application's configuration settings.
\r
8801 Each application has a configuration file. This has the
\r
8802 same name as the application with '.config' appended.
\r
8803 This file is XML and calling this function prompts the
\r
8804 configurator to look in that file for a section called
\r
8805 <c>log4net</c> that contains the configuration data.
\r
8808 To use this method to configure log4net you must specify
\r
8809 the <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> section
\r
8810 handler for the <c>log4net</c> configuration section. See the
\r
8811 <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> for an example.
\r
8814 <seealso cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/>
\r
8816 <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository)">
\r
8818 Automatically configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using settings
\r
8819 stored in the application's configuration file.
\r
8823 Each application has a configuration file. This has the
\r
8824 same name as the application with '.config' appended.
\r
8825 This file is XML and calling this function prompts the
\r
8826 configurator to look in that file for a section called
\r
8827 <c>log4net</c> that contains the configuration data.
\r
8830 To use this method to configure log4net you must specify
\r
8831 the <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> section
\r
8832 handler for the <c>log4net</c> configuration section. See the
\r
8833 <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> for an example.
\r
8836 <param name="repository">The repository to configure.</param>
\r
8838 <member name="M:log4net.Config.XmlConfigurator.Configure(System.Xml.XmlElement)">
\r
8840 Configures log4net using a <c>log4net</c> element
\r
8844 Loads the log4net configuration from the XML element
\r
8845 supplied as <paramref name="element"/>.
\r
8848 <param name="element">The element to parse.</param>
\r
8850 <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)">
\r
8852 Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified XML
\r
8856 Loads the log4net configuration from the XML element
\r
8857 supplied as <paramref name="element"/>.
\r
8859 <param name="repository">The repository to configure.</param>
\r
8860 <param name="element">The element to parse.</param>
\r
8862 <member name="M:log4net.Config.XmlConfigurator.Configure(System.IO.FileInfo)">
\r
8864 Configures log4net using the specified configuration file.
\r
8866 <param name="configFile">The XML file to load the configuration from.</param>
\r
8869 The configuration file must be valid XML. It must contain
\r
8870 at least one element called <c>log4net</c> that holds
\r
8871 the log4net configuration data.
\r
8874 The log4net configuration file can possible be specified in the application's
\r
8875 configuration file (either <c>MyAppName.exe.config</c> for a
\r
8876 normal application on <c>Web.config</c> for an ASP.NET application).
\r
8879 The first element matching <c><configuration></c> will be read as the
\r
8880 configuration. If this file is also a .NET .config file then you must specify
\r
8881 a configuration section for the <c>log4net</c> element otherwise .NET will
\r
8882 complain. Set the type for the section handler to <see cref="T:System.Configuration.IgnoreSectionHandler"/>, for example:
\r
8883 <code lang="XML" escaped="true">
\r
8885 <section name="log4net" type="System.Configuration.IgnoreSectionHandler"/>
\r
8890 The following example configures log4net using a configuration file, of which the
\r
8891 location is stored in the application's configuration file :
\r
8894 using log4net.Config;
\r
8896 using System.Configuration;
\r
8900 XmlConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
\r
8903 In the <c>.config</c> file, the path to the log4net can be specified like this :
\r
8905 <code lang="XML" escaped="true">
\r
8908 <add key="log4net-config-file" value="log.config"/>
\r
8914 <member name="M:log4net.Config.XmlConfigurator.Configure(System.Uri)">
\r
8916 Configures log4net using the specified configuration URI.
\r
8918 <param name="configUri">A URI to load the XML configuration from.</param>
\r
8921 The configuration data must be valid XML. It must contain
\r
8922 at least one element called <c>log4net</c> that holds
\r
8923 the log4net configuration data.
\r
8926 The <see cref="T:System.Net.WebRequest"/> must support the URI scheme specified.
\r
8930 <member name="M:log4net.Config.XmlConfigurator.Configure(System.IO.Stream)">
\r
8932 Configures log4net using the specified configuration data stream.
\r
8934 <param name="configStream">A stream to load the XML configuration from.</param>
\r
8937 The configuration data must be valid XML. It must contain
\r
8938 at least one element called <c>log4net</c> that holds
\r
8939 the log4net configuration data.
\r
8942 Note that this method will NOT close the stream parameter.
\r
8946 <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
\r
8948 Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
\r
8951 <param name="repository">The repository to configure.</param>
\r
8952 <param name="configFile">The XML file to load the configuration from.</param>
\r
8955 The configuration file must be valid XML. It must contain
\r
8956 at least one element called <c>log4net</c> that holds
\r
8957 the configuration data.
\r
8960 The log4net configuration file can possible be specified in the application's
\r
8961 configuration file (either <c>MyAppName.exe.config</c> for a
\r
8962 normal application on <c>Web.config</c> for an ASP.NET application).
\r
8965 The first element matching <c><configuration></c> will be read as the
\r
8966 configuration. If this file is also a .NET .config file then you must specify
\r
8967 a configuration section for the <c>log4net</c> element otherwise .NET will
\r
8968 complain. Set the type for the section handler to <see cref="T:System.Configuration.IgnoreSectionHandler"/>, for example:
\r
8969 <code lang="XML" escaped="true">
\r
8971 <section name="log4net" type="System.Configuration.IgnoreSectionHandler"/>
\r
8976 The following example configures log4net using a configuration file, of which the
\r
8977 location is stored in the application's configuration file :
\r
8980 using log4net.Config;
\r
8982 using System.Configuration;
\r
8986 XmlConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
\r
8989 In the <c>.config</c> file, the path to the log4net can be specified like this :
\r
8991 <code lang="XML" escaped="true">
\r
8994 <add key="log4net-config-file" value="log.config"/>
\r
9000 <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Uri)">
\r
9002 Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
\r
9005 <param name="repository">The repository to configure.</param>
\r
9006 <param name="configUri">A URI to load the XML configuration from.</param>
\r
9009 The configuration data must be valid XML. It must contain
\r
9010 at least one element called <c>log4net</c> that holds
\r
9011 the configuration data.
\r
9014 The <see cref="T:System.Net.WebRequest"/> must support the URI scheme specified.
\r
9018 <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.Stream)">
\r
9020 Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
\r
9023 <param name="repository">The repository to configure.</param>
\r
9024 <param name="configStream">The stream to load the XML configuration from.</param>
\r
9027 The configuration data must be valid XML. It must contain
\r
9028 at least one element called <c>log4net</c> that holds
\r
9029 the configuration data.
\r
9032 Note that this method will NOT close the stream parameter.
\r
9036 <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatch(System.IO.FileInfo)">
\r
9038 Configures log4net using the file specified, monitors the file for changes
\r
9039 and reloads the configuration if a change is detected.
\r
9041 <param name="configFile">The XML file to load the configuration from.</param>
\r
9044 The configuration file must be valid XML. It must contain
\r
9045 at least one element called <c>log4net</c> that holds
\r
9046 the configuration data.
\r
9049 The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
\r
9050 and depends on the behavior of that class.
\r
9053 For more information on how to configure log4net using
\r
9054 a separate configuration file, see <see cref="M:log4net.Config.XmlConfigurator.Configure(System.IO.FileInfo)"/>.
\r
9057 <seealso cref="M:log4net.Config.XmlConfigurator.Configure(System.IO.FileInfo)"/>
\r
9059 <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatch(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
\r
9061 Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the file specified,
\r
9062 monitors the file for changes and reloads the configuration if a change
\r
9065 <param name="repository">The repository to configure.</param>
\r
9066 <param name="configFile">The XML file to load the configuration from.</param>
\r
9069 The configuration file must be valid XML. It must contain
\r
9070 at least one element called <c>log4net</c> that holds
\r
9071 the configuration data.
\r
9074 The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
\r
9075 and depends on the behavior of that class.
\r
9078 For more information on how to configure log4net using
\r
9079 a separate configuration file, see <see cref="M:log4net.Config.XmlConfigurator.Configure(System.IO.FileInfo)"/>.
\r
9082 <seealso cref="M:log4net.Config.XmlConfigurator.Configure(System.IO.FileInfo)"/>
\r
9084 <member name="M:log4net.Config.XmlConfigurator.ConfigureFromXml(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)">
\r
9086 Configures the specified repository using a <c>log4net</c> element.
\r
9088 <param name="repository">The hierarchy to configure.</param>
\r
9089 <param name="element">The element to parse.</param>
\r
9092 Loads the log4net configuration from the XML element
\r
9093 supplied as <paramref name="element"/>.
\r
9096 This method is ultimately called by one of the Configure methods
\r
9097 to load the configuration from an <see cref="T:System.Xml.XmlElement"/>.
\r
9101 <member name="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler">
\r
9103 Class used to watch config files.
\r
9107 Uses the <see cref="T:System.IO.FileSystemWatcher"/> to monitor
\r
9108 changes to a specified file. Because multiple change notifications
\r
9109 may be raised when the file is modified, a timer is used to
\r
9110 compress the notifications into a single event. The timer
\r
9111 waits for <see cref="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.TimeoutMillis"/> time before delivering
\r
9112 the event notification. If any further <see cref="T:System.IO.FileSystemWatcher"/>
\r
9113 change notifications arrive while the timer is waiting it
\r
9114 is reset and waits again for <see cref="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.TimeoutMillis"/> to
\r
9119 <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.TimeoutMillis">
\r
9121 The default amount of time to wait after receiving notification
\r
9122 before reloading the config file.
\r
9125 <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.StartWatching(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
\r
9127 Watch a specified config file used to configure a repository
\r
9129 <param name="repository">The repository to configure.</param>
\r
9130 <param name="configFile">The configuration file to watch.</param>
\r
9133 Watch a specified config file used to configure a repository
\r
9137 <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_configFile">
\r
9139 Holds the FileInfo used to configure the XmlConfigurator
\r
9142 <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_repository">
\r
9144 Holds the repository being configured.
\r
9147 <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_timer">
\r
9149 The timer used to compress the notification events.
\r
9152 <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.#ctor(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
\r
9154 Initializes a new instance of the <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/> class.
\r
9156 <param name="repository">The repository to configure.</param>
\r
9157 <param name="configFile">The configuration file to watch.</param>
\r
9160 Initializes a new instance of the <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/> class.
\r
9164 <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.ConfigureAndWatchHandler_OnChanged(System.Object,System.IO.FileSystemEventArgs)">
\r
9166 Event handler used by <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/>.
\r
9168 <param name="source">The <see cref="T:System.IO.FileSystemWatcher"/> firing the event.</param>
\r
9169 <param name="e">The argument indicates the file that caused the event to be fired.</param>
\r
9172 This handler reloads the configuration from the file when the event is fired.
\r
9176 <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.ConfigureAndWatchHandler_OnRenamed(System.Object,System.IO.RenamedEventArgs)">
\r
9178 Event handler used by <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/>.
\r
9180 <param name="source">The <see cref="T:System.IO.FileSystemWatcher"/> firing the event.</param>
\r
9181 <param name="e">The argument indicates the file that caused the event to be fired.</param>
\r
9184 This handler reloads the configuration from the file when the event is fired.
\r
9188 <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.OnWatchedFileChange(System.Object)">
\r
9190 Called by the timer when the configuration has been updated.
\r
9192 <param name="state">null</param>
\r
9194 <member name="T:log4net.Core.CompactRepositorySelector">
\r
9196 The implementation of the <see cref="T:log4net.Core.IRepositorySelector"/> interface suitable
\r
9197 for use with the compact framework
\r
9201 This <see cref="T:log4net.Core.IRepositorySelector"/> implementation is a simple
\r
9202 mapping between repository name and <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
9206 The .NET Compact Framework 1.0 does not support retrieving assembly
\r
9207 level attributes therefore unlike the <c>DefaultRepositorySelector</c>
\r
9208 this selector does not examine the calling assembly for attributes.
\r
9211 <author>Nicko Cadell</author>
\r
9213 <member name="T:log4net.Core.IRepositorySelector">
\r
9215 Interface used by the <see cref="T:log4net.LogManager"/> to select the <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
9219 The <see cref="T:log4net.LogManager"/> uses a <see cref="T:log4net.Core.IRepositorySelector"/>
\r
9220 to specify the policy for selecting the correct <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
9221 to return to the caller.
\r
9224 <author>Nicko Cadell</author>
\r
9225 <author>Gert Driesen</author>
\r
9227 <member name="M:log4net.Core.IRepositorySelector.GetRepository(System.Reflection.Assembly)">
\r
9229 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
\r
9231 <param name="assembly">The assembly to use to lookup to the <see cref="T:log4net.Repository.ILoggerRepository"/></param>
\r
9232 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> for the assembly.</returns>
\r
9235 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
\r
9238 How the association between <see cref="T:System.Reflection.Assembly"/> and <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
9239 is made is not defined. The implementation may choose any method for
\r
9240 this association. The results of this method must be repeatable, i.e.
\r
9241 when called again with the same arguments the result must be the
\r
9246 <member name="M:log4net.Core.IRepositorySelector.GetRepository(System.String)">
\r
9248 Gets the named <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
9250 <param name="repositoryName">The name to use to lookup to the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
\r
9251 <returns>The named <see cref="T:log4net.Repository.ILoggerRepository"/></returns>
\r
9253 Lookup a named <see cref="T:log4net.Repository.ILoggerRepository"/>. This is the repository created by
\r
9254 calling <see cref="M:log4net.Core.IRepositorySelector.CreateRepository(System.String,System.Type)"/>.
\r
9257 <member name="M:log4net.Core.IRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)">
\r
9259 Creates a new repository for the assembly specified.
\r
9261 <param name="assembly">The assembly to use to create the domain to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
\r
9262 <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
\r
9263 <returns>The repository created.</returns>
\r
9266 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the domain
\r
9267 specified such that a call to <see cref="M:log4net.Core.IRepositorySelector.GetRepository(System.Reflection.Assembly)"/> with the
\r
9268 same assembly specified will return the same repository instance.
\r
9271 How the association between <see cref="T:System.Reflection.Assembly"/> and <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
9272 is made is not defined. The implementation may choose any method for
\r
9277 <member name="M:log4net.Core.IRepositorySelector.CreateRepository(System.String,System.Type)">
\r
9279 Creates a new repository with the name specified.
\r
9281 <param name="repositoryName">The name to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
\r
9282 <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
\r
9283 <returns>The repository created.</returns>
\r
9286 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the name
\r
9287 specified such that a call to <see cref="M:log4net.Core.IRepositorySelector.GetRepository(System.String)"/> with the
\r
9288 same name will return the same repository instance.
\r
9292 <member name="M:log4net.Core.IRepositorySelector.ExistsRepository(System.String)">
\r
9294 Test if a named repository exists
\r
9296 <param name="repositoryName">the named repository to check</param>
\r
9297 <returns><c>true</c> if the repository exists</returns>
\r
9300 Test if a named repository exists. Use <see cref="M:log4net.Core.IRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)"/>
\r
9301 to create a new repository and <see cref="M:log4net.Core.IRepositorySelector.GetRepository(System.Reflection.Assembly)"/> to retrieve
\r
9306 <member name="M:log4net.Core.IRepositorySelector.GetAllRepositories">
\r
9308 Gets an array of all currently defined repositories.
\r
9311 An array of the <see cref="T:log4net.Repository.ILoggerRepository"/> instances created by
\r
9312 this <see cref="T:log4net.Core.IRepositorySelector"/>.</returns>
\r
9315 Gets an array of all of the repositories created by this selector.
\r
9319 <member name="E:log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent">
\r
9321 Event to notify that a logger repository has been created.
\r
9324 Event to notify that a logger repository has been created.
\r
9328 Event raised when a new repository is created.
\r
9329 The event source will be this selector. The event args will
\r
9330 be a <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> which
\r
9331 holds the newly created <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
9335 <member name="M:log4net.Core.CompactRepositorySelector.#ctor(System.Type)">
\r
9337 Create a new repository selector
\r
9339 <param name="defaultRepositoryType">the type of the repositories to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/></param>
\r
9342 Create an new compact repository selector.
\r
9343 The default type for repositories must be specified,
\r
9344 an appropriate value would be <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
\r
9347 <exception cref="T:System.ArgumentNullException">throw if <paramref name="defaultRepositoryType"/> is null</exception>
\r
9348 <exception cref="T:System.ArgumentOutOfRangeException">throw if <paramref name="defaultRepositoryType"/> does not implement <see cref="T:log4net.Repository.ILoggerRepository"/></exception>
\r
9350 <member name="M:log4net.Core.CompactRepositorySelector.GetRepository(System.Reflection.Assembly)">
\r
9352 Get the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly
\r
9354 <param name="assembly">not used</param>
\r
9355 <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/></returns>
\r
9358 The <paramref name="assembly"/> argument is not used. This selector does not create a
\r
9359 separate repository for each assembly.
\r
9362 As a named repository is not specified the default repository is
\r
9363 returned. The default repository is named <c>log4net-default-repository</c>.
\r
9367 <member name="M:log4net.Core.CompactRepositorySelector.GetRepository(System.String)">
\r
9369 Get the named <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
9371 <param name="repositoryName">the name of the repository to lookup</param>
\r
9372 <returns>The named <see cref="T:log4net.Repository.ILoggerRepository"/></returns>
\r
9375 Get the named <see cref="T:log4net.Repository.ILoggerRepository"/>. The default
\r
9376 repository is <c>log4net-default-repository</c>. Other repositories
\r
9377 must be created using the <see cref="M:log4net.Core.CompactRepositorySelector.CreateRepository(System.String,System.Type)"/>.
\r
9378 If the named repository does not exist an exception is thrown.
\r
9381 <exception cref="T:System.ArgumentNullException">throw if <paramref name="repositoryName"/> is null</exception>
\r
9382 <exception cref="T:log4net.Core.LogException">throw if the <paramref name="repositoryName"/> does not exist</exception>
\r
9384 <member name="M:log4net.Core.CompactRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)">
\r
9386 Create a new repository for the assembly specified
\r
9388 <param name="assembly">not used</param>
\r
9389 <param name="repositoryType">the type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/></param>
\r
9390 <returns>the repository created</returns>
\r
9393 The <paramref name="assembly"/> argument is not used. This selector does not create a
\r
9394 separate repository for each assembly.
\r
9397 If the <paramref name="repositoryType"/> is <c>null</c> then the
\r
9398 default repository type specified to the constructor is used.
\r
9401 As a named repository is not specified the default repository is
\r
9402 returned. The default repository is named <c>log4net-default-repository</c>.
\r
9406 <member name="M:log4net.Core.CompactRepositorySelector.CreateRepository(System.String,System.Type)">
\r
9408 Create a new repository for the repository specified
\r
9410 <param name="repositoryName">the repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/></param>
\r
9411 <param name="repositoryType">the type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
9412 If this param is null then the default repository type is used.</param>
\r
9413 <returns>the repository created</returns>
\r
9416 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
\r
9417 specified such that a call to <see cref="M:log4net.Core.CompactRepositorySelector.GetRepository(System.String)"/> with the
\r
9418 same repository specified will return the same repository instance.
\r
9421 If the named repository already exists an exception will be thrown.
\r
9424 If <paramref name="repositoryType"/> is <c>null</c> then the default
\r
9425 repository type specified to the constructor is used.
\r
9428 <exception cref="T:System.ArgumentNullException">throw if <paramref name="repositoryName"/> is null</exception>
\r
9429 <exception cref="T:log4net.Core.LogException">throw if the <paramref name="repositoryName"/> already exists</exception>
\r
9431 <member name="M:log4net.Core.CompactRepositorySelector.ExistsRepository(System.String)">
\r
9433 Test if a named repository exists
\r
9435 <param name="repositoryName">the named repository to check</param>
\r
9436 <returns><c>true</c> if the repository exists</returns>
\r
9439 Test if a named repository exists. Use <see cref="M:log4net.Core.CompactRepositorySelector.CreateRepository(System.String,System.Type)"/>
\r
9440 to create a new repository and <see cref="M:log4net.Core.CompactRepositorySelector.GetRepository(System.String)"/> to retrieve
\r
9445 <member name="M:log4net.Core.CompactRepositorySelector.GetAllRepositories">
\r
9447 Gets a list of <see cref="T:log4net.Repository.ILoggerRepository"/> objects
\r
9449 <returns>an array of all known <see cref="T:log4net.Repository.ILoggerRepository"/> objects</returns>
\r
9452 Gets an array of all of the repositories created by this selector.
\r
9456 <member name="M:log4net.Core.CompactRepositorySelector.OnLoggerRepositoryCreatedEvent(log4net.Repository.ILoggerRepository)">
\r
9458 Notify the registered listeners that the repository has been created
\r
9460 <param name="repository">The repository that has been created</param>
\r
9463 Raises the <event cref="E:log4net.Core.CompactRepositorySelector.LoggerRepositoryCreatedEvent">LoggerRepositoryCreatedEvent</event>
\r
9468 <member name="E:log4net.Core.CompactRepositorySelector.LoggerRepositoryCreatedEvent">
\r
9470 Event to notify that a logger repository has been created.
\r
9473 Event to notify that a logger repository has been created.
\r
9477 Event raised when a new repository is created.
\r
9478 The event source will be this selector. The event args will
\r
9479 be a <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> which
\r
9480 holds the newly created <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
9484 <member name="T:log4net.Core.DefaultRepositorySelector">
\r
9486 The default implementation of the <see cref="T:log4net.Core.IRepositorySelector"/> interface.
\r
9490 Uses attributes defined on the calling assembly to determine how to
\r
9491 configure the hierarchy for the repository.
\r
9494 <author>Nicko Cadell</author>
\r
9495 <author>Gert Driesen</author>
\r
9497 <member name="M:log4net.Core.DefaultRepositorySelector.#ctor(System.Type)">
\r
9499 Creates a new repository selector.
\r
9501 <param name="defaultRepositoryType">The type of the repositories to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/></param>
\r
9504 Create an new repository selector.
\r
9505 The default type for repositories must be specified,
\r
9506 an appropriate value would be <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
\r
9509 <exception cref="T:System.ArgumentNullException"><paramref name="defaultRepositoryType"/> is <see langword="null"/>.</exception>
\r
9510 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="defaultRepositoryType"/> does not implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</exception>
\r
9512 <member name="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.Reflection.Assembly)">
\r
9514 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
\r
9516 <param name="repositoryAssembly">The assembly use to lookup the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
\r
9519 The type of the <see cref="T:log4net.Repository.ILoggerRepository"/> created and the repository
\r
9520 to create can be overridden by specifying the <see cref="T:log4net.Config.RepositoryAttribute"/>
\r
9521 attribute on the <paramref name="repositoryAssembly"/>.
\r
9524 The default values are to use the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>
\r
9525 implementation of the <see cref="T:log4net.Repository.ILoggerRepository"/> interface and to use the
\r
9526 <see cref="P:System.Reflection.AssemblyName.Name"/> as the name of the repository.
\r
9529 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be automatically configured using
\r
9530 any <see cref="T:log4net.Config.ConfiguratorAttribute"/> attributes defined on
\r
9531 the <paramref name="repositoryAssembly"/>.
\r
9534 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> for the assembly</returns>
\r
9535 <exception cref="T:System.ArgumentNullException"><paramref name="repositoryAssembly"/> is <see langword="null"/>.</exception>
\r
9537 <member name="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.String)">
\r
9539 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified repository.
\r
9541 <param name="repositoryName">The repository to use to lookup the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
\r
9542 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified repository.</returns>
\r
9545 Returns the named repository. If <paramref name="repositoryName"/> is <c>null</c>
\r
9546 a <see cref="T:System.ArgumentNullException"/> is thrown. If the repository
\r
9547 does not exist a <see cref="T:log4net.Core.LogException"/> is thrown.
\r
9550 Use <see cref="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.String,System.Type)"/> to create a repository.
\r
9553 <exception cref="T:System.ArgumentNullException"><paramref name="repositoryName"/> is <see langword="null"/>.</exception>
\r
9554 <exception cref="T:log4net.Core.LogException"><paramref name="repositoryName"/> does not exist.</exception>
\r
9556 <member name="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)">
\r
9558 Create a new repository for the assembly specified
\r
9560 <param name="repositoryAssembly">the assembly to use to create the repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
\r
9561 <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
\r
9562 <returns>The repository created.</returns>
\r
9565 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
\r
9566 specified such that a call to <see cref="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.Reflection.Assembly)"/> with the
\r
9567 same assembly specified will return the same repository instance.
\r
9570 The type of the <see cref="T:log4net.Repository.ILoggerRepository"/> created and
\r
9571 the repository to create can be overridden by specifying the
\r
9572 <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
\r
9573 <paramref name="repositoryAssembly"/>. The default values are to use the
\r
9574 <paramref name="repositoryType"/> implementation of the
\r
9575 <see cref="T:log4net.Repository.ILoggerRepository"/> interface and to use the
\r
9576 <see cref="P:System.Reflection.AssemblyName.Name"/> as the name of the repository.
\r
9579 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be automatically
\r
9580 configured using any <see cref="T:log4net.Config.ConfiguratorAttribute"/>
\r
9581 attributes defined on the <paramref name="repositoryAssembly"/>.
\r
9584 If a repository for the <paramref name="repositoryAssembly"/> already exists
\r
9585 that repository will be returned. An error will not be raised and that
\r
9586 repository may be of a different type to that specified in <paramref name="repositoryType"/>.
\r
9587 Also the <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
\r
9588 assembly may be used to override the repository type specified in
\r
9589 <paramref name="repositoryType"/>.
\r
9592 <exception cref="T:System.ArgumentNullException"><paramref name="repositoryAssembly"/> is <see langword="null"/>.</exception>
\r
9594 <member name="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type,System.String,System.Boolean)">
\r
9596 Creates a new repository for the assembly specified.
\r
9598 <param name="repositoryAssembly">the assembly to use to create the repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
\r
9599 <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
\r
9600 <param name="repositoryName">The name to assign to the created repository</param>
\r
9601 <param name="readAssemblyAttributes">Set to <c>true</c> to read and apply the assembly attributes</param>
\r
9602 <returns>The repository created.</returns>
\r
9605 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
\r
9606 specified such that a call to <see cref="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.Reflection.Assembly)"/> with the
\r
9607 same assembly specified will return the same repository instance.
\r
9610 The type of the <see cref="T:log4net.Repository.ILoggerRepository"/> created and
\r
9611 the repository to create can be overridden by specifying the
\r
9612 <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
\r
9613 <paramref name="repositoryAssembly"/>. The default values are to use the
\r
9614 <paramref name="repositoryType"/> implementation of the
\r
9615 <see cref="T:log4net.Repository.ILoggerRepository"/> interface and to use the
\r
9616 <see cref="P:System.Reflection.AssemblyName.Name"/> as the name of the repository.
\r
9619 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be automatically
\r
9620 configured using any <see cref="T:log4net.Config.ConfiguratorAttribute"/>
\r
9621 attributes defined on the <paramref name="repositoryAssembly"/>.
\r
9624 If a repository for the <paramref name="repositoryAssembly"/> already exists
\r
9625 that repository will be returned. An error will not be raised and that
\r
9626 repository may be of a different type to that specified in <paramref name="repositoryType"/>.
\r
9627 Also the <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
\r
9628 assembly may be used to override the repository type specified in
\r
9629 <paramref name="repositoryType"/>.
\r
9632 <exception cref="T:System.ArgumentNullException"><paramref name="repositoryAssembly"/> is <see langword="null"/>.</exception>
\r
9634 <member name="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.String,System.Type)">
\r
9636 Creates a new repository for the specified repository.
\r
9638 <param name="repositoryName">The repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
\r
9639 <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
9640 If this param is <see langword="null"/> then the default repository type is used.</param>
\r
9641 <returns>The new repository.</returns>
\r
9644 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
\r
9645 specified such that a call to <see cref="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.String)"/> with the
\r
9646 same repository specified will return the same repository instance.
\r
9649 <exception cref="T:System.ArgumentNullException"><paramref name="repositoryName"/> is <see langword="null"/>.</exception>
\r
9650 <exception cref="T:log4net.Core.LogException"><paramref name="repositoryName"/> already exists.</exception>
\r
9652 <member name="M:log4net.Core.DefaultRepositorySelector.ExistsRepository(System.String)">
\r
9654 Test if a named repository exists
\r
9656 <param name="repositoryName">the named repository to check</param>
\r
9657 <returns><c>true</c> if the repository exists</returns>
\r
9660 Test if a named repository exists. Use <see cref="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.String,System.Type)"/>
\r
9661 to create a new repository and <see cref="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.String)"/> to retrieve
\r
9666 <member name="M:log4net.Core.DefaultRepositorySelector.GetAllRepositories">
\r
9668 Gets a list of <see cref="T:log4net.Repository.ILoggerRepository"/> objects
\r
9670 <returns>an array of all known <see cref="T:log4net.Repository.ILoggerRepository"/> objects</returns>
\r
9673 Gets an array of all of the repositories created by this selector.
\r
9677 <member name="M:log4net.Core.DefaultRepositorySelector.AliasRepository(System.String,log4net.Repository.ILoggerRepository)">
\r
9679 Aliases a repository to an existing repository.
\r
9681 <param name="repositoryAlias">The repository to alias.</param>
\r
9682 <param name="repositoryTarget">The repository that the repository is aliased to.</param>
\r
9685 The repository specified will be aliased to the repository when created.
\r
9686 The repository must not already exist.
\r
9689 When the repository is created it must utilize the same repository type as
\r
9690 the repository it is aliased to, otherwise the aliasing will fail.
\r
9693 <exception cref="T:System.ArgumentNullException">
\r
9694 <para><paramref name="repositoryAlias"/> is <see langword="null"/>.</para>
\r
9696 <para><paramref name="repositoryTarget"/> is <see langword="null"/>.</para>
\r
9699 <member name="M:log4net.Core.DefaultRepositorySelector.OnLoggerRepositoryCreatedEvent(log4net.Repository.ILoggerRepository)">
\r
9701 Notifies the registered listeners that the repository has been created.
\r
9703 <param name="repository">The repository that has been created.</param>
\r
9706 Raises the <see cref="E:log4net.Core.DefaultRepositorySelector.LoggerRepositoryCreatedEvent"/> event.
\r
9710 <member name="M:log4net.Core.DefaultRepositorySelector.GetInfoForAssembly(System.Reflection.Assembly,System.String@,System.Type@)">
\r
9712 Gets the repository name and repository type for the specified assembly.
\r
9714 <param name="assembly">The assembly that has a <see cref="T:log4net.Config.RepositoryAttribute"/>.</param>
\r
9715 <param name="repositoryName">in/out param to hold the repository name to use for the assembly, caller should set this to the default value before calling.</param>
\r
9716 <param name="repositoryType">in/out param to hold the type of the repository to create for the assembly, caller should set this to the default value before calling.</param>
\r
9717 <exception cref="T:System.ArgumentNullException"><paramref name="assembly"/> is <see langword="null"/>.</exception>
\r
9719 <member name="M:log4net.Core.DefaultRepositorySelector.ConfigureRepository(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
\r
9721 Configures the repository using information from the assembly.
\r
9723 <param name="assembly">The assembly containing <see cref="T:log4net.Config.ConfiguratorAttribute"/>
\r
9724 attributes which define the configuration for the repository.</param>
\r
9725 <param name="repository">The repository to configure.</param>
\r
9726 <exception cref="T:System.ArgumentNullException">
\r
9727 <para><paramref name="assembly"/> is <see langword="null"/>.</para>
\r
9729 <para><paramref name="repository"/> is <see langword="null"/>.</para>
\r
9732 <member name="M:log4net.Core.DefaultRepositorySelector.LoadPlugins(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
\r
9734 Loads the attribute defined plugins on the assembly.
\r
9736 <param name="assembly">The assembly that contains the attributes.</param>
\r
9737 <param name="repository">The repository to add the plugins to.</param>
\r
9738 <exception cref="T:System.ArgumentNullException">
\r
9739 <para><paramref name="assembly"/> is <see langword="null"/>.</para>
\r
9741 <para><paramref name="repository"/> is <see langword="null"/>.</para>
\r
9744 <member name="M:log4net.Core.DefaultRepositorySelector.LoadAliases(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
\r
9746 Loads the attribute defined aliases on the assembly.
\r
9748 <param name="assembly">The assembly that contains the attributes.</param>
\r
9749 <param name="repository">The repository to alias to.</param>
\r
9750 <exception cref="T:System.ArgumentNullException">
\r
9751 <para><paramref name="assembly"/> is <see langword="null"/>.</para>
\r
9753 <para><paramref name="repository"/> is <see langword="null"/>.</para>
\r
9756 <member name="E:log4net.Core.DefaultRepositorySelector.LoggerRepositoryCreatedEvent">
\r
9758 Event to notify that a logger repository has been created.
\r
9761 Event to notify that a logger repository has been created.
\r
9765 Event raised when a new repository is created.
\r
9766 The event source will be this selector. The event args will
\r
9767 be a <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> which
\r
9768 holds the newly created <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
9772 <member name="T:log4net.Core.ErrorCode">
\r
9774 Defined error codes that can be passed to the <see cref="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)"/> method.
\r
9778 Values passed to the <see cref="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)"/> method.
\r
9781 <author>Nicko Cadell</author>
\r
9783 <member name="F:log4net.Core.ErrorCode.GenericFailure">
\r
9788 <member name="F:log4net.Core.ErrorCode.WriteFailure">
\r
9790 Error while writing output
\r
9793 <member name="F:log4net.Core.ErrorCode.FlushFailure">
\r
9795 Failed to flush file
\r
9798 <member name="F:log4net.Core.ErrorCode.CloseFailure">
\r
9800 Failed to close file
\r
9803 <member name="F:log4net.Core.ErrorCode.FileOpenFailure">
\r
9805 Unable to open output file
\r
9808 <member name="F:log4net.Core.ErrorCode.MissingLayout">
\r
9810 No layout specified
\r
9813 <member name="F:log4net.Core.ErrorCode.AddressParseFailure">
\r
9815 Failed to parse address
\r
9818 <member name="T:log4net.Core.IErrorHandler">
\r
9820 Appenders may delegate their error handling to an <see cref="T:log4net.Core.IErrorHandler"/>.
\r
9824 Error handling is a particularly tedious to get right because by
\r
9825 definition errors are hard to predict and to reproduce.
\r
9828 <author>Nicko Cadell</author>
\r
9829 <author>Gert Driesen</author>
\r
9831 <member name="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)">
\r
9833 Handles the error and information about the error condition is passed as
\r
9836 <param name="message">The message associated with the error.</param>
\r
9837 <param name="e">The <see cref="T:System.Exception"/> that was thrown when the error occurred.</param>
\r
9838 <param name="errorCode">The error code associated with the error.</param>
\r
9841 Handles the error and information about the error condition is passed as
\r
9846 <member name="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception)">
\r
9848 Prints the error message passed as a parameter.
\r
9850 <param name="message">The message associated with the error.</param>
\r
9851 <param name="e">The <see cref="T:System.Exception"/> that was thrown when the error occurred.</param>
\r
9854 See <see cref="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)"/>.
\r
9858 <member name="M:log4net.Core.IErrorHandler.Error(System.String)">
\r
9860 Prints the error message passed as a parameter.
\r
9862 <param name="message">The message associated with the error.</param>
\r
9865 See <see cref="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)"/>.
\r
9869 <member name="T:log4net.Core.IFixingRequired">
\r
9871 Interface for objects that require fixing.
\r
9875 Interface that indicates that the object requires fixing before it
\r
9876 can be taken outside the context of the appender's
\r
9877 <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method.
\r
9880 When objects that implement this interface are stored
\r
9881 in the context properties maps <see cref="T:log4net.GlobalContext"/>
\r
9882 <see cref="P:log4net.GlobalContext.Properties"/> and <see cref="T:log4net.ThreadContext"/>
\r
9883 <see cref="P:log4net.ThreadContext.Properties"/> are fixed
\r
9884 (see <see cref="P:log4net.Core.LoggingEvent.Fix"/>) the <see cref="M:log4net.Core.IFixingRequired.GetFixedObject"/>
\r
9885 method will be called.
\r
9888 <author>Nicko Cadell</author>
\r
9890 <member name="M:log4net.Core.IFixingRequired.GetFixedObject">
\r
9892 Get a portable version of this object
\r
9894 <returns>the portable instance of this object</returns>
\r
9897 Get a portable instance object that represents the current
\r
9898 state of this object. The portable object can be stored
\r
9899 and logged from any thread with identical results.
\r
9903 <member name="T:log4net.Core.ILogger">
\r
9905 Interface that all loggers implement
\r
9909 This interface supports logging events and testing if a level
\r
9910 is enabled for logging.
\r
9913 These methods will not throw exceptions. Note to implementor, ensure
\r
9914 that the implementation of these methods cannot allow an exception
\r
9915 to be thrown to the caller.
\r
9918 <author>Nicko Cadell</author>
\r
9919 <author>Gert Driesen</author>
\r
9921 <member name="M:log4net.Core.ILogger.Log(System.Type,log4net.Core.Level,System.Object,System.Exception)">
\r
9923 This generic form is intended to be used by wrappers.
\r
9925 <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
\r
9926 the stack boundary into the logging system for this call.</param>
\r
9927 <param name="level">The level of the message to be logged.</param>
\r
9928 <param name="message">The message object to log.</param>
\r
9929 <param name="exception">the exception to log, including its stack trace. Pass <c>null</c> to not log an exception.</param>
\r
9932 Generates a logging event for the specified <paramref name="level"/> using
\r
9933 the <paramref name="message"/> and <paramref name="exception"/>.
\r
9937 <member name="M:log4net.Core.ILogger.Log(log4net.Core.LoggingEvent)">
\r
9939 This is the most generic printing method that is intended to be used
\r
9942 <param name="logEvent">The event being logged.</param>
\r
9945 Logs the specified logging event through this logger.
\r
9949 <member name="M:log4net.Core.ILogger.IsEnabledFor(log4net.Core.Level)">
\r
9951 Checks if this logger is enabled for a given <see cref="T:log4net.Core.Level"/> passed as parameter.
\r
9953 <param name="level">The level to check.</param>
\r
9955 <c>true</c> if this logger is enabled for <c>level</c>, otherwise <c>false</c>.
\r
9959 Test if this logger is going to log events of the specified <paramref name="level"/>.
\r
9963 <member name="P:log4net.Core.ILogger.Name">
\r
9965 Gets the name of the logger.
\r
9968 The name of the logger.
\r
9972 The name of this logger
\r
9976 <member name="P:log4net.Core.ILogger.Repository">
\r
9978 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this
\r
9979 <c>Logger</c> instance is attached to.
\r
9982 The <see cref="T:log4net.Repository.ILoggerRepository"/> that this logger belongs to.
\r
9986 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this
\r
9987 <c>Logger</c> instance is attached to.
\r
9991 <member name="T:log4net.Core.ILoggerWrapper">
\r
9993 Base interface for all wrappers
\r
9997 Base interface for all wrappers.
\r
10000 All wrappers must implement this interface.
\r
10003 <author>Nicko Cadell</author>
\r
10005 <member name="P:log4net.Core.ILoggerWrapper.Logger">
\r
10007 Get the implementation behind this wrapper object.
\r
10010 The <see cref="T:log4net.Core.ILogger"/> object that in implementing this object.
\r
10014 The <see cref="T:log4net.Core.ILogger"/> object that in implementing this
\r
10015 object. The <c>Logger</c> object may not
\r
10016 be the same object as this object because of logger decorators.
\r
10017 This gets the actual underlying objects that is used to process
\r
10022 <member name="T:log4net.Core.LoggerRepositoryCreationEventHandler">
\r
10024 Delegate used to handle logger repository creation event notifications
\r
10026 <param name="sender">The <see cref="T:log4net.Core.IRepositorySelector"/> which created the repository.</param>
\r
10027 <param name="e">The <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> event args
\r
10028 that holds the <see cref="T:log4net.Repository.ILoggerRepository"/> instance that has been created.</param>
\r
10031 Delegate used to handle logger repository creation event notifications.
\r
10035 <member name="T:log4net.Core.LoggerRepositoryCreationEventArgs">
\r
10037 Provides data for the <see cref="E:log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent"/> event.
\r
10041 A <see cref="E:log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent"/>
\r
10042 event is raised every time a <see cref="T:log4net.Repository.ILoggerRepository"/> is created.
\r
10046 <member name="F:log4net.Core.LoggerRepositoryCreationEventArgs.m_repository">
\r
10048 The <see cref="T:log4net.Repository.ILoggerRepository"/> created
\r
10051 <member name="M:log4net.Core.LoggerRepositoryCreationEventArgs.#ctor(log4net.Repository.ILoggerRepository)">
\r
10053 Construct instance using <see cref="T:log4net.Repository.ILoggerRepository"/> specified
\r
10055 <param name="repository">the <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created</param>
\r
10058 Construct instance using <see cref="T:log4net.Repository.ILoggerRepository"/> specified
\r
10062 <member name="P:log4net.Core.LoggerRepositoryCreationEventArgs.LoggerRepository">
\r
10064 The <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created
\r
10067 The <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created
\r
10071 The <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created
\r
10075 <member name="T:log4net.Core.ITriggeringEventEvaluator">
\r
10077 Test if an <see cref="T:log4net.Core.LoggingEvent"/> triggers an action
\r
10081 Implementations of this interface allow certain appenders to decide
\r
10082 when to perform an appender specific action.
\r
10085 The action or behavior triggered is defined by the implementation.
\r
10088 <author>Nicko Cadell</author>
\r
10090 <member name="M:log4net.Core.ITriggeringEventEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)">
\r
10092 Test if this event triggers the action
\r
10094 <param name="loggingEvent">The event to check</param>
\r
10095 <returns><c>true</c> if this event triggers the action, otherwise <c>false</c></returns>
\r
10098 Return <c>true</c> if this event triggers the action
\r
10102 <member name="T:log4net.Core.Level">
\r
10104 Defines the default set of levels recognized by the system.
\r
10108 Each <see cref="T:log4net.Core.LoggingEvent"/> has an associated <see cref="T:log4net.Core.Level"/>.
\r
10111 Levels have a numeric <see cref="P:log4net.Core.Level.Value"/> that defines the relative
\r
10112 ordering between levels. Two Levels with the same <see cref="P:log4net.Core.Level.Value"/>
\r
10113 are deemed to be equivalent.
\r
10116 The levels that are recognized by log4net are set for each <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
10117 and each repository can have different levels defined. The levels are stored
\r
10118 in the <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/> on the repository. Levels are
\r
10119 looked up by name from the <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>.
\r
10122 When logging at level INFO the actual level used is not <see cref="F:log4net.Core.Level.Info"/> but
\r
10123 the value of <c>LoggerRepository.LevelMap["INFO"]</c>. The default value for this is
\r
10124 <see cref="F:log4net.Core.Level.Info"/>, but this can be changed by reconfiguring the level map.
\r
10127 Each level has a <see cref="P:log4net.Core.Level.DisplayName"/> in addition to its <see cref="P:log4net.Core.Level.Name"/>. The
\r
10128 <see cref="P:log4net.Core.Level.DisplayName"/> is the string that is written into the output log. By default
\r
10129 the display name is the same as the level name, but this can be used to alias levels
\r
10130 or to localize the log output.
\r
10133 Some of the predefined levels recognized by the system are:
\r
10135 <list type="bullet">
\r
10137 <description><see cref="F:log4net.Core.Level.Off"/>.</description>
\r
10140 <description><see cref="F:log4net.Core.Level.Fatal"/>.</description>
\r
10143 <description><see cref="F:log4net.Core.Level.Error"/>.</description>
\r
10146 <description><see cref="F:log4net.Core.Level.Warn"/>.</description>
\r
10149 <description><see cref="F:log4net.Core.Level.Info"/>.</description>
\r
10152 <description><see cref="F:log4net.Core.Level.Debug"/>.</description>
\r
10155 <description><see cref="F:log4net.Core.Level.All"/>.</description>
\r
10159 <author>Nicko Cadell</author>
\r
10160 <author>Gert Driesen</author>
\r
10162 <member name="M:log4net.Core.Level.#ctor(System.Int32,System.String,System.String)">
\r
10166 <param name="level">Integer value for this level, higher values represent more severe levels.</param>
\r
10167 <param name="levelName">The string name of this level.</param>
\r
10168 <param name="displayName">The display name for this level. This may be localized or otherwise different from the name</param>
\r
10171 Initializes a new instance of the <see cref="T:log4net.Core.Level"/> class with
\r
10172 the specified level name and value.
\r
10176 <member name="M:log4net.Core.Level.#ctor(System.Int32,System.String)">
\r
10180 <param name="level">Integer value for this level, higher values represent more severe levels.</param>
\r
10181 <param name="levelName">The string name of this level.</param>
\r
10184 Initializes a new instance of the <see cref="T:log4net.Core.Level"/> class with
\r
10185 the specified level name and value.
\r
10189 <member name="M:log4net.Core.Level.ToString">
\r
10191 Returns the <see cref="T:System.String"/> representation of the current
\r
10192 <see cref="T:log4net.Core.Level"/>.
\r
10195 A <see cref="T:System.String"/> representation of the current <see cref="T:log4net.Core.Level"/>.
\r
10199 Returns the level <see cref="P:log4net.Core.Level.Name"/>.
\r
10203 <member name="M:log4net.Core.Level.Equals(System.Object)">
\r
10207 <param name="o">The object to compare against.</param>
\r
10208 <returns><c>true</c> if the objects are equal.</returns>
\r
10211 Compares the levels of <see cref="T:log4net.Core.Level"/> instances, and
\r
10212 defers to base class if the target object is not a <see cref="T:log4net.Core.Level"/>
\r
10217 <member name="M:log4net.Core.Level.GetHashCode">
\r
10219 Returns a hash code
\r
10221 <returns>A hash code for the current <see cref="T:log4net.Core.Level"/>.</returns>
\r
10224 Returns a hash code suitable for use in hashing algorithms and data
\r
10225 structures like a hash table.
\r
10228 Returns the hash code of the level <see cref="P:log4net.Core.Level.Value"/>.
\r
10232 <member name="M:log4net.Core.Level.CompareTo(System.Object)">
\r
10234 Compares this instance to a specified object and returns an
\r
10235 indication of their relative values.
\r
10237 <param name="r">A <see cref="T:log4net.Core.Level"/> instance or <see langword="null"/> to compare with this instance.</param>
\r
10239 A 32-bit signed integer that indicates the relative order of the
\r
10240 values compared. The return value has these meanings:
\r
10241 <list type="table">
\r
10243 <term>Value</term>
\r
10244 <description>Meaning</description>
\r
10247 <term>Less than zero</term>
\r
10248 <description>This instance is less than <paramref name="r"/>.</description>
\r
10251 <term>Zero</term>
\r
10252 <description>This instance is equal to <paramref name="r"/>.</description>
\r
10255 <term>Greater than zero</term>
\r
10257 <para>This instance is greater than <paramref name="r"/>.</para>
\r
10258 <para>-or-</para>
\r
10259 <para><paramref name="r"/> is <see langword="null"/>.</para>
\r
10266 <paramref name="r"/> must be an instance of <see cref="T:log4net.Core.Level"/>
\r
10267 or <see langword="null"/>; otherwise, an exception is thrown.
\r
10270 <exception cref="T:System.ArgumentException"><paramref name="r"/> is not a <see cref="T:log4net.Core.Level"/>.</exception>
\r
10272 <member name="M:log4net.Core.Level.op_GreaterThan(log4net.Core.Level,log4net.Core.Level)">
\r
10274 Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/>
\r
10275 is greater than another specified <see cref="T:log4net.Core.Level"/>.
\r
10277 <param name="l">A <see cref="T:log4net.Core.Level"/></param>
\r
10278 <param name="r">A <see cref="T:log4net.Core.Level"/></param>
\r
10280 <c>true</c> if <paramref name="l"/> is greater than
\r
10281 <paramref name="r"/>; otherwise, <c>false</c>.
\r
10285 Compares two levels.
\r
10289 <member name="M:log4net.Core.Level.op_LessThan(log4net.Core.Level,log4net.Core.Level)">
\r
10291 Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/>
\r
10292 is less than another specified <see cref="T:log4net.Core.Level"/>.
\r
10294 <param name="l">A <see cref="T:log4net.Core.Level"/></param>
\r
10295 <param name="r">A <see cref="T:log4net.Core.Level"/></param>
\r
10297 <c>true</c> if <paramref name="l"/> is less than
\r
10298 <paramref name="r"/>; otherwise, <c>false</c>.
\r
10302 Compares two levels.
\r
10306 <member name="M:log4net.Core.Level.op_GreaterThanOrEqual(log4net.Core.Level,log4net.Core.Level)">
\r
10308 Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/>
\r
10309 is greater than or equal to another specified <see cref="T:log4net.Core.Level"/>.
\r
10311 <param name="l">A <see cref="T:log4net.Core.Level"/></param>
\r
10312 <param name="r">A <see cref="T:log4net.Core.Level"/></param>
\r
10314 <c>true</c> if <paramref name="l"/> is greater than or equal to
\r
10315 <paramref name="r"/>; otherwise, <c>false</c>.
\r
10319 Compares two levels.
\r
10323 <member name="M:log4net.Core.Level.op_LessThanOrEqual(log4net.Core.Level,log4net.Core.Level)">
\r
10325 Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/>
\r
10326 is less than or equal to another specified <see cref="T:log4net.Core.Level"/>.
\r
10328 <param name="l">A <see cref="T:log4net.Core.Level"/></param>
\r
10329 <param name="r">A <see cref="T:log4net.Core.Level"/></param>
\r
10331 <c>true</c> if <paramref name="l"/> is less than or equal to
\r
10332 <paramref name="r"/>; otherwise, <c>false</c>.
\r
10336 Compares two levels.
\r
10340 <member name="M:log4net.Core.Level.op_Equality(log4net.Core.Level,log4net.Core.Level)">
\r
10342 Returns a value indicating whether two specified <see cref="T:log4net.Core.Level"/>
\r
10343 objects have the same value.
\r
10345 <param name="l">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
\r
10346 <param name="r">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
\r
10348 <c>true</c> if the value of <paramref name="l"/> is the same as the
\r
10349 value of <paramref name="r"/>; otherwise, <c>false</c>.
\r
10353 Compares two levels.
\r
10357 <member name="M:log4net.Core.Level.op_Inequality(log4net.Core.Level,log4net.Core.Level)">
\r
10359 Returns a value indicating whether two specified <see cref="T:log4net.Core.Level"/>
\r
10360 objects have different values.
\r
10362 <param name="l">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
\r
10363 <param name="r">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
\r
10365 <c>true</c> if the value of <paramref name="l"/> is different from
\r
10366 the value of <paramref name="r"/>; otherwise, <c>false</c>.
\r
10370 Compares two levels.
\r
10374 <member name="M:log4net.Core.Level.Compare(log4net.Core.Level,log4net.Core.Level)">
\r
10376 Compares two specified <see cref="T:log4net.Core.Level"/> instances.
\r
10378 <param name="l">The first <see cref="T:log4net.Core.Level"/> to compare.</param>
\r
10379 <param name="r">The second <see cref="T:log4net.Core.Level"/> to compare.</param>
\r
10381 A 32-bit signed integer that indicates the relative order of the
\r
10382 two values compared. The return value has these meanings:
\r
10383 <list type="table">
\r
10385 <term>Value</term>
\r
10386 <description>Meaning</description>
\r
10389 <term>Less than zero</term>
\r
10390 <description><paramref name="l"/> is less than <paramref name="r"/>.</description>
\r
10393 <term>Zero</term>
\r
10394 <description><paramref name="l"/> is equal to <paramref name="r"/>.</description>
\r
10397 <term>Greater than zero</term>
\r
10398 <description><paramref name="l"/> is greater than <paramref name="r"/>.</description>
\r
10404 Compares two levels.
\r
10408 <member name="F:log4net.Core.Level.Off">
\r
10410 The <see cref="F:log4net.Core.Level.Off"/> level designates a higher level than all the rest.
\r
10413 <member name="F:log4net.Core.Level.Emergency">
\r
10415 The <see cref="F:log4net.Core.Level.Emergency"/> level designates very severe error events.
\r
10416 System unusable, emergencies.
\r
10419 <member name="F:log4net.Core.Level.Fatal">
\r
10421 The <see cref="F:log4net.Core.Level.Fatal"/> level designates very severe error events
\r
10422 that will presumably lead the application to abort.
\r
10425 <member name="F:log4net.Core.Level.Alert">
\r
10427 The <see cref="F:log4net.Core.Level.Alert"/> level designates very severe error events.
\r
10428 Take immediate action, alerts.
\r
10431 <member name="F:log4net.Core.Level.Critical">
\r
10433 The <see cref="F:log4net.Core.Level.Critical"/> level designates very severe error events.
\r
10434 Critical condition, critical.
\r
10437 <member name="F:log4net.Core.Level.Severe">
\r
10439 The <see cref="F:log4net.Core.Level.Severe"/> level designates very severe error events.
\r
10442 <member name="F:log4net.Core.Level.Error">
\r
10444 The <see cref="F:log4net.Core.Level.Error"/> level designates error events that might
\r
10445 still allow the application to continue running.
\r
10448 <member name="F:log4net.Core.Level.Warn">
\r
10450 The <see cref="F:log4net.Core.Level.Warn"/> level designates potentially harmful
\r
10454 <member name="F:log4net.Core.Level.Notice">
\r
10456 The <see cref="F:log4net.Core.Level.Notice"/> level designates informational messages
\r
10457 that highlight the progress of the application at the highest level.
\r
10460 <member name="F:log4net.Core.Level.Info">
\r
10462 The <see cref="F:log4net.Core.Level.Info"/> level designates informational messages that
\r
10463 highlight the progress of the application at coarse-grained level.
\r
10466 <member name="F:log4net.Core.Level.Debug">
\r
10468 The <see cref="F:log4net.Core.Level.Debug"/> level designates fine-grained informational
\r
10469 events that are most useful to debug an application.
\r
10472 <member name="F:log4net.Core.Level.Fine">
\r
10474 The <see cref="F:log4net.Core.Level.Fine"/> level designates fine-grained informational
\r
10475 events that are most useful to debug an application.
\r
10478 <member name="F:log4net.Core.Level.Trace">
\r
10480 The <see cref="F:log4net.Core.Level.Trace"/> level designates fine-grained informational
\r
10481 events that are most useful to debug an application.
\r
10484 <member name="F:log4net.Core.Level.Finer">
\r
10486 The <see cref="F:log4net.Core.Level.Finer"/> level designates fine-grained informational
\r
10487 events that are most useful to debug an application.
\r
10490 <member name="F:log4net.Core.Level.Verbose">
\r
10492 The <see cref="F:log4net.Core.Level.Verbose"/> level designates fine-grained informational
\r
10493 events that are most useful to debug an application.
\r
10496 <member name="F:log4net.Core.Level.Finest">
\r
10498 The <see cref="F:log4net.Core.Level.Finest"/> level designates fine-grained informational
\r
10499 events that are most useful to debug an application.
\r
10502 <member name="F:log4net.Core.Level.All">
\r
10504 The <see cref="F:log4net.Core.Level.All"/> level designates the lowest level possible.
\r
10507 <member name="P:log4net.Core.Level.Name">
\r
10509 Gets the name of this level.
\r
10512 The name of this level.
\r
10516 Gets the name of this level.
\r
10520 <member name="P:log4net.Core.Level.Value">
\r
10522 Gets the value of this level.
\r
10525 The value of this level.
\r
10529 Gets the value of this level.
\r
10533 <member name="P:log4net.Core.Level.DisplayName">
\r
10535 Gets the display name of this level.
\r
10538 The display name of this level.
\r
10542 Gets the display name of this level.
\r
10546 <member name="T:log4net.Core.LevelCollection">
\r
10548 A strongly-typed collection of <see cref="T:log4net.Core.Level"/> objects.
\r
10550 <author>Nicko Cadell</author>
\r
10552 <member name="M:log4net.Core.LevelCollection.ReadOnly(log4net.Core.LevelCollection)">
\r
10554 Creates a read-only wrapper for a <c>LevelCollection</c> instance.
\r
10556 <param name="list">list to create a readonly wrapper arround</param>
\r
10558 A <c>LevelCollection</c> wrapper that is read-only.
\r
10561 <member name="M:log4net.Core.LevelCollection.#ctor">
\r
10563 Initializes a new instance of the <c>LevelCollection</c> class
\r
10564 that is empty and has the default initial capacity.
\r
10567 <member name="M:log4net.Core.LevelCollection.#ctor(System.Int32)">
\r
10569 Initializes a new instance of the <c>LevelCollection</c> class
\r
10570 that has the specified initial capacity.
\r
10572 <param name="capacity">
\r
10573 The number of elements that the new <c>LevelCollection</c> is initially capable of storing.
\r
10576 <member name="M:log4net.Core.LevelCollection.#ctor(log4net.Core.LevelCollection)">
\r
10578 Initializes a new instance of the <c>LevelCollection</c> class
\r
10579 that contains elements copied from the specified <c>LevelCollection</c>.
\r
10581 <param name="c">The <c>LevelCollection</c> whose elements are copied to the new collection.</param>
\r
10583 <member name="M:log4net.Core.LevelCollection.#ctor(log4net.Core.Level[])">
\r
10585 Initializes a new instance of the <c>LevelCollection</c> class
\r
10586 that contains elements copied from the specified <see cref="T:log4net.Core.Level"/> array.
\r
10588 <param name="a">The <see cref="T:log4net.Core.Level"/> array whose elements are copied to the new list.</param>
\r
10590 <member name="M:log4net.Core.LevelCollection.#ctor(System.Collections.ICollection)">
\r
10592 Initializes a new instance of the <c>LevelCollection</c> class
\r
10593 that contains elements copied from the specified <see cref="T:log4net.Core.Level"/> collection.
\r
10595 <param name="col">The <see cref="T:log4net.Core.Level"/> collection whose elements are copied to the new list.</param>
\r
10597 <member name="M:log4net.Core.LevelCollection.#ctor(log4net.Core.LevelCollection.Tag)">
\r
10599 Allow subclasses to avoid our default constructors
\r
10601 <param name="tag"></param>
\r
10603 <member name="M:log4net.Core.LevelCollection.CopyTo(log4net.Core.Level[])">
\r
10605 Copies the entire <c>LevelCollection</c> to a one-dimensional
\r
10606 <see cref="T:log4net.Core.Level"/> array.
\r
10608 <param name="array">The one-dimensional <see cref="T:log4net.Core.Level"/> array to copy to.</param>
\r
10610 <member name="M:log4net.Core.LevelCollection.CopyTo(log4net.Core.Level[],System.Int32)">
\r
10612 Copies the entire <c>LevelCollection</c> to a one-dimensional
\r
10613 <see cref="T:log4net.Core.Level"/> array, starting at the specified index of the target array.
\r
10615 <param name="array">The one-dimensional <see cref="T:log4net.Core.Level"/> array to copy to.</param>
\r
10616 <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param>
\r
10618 <member name="M:log4net.Core.LevelCollection.Add(log4net.Core.Level)">
\r
10620 Adds a <see cref="T:log4net.Core.Level"/> to the end of the <c>LevelCollection</c>.
\r
10622 <param name="item">The <see cref="T:log4net.Core.Level"/> to be added to the end of the <c>LevelCollection</c>.</param>
\r
10623 <returns>The index at which the value has been added.</returns>
\r
10625 <member name="M:log4net.Core.LevelCollection.Clear">
\r
10627 Removes all elements from the <c>LevelCollection</c>.
\r
10630 <member name="M:log4net.Core.LevelCollection.Clone">
\r
10632 Creates a shallow copy of the <see cref="T:log4net.Core.LevelCollection"/>.
\r
10634 <returns>A new <see cref="T:log4net.Core.LevelCollection"/> with a shallow copy of the collection data.</returns>
\r
10636 <member name="M:log4net.Core.LevelCollection.Contains(log4net.Core.Level)">
\r
10638 Determines whether a given <see cref="T:log4net.Core.Level"/> is in the <c>LevelCollection</c>.
\r
10640 <param name="item">The <see cref="T:log4net.Core.Level"/> to check for.</param>
\r
10641 <returns><c>true</c> if <paramref name="item"/> is found in the <c>LevelCollection</c>; otherwise, <c>false</c>.</returns>
\r
10643 <member name="M:log4net.Core.LevelCollection.IndexOf(log4net.Core.Level)">
\r
10645 Returns the zero-based index of the first occurrence of a <see cref="T:log4net.Core.Level"/>
\r
10646 in the <c>LevelCollection</c>.
\r
10648 <param name="item">The <see cref="T:log4net.Core.Level"/> to locate in the <c>LevelCollection</c>.</param>
\r
10650 The zero-based index of the first occurrence of <paramref name="item"/>
\r
10651 in the entire <c>LevelCollection</c>, if found; otherwise, -1.
\r
10654 <member name="M:log4net.Core.LevelCollection.Insert(System.Int32,log4net.Core.Level)">
\r
10656 Inserts an element into the <c>LevelCollection</c> at the specified index.
\r
10658 <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
\r
10659 <param name="item">The <see cref="T:log4net.Core.Level"/> to insert.</param>
\r
10660 <exception cref="T:System.ArgumentOutOfRangeException">
\r
10661 <para><paramref name="index"/> is less than zero</para>
\r
10662 <para>-or-</para>
\r
10663 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
\r
10666 <member name="M:log4net.Core.LevelCollection.Remove(log4net.Core.Level)">
\r
10668 Removes the first occurrence of a specific <see cref="T:log4net.Core.Level"/> from the <c>LevelCollection</c>.
\r
10670 <param name="item">The <see cref="T:log4net.Core.Level"/> to remove from the <c>LevelCollection</c>.</param>
\r
10671 <exception cref="T:System.ArgumentException">
\r
10672 The specified <see cref="T:log4net.Core.Level"/> was not found in the <c>LevelCollection</c>.
\r
10675 <member name="M:log4net.Core.LevelCollection.RemoveAt(System.Int32)">
\r
10677 Removes the element at the specified index of the <c>LevelCollection</c>.
\r
10679 <param name="index">The zero-based index of the element to remove.</param>
\r
10680 <exception cref="T:System.ArgumentOutOfRangeException">
\r
10681 <para><paramref name="index"/> is less than zero</para>
\r
10682 <para>-or-</para>
\r
10683 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
\r
10686 <member name="M:log4net.Core.LevelCollection.GetEnumerator">
\r
10688 Returns an enumerator that can iterate through the <c>LevelCollection</c>.
\r
10690 <returns>An <see cref="T:log4net.Core.LevelCollection.Enumerator"/> for the entire <c>LevelCollection</c>.</returns>
\r
10692 <member name="M:log4net.Core.LevelCollection.AddRange(log4net.Core.LevelCollection)">
\r
10694 Adds the elements of another <c>LevelCollection</c> to the current <c>LevelCollection</c>.
\r
10696 <param name="x">The <c>LevelCollection</c> whose elements should be added to the end of the current <c>LevelCollection</c>.</param>
\r
10697 <returns>The new <see cref="P:log4net.Core.LevelCollection.Count"/> of the <c>LevelCollection</c>.</returns>
\r
10699 <member name="M:log4net.Core.LevelCollection.AddRange(log4net.Core.Level[])">
\r
10701 Adds the elements of a <see cref="T:log4net.Core.Level"/> array to the current <c>LevelCollection</c>.
\r
10703 <param name="x">The <see cref="T:log4net.Core.Level"/> array whose elements should be added to the end of the <c>LevelCollection</c>.</param>
\r
10704 <returns>The new <see cref="P:log4net.Core.LevelCollection.Count"/> of the <c>LevelCollection</c>.</returns>
\r
10706 <member name="M:log4net.Core.LevelCollection.AddRange(System.Collections.ICollection)">
\r
10708 Adds the elements of a <see cref="T:log4net.Core.Level"/> collection to the current <c>LevelCollection</c>.
\r
10710 <param name="col">The <see cref="T:log4net.Core.Level"/> collection whose elements should be added to the end of the <c>LevelCollection</c>.</param>
\r
10711 <returns>The new <see cref="P:log4net.Core.LevelCollection.Count"/> of the <c>LevelCollection</c>.</returns>
\r
10713 <member name="M:log4net.Core.LevelCollection.TrimToSize">
\r
10715 Sets the capacity to the actual number of elements.
\r
10718 <member name="M:log4net.Core.LevelCollection.ValidateIndex(System.Int32)">
\r
10719 <exception cref="T:System.ArgumentOutOfRangeException">
\r
10720 <para><paramref name="index"/> is less than zero</para>
\r
10721 <para>-or-</para>
\r
10722 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
\r
10725 <member name="M:log4net.Core.LevelCollection.ValidateIndex(System.Int32,System.Boolean)">
\r
10726 <exception cref="T:System.ArgumentOutOfRangeException">
\r
10727 <para><paramref name="index"/> is less than zero</para>
\r
10728 <para>-or-</para>
\r
10729 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
\r
10732 <member name="P:log4net.Core.LevelCollection.Count">
\r
10734 Gets the number of elements actually contained in the <c>LevelCollection</c>.
\r
10737 <member name="P:log4net.Core.LevelCollection.IsSynchronized">
\r
10739 Gets a value indicating whether access to the collection is synchronized (thread-safe).
\r
10741 <value>true if access to the ICollection is synchronized (thread-safe); otherwise, false.</value>
\r
10743 <member name="P:log4net.Core.LevelCollection.SyncRoot">
\r
10745 Gets an object that can be used to synchronize access to the collection.
\r
10748 <member name="P:log4net.Core.LevelCollection.Item(System.Int32)">
\r
10750 Gets or sets the <see cref="T:log4net.Core.Level"/> at the specified index.
\r
10752 <param name="index">The zero-based index of the element to get or set.</param>
\r
10753 <exception cref="T:System.ArgumentOutOfRangeException">
\r
10754 <para><paramref name="index"/> is less than zero</para>
\r
10755 <para>-or-</para>
\r
10756 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
\r
10759 <member name="P:log4net.Core.LevelCollection.IsFixedSize">
\r
10761 Gets a value indicating whether the collection has a fixed size.
\r
10763 <value>true if the collection has a fixed size; otherwise, false. The default is false</value>
\r
10765 <member name="P:log4net.Core.LevelCollection.IsReadOnly">
\r
10767 Gets a value indicating whether the IList is read-only.
\r
10769 <value>true if the collection is read-only; otherwise, false. The default is false</value>
\r
10771 <member name="P:log4net.Core.LevelCollection.Capacity">
\r
10773 Gets or sets the number of elements the <c>LevelCollection</c> can contain.
\r
10776 <member name="T:log4net.Core.LevelCollection.ILevelCollectionEnumerator">
\r
10778 Supports type-safe iteration over a <see cref="T:log4net.Core.LevelCollection"/>.
\r
10781 <member name="M:log4net.Core.LevelCollection.ILevelCollectionEnumerator.MoveNext">
\r
10783 Advances the enumerator to the next element in the collection.
\r
10786 <c>true</c> if the enumerator was successfully advanced to the next element;
\r
10787 <c>false</c> if the enumerator has passed the end of the collection.
\r
10789 <exception cref="T:System.InvalidOperationException">
\r
10790 The collection was modified after the enumerator was created.
\r
10793 <member name="M:log4net.Core.LevelCollection.ILevelCollectionEnumerator.Reset">
\r
10795 Sets the enumerator to its initial position, before the first element in the collection.
\r
10798 <member name="P:log4net.Core.LevelCollection.ILevelCollectionEnumerator.Current">
\r
10800 Gets the current element in the collection.
\r
10803 <member name="T:log4net.Core.LevelCollection.Tag">
\r
10805 Type visible only to our subclasses
\r
10806 Used to access protected constructor
\r
10809 <member name="F:log4net.Core.LevelCollection.Tag.Default">
\r
10814 <member name="T:log4net.Core.LevelCollection.Enumerator">
\r
10816 Supports simple iteration over a <see cref="T:log4net.Core.LevelCollection"/>.
\r
10819 <member name="M:log4net.Core.LevelCollection.Enumerator.#ctor(log4net.Core.LevelCollection)">
\r
10821 Initializes a new instance of the <c>Enumerator</c> class.
\r
10823 <param name="tc"></param>
\r
10825 <member name="M:log4net.Core.LevelCollection.Enumerator.MoveNext">
\r
10827 Advances the enumerator to the next element in the collection.
\r
10830 <c>true</c> if the enumerator was successfully advanced to the next element;
\r
10831 <c>false</c> if the enumerator has passed the end of the collection.
\r
10833 <exception cref="T:System.InvalidOperationException">
\r
10834 The collection was modified after the enumerator was created.
\r
10837 <member name="M:log4net.Core.LevelCollection.Enumerator.Reset">
\r
10839 Sets the enumerator to its initial position, before the first element in the collection.
\r
10842 <member name="P:log4net.Core.LevelCollection.Enumerator.Current">
\r
10844 Gets the current element in the collection.
\r
10847 <member name="T:log4net.Core.LevelEvaluator">
\r
10849 An evaluator that triggers at a threshold level
\r
10853 This evaluator will trigger if the level of the event
\r
10854 passed to <see cref="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)"/>
\r
10855 is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
\r
10859 <author>Nicko Cadell</author>
\r
10861 <member name="F:log4net.Core.LevelEvaluator.m_threshold">
\r
10863 The threshold for triggering
\r
10866 <member name="M:log4net.Core.LevelEvaluator.#ctor">
\r
10868 Create a new evaluator using the <see cref="F:log4net.Core.Level.Off"/> threshold.
\r
10872 Create a new evaluator using the <see cref="F:log4net.Core.Level.Off"/> threshold.
\r
10875 This evaluator will trigger if the level of the event
\r
10876 passed to <see cref="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)"/>
\r
10877 is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
\r
10882 <member name="M:log4net.Core.LevelEvaluator.#ctor(log4net.Core.Level)">
\r
10884 Create a new evaluator using the specified <see cref="T:log4net.Core.Level"/> threshold.
\r
10886 <param name="threshold">the threshold to trigger at</param>
\r
10889 Create a new evaluator using the specified <see cref="T:log4net.Core.Level"/> threshold.
\r
10892 This evaluator will trigger if the level of the event
\r
10893 passed to <see cref="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)"/>
\r
10894 is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
\r
10899 <member name="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)">
\r
10901 Is this <paramref name="loggingEvent"/> the triggering event?
\r
10903 <param name="loggingEvent">The event to check</param>
\r
10904 <returns>This method returns <c>true</c>, if the event level
\r
10905 is equal or higher than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>.
\r
10906 Otherwise it returns <c>false</c></returns>
\r
10909 This evaluator will trigger if the level of the event
\r
10910 passed to <see cref="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)"/>
\r
10911 is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
\r
10916 <member name="P:log4net.Core.LevelEvaluator.Threshold">
\r
10918 the threshold to trigger at
\r
10921 The <see cref="T:log4net.Core.Level"/> that will cause this evaluator to trigger
\r
10925 This evaluator will trigger if the level of the event
\r
10926 passed to <see cref="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)"/>
\r
10927 is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
\r
10932 <member name="T:log4net.Core.LevelMap">
\r
10934 Mapping between string name and Level object
\r
10938 Mapping between string name and <see cref="T:log4net.Core.Level"/> object.
\r
10939 This mapping is held separately for each <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
10940 The level name is case insensitive.
\r
10943 <author>Nicko Cadell</author>
\r
10945 <member name="F:log4net.Core.LevelMap.m_mapName2Level">
\r
10947 Mapping from level name to Level object. The
\r
10948 level name is case insensitive
\r
10951 <member name="M:log4net.Core.LevelMap.#ctor">
\r
10953 Construct the level map
\r
10957 Construct the level map.
\r
10961 <member name="M:log4net.Core.LevelMap.Clear">
\r
10963 Clear the internal maps of all levels
\r
10967 Clear the internal maps of all levels
\r
10971 <member name="M:log4net.Core.LevelMap.Add(System.String,System.Int32)">
\r
10973 Create a new Level and add it to the map
\r
10975 <param name="name">the string to display for the Level</param>
\r
10976 <param name="value">the level value to give to the Level</param>
\r
10979 Create a new Level and add it to the map
\r
10982 <seealso cref="M:log4net.Core.LevelMap.Add(System.String,System.Int32,System.String)"/>
\r
10984 <member name="M:log4net.Core.LevelMap.Add(System.String,System.Int32,System.String)">
\r
10986 Create a new Level and add it to the map
\r
10988 <param name="name">the string to display for the Level</param>
\r
10989 <param name="value">the level value to give to the Level</param>
\r
10990 <param name="displayName">the display name to give to the Level</param>
\r
10993 Create a new Level and add it to the map
\r
10997 <member name="M:log4net.Core.LevelMap.Add(log4net.Core.Level)">
\r
10999 Add a Level to the map
\r
11001 <param name="level">the Level to add</param>
\r
11004 Add a Level to the map
\r
11008 <member name="M:log4net.Core.LevelMap.LookupWithDefault(log4net.Core.Level)">
\r
11010 Lookup a named level from the map
\r
11012 <param name="defaultLevel">the name of the level to lookup is taken from this level.
\r
11013 If the level is not set on the map then this level is added</param>
\r
11014 <returns>the level in the map with the name specified</returns>
\r
11017 Lookup a named level from the map. The name of the level to lookup is taken
\r
11018 from the <see cref="P:log4net.Core.Level.Name"/> property of the <paramref name="defaultLevel"/>
\r
11022 If no level with the specified name is found then the
\r
11023 <paramref name="defaultLevel"/> argument is added to the level map
\r
11028 <member name="P:log4net.Core.LevelMap.Item(System.String)">
\r
11030 Lookup a <see cref="T:log4net.Core.Level"/> by name
\r
11032 <param name="name">The name of the Level to lookup</param>
\r
11033 <returns>a Level from the map with the name specified</returns>
\r
11036 Returns the <see cref="T:log4net.Core.Level"/> from the
\r
11037 map with the name specified. If the no level is
\r
11038 found then <c>null</c> is returned.
\r
11042 <member name="P:log4net.Core.LevelMap.AllLevels">
\r
11044 Return all possible levels as a list of Level objects.
\r
11046 <returns>all possible levels as a list of Level objects</returns>
\r
11049 Return all possible levels as a list of Level objects.
\r
11053 <member name="T:log4net.Core.LocationInfo">
\r
11055 The internal representation of caller location information.
\r
11059 This class uses the <c>System.Diagnostics.StackTrace</c> class to generate
\r
11060 a call stack. The caller's information is then extracted from this stack.
\r
11063 The <c>System.Diagnostics.StackTrace</c> class is not supported on the
\r
11064 .NET Compact Framework 1.0 therefore caller location information is not
\r
11065 available on that framework.
\r
11068 The <c>System.Diagnostics.StackTrace</c> class has this to say about Release builds:
\r
11071 "StackTrace information will be most informative with Debug build configurations.
\r
11072 By default, Debug builds include debug symbols, while Release builds do not. The
\r
11073 debug symbols contain most of the file, method name, line number, and column
\r
11074 information used in constructing StackFrame and StackTrace objects. StackTrace
\r
11075 might not report as many method calls as expected, due to code transformations
\r
11076 that occur during optimization."
\r
11079 This means that in a Release build the caller information may be incomplete or may
\r
11080 not exist at all! Therefore caller location information cannot be relied upon in a Release build.
\r
11083 <author>Nicko Cadell</author>
\r
11084 <author>Gert Driesen</author>
\r
11086 <member name="F:log4net.Core.LocationInfo.NA">
\r
11088 When location information is not available the constant
\r
11089 <c>NA</c> is returned. Current value of this string
\r
11090 constant is <b>?</b>.
\r
11093 <member name="M:log4net.Core.LocationInfo.#ctor(System.Type)">
\r
11097 <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
\r
11098 the stack boundary into the logging system for this call.</param>
\r
11101 Initializes a new instance of the <see cref="T:log4net.Core.LocationInfo"/>
\r
11102 class based on the current thread.
\r
11106 <member name="M:log4net.Core.LocationInfo.#ctor(System.String,System.String,System.String,System.String)">
\r
11110 <param name="className">The fully qualified class name.</param>
\r
11111 <param name="methodName">The method name.</param>
\r
11112 <param name="fileName">The file name.</param>
\r
11113 <param name="lineNumber">The line number of the method within the file.</param>
\r
11116 Initializes a new instance of the <see cref="T:log4net.Core.LocationInfo"/>
\r
11117 class with the specified data.
\r
11121 <member name="P:log4net.Core.LocationInfo.ClassName">
\r
11123 Gets the fully qualified class name of the caller making the logging
\r
11127 The fully qualified class name of the caller making the logging
\r
11132 Gets the fully qualified class name of the caller making the logging
\r
11137 <member name="P:log4net.Core.LocationInfo.FileName">
\r
11139 Gets the file name of the caller.
\r
11142 The file name of the caller.
\r
11146 Gets the file name of the caller.
\r
11150 <member name="P:log4net.Core.LocationInfo.LineNumber">
\r
11152 Gets the line number of the caller.
\r
11155 The line number of the caller.
\r
11159 Gets the line number of the caller.
\r
11163 <member name="P:log4net.Core.LocationInfo.MethodName">
\r
11165 Gets the method name of the caller.
\r
11168 The method name of the caller.
\r
11172 Gets the method name of the caller.
\r
11176 <member name="P:log4net.Core.LocationInfo.FullInfo">
\r
11178 Gets all available caller information
\r
11181 All available caller information, in the format
\r
11182 <c>fully.qualified.classname.of.caller.methodName(Filename:line)</c>
\r
11186 Gets all available caller information, in the format
\r
11187 <c>fully.qualified.classname.of.caller.methodName(Filename:line)</c>
\r
11191 <member name="T:log4net.Core.LoggerManager">
\r
11193 Static manager that controls the creation of repositories
\r
11197 Static manager that controls the creation of repositories
\r
11200 This class is used by the wrapper managers (e.g. <see cref="T:log4net.LogManager"/>)
\r
11201 to provide access to the <see cref="T:log4net.Core.ILogger"/> objects.
\r
11204 This manager also holds the <see cref="T:log4net.Core.IRepositorySelector"/> that is used to
\r
11205 lookup and create repositories. The selector can be set either programmatically using
\r
11206 the <see cref="P:log4net.Core.LoggerManager.RepositorySelector"/> property, or by setting the <c>log4net.RepositorySelector</c>
\r
11207 AppSetting in the applications config file to the fully qualified type name of the
\r
11208 selector to use.
\r
11211 <author>Nicko Cadell</author>
\r
11212 <author>Gert Driesen</author>
\r
11214 <member name="M:log4net.Core.LoggerManager.#ctor">
\r
11216 Private constructor to prevent instances. Only static methods should be used.
\r
11220 Private constructor to prevent instances. Only static methods should be used.
\r
11224 <member name="M:log4net.Core.LoggerManager.#cctor">
\r
11226 Hook the shutdown event
\r
11230 On the full .NET runtime, the static constructor hooks up the
\r
11231 <c>AppDomain.ProcessExit</c> and <c>AppDomain.DomainUnload</c>> events.
\r
11232 These are used to shutdown the log4net system as the application exits.
\r
11236 <member name="M:log4net.Core.LoggerManager.RegisterAppDomainEvents">
\r
11238 Register for ProcessExit and DomainUnload events on the AppDomain
\r
11242 This needs to be in a separate method because the events make
\r
11243 a LinkDemand for the ControlAppDomain SecurityPermission. Because
\r
11244 this is a LinkDemand it is demanded at JIT time. Therefore we cannot
\r
11245 catch the exception in the method itself, we have to catch it in the
\r
11250 <member name="M:log4net.Core.LoggerManager.GetLoggerRepository(System.String)">
\r
11252 Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
\r
11254 <param name="repository">the repository to lookup in</param>
\r
11255 <returns>Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance</returns>
\r
11258 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
\r
11259 by the <paramref name="repository"/> argument.
\r
11263 <member name="M:log4net.Core.LoggerManager.GetLoggerRepository(System.Reflection.Assembly)">
\r
11265 Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
\r
11267 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
11268 <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
\r
11270 <member name="M:log4net.Core.LoggerManager.GetRepository(System.String)">
\r
11272 Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
\r
11274 <param name="repository">the repository to lookup in</param>
\r
11275 <returns>Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance</returns>
\r
11278 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
\r
11279 by the <paramref name="repository"/> argument.
\r
11283 <member name="M:log4net.Core.LoggerManager.GetRepository(System.Reflection.Assembly)">
\r
11285 Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
\r
11287 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
11288 <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
\r
11291 Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
\r
11295 <member name="M:log4net.Core.LoggerManager.Exists(System.String,System.String)">
\r
11297 Returns the named logger if it exists.
\r
11299 <param name="repository">The repository to lookup in.</param>
\r
11300 <param name="name">The fully qualified logger name to look for.</param>
\r
11302 The logger found, or <c>null</c> if the named logger does not exist in the
\r
11303 specified repository.
\r
11307 If the named logger exists (in the specified repository) then it
\r
11308 returns a reference to the logger, otherwise it returns
\r
11313 <member name="M:log4net.Core.LoggerManager.Exists(System.Reflection.Assembly,System.String)">
\r
11315 Returns the named logger if it exists.
\r
11317 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
11318 <param name="name">The fully qualified logger name to look for.</param>
\r
11320 The logger found, or <c>null</c> if the named logger does not exist in the
\r
11321 specified assembly's repository.
\r
11325 If the named logger exists (in the specified assembly's repository) then it
\r
11326 returns a reference to the logger, otherwise it returns
\r
11331 <member name="M:log4net.Core.LoggerManager.GetCurrentLoggers(System.String)">
\r
11333 Returns all the currently defined loggers in the specified repository.
\r
11335 <param name="repository">The repository to lookup in.</param>
\r
11336 <returns>All the defined loggers.</returns>
\r
11339 The root logger is <b>not</b> included in the returned array.
\r
11343 <member name="M:log4net.Core.LoggerManager.GetCurrentLoggers(System.Reflection.Assembly)">
\r
11345 Returns all the currently defined loggers in the specified assembly's repository.
\r
11347 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
11348 <returns>All the defined loggers.</returns>
\r
11351 The root logger is <b>not</b> included in the returned array.
\r
11355 <member name="M:log4net.Core.LoggerManager.GetLogger(System.String,System.String)">
\r
11357 Retrieves or creates a named logger.
\r
11359 <param name="repository">The repository to lookup in.</param>
\r
11360 <param name="name">The name of the logger to retrieve.</param>
\r
11361 <returns>The logger with the name specified.</returns>
\r
11364 Retrieves a logger named as the <paramref name="name"/>
\r
11365 parameter. If the named logger already exists, then the
\r
11366 existing instance will be returned. Otherwise, a new instance is
\r
11370 By default, loggers do not have a set level but inherit
\r
11371 it from the hierarchy. This is one of the central features of
\r
11376 <member name="M:log4net.Core.LoggerManager.GetLogger(System.Reflection.Assembly,System.String)">
\r
11378 Retrieves or creates a named logger.
\r
11380 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
11381 <param name="name">The name of the logger to retrieve.</param>
\r
11382 <returns>The logger with the name specified.</returns>
\r
11385 Retrieves a logger named as the <paramref name="name"/>
\r
11386 parameter. If the named logger already exists, then the
\r
11387 existing instance will be returned. Otherwise, a new instance is
\r
11391 By default, loggers do not have a set level but inherit
\r
11392 it from the hierarchy. This is one of the central features of
\r
11397 <member name="M:log4net.Core.LoggerManager.GetLogger(System.String,System.Type)">
\r
11399 Shorthand for <see cref="M:log4net.LogManager.GetLogger(System.String)"/>.
\r
11401 <param name="repository">The repository to lookup in.</param>
\r
11402 <param name="type">The <paramref name="type"/> of which the fullname will be used as the name of the logger to retrieve.</param>
\r
11403 <returns>The logger with the name specified.</returns>
\r
11406 Gets the logger for the fully qualified name of the type specified.
\r
11410 <member name="M:log4net.Core.LoggerManager.GetLogger(System.Reflection.Assembly,System.Type)">
\r
11412 Shorthand for <see cref="M:log4net.LogManager.GetLogger(System.String)"/>.
\r
11414 <param name="repositoryAssembly">the assembly to use to lookup the repository</param>
\r
11415 <param name="type">The <paramref name="type"/> of which the fullname will be used as the name of the logger to retrieve.</param>
\r
11416 <returns>The logger with the name specified.</returns>
\r
11419 Gets the logger for the fully qualified name of the type specified.
\r
11423 <member name="M:log4net.Core.LoggerManager.Shutdown">
\r
11425 Shuts down the log4net system.
\r
11429 Calling this method will <b>safely</b> close and remove all
\r
11430 appenders in all the loggers including root contained in all the
\r
11431 default repositories.
\r
11434 Some appenders need to be closed before the application exists.
\r
11435 Otherwise, pending logging events might be lost.
\r
11438 The <c>shutdown</c> method is careful to close nested
\r
11439 appenders before closing regular appenders. This is allows
\r
11440 configurations where a regular appender is attached to a logger
\r
11441 and again to a nested appender.
\r
11445 <member name="M:log4net.Core.LoggerManager.ShutdownRepository(System.String)">
\r
11447 Shuts down the repository for the repository specified.
\r
11449 <param name="repository">The repository to shutdown.</param>
\r
11452 Calling this method will <b>safely</b> close and remove all
\r
11453 appenders in all the loggers including root contained in the
\r
11454 repository for the <paramref name="repository"/> specified.
\r
11457 Some appenders need to be closed before the application exists.
\r
11458 Otherwise, pending logging events might be lost.
\r
11461 The <c>shutdown</c> method is careful to close nested
\r
11462 appenders before closing regular appenders. This is allows
\r
11463 configurations where a regular appender is attached to a logger
\r
11464 and again to a nested appender.
\r
11468 <member name="M:log4net.Core.LoggerManager.ShutdownRepository(System.Reflection.Assembly)">
\r
11470 Shuts down the repository for the repository specified.
\r
11472 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
11475 Calling this method will <b>safely</b> close and remove all
\r
11476 appenders in all the loggers including root contained in the
\r
11477 repository for the repository. The repository is looked up using
\r
11478 the <paramref name="repositoryAssembly"/> specified.
\r
11481 Some appenders need to be closed before the application exists.
\r
11482 Otherwise, pending logging events might be lost.
\r
11485 The <c>shutdown</c> method is careful to close nested
\r
11486 appenders before closing regular appenders. This is allows
\r
11487 configurations where a regular appender is attached to a logger
\r
11488 and again to a nested appender.
\r
11492 <member name="M:log4net.Core.LoggerManager.ResetConfiguration(System.String)">
\r
11494 Resets all values contained in this repository instance to their defaults.
\r
11496 <param name="repository">The repository to reset.</param>
\r
11499 Resets all values contained in the repository instance to their
\r
11500 defaults. This removes all appenders from all loggers, sets
\r
11501 the level of all non-root loggers to <c>null</c>,
\r
11502 sets their additivity flag to <c>true</c> and sets the level
\r
11503 of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
\r
11504 message disabling is set its default "off" value.
\r
11508 <member name="M:log4net.Core.LoggerManager.ResetConfiguration(System.Reflection.Assembly)">
\r
11510 Resets all values contained in this repository instance to their defaults.
\r
11512 <param name="repositoryAssembly">The assembly to use to lookup the repository to reset.</param>
\r
11515 Resets all values contained in the repository instance to their
\r
11516 defaults. This removes all appenders from all loggers, sets
\r
11517 the level of all non-root loggers to <c>null</c>,
\r
11518 sets their additivity flag to <c>true</c> and sets the level
\r
11519 of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
\r
11520 message disabling is set its default "off" value.
\r
11524 <member name="M:log4net.Core.LoggerManager.CreateDomain(System.String)">
\r
11526 Creates a repository with the specified name.
\r
11528 <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
\r
11529 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
11532 <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
\r
11535 Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
\r
11536 <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
\r
11539 The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
\r
11540 An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
\r
11543 <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
\r
11545 <member name="M:log4net.Core.LoggerManager.CreateRepository(System.String)">
\r
11547 Creates a repository with the specified name.
\r
11549 <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
\r
11550 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
11553 Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
\r
11554 <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
\r
11557 The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
\r
11558 An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
\r
11561 <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
\r
11563 <member name="M:log4net.Core.LoggerManager.CreateDomain(System.String,System.Type)">
\r
11565 Creates a repository with the specified name and repository type.
\r
11567 <param name="repository">The name of the repository, this must be unique to the repository.</param>
\r
11568 <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
11569 and has a no arg constructor. An instance of this type will be created to act
\r
11570 as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
\r
11571 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
11574 <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
\r
11577 The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
\r
11578 An Exception will be thrown if the repository already exists.
\r
11581 <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
\r
11583 <member name="M:log4net.Core.LoggerManager.CreateRepository(System.String,System.Type)">
\r
11585 Creates a repository with the specified name and repository type.
\r
11587 <param name="repository">The name of the repository, this must be unique to the repository.</param>
\r
11588 <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
11589 and has a no arg constructor. An instance of this type will be created to act
\r
11590 as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
\r
11591 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
11594 The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
\r
11595 An Exception will be thrown if the repository already exists.
\r
11598 <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
\r
11600 <member name="M:log4net.Core.LoggerManager.CreateDomain(System.Reflection.Assembly,System.Type)">
\r
11602 Creates a repository for the specified assembly and repository type.
\r
11604 <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
\r
11605 <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
11606 and has a no arg constructor. An instance of this type will be created to act
\r
11607 as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
\r
11608 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
11611 <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
\r
11614 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
\r
11615 specified such that a call to <see cref="M:log4net.Core.LoggerManager.GetRepository(System.Reflection.Assembly)"/> with the
\r
11616 same assembly specified will return the same repository instance.
\r
11620 <member name="M:log4net.Core.LoggerManager.CreateRepository(System.Reflection.Assembly,System.Type)">
\r
11622 Creates a repository for the specified assembly and repository type.
\r
11624 <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
\r
11625 <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
11626 and has a no arg constructor. An instance of this type will be created to act
\r
11627 as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
\r
11628 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
11631 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
\r
11632 specified such that a call to <see cref="M:log4net.Core.LoggerManager.GetRepository(System.Reflection.Assembly)"/> with the
\r
11633 same assembly specified will return the same repository instance.
\r
11637 <member name="M:log4net.Core.LoggerManager.GetAllRepositories">
\r
11639 Gets an array of all currently defined repositories.
\r
11641 <returns>An array of all the known <see cref="T:log4net.Repository.ILoggerRepository"/> objects.</returns>
\r
11644 Gets an array of all currently defined repositories.
\r
11648 <member name="M:log4net.Core.LoggerManager.GetVersionInfo">
\r
11650 Internal method to get pertinent version info.
\r
11652 <returns>A string of version info.</returns>
\r
11654 <member name="M:log4net.Core.LoggerManager.OnDomainUnload(System.Object,System.EventArgs)">
\r
11656 Called when the <see cref="E:System.AppDomain.DomainUnload"/> event fires
\r
11658 <param name="sender">the <see cref="T:System.AppDomain"/> that is exiting</param>
\r
11659 <param name="e">null</param>
\r
11662 Called when the <see cref="E:System.AppDomain.DomainUnload"/> event fires.
\r
11665 When the event is triggered the log4net system is <see cref="M:log4net.Core.LoggerManager.Shutdown"/>.
\r
11669 <member name="M:log4net.Core.LoggerManager.OnProcessExit(System.Object,System.EventArgs)">
\r
11671 Called when the <see cref="E:System.AppDomain.ProcessExit"/> event fires
\r
11673 <param name="sender">the <see cref="T:System.AppDomain"/> that is exiting</param>
\r
11674 <param name="e">null</param>
\r
11677 Called when the <see cref="E:System.AppDomain.ProcessExit"/> event fires.
\r
11680 When the event is triggered the log4net system is <see cref="M:log4net.Core.LoggerManager.Shutdown"/>.
\r
11684 <member name="F:log4net.Core.LoggerManager.s_repositorySelector">
\r
11686 Initialize the default repository selector
\r
11689 <member name="P:log4net.Core.LoggerManager.RepositorySelector">
\r
11691 Gets or sets the repository selector used by the <see cref="T:log4net.LogManager"/>.
\r
11694 The repository selector used by the <see cref="T:log4net.LogManager"/>.
\r
11698 The repository selector (<see cref="T:log4net.Core.IRepositorySelector"/>) is used by
\r
11699 the <see cref="T:log4net.LogManager"/> to create and select repositories
\r
11700 (<see cref="T:log4net.Repository.ILoggerRepository"/>).
\r
11703 The caller to <see cref="T:log4net.LogManager"/> supplies either a string name
\r
11704 or an assembly (if not supplied the assembly is inferred using
\r
11705 <see cref="M:System.Reflection.Assembly.GetCallingAssembly"/>).
\r
11708 This context is used by the selector to lookup a specific repository.
\r
11711 For the full .NET Framework, the default repository is <c>DefaultRepositorySelector</c>;
\r
11712 for the .NET Compact Framework <c>CompactRepositorySelector</c> is the default
\r
11717 <member name="T:log4net.Core.LoggerWrapperImpl">
\r
11719 Implementation of the <see cref="T:log4net.Core.ILoggerWrapper"/> interface.
\r
11723 This class should be used as the base for all wrapper implementations.
\r
11726 <author>Nicko Cadell</author>
\r
11727 <author>Gert Driesen</author>
\r
11729 <member name="M:log4net.Core.LoggerWrapperImpl.#ctor(log4net.Core.ILogger)">
\r
11731 Constructs a new wrapper for the specified logger.
\r
11733 <param name="logger">The logger to wrap.</param>
\r
11736 Constructs a new wrapper for the specified logger.
\r
11740 <member name="F:log4net.Core.LoggerWrapperImpl.m_logger">
\r
11742 The logger that this object is wrapping
\r
11745 <member name="P:log4net.Core.LoggerWrapperImpl.Logger">
\r
11747 Gets the implementation behind this wrapper object.
\r
11750 The <see cref="T:log4net.Core.ILogger"/> object that this object is implementing.
\r
11754 The <c>Logger</c> object may not be the same object as this object
\r
11755 because of logger decorators.
\r
11758 This gets the actual underlying objects that is used to process
\r
11763 <member name="T:log4net.Core.LoggingEventData">
\r
11765 Portable data structure used by <see cref="T:log4net.Core.LoggingEvent"/>
\r
11769 Portable data structure used by <see cref="T:log4net.Core.LoggingEvent"/>
\r
11772 <author>Nicko Cadell</author>
\r
11774 <member name="F:log4net.Core.LoggingEventData.LoggerName">
\r
11784 <member name="F:log4net.Core.LoggingEventData.Level">
\r
11786 Level of logging event.
\r
11790 Level of logging event. Level cannot be Serializable
\r
11791 because it is a flyweight. Due to its special serialization it
\r
11792 cannot be declared final either.
\r
11796 <member name="F:log4net.Core.LoggingEventData.Message">
\r
11798 The application supplied message.
\r
11802 The application supplied message of logging event.
\r
11806 <member name="F:log4net.Core.LoggingEventData.ThreadName">
\r
11808 The name of thread
\r
11812 The name of thread in which this logging event was generated
\r
11816 <member name="F:log4net.Core.LoggingEventData.TimeStamp">
\r
11818 The time the event was logged
\r
11822 The TimeStamp is stored in the local time zone for this computer.
\r
11826 <member name="F:log4net.Core.LoggingEventData.LocationInfo">
\r
11828 Location information for the caller.
\r
11832 Location information for the caller.
\r
11836 <member name="F:log4net.Core.LoggingEventData.UserName">
\r
11838 String representation of the user
\r
11842 String representation of the user's windows name,
\r
11843 like DOMAIN\username
\r
11847 <member name="F:log4net.Core.LoggingEventData.Identity">
\r
11849 String representation of the identity.
\r
11853 String representation of the current thread's principal identity.
\r
11857 <member name="F:log4net.Core.LoggingEventData.ExceptionString">
\r
11859 The string representation of the exception
\r
11863 The string representation of the exception
\r
11867 <member name="F:log4net.Core.LoggingEventData.Domain">
\r
11869 String representation of the AppDomain.
\r
11873 String representation of the AppDomain.
\r
11877 <member name="F:log4net.Core.LoggingEventData.Properties">
\r
11879 Additional event specific properties
\r
11883 A logger or an appender may attach additional
\r
11884 properties to specific events. These properties
\r
11885 have a string key and an object value.
\r
11889 <member name="T:log4net.Core.FixFlags">
\r
11891 Flags passed to the <see cref="P:log4net.Core.LoggingEvent.Fix"/> property
\r
11895 Flags passed to the <see cref="P:log4net.Core.LoggingEvent.Fix"/> property
\r
11898 <author>Nicko Cadell</author>
\r
11900 <member name="F:log4net.Core.FixFlags.Mdc">
\r
11905 <member name="F:log4net.Core.FixFlags.Ndc">
\r
11910 <member name="F:log4net.Core.FixFlags.Message">
\r
11912 Fix the rendered message
\r
11915 <member name="F:log4net.Core.FixFlags.ThreadName">
\r
11917 Fix the thread name
\r
11920 <member name="F:log4net.Core.FixFlags.LocationInfo">
\r
11922 Fix the callers location information
\r
11925 CAUTION: Very slow to generate
\r
11928 <member name="F:log4net.Core.FixFlags.UserName">
\r
11930 Fix the callers windows user name
\r
11933 CAUTION: Slow to generate
\r
11936 <member name="F:log4net.Core.FixFlags.Domain">
\r
11938 Fix the domain friendly name
\r
11941 <member name="F:log4net.Core.FixFlags.Identity">
\r
11943 Fix the callers principal name
\r
11946 CAUTION: May be slow to generate
\r
11949 <member name="F:log4net.Core.FixFlags.Exception">
\r
11951 Fix the exception text
\r
11954 <member name="F:log4net.Core.FixFlags.Properties">
\r
11956 Fix the event properties
\r
11959 <member name="F:log4net.Core.FixFlags.None">
\r
11964 <member name="F:log4net.Core.FixFlags.All">
\r
11969 <member name="F:log4net.Core.FixFlags.Partial">
\r
11971 Partial fields fixed
\r
11975 This set of partial fields gives good performance. The following fields are fixed:
\r
11977 <list type="bullet">
\r
11978 <item><description><see cref="F:log4net.Core.FixFlags.Message"/></description></item>
\r
11979 <item><description><see cref="F:log4net.Core.FixFlags.ThreadName"/></description></item>
\r
11980 <item><description><see cref="F:log4net.Core.FixFlags.Exception"/></description></item>
\r
11981 <item><description><see cref="F:log4net.Core.FixFlags.Domain"/></description></item>
\r
11982 <item><description><see cref="F:log4net.Core.FixFlags.Properties"/></description></item>
\r
11986 <member name="T:log4net.Core.LoggingEvent">
\r
11988 The internal representation of logging events.
\r
11992 When an affirmative decision is made to log then a
\r
11993 <see cref="T:log4net.Core.LoggingEvent"/> instance is created. This instance
\r
11994 is passed around to the different log4net components.
\r
11997 This class is of concern to those wishing to extend log4net.
\r
12000 Some of the values in instances of <see cref="T:log4net.Core.LoggingEvent"/>
\r
12001 are considered volatile, that is the values are correct at the
\r
12002 time the event is delivered to appenders, but will not be consistent
\r
12003 at any time afterwards. If an event is to be stored and then processed
\r
12004 at a later time these volatile values must be fixed by calling
\r
12005 <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/>. There is a performance penalty
\r
12006 for incurred by calling <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/> but it
\r
12007 is essential to maintaining data consistency.
\r
12010 <author>Nicko Cadell</author>
\r
12011 <author>Gert Driesen</author>
\r
12012 <author>Douglas de la Torre</author>
\r
12013 <author>Daniel Cazzulino</author>
\r
12015 <member name="F:log4net.Core.LoggingEvent.HostNameProperty">
\r
12017 The key into the Properties map for the host name value.
\r
12020 <member name="F:log4net.Core.LoggingEvent.IdentityProperty">
\r
12022 The key into the Properties map for the thread identity value.
\r
12025 <member name="F:log4net.Core.LoggingEvent.UserNameProperty">
\r
12027 The key into the Properties map for the user name value.
\r
12030 <member name="M:log4net.Core.LoggingEvent.#ctor(System.Type,log4net.Repository.ILoggerRepository,System.String,log4net.Core.Level,System.Object,System.Exception)">
\r
12032 Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
\r
12033 from the supplied parameters.
\r
12035 <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
\r
12036 the stack boundary into the logging system for this call.</param>
\r
12037 <param name="repository">The repository this event is logged in.</param>
\r
12038 <param name="loggerName">The name of the logger of this event.</param>
\r
12039 <param name="level">The level of this event.</param>
\r
12040 <param name="message">The message of this event.</param>
\r
12041 <param name="exception">The exception for this event.</param>
\r
12044 Except <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/>, <see cref="P:log4net.Core.LoggingEvent.Level"/> and <see cref="P:log4net.Core.LoggingEvent.LoggerName"/>,
\r
12045 all fields of <c>LoggingEvent</c> are filled when actually needed. Call
\r
12046 <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/> to cache all data locally
\r
12047 to prevent inconsistencies.
\r
12049 <para>This method is called by the log4net framework
\r
12050 to create a logging event.
\r
12054 <member name="M:log4net.Core.LoggingEvent.#ctor(System.Type,log4net.Repository.ILoggerRepository,log4net.Core.LoggingEventData,log4net.Core.FixFlags)">
\r
12056 Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
\r
12057 using specific data.
\r
12059 <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
\r
12060 the stack boundary into the logging system for this call.</param>
\r
12061 <param name="repository">The repository this event is logged in.</param>
\r
12062 <param name="data">Data used to initialize the logging event.</param>
\r
12063 <param name="fixedData">The fields in the <paranref name="data"/> struct that have already been fixed.</param>
\r
12066 This constructor is provided to allow a <see cref="T:log4net.Core.LoggingEvent"/>
\r
12067 to be created independently of the log4net framework. This can
\r
12068 be useful if you require a custom serialization scheme.
\r
12071 Use the <see cref="M:log4net.Core.LoggingEvent.GetLoggingEventData(log4net.Core.FixFlags)"/> method to obtain an
\r
12072 instance of the <see cref="T:log4net.Core.LoggingEventData"/> class.
\r
12075 The <paramref name="fixedData"/> parameter should be used to specify which fields in the
\r
12076 <paramref name="data"/> struct have been preset. Fields not specified in the <paramref name="fixedData"/>
\r
12077 will be captured from the environment if requested or fixed.
\r
12081 <member name="M:log4net.Core.LoggingEvent.#ctor(System.Type,log4net.Repository.ILoggerRepository,log4net.Core.LoggingEventData)">
\r
12083 Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
\r
12084 using specific data.
\r
12086 <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
\r
12087 the stack boundary into the logging system for this call.</param>
\r
12088 <param name="repository">The repository this event is logged in.</param>
\r
12089 <param name="data">Data used to initialize the logging event.</param>
\r
12092 This constructor is provided to allow a <see cref="T:log4net.Core.LoggingEvent"/>
\r
12093 to be created independently of the log4net framework. This can
\r
12094 be useful if you require a custom serialization scheme.
\r
12097 Use the <see cref="M:log4net.Core.LoggingEvent.GetLoggingEventData(log4net.Core.FixFlags)"/> method to obtain an
\r
12098 instance of the <see cref="T:log4net.Core.LoggingEventData"/> class.
\r
12101 This constructor sets this objects <see cref="P:log4net.Core.LoggingEvent.Fix"/> flags to <see cref="F:log4net.Core.FixFlags.All"/>,
\r
12102 this assumes that all the data relating to this event is passed in via the <paramref name="data"/>
\r
12103 parameter and no other data should be captured from the environment.
\r
12107 <member name="M:log4net.Core.LoggingEvent.#ctor(log4net.Core.LoggingEventData)">
\r
12109 Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
\r
12110 using specific data.
\r
12112 <param name="data">Data used to initialize the logging event.</param>
\r
12115 This constructor is provided to allow a <see cref="T:log4net.Core.LoggingEvent"/>
\r
12116 to be created independently of the log4net framework. This can
\r
12117 be useful if you require a custom serialization scheme.
\r
12120 Use the <see cref="M:log4net.Core.LoggingEvent.GetLoggingEventData(log4net.Core.FixFlags)"/> method to obtain an
\r
12121 instance of the <see cref="T:log4net.Core.LoggingEventData"/> class.
\r
12124 This constructor sets this objects <see cref="P:log4net.Core.LoggingEvent.Fix"/> flags to <see cref="F:log4net.Core.FixFlags.All"/>,
\r
12125 this assumes that all the data relating to this event is passed in via the <paramref name="data"/>
\r
12126 parameter and no other data should be captured from the environment.
\r
12130 <member name="M:log4net.Core.LoggingEvent.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
\r
12132 Serialization constructor
\r
12134 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data.</param>
\r
12135 <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
\r
12138 Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
\r
12139 with serialized data.
\r
12143 <member name="M:log4net.Core.LoggingEvent.EnsureRepository(log4net.Repository.ILoggerRepository)">
\r
12145 Ensure that the repository is set.
\r
12147 <param name="repository">the value for the repository</param>
\r
12149 <member name="M:log4net.Core.LoggingEvent.WriteRenderedMessage(System.IO.TextWriter)">
\r
12151 Write the rendered message to a TextWriter
\r
12153 <param name="writer">the writer to write the message to</param>
\r
12156 Unlike the <see cref="P:log4net.Core.LoggingEvent.RenderedMessage"/> property this method
\r
12157 does store the message data in the internal cache. Therefore
\r
12158 if called only once this method should be faster than the
\r
12159 <see cref="P:log4net.Core.LoggingEvent.RenderedMessage"/> property, however if the message is
\r
12160 to be accessed multiple times then the property will be more efficient.
\r
12164 <member name="M:log4net.Core.LoggingEvent.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
\r
12166 Serializes this object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> provided.
\r
12168 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> to populate with data.</param>
\r
12169 <param name="context">The destination for this serialization.</param>
\r
12172 The data in this event must be fixed before it can be serialized.
\r
12175 The <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/> method must be called during the
\r
12176 <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method call if this event
\r
12177 is to be used outside that method.
\r
12181 <member name="M:log4net.Core.LoggingEvent.GetLoggingEventData">
\r
12183 Gets the portable data for this <see cref="T:log4net.Core.LoggingEvent"/>.
\r
12185 <returns>The <see cref="T:log4net.Core.LoggingEventData"/> for this event.</returns>
\r
12188 A new <see cref="T:log4net.Core.LoggingEvent"/> can be constructed using a
\r
12189 <see cref="T:log4net.Core.LoggingEventData"/> instance.
\r
12192 Does a <see cref="F:log4net.Core.FixFlags.Partial"/> fix of the data
\r
12193 in the logging event before returning the event data.
\r
12197 <member name="M:log4net.Core.LoggingEvent.GetLoggingEventData(log4net.Core.FixFlags)">
\r
12199 Gets the portable data for this <see cref="T:log4net.Core.LoggingEvent"/>.
\r
12201 <param name="fixFlags">The set of data to ensure is fixed in the LoggingEventData</param>
\r
12202 <returns>The <see cref="T:log4net.Core.LoggingEventData"/> for this event.</returns>
\r
12205 A new <see cref="T:log4net.Core.LoggingEvent"/> can be constructed using a
\r
12206 <see cref="T:log4net.Core.LoggingEventData"/> instance.
\r
12210 <member name="M:log4net.Core.LoggingEvent.GetExceptionStrRep">
\r
12212 Returns this event's exception's rendered using the
\r
12213 <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
\r
12216 This event's exception's rendered using the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
\r
12220 <b>Obsolete. Use <see cref="M:log4net.Core.LoggingEvent.GetExceptionString"/> instead.</b>
\r
12224 <member name="M:log4net.Core.LoggingEvent.GetExceptionString">
\r
12226 Returns this event's exception's rendered using the
\r
12227 <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
\r
12230 This event's exception's rendered using the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
\r
12234 Returns this event's exception's rendered using the
\r
12235 <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
\r
12239 <member name="M:log4net.Core.LoggingEvent.FixVolatileData">
\r
12241 Fix instance fields that hold volatile data.
\r
12245 Some of the values in instances of <see cref="T:log4net.Core.LoggingEvent"/>
\r
12246 are considered volatile, that is the values are correct at the
\r
12247 time the event is delivered to appenders, but will not be consistent
\r
12248 at any time afterwards. If an event is to be stored and then processed
\r
12249 at a later time these volatile values must be fixed by calling
\r
12250 <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/>. There is a performance penalty
\r
12251 incurred by calling <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/> but it
\r
12252 is essential to maintaining data consistency.
\r
12255 Calling <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/> is equivalent to
\r
12256 calling <see cref="M:log4net.Core.LoggingEvent.FixVolatileData(System.Boolean)"/> passing the parameter
\r
12260 See <see cref="M:log4net.Core.LoggingEvent.FixVolatileData(System.Boolean)"/> for more
\r
12265 <member name="M:log4net.Core.LoggingEvent.FixVolatileData(System.Boolean)">
\r
12267 Fixes instance fields that hold volatile data.
\r
12269 <param name="fastButLoose">Set to <c>true</c> to not fix data that takes a long time to fix.</param>
\r
12272 Some of the values in instances of <see cref="T:log4net.Core.LoggingEvent"/>
\r
12273 are considered volatile, that is the values are correct at the
\r
12274 time the event is delivered to appenders, but will not be consistent
\r
12275 at any time afterwards. If an event is to be stored and then processed
\r
12276 at a later time these volatile values must be fixed by calling
\r
12277 <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/>. There is a performance penalty
\r
12278 for incurred by calling <see cref="M:log4net.Core.LoggingEvent.FixVolatileData"/> but it
\r
12279 is essential to maintaining data consistency.
\r
12282 The <paramref name="fastButLoose"/> param controls the data that
\r
12283 is fixed. Some of the data that can be fixed takes a long time to
\r
12284 generate, therefore if you do not require those settings to be fixed
\r
12285 they can be ignored by setting the <paramref name="fastButLoose"/> param
\r
12286 to <c>true</c>. This setting will ignore the <see cref="P:log4net.Core.LoggingEvent.LocationInformation"/>
\r
12287 and <see cref="P:log4net.Core.LoggingEvent.UserName"/> settings.
\r
12290 Set <paramref name="fastButLoose"/> to <c>false</c> to ensure that all
\r
12291 settings are fixed.
\r
12295 <member name="M:log4net.Core.LoggingEvent.FixVolatileData(log4net.Core.FixFlags)">
\r
12297 Fix the fields specified by the <see cref="T:log4net.Core.FixFlags"/> parameter
\r
12299 <param name="flags">the fields to fix</param>
\r
12302 Only fields specified in the <paramref name="flags"/> will be fixed.
\r
12303 Fields will not be fixed if they have previously been fixed.
\r
12304 It is not possible to 'unfix' a field.
\r
12308 <member name="M:log4net.Core.LoggingEvent.LookupProperty(System.String)">
\r
12310 Lookup a composite property in this event
\r
12312 <param name="key">the key for the property to lookup</param>
\r
12313 <returns>the value for the property</returns>
\r
12316 This event has composite properties that combine together properties from
\r
12317 several different contexts in the following order:
\r
12318 <list type="definition">
\r
12320 <term>this events properties</term>
\r
12322 This event has <see cref="P:log4net.Core.LoggingEvent.Properties"/> that can be set. These
\r
12323 properties are specific to this event only.
\r
12327 <term>the thread properties</term>
\r
12329 The <see cref="P:log4net.ThreadContext.Properties"/> that are set on the current
\r
12330 thread. These properties are shared by all events logged on this thread.
\r
12334 <term>the global properties</term>
\r
12336 The <see cref="P:log4net.GlobalContext.Properties"/> that are set globally. These
\r
12337 properties are shared by all the threads in the AppDomain.
\r
12344 <member name="M:log4net.Core.LoggingEvent.GetProperties">
\r
12346 Get all the composite properties in this event
\r
12348 <returns>the <see cref="T:log4net.Util.PropertiesDictionary"/> containing all the properties</returns>
\r
12351 See <see cref="M:log4net.Core.LoggingEvent.LookupProperty(System.String)"/> for details of the composite properties
\r
12352 stored by the event.
\r
12355 This method returns a single <see cref="T:log4net.Util.PropertiesDictionary"/> containing all the
\r
12356 properties defined for this event.
\r
12360 <member name="F:log4net.Core.LoggingEvent.m_data">
\r
12362 The internal logging event data.
\r
12365 <member name="F:log4net.Core.LoggingEvent.m_compositeProperties">
\r
12367 The internal logging event data.
\r
12370 <member name="F:log4net.Core.LoggingEvent.m_eventProperties">
\r
12372 The internal logging event data.
\r
12375 <member name="F:log4net.Core.LoggingEvent.m_callerStackBoundaryDeclaringType">
\r
12377 The fully qualified Type of the calling
\r
12378 logger class in the stack frame (i.e. the declaring type of the method).
\r
12381 <member name="F:log4net.Core.LoggingEvent.m_message">
\r
12383 The application supplied message of logging event.
\r
12386 <member name="F:log4net.Core.LoggingEvent.m_thrownException">
\r
12388 The exception that was thrown.
\r
12391 This is not serialized. The string representation
\r
12392 is serialized instead.
\r
12395 <member name="F:log4net.Core.LoggingEvent.m_repository">
\r
12397 The repository that generated the logging event
\r
12400 This is not serialized.
\r
12403 <member name="F:log4net.Core.LoggingEvent.m_fixFlags">
\r
12405 The fix state for this event
\r
12408 These flags indicate which fields have been fixed.
\r
12412 <member name="F:log4net.Core.LoggingEvent.m_cacheUpdatable">
\r
12414 Indicated that the internal cache is updateable (ie not fixed)
\r
12417 This is a seperate flag to m_fixFlags as it allows incrementel fixing and simpler
\r
12418 changes in the caching strategy.
\r
12421 <member name="P:log4net.Core.LoggingEvent.StartTime">
\r
12423 Gets the time when the current process started.
\r
12426 This is the time when this process started.
\r
12430 The TimeStamp is stored in the local time zone for this computer.
\r
12433 Tries to get the start time for the current process.
\r
12434 Failing that it returns the time of the first call to
\r
12438 Note that AppDomains may be loaded and unloaded within the
\r
12439 same process without the process terminating and therefore
\r
12440 without the process start time being reset.
\r
12444 <member name="P:log4net.Core.LoggingEvent.Level">
\r
12446 Gets the <see cref="P:log4net.Core.LoggingEvent.Level"/> of the logging event.
\r
12449 The <see cref="P:log4net.Core.LoggingEvent.Level"/> of the logging event.
\r
12453 Gets the <see cref="P:log4net.Core.LoggingEvent.Level"/> of the logging event.
\r
12457 <member name="P:log4net.Core.LoggingEvent.TimeStamp">
\r
12459 Gets the time of the logging event.
\r
12462 The time of the logging event.
\r
12466 The TimeStamp is stored in the local time zone for this computer.
\r
12470 <member name="P:log4net.Core.LoggingEvent.LoggerName">
\r
12472 Gets the name of the logger that logged the event.
\r
12475 The name of the logger that logged the event.
\r
12479 Gets the name of the logger that logged the event.
\r
12483 <member name="P:log4net.Core.LoggingEvent.LocationInformation">
\r
12485 Gets the location information for this logging event.
\r
12488 The location information for this logging event.
\r
12492 The collected information is cached for future use.
\r
12495 See the <see cref="T:log4net.Core.LocationInfo"/> class for more information on
\r
12496 supported frameworks and the different behavior in Debug and
\r
12501 <member name="P:log4net.Core.LoggingEvent.MessageObject">
\r
12503 Gets the message object used to initialize this event.
\r
12506 The message object used to initialize this event.
\r
12510 Gets the message object used to initialize this event.
\r
12511 Note that this event may not have a valid message object.
\r
12512 If the event is serialized the message object will not
\r
12513 be transferred. To get the text of the message the
\r
12514 <see cref="P:log4net.Core.LoggingEvent.RenderedMessage"/> property must be used
\r
12515 not this property.
\r
12518 If there is no defined message object for this event then
\r
12519 null will be returned.
\r
12523 <member name="P:log4net.Core.LoggingEvent.ExceptionObject">
\r
12525 Gets the exception object used to initialize this event.
\r
12528 The exception object used to initialize this event.
\r
12532 Gets the exception object used to initialize this event.
\r
12533 Note that this event may not have a valid exception object.
\r
12534 If the event is serialized the exception object will not
\r
12535 be transferred. To get the text of the exception the
\r
12536 <see cref="M:log4net.Core.LoggingEvent.GetExceptionString"/> method must be used
\r
12537 not this property.
\r
12540 If there is no defined exception object for this event then
\r
12541 null will be returned.
\r
12545 <member name="P:log4net.Core.LoggingEvent.Repository">
\r
12547 The <see cref="T:log4net.Repository.ILoggerRepository"/> that this event was created in.
\r
12551 The <see cref="T:log4net.Repository.ILoggerRepository"/> that this event was created in.
\r
12555 <member name="P:log4net.Core.LoggingEvent.RenderedMessage">
\r
12557 Gets the message, rendered through the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
\r
12560 The message rendered through the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
\r
12564 The collected information is cached for future use.
\r
12568 <member name="P:log4net.Core.LoggingEvent.ThreadName">
\r
12570 Gets the name of the current thread.
\r
12573 The name of the current thread, or the thread ID when
\r
12574 the name is not available.
\r
12578 The collected information is cached for future use.
\r
12582 <member name="P:log4net.Core.LoggingEvent.UserName">
\r
12584 Gets the name of the current user.
\r
12587 The name of the current user, or <c>NOT AVAILABLE</c> when the
\r
12588 underlying runtime has no support for retrieving the name of the
\r
12593 Calls <c>WindowsIdentity.GetCurrent().Name</c> to get the name of
\r
12594 the current windows user.
\r
12597 To improve performance, we could cache the string representation of
\r
12598 the name, and reuse that as long as the identity stayed constant.
\r
12599 Once the identity changed, we would need to re-assign and re-render
\r
12603 However, the <c>WindowsIdentity.GetCurrent()</c> call seems to
\r
12604 return different objects every time, so the current implementation
\r
12605 doesn't do this type of caching.
\r
12608 Timing for these operations:
\r
12610 <list type="table">
\r
12612 <term>Method</term>
\r
12613 <description>Results</description>
\r
12616 <term><c>WindowsIdentity.GetCurrent()</c></term>
\r
12617 <description>10000 loops, 00:00:00.2031250 seconds</description>
\r
12620 <term><c>WindowsIdentity.GetCurrent().Name</c></term>
\r
12621 <description>10000 loops, 00:00:08.0468750 seconds</description>
\r
12625 This means we could speed things up almost 40 times by caching the
\r
12626 value of the <c>WindowsIdentity.GetCurrent().Name</c> property, since
\r
12627 this takes (8.04-0.20) = 7.84375 seconds.
\r
12631 <member name="P:log4net.Core.LoggingEvent.Identity">
\r
12633 Gets the identity of the current thread principal.
\r
12636 The string name of the identity of the current thread principal.
\r
12640 Calls <c>System.Threading.Thread.CurrentPrincipal.Identity.Name</c> to get
\r
12641 the name of the current thread principal.
\r
12645 <member name="P:log4net.Core.LoggingEvent.Domain">
\r
12647 Gets the AppDomain friendly name.
\r
12650 The AppDomain friendly name.
\r
12654 Gets the AppDomain friendly name.
\r
12658 <member name="P:log4net.Core.LoggingEvent.Properties">
\r
12660 Additional event specific properties.
\r
12663 Additional event specific properties.
\r
12667 A logger or an appender may attach additional
\r
12668 properties to specific events. These properties
\r
12669 have a string key and an object value.
\r
12672 This property is for events that have been added directly to
\r
12673 this event. The aggregate properties (which include these
\r
12674 event properties) can be retrieved using <see cref="M:log4net.Core.LoggingEvent.LookupProperty(System.String)"/>
\r
12675 and <see cref="M:log4net.Core.LoggingEvent.GetProperties"/>.
\r
12678 Once the properties have been fixed <see cref="P:log4net.Core.LoggingEvent.Fix"/> this property
\r
12679 returns the combined cached properties. This ensures that updates to
\r
12680 this property are always reflected in the underlying storage. When
\r
12681 returning the combined properties there may be more keys in the
\r
12682 Dictionary than expected.
\r
12686 <member name="P:log4net.Core.LoggingEvent.Fix">
\r
12688 The fixed fields in this event
\r
12691 The set of fields that are fixed in this event
\r
12695 Fields will not be fixed if they have previously been fixed.
\r
12696 It is not possible to 'unfix' a field.
\r
12700 <member name="T:log4net.Core.LogImpl">
\r
12702 Implementation of <see cref="T:log4net.ILog"/> wrapper interface.
\r
12706 This implementation of the <see cref="T:log4net.ILog"/> interface
\r
12707 forwards to the <see cref="T:log4net.Core.ILogger"/> held by the base class.
\r
12710 This logger has methods to allow the caller to log at the following
\r
12713 <list type="definition">
\r
12715 <term>DEBUG</term>
\r
12717 The <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/> and <see cref="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object[])"/> methods log messages
\r
12718 at the <c>DEBUG</c> level. That is the level with that name defined in the
\r
12719 repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
\r
12720 for this level is <see cref="F:log4net.Core.Level.Debug"/>. The <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/>
\r
12721 property tests if this level is enabled for logging.
\r
12725 <term>INFO</term>
\r
12727 The <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/> and <see cref="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object[])"/> methods log messages
\r
12728 at the <c>INFO</c> level. That is the level with that name defined in the
\r
12729 repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
\r
12730 for this level is <see cref="F:log4net.Core.Level.Info"/>. The <see cref="P:log4net.Core.LogImpl.IsInfoEnabled"/>
\r
12731 property tests if this level is enabled for logging.
\r
12735 <term>WARN</term>
\r
12737 The <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/> and <see cref="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object[])"/> methods log messages
\r
12738 at the <c>WARN</c> level. That is the level with that name defined in the
\r
12739 repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
\r
12740 for this level is <see cref="F:log4net.Core.Level.Warn"/>. The <see cref="P:log4net.Core.LogImpl.IsWarnEnabled"/>
\r
12741 property tests if this level is enabled for logging.
\r
12745 <term>ERROR</term>
\r
12747 The <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/> and <see cref="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object[])"/> methods log messages
\r
12748 at the <c>ERROR</c> level. That is the level with that name defined in the
\r
12749 repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
\r
12750 for this level is <see cref="F:log4net.Core.Level.Error"/>. The <see cref="P:log4net.Core.LogImpl.IsErrorEnabled"/>
\r
12751 property tests if this level is enabled for logging.
\r
12755 <term>FATAL</term>
\r
12757 The <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/> and <see cref="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object[])"/> methods log messages
\r
12758 at the <c>FATAL</c> level. That is the level with that name defined in the
\r
12759 repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
\r
12760 for this level is <see cref="F:log4net.Core.Level.Fatal"/>. The <see cref="P:log4net.Core.LogImpl.IsFatalEnabled"/>
\r
12761 property tests if this level is enabled for logging.
\r
12766 The values for these levels and their semantic meanings can be changed by
\r
12767 configuring the <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/> for the repository.
\r
12770 <author>Nicko Cadell</author>
\r
12771 <author>Gert Driesen</author>
\r
12773 <member name="T:log4net.ILog">
\r
12775 The ILog interface is use by application to log messages into
\r
12776 the log4net framework.
\r
12780 Use the <see cref="T:log4net.LogManager"/> to obtain logger instances
\r
12781 that implement this interface. The <see cref="M:log4net.LogManager.GetLogger(System.Reflection.Assembly,System.Type)"/>
\r
12782 static method is used to get logger instances.
\r
12785 This class contains methods for logging at different levels and also
\r
12786 has properties for determining if those logging levels are
\r
12787 enabled in the current configuration.
\r
12790 This interface can be implemented in different ways. This documentation
\r
12791 specifies reasonable behavior that a caller can expect from the actual
\r
12792 implementation, however different implementations reserve the right to
\r
12793 do things differently.
\r
12796 <example>Simple example of logging messages
\r
12798 ILog log = LogManager.GetLogger("application-log");
\r
12800 log.Info("Application Start");
\r
12801 log.Debug("This is a debug message");
\r
12803 if (log.IsDebugEnabled)
\r
12805 log.Debug("This is another debug message");
\r
12809 <seealso cref="T:log4net.LogManager"/>
\r
12810 <seealso cref="M:log4net.LogManager.GetLogger(System.Reflection.Assembly,System.Type)"/>
\r
12811 <author>Nicko Cadell</author>
\r
12812 <author>Gert Driesen</author>
\r
12814 <member name="M:log4net.ILog.Debug(System.Object)">
\r
12815 <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.</overloads>
\r
12817 Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.
\r
12819 <param name="message">The message object to log.</param>
\r
12822 This method first checks if this logger is <c>DEBUG</c>
\r
12823 enabled by comparing the level of this logger with the
\r
12824 <see cref="F:log4net.Core.Level.Debug"/> level. If this logger is
\r
12825 <c>DEBUG</c> enabled, then it converts the message object
\r
12826 (passed as parameter) to a string by invoking the appropriate
\r
12827 <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
\r
12828 proceeds to call all the registered appenders in this logger
\r
12829 and also higher in the hierarchy depending on the value of
\r
12830 the additivity flag.
\r
12832 <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
\r
12833 to this method will print the name of the <see cref="T:System.Exception"/>
\r
12834 but no stack trace. To print a stack trace use the
\r
12835 <see cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/> form instead.
\r
12838 <seealso cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/>
\r
12839 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
12841 <member name="M:log4net.ILog.Debug(System.Object,System.Exception)">
\r
12843 Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level including
\r
12844 the stack trace of the <see cref="T:System.Exception"/> passed
\r
12847 <param name="message">The message object to log.</param>
\r
12848 <param name="exception">The exception to log, including its stack trace.</param>
\r
12851 See the <see cref="M:log4net.ILog.Debug(System.Object)"/> form for more detailed information.
\r
12854 <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
\r
12855 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
12857 <member name="M:log4net.ILog.DebugFormat(System.String,System.Object[])">
\r
12858 <overloads>Log a formatted string with the <see cref="F:log4net.Core.Level.Debug"/> level.</overloads>
\r
12860 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
\r
12862 <param name="format">A String containing zero or more format items</param>
\r
12863 <param name="args">An Object array containing zero or more objects to format</param>
\r
12866 The message is formatted using the <c>String.Format</c> method. See
\r
12867 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
12868 of the formatting.
\r
12871 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
12872 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/>
\r
12876 <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
\r
12877 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
12879 <member name="M:log4net.ILog.DebugFormat(System.String,System.Object)">
\r
12881 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
\r
12883 <param name="format">A String containing zero or more format items</param>
\r
12884 <param name="arg0">An Object to format</param>
\r
12887 The message is formatted using the <c>String.Format</c> method. See
\r
12888 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
12889 of the formatting.
\r
12892 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
12893 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/>
\r
12897 <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
\r
12898 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
12900 <member name="M:log4net.ILog.DebugFormat(System.String,System.Object,System.Object)">
\r
12902 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
\r
12904 <param name="format">A String containing zero or more format items</param>
\r
12905 <param name="arg0">An Object to format</param>
\r
12906 <param name="arg1">An Object to format</param>
\r
12909 The message is formatted using the <c>String.Format</c> method. See
\r
12910 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
12911 of the formatting.
\r
12914 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
12915 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/>
\r
12919 <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
\r
12920 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
12922 <member name="M:log4net.ILog.DebugFormat(System.String,System.Object,System.Object,System.Object)">
\r
12924 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
\r
12926 <param name="format">A String containing zero or more format items</param>
\r
12927 <param name="arg0">An Object to format</param>
\r
12928 <param name="arg1">An Object to format</param>
\r
12929 <param name="arg2">An Object to format</param>
\r
12932 The message is formatted using the <c>String.Format</c> method. See
\r
12933 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
12934 of the formatting.
\r
12937 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
12938 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/>
\r
12942 <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
\r
12943 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
12945 <member name="M:log4net.ILog.DebugFormat(System.IFormatProvider,System.String,System.Object[])">
\r
12947 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
\r
12949 <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
\r
12950 <param name="format">A String containing zero or more format items</param>
\r
12951 <param name="args">An Object array containing zero or more objects to format</param>
\r
12954 The message is formatted using the <c>String.Format</c> method. See
\r
12955 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
12956 of the formatting.
\r
12959 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
12960 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Debug(System.Object,System.Exception)"/>
\r
12964 <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
\r
12965 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
12967 <member name="M:log4net.ILog.Info(System.Object)">
\r
12968 <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level.</overloads>
\r
12970 Logs a message object with the <see cref="F:log4net.Core.Level.Info"/> level.
\r
12974 This method first checks if this logger is <c>INFO</c>
\r
12975 enabled by comparing the level of this logger with the
\r
12976 <see cref="F:log4net.Core.Level.Info"/> level. If this logger is
\r
12977 <c>INFO</c> enabled, then it converts the message object
\r
12978 (passed as parameter) to a string by invoking the appropriate
\r
12979 <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
\r
12980 proceeds to call all the registered appenders in this logger
\r
12981 and also higher in the hierarchy depending on the value of the
\r
12984 <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
\r
12985 to this method will print the name of the <see cref="T:System.Exception"/>
\r
12986 but no stack trace. To print a stack trace use the
\r
12987 <see cref="M:log4net.ILog.Info(System.Object,System.Exception)"/> form instead.
\r
12990 <param name="message">The message object to log.</param>
\r
12991 <seealso cref="M:log4net.ILog.Info(System.Object,System.Exception)"/>
\r
12992 <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
\r
12994 <member name="M:log4net.ILog.Info(System.Object,System.Exception)">
\r
12996 Logs a message object with the <c>INFO</c> level including
\r
12997 the stack trace of the <see cref="T:System.Exception"/> passed
\r
13000 <param name="message">The message object to log.</param>
\r
13001 <param name="exception">The exception to log, including its stack trace.</param>
\r
13004 See the <see cref="M:log4net.ILog.Info(System.Object)"/> form for more detailed information.
\r
13007 <seealso cref="M:log4net.ILog.Info(System.Object)"/>
\r
13008 <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
\r
13010 <member name="M:log4net.ILog.InfoFormat(System.String,System.Object[])">
\r
13011 <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.</overloads>
\r
13013 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
\r
13015 <param name="format">A String containing zero or more format items</param>
\r
13016 <param name="args">An Object array containing zero or more objects to format</param>
\r
13019 The message is formatted using the <c>String.Format</c> method. See
\r
13020 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13021 of the formatting.
\r
13024 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13025 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Info(System.Object)"/>
\r
13029 <seealso cref="M:log4net.ILog.Info(System.Object,System.Exception)"/>
\r
13030 <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
\r
13032 <member name="M:log4net.ILog.InfoFormat(System.String,System.Object)">
\r
13034 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
\r
13036 <param name="format">A String containing zero or more format items</param>
\r
13037 <param name="arg0">An Object to format</param>
\r
13040 The message is formatted using the <c>String.Format</c> method. See
\r
13041 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13042 of the formatting.
\r
13045 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13046 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Info(System.Object,System.Exception)"/>
\r
13050 <seealso cref="M:log4net.ILog.Info(System.Object)"/>
\r
13051 <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
\r
13053 <member name="M:log4net.ILog.InfoFormat(System.String,System.Object,System.Object)">
\r
13055 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
\r
13057 <param name="format">A String containing zero or more format items</param>
\r
13058 <param name="arg0">An Object to format</param>
\r
13059 <param name="arg1">An Object to format</param>
\r
13062 The message is formatted using the <c>String.Format</c> method. See
\r
13063 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13064 of the formatting.
\r
13067 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13068 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Info(System.Object,System.Exception)"/>
\r
13072 <seealso cref="M:log4net.ILog.Info(System.Object)"/>
\r
13073 <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
\r
13075 <member name="M:log4net.ILog.InfoFormat(System.String,System.Object,System.Object,System.Object)">
\r
13077 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
\r
13079 <param name="format">A String containing zero or more format items</param>
\r
13080 <param name="arg0">An Object to format</param>
\r
13081 <param name="arg1">An Object to format</param>
\r
13082 <param name="arg2">An Object to format</param>
\r
13085 The message is formatted using the <c>String.Format</c> method. See
\r
13086 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13087 of the formatting.
\r
13090 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13091 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Info(System.Object,System.Exception)"/>
\r
13095 <seealso cref="M:log4net.ILog.Info(System.Object)"/>
\r
13096 <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
\r
13098 <member name="M:log4net.ILog.InfoFormat(System.IFormatProvider,System.String,System.Object[])">
\r
13100 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
\r
13102 <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
\r
13103 <param name="format">A String containing zero or more format items</param>
\r
13104 <param name="args">An Object array containing zero or more objects to format</param>
\r
13107 The message is formatted using the <c>String.Format</c> method. See
\r
13108 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13109 of the formatting.
\r
13112 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13113 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Info(System.Object)"/>
\r
13117 <seealso cref="M:log4net.ILog.Info(System.Object,System.Exception)"/>
\r
13118 <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
\r
13120 <member name="M:log4net.ILog.Warn(System.Object)">
\r
13121 <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.</overloads>
\r
13123 Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.
\r
13127 This method first checks if this logger is <c>WARN</c>
\r
13128 enabled by comparing the level of this logger with the
\r
13129 <see cref="F:log4net.Core.Level.Warn"/> level. If this logger is
\r
13130 <c>WARN</c> enabled, then it converts the message object
\r
13131 (passed as parameter) to a string by invoking the appropriate
\r
13132 <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
\r
13133 proceeds to call all the registered appenders in this logger
\r
13134 and also higher in the hierarchy depending on the value of the
\r
13137 <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
\r
13138 to this method will print the name of the <see cref="T:System.Exception"/>
\r
13139 but no stack trace. To print a stack trace use the
\r
13140 <see cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/> form instead.
\r
13143 <param name="message">The message object to log.</param>
\r
13144 <seealso cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/>
\r
13145 <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
\r
13147 <member name="M:log4net.ILog.Warn(System.Object,System.Exception)">
\r
13149 Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level including
\r
13150 the stack trace of the <see cref="T:System.Exception"/> passed
\r
13153 <param name="message">The message object to log.</param>
\r
13154 <param name="exception">The exception to log, including its stack trace.</param>
\r
13157 See the <see cref="M:log4net.ILog.Warn(System.Object)"/> form for more detailed information.
\r
13160 <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
\r
13161 <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
\r
13163 <member name="M:log4net.ILog.WarnFormat(System.String,System.Object[])">
\r
13164 <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.</overloads>
\r
13166 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
\r
13168 <param name="format">A String containing zero or more format items</param>
\r
13169 <param name="args">An Object array containing zero or more objects to format</param>
\r
13172 The message is formatted using the <c>String.Format</c> method. See
\r
13173 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13174 of the formatting.
\r
13177 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13178 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Warn(System.Object)"/>
\r
13182 <seealso cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/>
\r
13183 <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
\r
13185 <member name="M:log4net.ILog.WarnFormat(System.String,System.Object)">
\r
13187 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
\r
13189 <param name="format">A String containing zero or more format items</param>
\r
13190 <param name="arg0">An Object to format</param>
\r
13193 The message is formatted using the <c>String.Format</c> method. See
\r
13194 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13195 of the formatting.
\r
13198 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13199 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/>
\r
13203 <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
\r
13204 <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
\r
13206 <member name="M:log4net.ILog.WarnFormat(System.String,System.Object,System.Object)">
\r
13208 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
\r
13210 <param name="format">A String containing zero or more format items</param>
\r
13211 <param name="arg0">An Object to format</param>
\r
13212 <param name="arg1">An Object to format</param>
\r
13215 The message is formatted using the <c>String.Format</c> method. See
\r
13216 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13217 of the formatting.
\r
13220 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13221 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/>
\r
13225 <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
\r
13226 <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
\r
13228 <member name="M:log4net.ILog.WarnFormat(System.String,System.Object,System.Object,System.Object)">
\r
13230 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
\r
13232 <param name="format">A String containing zero or more format items</param>
\r
13233 <param name="arg0">An Object to format</param>
\r
13234 <param name="arg1">An Object to format</param>
\r
13235 <param name="arg2">An Object to format</param>
\r
13238 The message is formatted using the <c>String.Format</c> method. See
\r
13239 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13240 of the formatting.
\r
13243 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13244 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/>
\r
13248 <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
\r
13249 <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
\r
13251 <member name="M:log4net.ILog.WarnFormat(System.IFormatProvider,System.String,System.Object[])">
\r
13253 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
\r
13255 <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
\r
13256 <param name="format">A String containing zero or more format items</param>
\r
13257 <param name="args">An Object array containing zero or more objects to format</param>
\r
13260 The message is formatted using the <c>String.Format</c> method. See
\r
13261 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13262 of the formatting.
\r
13265 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13266 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Warn(System.Object)"/>
\r
13270 <seealso cref="M:log4net.ILog.Warn(System.Object,System.Exception)"/>
\r
13271 <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
\r
13273 <member name="M:log4net.ILog.Error(System.Object)">
\r
13274 <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level.</overloads>
\r
13276 Logs a message object with the <see cref="F:log4net.Core.Level.Error"/> level.
\r
13278 <param name="message">The message object to log.</param>
\r
13281 This method first checks if this logger is <c>ERROR</c>
\r
13282 enabled by comparing the level of this logger with the
\r
13283 <see cref="F:log4net.Core.Level.Error"/> level. If this logger is
\r
13284 <c>ERROR</c> enabled, then it converts the message object
\r
13285 (passed as parameter) to a string by invoking the appropriate
\r
13286 <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
\r
13287 proceeds to call all the registered appenders in this logger
\r
13288 and also higher in the hierarchy depending on the value of the
\r
13291 <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
\r
13292 to this method will print the name of the <see cref="T:System.Exception"/>
\r
13293 but no stack trace. To print a stack trace use the
\r
13294 <see cref="M:log4net.ILog.Error(System.Object,System.Exception)"/> form instead.
\r
13297 <seealso cref="M:log4net.ILog.Error(System.Object,System.Exception)"/>
\r
13298 <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
\r
13300 <member name="M:log4net.ILog.Error(System.Object,System.Exception)">
\r
13302 Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level including
\r
13303 the stack trace of the <see cref="T:System.Exception"/> passed
\r
13306 <param name="message">The message object to log.</param>
\r
13307 <param name="exception">The exception to log, including its stack trace.</param>
\r
13310 See the <see cref="M:log4net.ILog.Error(System.Object)"/> form for more detailed information.
\r
13313 <seealso cref="M:log4net.ILog.Error(System.Object)"/>
\r
13314 <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
\r
13316 <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object[])">
\r
13317 <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.</overloads>
\r
13319 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
\r
13321 <param name="format">A String containing zero or more format items</param>
\r
13322 <param name="args">An Object array containing zero or more objects to format</param>
\r
13325 The message is formatted using the <c>String.Format</c> method. See
\r
13326 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13327 of the formatting.
\r
13330 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13331 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Error(System.Object)"/>
\r
13335 <seealso cref="M:log4net.ILog.Error(System.Object,System.Exception)"/>
\r
13336 <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
\r
13338 <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object)">
\r
13340 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
\r
13342 <param name="format">A String containing zero or more format items</param>
\r
13343 <param name="arg0">An Object to format</param>
\r
13346 The message is formatted using the <c>String.Format</c> method. See
\r
13347 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13348 of the formatting.
\r
13351 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13352 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Error(System.Object,System.Exception)"/>
\r
13356 <seealso cref="M:log4net.ILog.Error(System.Object)"/>
\r
13357 <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
\r
13359 <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object,System.Object)">
\r
13361 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
\r
13363 <param name="format">A String containing zero or more format items</param>
\r
13364 <param name="arg0">An Object to format</param>
\r
13365 <param name="arg1">An Object to format</param>
\r
13368 The message is formatted using the <c>String.Format</c> method. See
\r
13369 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13370 of the formatting.
\r
13373 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13374 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Error(System.Object,System.Exception)"/>
\r
13378 <seealso cref="M:log4net.ILog.Error(System.Object)"/>
\r
13379 <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
\r
13381 <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object,System.Object,System.Object)">
\r
13383 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
\r
13385 <param name="format">A String containing zero or more format items</param>
\r
13386 <param name="arg0">An Object to format</param>
\r
13387 <param name="arg1">An Object to format</param>
\r
13388 <param name="arg2">An Object to format</param>
\r
13391 The message is formatted using the <c>String.Format</c> method. See
\r
13392 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13393 of the formatting.
\r
13396 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13397 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Error(System.Object,System.Exception)"/>
\r
13401 <seealso cref="M:log4net.ILog.Error(System.Object)"/>
\r
13402 <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
\r
13404 <member name="M:log4net.ILog.ErrorFormat(System.IFormatProvider,System.String,System.Object[])">
\r
13406 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
\r
13408 <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
\r
13409 <param name="format">A String containing zero or more format items</param>
\r
13410 <param name="args">An Object array containing zero or more objects to format</param>
\r
13413 The message is formatted using the <c>String.Format</c> method. See
\r
13414 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13415 of the formatting.
\r
13418 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13419 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Error(System.Object)"/>
\r
13423 <seealso cref="M:log4net.ILog.Error(System.Object,System.Exception)"/>
\r
13424 <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
\r
13426 <member name="M:log4net.ILog.Fatal(System.Object)">
\r
13427 <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.</overloads>
\r
13429 Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.
\r
13433 This method first checks if this logger is <c>FATAL</c>
\r
13434 enabled by comparing the level of this logger with the
\r
13435 <see cref="F:log4net.Core.Level.Fatal"/> level. If this logger is
\r
13436 <c>FATAL</c> enabled, then it converts the message object
\r
13437 (passed as parameter) to a string by invoking the appropriate
\r
13438 <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
\r
13439 proceeds to call all the registered appenders in this logger
\r
13440 and also higher in the hierarchy depending on the value of the
\r
13443 <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
\r
13444 to this method will print the name of the <see cref="T:System.Exception"/>
\r
13445 but no stack trace. To print a stack trace use the
\r
13446 <see cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/> form instead.
\r
13449 <param name="message">The message object to log.</param>
\r
13450 <seealso cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/>
\r
13451 <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
\r
13453 <member name="M:log4net.ILog.Fatal(System.Object,System.Exception)">
\r
13455 Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level including
\r
13456 the stack trace of the <see cref="T:System.Exception"/> passed
\r
13459 <param name="message">The message object to log.</param>
\r
13460 <param name="exception">The exception to log, including its stack trace.</param>
\r
13463 See the <see cref="M:log4net.ILog.Fatal(System.Object)"/> form for more detailed information.
\r
13466 <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
\r
13467 <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
\r
13469 <member name="M:log4net.ILog.FatalFormat(System.String,System.Object[])">
\r
13470 <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.</overloads>
\r
13472 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
\r
13474 <param name="format">A String containing zero or more format items</param>
\r
13475 <param name="args">An Object array containing zero or more objects to format</param>
\r
13478 The message is formatted using the <c>String.Format</c> method. See
\r
13479 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13480 of the formatting.
\r
13483 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13484 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Fatal(System.Object)"/>
\r
13488 <seealso cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/>
\r
13489 <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
\r
13491 <member name="M:log4net.ILog.FatalFormat(System.String,System.Object)">
\r
13493 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
\r
13495 <param name="format">A String containing zero or more format items</param>
\r
13496 <param name="arg0">An Object to format</param>
\r
13499 The message is formatted using the <c>String.Format</c> method. See
\r
13500 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13501 of the formatting.
\r
13504 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13505 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/>
\r
13509 <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
\r
13510 <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
\r
13512 <member name="M:log4net.ILog.FatalFormat(System.String,System.Object,System.Object)">
\r
13514 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
\r
13516 <param name="format">A String containing zero or more format items</param>
\r
13517 <param name="arg0">An Object to format</param>
\r
13518 <param name="arg1">An Object to format</param>
\r
13521 The message is formatted using the <c>String.Format</c> method. See
\r
13522 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13523 of the formatting.
\r
13526 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13527 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/>
\r
13531 <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
\r
13532 <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
\r
13534 <member name="M:log4net.ILog.FatalFormat(System.String,System.Object,System.Object,System.Object)">
\r
13536 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
\r
13538 <param name="format">A String containing zero or more format items</param>
\r
13539 <param name="arg0">An Object to format</param>
\r
13540 <param name="arg1">An Object to format</param>
\r
13541 <param name="arg2">An Object to format</param>
\r
13544 The message is formatted using the <c>String.Format</c> method. See
\r
13545 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13546 of the formatting.
\r
13549 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13550 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/>
\r
13554 <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
\r
13555 <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
\r
13557 <member name="M:log4net.ILog.FatalFormat(System.IFormatProvider,System.String,System.Object[])">
\r
13559 Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
\r
13561 <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
\r
13562 <param name="format">A String containing zero or more format items</param>
\r
13563 <param name="args">An Object array containing zero or more objects to format</param>
\r
13566 The message is formatted using the <c>String.Format</c> method. See
\r
13567 <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
\r
13568 of the formatting.
\r
13571 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13572 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.ILog.Fatal(System.Object)"/>
\r
13576 <seealso cref="M:log4net.ILog.Fatal(System.Object,System.Exception)"/>
\r
13577 <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
\r
13579 <member name="P:log4net.ILog.IsDebugEnabled">
\r
13581 Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Debug"/> level.
\r
13584 <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Debug"/> events, <c>false</c> otherwise.
\r
13588 This function is intended to lessen the computational cost of
\r
13589 disabled log debug statements.
\r
13591 <para> For some ILog interface <c>log</c>, when you write:</para>
\r
13593 log.Debug("This is entry number: " + i );
\r
13596 You incur the cost constructing the message, string construction and concatenation in
\r
13597 this case, regardless of whether the message is logged or not.
\r
13600 If you are worried about speed (who isn't), then you should write:
\r
13603 if (log.IsDebugEnabled)
\r
13605 log.Debug("This is entry number: " + i );
\r
13609 This way you will not incur the cost of parameter
\r
13610 construction if debugging is disabled for <c>log</c>. On
\r
13611 the other hand, if the <c>log</c> is debug enabled, you
\r
13612 will incur the cost of evaluating whether the logger is debug
\r
13613 enabled twice. Once in <see cref="P:log4net.ILog.IsDebugEnabled"/> and once in
\r
13614 the <see cref="M:log4net.ILog.Debug(System.Object)"/>. This is an insignificant overhead
\r
13615 since evaluating a logger takes about 1% of the time it
\r
13616 takes to actually log. This is the preferred style of logging.
\r
13618 <para>Alternatively if your logger is available statically then the is debug
\r
13619 enabled state can be stored in a static variable like this:
\r
13622 private static readonly bool isDebugEnabled = log.IsDebugEnabled;
\r
13625 Then when you come to log you can write:
\r
13628 if (isDebugEnabled)
\r
13630 log.Debug("This is entry number: " + i );
\r
13634 This way the debug enabled state is only queried once
\r
13635 when the class is loaded. Using a <c>private static readonly</c>
\r
13636 variable is the most efficient because it is a run time constant
\r
13637 and can be heavily optimized by the JIT compiler.
\r
13640 Of course if you use a static readonly variable to
\r
13641 hold the enabled state of the logger then you cannot
\r
13642 change the enabled state at runtime to vary the logging
\r
13643 that is produced. You have to decide if you need absolute
\r
13644 speed or runtime flexibility.
\r
13647 <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
\r
13648 <seealso cref="M:log4net.ILog.DebugFormat(System.IFormatProvider,System.String,System.Object[])"/>
\r
13650 <member name="P:log4net.ILog.IsInfoEnabled">
\r
13652 Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Info"/> level.
\r
13655 <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Info"/> events, <c>false</c> otherwise.
\r
13658 For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
\r
13660 <seealso cref="M:log4net.ILog.Info(System.Object)"/>
\r
13661 <seealso cref="M:log4net.ILog.InfoFormat(System.IFormatProvider,System.String,System.Object[])"/>
\r
13662 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
13664 <member name="P:log4net.ILog.IsWarnEnabled">
\r
13666 Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Warn"/> level.
\r
13669 <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Warn"/> events, <c>false</c> otherwise.
\r
13672 For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
\r
13674 <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
\r
13675 <seealso cref="M:log4net.ILog.WarnFormat(System.IFormatProvider,System.String,System.Object[])"/>
\r
13676 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
13678 <member name="P:log4net.ILog.IsErrorEnabled">
\r
13680 Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Error"/> level.
\r
13683 <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Error"/> events, <c>false</c> otherwise.
\r
13686 For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
\r
13688 <seealso cref="M:log4net.ILog.Error(System.Object)"/>
\r
13689 <seealso cref="M:log4net.ILog.ErrorFormat(System.IFormatProvider,System.String,System.Object[])"/>
\r
13690 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
13692 <member name="P:log4net.ILog.IsFatalEnabled">
\r
13694 Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Fatal"/> level.
\r
13697 <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Fatal"/> events, <c>false</c> otherwise.
\r
13700 For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
\r
13702 <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
\r
13703 <seealso cref="M:log4net.ILog.FatalFormat(System.IFormatProvider,System.String,System.Object[])"/>
\r
13704 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
13706 <member name="M:log4net.Core.LogImpl.#ctor(log4net.Core.ILogger)">
\r
13708 Construct a new wrapper for the specified logger.
\r
13710 <param name="logger">The logger to wrap.</param>
\r
13713 Construct a new wrapper for the specified logger.
\r
13717 <member name="M:log4net.Core.LogImpl.ReloadLevels(log4net.Repository.ILoggerRepository)">
\r
13719 Virtual method called when the configuration of the repository changes
\r
13721 <param name="repository">the repository holding the levels</param>
\r
13724 Virtual method called when the configuration of the repository changes
\r
13728 <member name="M:log4net.Core.LogImpl.Debug(System.Object)">
\r
13730 Logs a message object with the <c>DEBUG</c> level.
\r
13732 <param name="message">The message object to log.</param>
\r
13735 This method first checks if this logger is <c>DEBUG</c>
\r
13736 enabled by comparing the level of this logger with the
\r
13737 <c>DEBUG</c> level. If this logger is
\r
13738 <c>DEBUG</c> enabled, then it converts the message object
\r
13739 (passed as parameter) to a string by invoking the appropriate
\r
13740 <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
\r
13741 proceeds to call all the registered appenders in this logger
\r
13742 and also higher in the hierarchy depending on the value of the
\r
13746 <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
\r
13747 to this method will print the name of the <see cref="T:System.Exception"/>
\r
13748 but no stack trace. To print a stack trace use the
\r
13749 <see cref="M:log4net.Core.LogImpl.Debug(System.Object,System.Exception)"/> form instead.
\r
13753 <member name="M:log4net.Core.LogImpl.Debug(System.Object,System.Exception)">
\r
13755 Logs a message object with the <c>DEBUG</c> level
\r
13757 <param name="message">The message object to log.</param>
\r
13758 <param name="exception">The exception to log, including its stack trace.</param>
\r
13761 Logs a message object with the <c>DEBUG</c> level including
\r
13762 the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/> passed
\r
13766 See the <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/> form for more detailed information.
\r
13769 <seealso cref="M:log4net.Core.LogImpl.Debug(System.Object)"/>
\r
13771 <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object[])">
\r
13773 Logs a formatted message string with the <c>DEBUG</c> level.
\r
13775 <param name="format">A String containing zero or more format items</param>
\r
13776 <param name="args">An Object array containing zero or more objects to format</param>
\r
13779 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
13780 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
13781 of the formatting.
\r
13784 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
13785 format provider. To specify a localized provider use the
\r
13786 <see cref="M:log4net.Core.LogImpl.DebugFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
13789 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13790 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/>
\r
13795 <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object)">
\r
13797 Logs a formatted message string with the <c>DEBUG</c> level.
\r
13799 <param name="format">A String containing zero or more format items</param>
\r
13800 <param name="arg0">An Object to format</param>
\r
13803 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
13804 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
13805 of the formatting.
\r
13808 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
13809 format provider. To specify a localized provider use the
\r
13810 <see cref="M:log4net.Core.LogImpl.DebugFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
13813 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13814 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/>
\r
13819 <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object,System.Object)">
\r
13821 Logs a formatted message string with the <c>DEBUG</c> level.
\r
13823 <param name="format">A String containing zero or more format items</param>
\r
13824 <param name="arg0">An Object to format</param>
\r
13825 <param name="arg1">An Object to format</param>
\r
13828 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
13829 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
13830 of the formatting.
\r
13833 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
13834 format provider. To specify a localized provider use the
\r
13835 <see cref="M:log4net.Core.LogImpl.DebugFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
13838 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13839 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/>
\r
13844 <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object,System.Object,System.Object)">
\r
13846 Logs a formatted message string with the <c>DEBUG</c> level.
\r
13848 <param name="format">A String containing zero or more format items</param>
\r
13849 <param name="arg0">An Object to format</param>
\r
13850 <param name="arg1">An Object to format</param>
\r
13851 <param name="arg2">An Object to format</param>
\r
13854 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
13855 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
13856 of the formatting.
\r
13859 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
13860 format provider. To specify a localized provider use the
\r
13861 <see cref="M:log4net.Core.LogImpl.DebugFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
13864 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13865 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/>
\r
13870 <member name="M:log4net.Core.LogImpl.DebugFormat(System.IFormatProvider,System.String,System.Object[])">
\r
13872 Logs a formatted message string with the <c>DEBUG</c> level.
\r
13874 <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
\r
13875 <param name="format">A String containing zero or more format items</param>
\r
13876 <param name="args">An Object array containing zero or more objects to format</param>
\r
13879 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
13880 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
13881 of the formatting.
\r
13884 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13885 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Debug(System.Object)"/>
\r
13890 <member name="M:log4net.Core.LogImpl.Info(System.Object)">
\r
13892 Logs a message object with the <c>INFO</c> level.
\r
13894 <param name="message">The message object to log.</param>
\r
13897 This method first checks if this logger is <c>INFO</c>
\r
13898 enabled by comparing the level of this logger with the
\r
13899 <c>INFO</c> level. If this logger is
\r
13900 <c>INFO</c> enabled, then it converts the message object
\r
13901 (passed as parameter) to a string by invoking the appropriate
\r
13902 <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
\r
13903 proceeds to call all the registered appenders in this logger
\r
13904 and also higher in the hierarchy depending on the value of
\r
13905 the additivity flag.
\r
13908 <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
\r
13909 to this method will print the name of the <see cref="T:System.Exception"/>
\r
13910 but no stack trace. To print a stack trace use the
\r
13911 <see cref="M:log4net.Core.LogImpl.Info(System.Object,System.Exception)"/> form instead.
\r
13915 <member name="M:log4net.Core.LogImpl.Info(System.Object,System.Exception)">
\r
13917 Logs a message object with the <c>INFO</c> level.
\r
13919 <param name="message">The message object to log.</param>
\r
13920 <param name="exception">The exception to log, including its stack trace.</param>
\r
13923 Logs a message object with the <c>INFO</c> level including
\r
13924 the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/>
\r
13925 passed as a parameter.
\r
13928 See the <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/> form for more detailed information.
\r
13931 <seealso cref="M:log4net.Core.LogImpl.Info(System.Object)"/>
\r
13933 <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object[])">
\r
13935 Logs a formatted message string with the <c>INFO</c> level.
\r
13937 <param name="format">A String containing zero or more format items</param>
\r
13938 <param name="args">An Object array containing zero or more objects to format</param>
\r
13941 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
13942 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
13943 of the formatting.
\r
13946 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
13947 format provider. To specify a localized provider use the
\r
13948 <see cref="M:log4net.Core.LogImpl.InfoFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
13951 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13952 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/>
\r
13957 <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object)">
\r
13959 Logs a formatted message string with the <c>INFO</c> level.
\r
13961 <param name="format">A String containing zero or more format items</param>
\r
13962 <param name="arg0">An Object to format</param>
\r
13965 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
13966 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
13967 of the formatting.
\r
13970 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
13971 format provider. To specify a localized provider use the
\r
13972 <see cref="M:log4net.Core.LogImpl.InfoFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
13975 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
13976 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/>
\r
13981 <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object,System.Object)">
\r
13983 Logs a formatted message string with the <c>INFO</c> level.
\r
13985 <param name="format">A String containing zero or more format items</param>
\r
13986 <param name="arg0">An Object to format</param>
\r
13987 <param name="arg1">An Object to format</param>
\r
13990 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
13991 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
13992 of the formatting.
\r
13995 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
13996 format provider. To specify a localized provider use the
\r
13997 <see cref="M:log4net.Core.LogImpl.InfoFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14000 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14001 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/>
\r
14006 <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object,System.Object,System.Object)">
\r
14008 Logs a formatted message string with the <c>INFO</c> level.
\r
14010 <param name="format">A String containing zero or more format items</param>
\r
14011 <param name="arg0">An Object to format</param>
\r
14012 <param name="arg1">An Object to format</param>
\r
14013 <param name="arg2">An Object to format</param>
\r
14016 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14017 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14018 of the formatting.
\r
14021 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14022 format provider. To specify a localized provider use the
\r
14023 <see cref="M:log4net.Core.LogImpl.InfoFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14026 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14027 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/>
\r
14032 <member name="M:log4net.Core.LogImpl.InfoFormat(System.IFormatProvider,System.String,System.Object[])">
\r
14034 Logs a formatted message string with the <c>INFO</c> level.
\r
14036 <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
\r
14037 <param name="format">A String containing zero or more format items</param>
\r
14038 <param name="args">An Object array containing zero or more objects to format</param>
\r
14041 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14042 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14043 of the formatting.
\r
14046 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14047 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Info(System.Object)"/>
\r
14052 <member name="M:log4net.Core.LogImpl.Warn(System.Object)">
\r
14054 Logs a message object with the <c>WARN</c> level.
\r
14056 <param name="message">the message object to log</param>
\r
14059 This method first checks if this logger is <c>WARN</c>
\r
14060 enabled by comparing the level of this logger with the
\r
14061 <c>WARN</c> level. If this logger is
\r
14062 <c>WARN</c> enabled, then it converts the message object
\r
14063 (passed as parameter) to a string by invoking the appropriate
\r
14064 <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
\r
14065 proceeds to call all the registered appenders in this logger and
\r
14066 also higher in the hierarchy depending on the value of the
\r
14070 <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> to this
\r
14071 method will print the name of the <see cref="T:System.Exception"/> but no
\r
14072 stack trace. To print a stack trace use the
\r
14073 <see cref="M:log4net.Core.LogImpl.Warn(System.Object,System.Exception)"/> form instead.
\r
14077 <member name="M:log4net.Core.LogImpl.Warn(System.Object,System.Exception)">
\r
14079 Logs a message object with the <c>WARN</c> level
\r
14081 <param name="message">The message object to log.</param>
\r
14082 <param name="exception">The exception to log, including its stack trace.</param>
\r
14085 Logs a message object with the <c>WARN</c> level including
\r
14086 the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/>
\r
14087 passed as a parameter.
\r
14090 See the <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/> form for more detailed information.
\r
14093 <seealso cref="M:log4net.Core.LogImpl.Warn(System.Object)"/>
\r
14095 <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object[])">
\r
14097 Logs a formatted message string with the <c>WARN</c> level.
\r
14099 <param name="format">A String containing zero or more format items</param>
\r
14100 <param name="args">An Object array containing zero or more objects to format</param>
\r
14103 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14104 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14105 of the formatting.
\r
14108 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14109 format provider. To specify a localized provider use the
\r
14110 <see cref="M:log4net.Core.LogImpl.WarnFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14113 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14114 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/>
\r
14119 <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object)">
\r
14121 Logs a formatted message string with the <c>WARN</c> level.
\r
14123 <param name="format">A String containing zero or more format items</param>
\r
14124 <param name="arg0">An Object to format</param>
\r
14127 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14128 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14129 of the formatting.
\r
14132 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14133 format provider. To specify a localized provider use the
\r
14134 <see cref="M:log4net.Core.LogImpl.WarnFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14137 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14138 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/>
\r
14143 <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object,System.Object)">
\r
14145 Logs a formatted message string with the <c>WARN</c> level.
\r
14147 <param name="format">A String containing zero or more format items</param>
\r
14148 <param name="arg0">An Object to format</param>
\r
14149 <param name="arg1">An Object to format</param>
\r
14152 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14153 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14154 of the formatting.
\r
14157 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14158 format provider. To specify a localized provider use the
\r
14159 <see cref="M:log4net.Core.LogImpl.WarnFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14162 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14163 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/>
\r
14168 <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object,System.Object,System.Object)">
\r
14170 Logs a formatted message string with the <c>WARN</c> level.
\r
14172 <param name="format">A String containing zero or more format items</param>
\r
14173 <param name="arg0">An Object to format</param>
\r
14174 <param name="arg1">An Object to format</param>
\r
14175 <param name="arg2">An Object to format</param>
\r
14178 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14179 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14180 of the formatting.
\r
14183 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14184 format provider. To specify a localized provider use the
\r
14185 <see cref="M:log4net.Core.LogImpl.WarnFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14188 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14189 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/>
\r
14194 <member name="M:log4net.Core.LogImpl.WarnFormat(System.IFormatProvider,System.String,System.Object[])">
\r
14196 Logs a formatted message string with the <c>WARN</c> level.
\r
14198 <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
\r
14199 <param name="format">A String containing zero or more format items</param>
\r
14200 <param name="args">An Object array containing zero or more objects to format</param>
\r
14203 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14204 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14205 of the formatting.
\r
14208 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14209 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Warn(System.Object)"/>
\r
14214 <member name="M:log4net.Core.LogImpl.Error(System.Object)">
\r
14216 Logs a message object with the <c>ERROR</c> level.
\r
14218 <param name="message">The message object to log.</param>
\r
14221 This method first checks if this logger is <c>ERROR</c>
\r
14222 enabled by comparing the level of this logger with the
\r
14223 <c>ERROR</c> level. If this logger is
\r
14224 <c>ERROR</c> enabled, then it converts the message object
\r
14225 (passed as parameter) to a string by invoking the appropriate
\r
14226 <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
\r
14227 proceeds to call all the registered appenders in this logger and
\r
14228 also higher in the hierarchy depending on the value of the
\r
14232 <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> to this
\r
14233 method will print the name of the <see cref="T:System.Exception"/> but no
\r
14234 stack trace. To print a stack trace use the
\r
14235 <see cref="M:log4net.Core.LogImpl.Error(System.Object,System.Exception)"/> form instead.
\r
14239 <member name="M:log4net.Core.LogImpl.Error(System.Object,System.Exception)">
\r
14241 Logs a message object with the <c>ERROR</c> level
\r
14243 <param name="message">The message object to log.</param>
\r
14244 <param name="exception">The exception to log, including its stack trace.</param>
\r
14247 Logs a message object with the <c>ERROR</c> level including
\r
14248 the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/>
\r
14249 passed as a parameter.
\r
14252 See the <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/> form for more detailed information.
\r
14255 <seealso cref="M:log4net.Core.LogImpl.Error(System.Object)"/>
\r
14257 <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object[])">
\r
14259 Logs a formatted message string with the <c>ERROR</c> level.
\r
14261 <param name="format">A String containing zero or more format items</param>
\r
14262 <param name="args">An Object array containing zero or more objects to format</param>
\r
14265 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14266 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14267 of the formatting.
\r
14270 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14271 format provider. To specify a localized provider use the
\r
14272 <see cref="M:log4net.Core.LogImpl.ErrorFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14275 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14276 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/>
\r
14281 <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object)">
\r
14283 Logs a formatted message string with the <c>ERROR</c> level.
\r
14285 <param name="format">A String containing zero or more format items</param>
\r
14286 <param name="arg0">An Object to format</param>
\r
14289 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14290 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14291 of the formatting.
\r
14294 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14295 format provider. To specify a localized provider use the
\r
14296 <see cref="M:log4net.Core.LogImpl.ErrorFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14299 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14300 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/>
\r
14305 <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object,System.Object)">
\r
14307 Logs a formatted message string with the <c>ERROR</c> level.
\r
14309 <param name="format">A String containing zero or more format items</param>
\r
14310 <param name="arg0">An Object to format</param>
\r
14311 <param name="arg1">An Object to format</param>
\r
14314 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14315 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14316 of the formatting.
\r
14319 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14320 format provider. To specify a localized provider use the
\r
14321 <see cref="M:log4net.Core.LogImpl.ErrorFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14324 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14325 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/>
\r
14330 <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object,System.Object,System.Object)">
\r
14332 Logs a formatted message string with the <c>ERROR</c> level.
\r
14334 <param name="format">A String containing zero or more format items</param>
\r
14335 <param name="arg0">An Object to format</param>
\r
14336 <param name="arg1">An Object to format</param>
\r
14337 <param name="arg2">An Object to format</param>
\r
14340 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14341 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14342 of the formatting.
\r
14345 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14346 format provider. To specify a localized provider use the
\r
14347 <see cref="M:log4net.Core.LogImpl.ErrorFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14350 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14351 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/>
\r
14356 <member name="M:log4net.Core.LogImpl.ErrorFormat(System.IFormatProvider,System.String,System.Object[])">
\r
14358 Logs a formatted message string with the <c>ERROR</c> level.
\r
14360 <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
\r
14361 <param name="format">A String containing zero or more format items</param>
\r
14362 <param name="args">An Object array containing zero or more objects to format</param>
\r
14365 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14366 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14367 of the formatting.
\r
14370 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14371 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Error(System.Object)"/>
\r
14376 <member name="M:log4net.Core.LogImpl.Fatal(System.Object)">
\r
14378 Logs a message object with the <c>FATAL</c> level.
\r
14380 <param name="message">The message object to log.</param>
\r
14383 This method first checks if this logger is <c>FATAL</c>
\r
14384 enabled by comparing the level of this logger with the
\r
14385 <c>FATAL</c> level. If this logger is
\r
14386 <c>FATAL</c> enabled, then it converts the message object
\r
14387 (passed as parameter) to a string by invoking the appropriate
\r
14388 <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
\r
14389 proceeds to call all the registered appenders in this logger and
\r
14390 also higher in the hierarchy depending on the value of the
\r
14394 <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> to this
\r
14395 method will print the name of the <see cref="T:System.Exception"/> but no
\r
14396 stack trace. To print a stack trace use the
\r
14397 <see cref="M:log4net.Core.LogImpl.Fatal(System.Object,System.Exception)"/> form instead.
\r
14401 <member name="M:log4net.Core.LogImpl.Fatal(System.Object,System.Exception)">
\r
14403 Logs a message object with the <c>FATAL</c> level
\r
14405 <param name="message">The message object to log.</param>
\r
14406 <param name="exception">The exception to log, including its stack trace.</param>
\r
14409 Logs a message object with the <c>FATAL</c> level including
\r
14410 the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/>
\r
14411 passed as a parameter.
\r
14414 See the <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/> form for more detailed information.
\r
14417 <seealso cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/>
\r
14419 <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object[])">
\r
14421 Logs a formatted message string with the <c>FATAL</c> level.
\r
14423 <param name="format">A String containing zero or more format items</param>
\r
14424 <param name="args">An Object array containing zero or more objects to format</param>
\r
14427 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14428 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14429 of the formatting.
\r
14432 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14433 format provider. To specify a localized provider use the
\r
14434 <see cref="M:log4net.Core.LogImpl.FatalFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14437 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14438 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/>
\r
14443 <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object)">
\r
14445 Logs a formatted message string with the <c>FATAL</c> level.
\r
14447 <param name="format">A String containing zero or more format items</param>
\r
14448 <param name="arg0">An Object to format</param>
\r
14451 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14452 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14453 of the formatting.
\r
14456 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14457 format provider. To specify a localized provider use the
\r
14458 <see cref="M:log4net.Core.LogImpl.FatalFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14461 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14462 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/>
\r
14467 <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object,System.Object)">
\r
14469 Logs a formatted message string with the <c>FATAL</c> level.
\r
14471 <param name="format">A String containing zero or more format items</param>
\r
14472 <param name="arg0">An Object to format</param>
\r
14473 <param name="arg1">An Object to format</param>
\r
14476 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14477 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14478 of the formatting.
\r
14481 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14482 format provider. To specify a localized provider use the
\r
14483 <see cref="M:log4net.Core.LogImpl.FatalFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14486 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14487 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/>
\r
14492 <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object,System.Object,System.Object)">
\r
14494 Logs a formatted message string with the <c>FATAL</c> level.
\r
14496 <param name="format">A String containing zero or more format items</param>
\r
14497 <param name="arg0">An Object to format</param>
\r
14498 <param name="arg1">An Object to format</param>
\r
14499 <param name="arg2">An Object to format</param>
\r
14502 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14503 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14504 of the formatting.
\r
14507 The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
\r
14508 format provider. To specify a localized provider use the
\r
14509 <see cref="M:log4net.Core.LogImpl.FatalFormat(System.IFormatProvider,System.String,System.Object[])"/> method.
\r
14512 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14513 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/>
\r
14518 <member name="M:log4net.Core.LogImpl.FatalFormat(System.IFormatProvider,System.String,System.Object[])">
\r
14520 Logs a formatted message string with the <c>FATAL</c> level.
\r
14522 <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
\r
14523 <param name="format">A String containing zero or more format items</param>
\r
14524 <param name="args">An Object array containing zero or more objects to format</param>
\r
14527 The message is formatted using the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> method. See
\r
14528 <c>String.Format</c> for details of the syntax of the format string and the behavior
\r
14529 of the formatting.
\r
14532 This method does not take an <see cref="T:System.Exception"/> object to include in the
\r
14533 log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Core.LogImpl.Fatal(System.Object)"/>
\r
14538 <member name="M:log4net.Core.LogImpl.LoggerRepositoryConfigurationChanged(System.Object,System.EventArgs)">
\r
14540 Event handler for the <see cref="E:log4net.Repository.ILoggerRepository.ConfigurationChanged"/> event
\r
14542 <param name="sender">the repository</param>
\r
14543 <param name="e">Empty</param>
\r
14545 <member name="F:log4net.Core.LogImpl.ThisDeclaringType">
\r
14547 The fully qualified name of this declaring type not the type of any subclass.
\r
14550 <member name="P:log4net.Core.LogImpl.IsDebugEnabled">
\r
14552 Checks if this logger is enabled for the <c>DEBUG</c>
\r
14556 <c>true</c> if this logger is enabled for <c>DEBUG</c> events,
\r
14557 <c>false</c> otherwise.
\r
14561 This function is intended to lessen the computational cost of
\r
14562 disabled log debug statements.
\r
14565 For some <c>log</c> Logger object, when you write:
\r
14568 log.Debug("This is entry number: " + i );
\r
14571 You incur the cost constructing the message, concatenation in
\r
14572 this case, regardless of whether the message is logged or not.
\r
14575 If you are worried about speed, then you should write:
\r
14578 if (log.IsDebugEnabled())
\r
14580 log.Debug("This is entry number: " + i );
\r
14584 This way you will not incur the cost of parameter
\r
14585 construction if debugging is disabled for <c>log</c>. On
\r
14586 the other hand, if the <c>log</c> is debug enabled, you
\r
14587 will incur the cost of evaluating whether the logger is debug
\r
14588 enabled twice. Once in <c>IsDebugEnabled</c> and once in
\r
14589 the <c>Debug</c>. This is an insignificant overhead
\r
14590 since evaluating a logger takes about 1% of the time it
\r
14591 takes to actually log.
\r
14595 <member name="P:log4net.Core.LogImpl.IsInfoEnabled">
\r
14597 Checks if this logger is enabled for the <c>INFO</c> level.
\r
14600 <c>true</c> if this logger is enabled for <c>INFO</c> events,
\r
14601 <c>false</c> otherwise.
\r
14605 See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples
\r
14606 of using this method.
\r
14609 <seealso cref="P:log4net.Core.LogImpl.IsDebugEnabled"/>
\r
14611 <member name="P:log4net.Core.LogImpl.IsWarnEnabled">
\r
14613 Checks if this logger is enabled for the <c>WARN</c> level.
\r
14616 <c>true</c> if this logger is enabled for <c>WARN</c> events,
\r
14617 <c>false</c> otherwise.
\r
14621 See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples
\r
14622 of using this method.
\r
14625 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
14627 <member name="P:log4net.Core.LogImpl.IsErrorEnabled">
\r
14629 Checks if this logger is enabled for the <c>ERROR</c> level.
\r
14632 <c>true</c> if this logger is enabled for <c>ERROR</c> events,
\r
14633 <c>false</c> otherwise.
\r
14637 See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples of using this method.
\r
14640 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
14642 <member name="P:log4net.Core.LogImpl.IsFatalEnabled">
\r
14644 Checks if this logger is enabled for the <c>FATAL</c> level.
\r
14647 <c>true</c> if this logger is enabled for <c>FATAL</c> events,
\r
14648 <c>false</c> otherwise.
\r
14652 See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples of using this method.
\r
14655 <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
\r
14657 <member name="T:log4net.Core.SecurityContext">
\r
14659 A SecurityContext used by log4net when interacting with protected resources
\r
14663 A SecurityContext used by log4net when interacting with protected resources
\r
14664 for example with operating system services. This can be used to impersonate
\r
14665 a principal that has been granted privileges on the system resources.
\r
14668 <author>Nicko Cadell</author>
\r
14670 <member name="M:log4net.Core.SecurityContext.Impersonate(System.Object)">
\r
14672 Impersonate this SecurityContext
\r
14674 <param name="state">State supplied by the caller</param>
\r
14675 <returns>An <see cref="T:System.IDisposable"/> instance that will
\r
14676 revoke the impersonation of this SecurityContext, or <c>null</c></returns>
\r
14679 Impersonate this security context. Further calls on the current
\r
14680 thread should now be made in the security context provided
\r
14681 by this object. When the <see cref="T:System.IDisposable"/> result
\r
14682 <see cref="M:System.IDisposable.Dispose"/> method is called the security
\r
14683 context of the thread should be reverted to the state it was in
\r
14684 before <see cref="M:log4net.Core.SecurityContext.Impersonate(System.Object)"/> was called.
\r
14688 <member name="T:log4net.Core.SecurityContextProvider">
\r
14690 The <see cref="T:log4net.Core.SecurityContextProvider"/> providers default <see cref="T:log4net.Core.SecurityContext"/> instances.
\r
14694 A configured component that interacts with potentially protected system
\r
14695 resources uses a <see cref="T:log4net.Core.SecurityContext"/> to provide the elevated
\r
14696 privileges required. If the <see cref="T:log4net.Core.SecurityContext"/> object has
\r
14697 been not been explicitly provided to the component then the component
\r
14698 will request one from this <see cref="T:log4net.Core.SecurityContextProvider"/>.
\r
14701 By default the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is
\r
14702 an instance of <see cref="T:log4net.Core.SecurityContextProvider"/> which returns only
\r
14703 <see cref="T:log4net.Util.NullSecurityContext"/> objects. This is a reasonable default
\r
14704 where the privileges required are not know by the system.
\r
14707 This default behavior can be overridden by subclassing the <see cref="T:log4net.Core.SecurityContextProvider"/>
\r
14708 and overriding the <see cref="M:log4net.Core.SecurityContextProvider.CreateSecurityContext(System.Object)"/> method to return
\r
14709 the desired <see cref="T:log4net.Core.SecurityContext"/> objects. The default provider
\r
14710 can be replaced by programmatically setting the value of the
\r
14711 <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> property.
\r
14714 An alternative is to use the <c>log4net.Config.SecurityContextProviderAttribute</c>
\r
14715 This attribute can be applied to an assembly in the same way as the
\r
14716 <c>log4net.Config.XmlConfiguratorAttribute"</c>. The attribute takes
\r
14717 the type to use as the <see cref="T:log4net.Core.SecurityContextProvider"/> as an argument.
\r
14720 <author>Nicko Cadell</author>
\r
14722 <member name="F:log4net.Core.SecurityContextProvider.s_defaultProvider">
\r
14724 The default provider
\r
14727 <member name="M:log4net.Core.SecurityContextProvider.#ctor">
\r
14729 Protected default constructor to allow subclassing
\r
14733 Protected default constructor to allow subclassing
\r
14737 <member name="M:log4net.Core.SecurityContextProvider.CreateSecurityContext(System.Object)">
\r
14739 Create a SecurityContext for a consumer
\r
14741 <param name="consumer">The consumer requesting the SecurityContext</param>
\r
14742 <returns>An impersonation context</returns>
\r
14745 The default implementation is to return a <see cref="T:log4net.Util.NullSecurityContext"/>.
\r
14748 Subclasses should override this method to provide their own
\r
14753 <member name="P:log4net.Core.SecurityContextProvider.DefaultProvider">
\r
14755 Gets or sets the default SecurityContextProvider
\r
14758 The default SecurityContextProvider
\r
14762 The default provider is used by configured components that
\r
14763 require a <see cref="T:log4net.Core.SecurityContext"/> and have not had one
\r
14767 By default this is an instance of <see cref="T:log4net.Core.SecurityContextProvider"/>
\r
14768 that returns <see cref="T:log4net.Util.NullSecurityContext"/> objects.
\r
14771 The default provider can be set programmatically by setting
\r
14772 the value of this property to a sub class of <see cref="T:log4net.Core.SecurityContextProvider"/>
\r
14773 that has the desired behavior.
\r
14777 <member name="T:log4net.Core.WrapperCreationHandler">
\r
14779 Delegate used to handle creation of new wrappers.
\r
14781 <param name="logger">The logger to wrap in a wrapper.</param>
\r
14784 Delegate used to handle creation of new wrappers. This delegate
\r
14785 is called from the <see cref="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)"/>
\r
14786 method to construct the wrapper for the specified logger.
\r
14789 The delegate to use is supplied to the <see cref="T:log4net.Core.WrapperMap"/>
\r
14794 <member name="T:log4net.Core.WrapperMap">
\r
14796 Maps between logger objects and wrapper objects.
\r
14800 This class maintains a mapping between <see cref="T:log4net.Core.ILogger"/> objects and
\r
14801 <see cref="T:log4net.Core.ILoggerWrapper"/> objects. Use the <see cref="M:log4net.Core.WrapperMap.GetWrapper(log4net.Core.ILogger)"/> method to
\r
14802 lookup the <see cref="T:log4net.Core.ILoggerWrapper"/> for the specified <see cref="T:log4net.Core.ILogger"/>.
\r
14805 New wrapper instances are created by the <see cref="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)"/>
\r
14806 method. The default behavior is for this method to delegate construction
\r
14807 of the wrapper to the <see cref="T:log4net.Core.WrapperCreationHandler"/> delegate supplied
\r
14808 to the constructor. This allows specialization of the behavior without
\r
14809 requiring subclassing of this type.
\r
14812 <author>Nicko Cadell</author>
\r
14813 <author>Gert Driesen</author>
\r
14815 <member name="M:log4net.Core.WrapperMap.#ctor(log4net.Core.WrapperCreationHandler)">
\r
14817 Initializes a new instance of the <see cref="T:log4net.Core.WrapperMap"/>
\r
14819 <param name="createWrapperHandler">The handler to use to create the wrapper objects.</param>
\r
14822 Initializes a new instance of the <see cref="T:log4net.Core.WrapperMap"/> class with
\r
14823 the specified handler to create the wrapper objects.
\r
14827 <member name="M:log4net.Core.WrapperMap.GetWrapper(log4net.Core.ILogger)">
\r
14829 Gets the wrapper object for the specified logger.
\r
14831 <returns>The wrapper object for the specified logger</returns>
\r
14834 If the logger is null then the corresponding wrapper is null.
\r
14837 Looks up the wrapper it it has previously been requested and
\r
14838 returns it. If the wrapper has never been requested before then
\r
14839 the <see cref="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)"/> virtual method is
\r
14844 <member name="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)">
\r
14846 Creates the wrapper object for the specified logger.
\r
14848 <param name="logger">The logger to wrap in a wrapper.</param>
\r
14849 <returns>The wrapper object for the logger.</returns>
\r
14852 This implementation uses the <see cref="T:log4net.Core.WrapperCreationHandler"/>
\r
14853 passed to the constructor to create the wrapper. This method
\r
14854 can be overridden in a subclass.
\r
14858 <member name="M:log4net.Core.WrapperMap.RepositoryShutdown(log4net.Repository.ILoggerRepository)">
\r
14860 Called when a monitored repository shutdown event is received.
\r
14862 <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that is shutting down</param>
\r
14865 This method is called when a <see cref="T:log4net.Repository.ILoggerRepository"/> that this
\r
14866 <see cref="T:log4net.Core.WrapperMap"/> is holding loggers for has signaled its shutdown
\r
14867 event <see cref="E:log4net.Repository.ILoggerRepository.ShutdownEvent"/>. The default
\r
14868 behavior of this method is to release the references to the loggers
\r
14869 and their wrappers generated for this repository.
\r
14873 <member name="M:log4net.Core.WrapperMap.ILoggerRepository_Shutdown(System.Object,System.EventArgs)">
\r
14875 Event handler for repository shutdown event.
\r
14877 <param name="sender">The sender of the event.</param>
\r
14878 <param name="e">The event args.</param>
\r
14880 <member name="F:log4net.Core.WrapperMap.m_repositories">
\r
14882 Map of logger repositories to hashtables of ILogger to ILoggerWrapper mappings
\r
14885 <member name="F:log4net.Core.WrapperMap.m_createWrapperHandler">
\r
14887 The handler to use to create the extension wrapper objects.
\r
14890 <member name="F:log4net.Core.WrapperMap.m_shutdownHandler">
\r
14892 Internal reference to the delegate used to register for repository shutdown events.
\r
14895 <member name="P:log4net.Core.WrapperMap.Repositories">
\r
14897 Gets the map of logger repositories.
\r
14900 Map of logger repositories.
\r
14904 Gets the hashtable that is keyed on <see cref="T:log4net.Repository.ILoggerRepository"/>. The
\r
14905 values are hashtables keyed on <see cref="T:log4net.Core.ILogger"/> with the
\r
14906 value being the corresponding <see cref="T:log4net.Core.ILoggerWrapper"/>.
\r
14910 <member name="T:log4net.DateFormatter.AbsoluteTimeDateFormatter">
\r
14912 Formats a <see cref="T:System.DateTime"/> as <c>"HH:mm:ss,fff"</c>.
\r
14916 Formats a <see cref="T:System.DateTime"/> in the format <c>"HH:mm:ss,fff"</c> for example, <c>"15:49:37,459"</c>.
\r
14919 <author>Nicko Cadell</author>
\r
14920 <author>Gert Driesen</author>
\r
14922 <member name="T:log4net.DateFormatter.IDateFormatter">
\r
14924 Render a <see cref="T:System.DateTime"/> as a string.
\r
14928 Interface to abstract the rendering of a <see cref="T:System.DateTime"/>
\r
14929 instance into a string.
\r
14932 The <see cref="M:log4net.DateFormatter.IDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)"/> method is used to render the
\r
14933 date to a text writer.
\r
14936 <author>Nicko Cadell</author>
\r
14937 <author>Gert Driesen</author>
\r
14939 <member name="M:log4net.DateFormatter.IDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)">
\r
14941 Formats the specified date as a string.
\r
14943 <param name="dateToFormat">The date to format.</param>
\r
14944 <param name="writer">The writer to write to.</param>
\r
14947 Format the <see cref="T:System.DateTime"/> as a string and write it
\r
14948 to the <see cref="T:System.IO.TextWriter"/> provided.
\r
14952 <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.AbsoluteTimeDateFormat">
\r
14954 String constant used to specify AbsoluteTimeDateFormat in layouts. Current value is <b>ABSOLUTE</b>.
\r
14957 <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.DateAndTimeDateFormat">
\r
14959 String constant used to specify DateTimeDateFormat in layouts. Current value is <b>DATE</b>.
\r
14962 <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.Iso8601TimeDateFormat">
\r
14964 String constant used to specify ISO8601DateFormat in layouts. Current value is <b>ISO8601</b>.
\r
14967 <member name="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)">
\r
14969 Renders the date into a string. Format is <c>"HH:mm:ss"</c>.
\r
14971 <param name="dateToFormat">The date to render into a string.</param>
\r
14972 <param name="buffer">The string builder to write to.</param>
\r
14975 Subclasses should override this method to render the date
\r
14976 into a string using a precision up to the second. This method
\r
14977 will be called at most once per second and the result will be
\r
14978 reused if it is needed again during the same second.
\r
14982 <member name="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)">
\r
14984 Renders the date into a string. Format is "HH:mm:ss,fff".
\r
14986 <param name="dateToFormat">The date to render into a string.</param>
\r
14987 <param name="writer">The writer to write to.</param>
\r
14990 Uses the <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/> method to generate the
\r
14991 time string up to the seconds and then appends the current
\r
14992 milliseconds. The results from <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/> are
\r
14993 cached and <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/> is called at most once
\r
14997 Sub classes should override <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/>
\r
14998 rather than <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)"/>.
\r
15002 <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.s_lastTimeToTheSecond">
\r
15004 Last stored time with precision up to the second.
\r
15007 <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.s_lastTimeBuf">
\r
15009 Last stored time with precision up to the second, formatted
\r
15013 <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.s_lastTimeString">
\r
15015 Last stored time with precision up to the second, formatted
\r
15019 <member name="T:log4net.DateFormatter.DateTimeDateFormatter">
\r
15021 Formats a <see cref="T:System.DateTime"/> as <c>"dd MMM yyyy HH:mm:ss,fff"</c>
\r
15025 Formats a <see cref="T:System.DateTime"/> in the format
\r
15026 <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example,
\r
15027 <c>"06 Nov 1994 15:49:37,459"</c>.
\r
15030 <author>Nicko Cadell</author>
\r
15031 <author>Gert Driesen</author>
\r
15032 <author>Angelika Schnagl</author>
\r
15034 <member name="M:log4net.DateFormatter.DateTimeDateFormatter.#ctor">
\r
15036 Default constructor.
\r
15040 Initializes a new instance of the <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> class.
\r
15044 <member name="M:log4net.DateFormatter.DateTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)">
\r
15046 Formats the date without the milliseconds part
\r
15048 <param name="dateToFormat">The date to format.</param>
\r
15049 <param name="buffer">The string builder to write to.</param>
\r
15052 Formats a DateTime in the format <c>"dd MMM yyyy HH:mm:ss"</c>
\r
15053 for example, <c>"06 Nov 1994 15:49:37"</c>.
\r
15056 The base class will append the <c>",fff"</c> milliseconds section.
\r
15057 This method will only be called at most once per second.
\r
15061 <member name="F:log4net.DateFormatter.DateTimeDateFormatter.m_dateTimeFormatInfo">
\r
15063 The format info for the invariant culture.
\r
15066 <member name="T:log4net.DateFormatter.Iso8601DateFormatter">
\r
15068 Formats the <see cref="T:System.DateTime"/> as <c>"yyyy-MM-dd HH:mm:ss,fff"</c>.
\r
15072 Formats the <see cref="T:System.DateTime"/> specified as a string: <c>"yyyy-MM-dd HH:mm:ss,fff"</c>.
\r
15075 <author>Nicko Cadell</author>
\r
15076 <author>Gert Driesen</author>
\r
15078 <member name="M:log4net.DateFormatter.Iso8601DateFormatter.#ctor">
\r
15080 Default constructor
\r
15084 Initializes a new instance of the <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/> class.
\r
15088 <member name="M:log4net.DateFormatter.Iso8601DateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)">
\r
15090 Formats the date without the milliseconds part
\r
15092 <param name="dateToFormat">The date to format.</param>
\r
15093 <param name="buffer">The string builder to write to.</param>
\r
15096 Formats the date specified as a string: <c>"yyyy-MM-dd HH:mm:ss"</c>.
\r
15099 The base class will append the <c>",fff"</c> milliseconds section.
\r
15100 This method will only be called at most once per second.
\r
15104 <member name="T:log4net.DateFormatter.SimpleDateFormatter">
\r
15106 Formats the <see cref="T:System.DateTime"/> using the <see cref="M:System.DateTime.ToString(System.String,System.IFormatProvider)"/> method.
\r
15110 Formats the <see cref="T:System.DateTime"/> using the <see cref="T:System.DateTime"/> <see cref="M:System.DateTime.ToString(System.String,System.IFormatProvider)"/> method.
\r
15113 <author>Nicko Cadell</author>
\r
15114 <author>Gert Driesen</author>
\r
15116 <member name="M:log4net.DateFormatter.SimpleDateFormatter.#ctor(System.String)">
\r
15120 <param name="format">The format string.</param>
\r
15123 Initializes a new instance of the <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/> class
\r
15124 with the specified format string.
\r
15127 The format string must be compatible with the options
\r
15128 that can be supplied to <see cref="M:System.DateTime.ToString(System.String,System.IFormatProvider)"/>.
\r
15132 <member name="M:log4net.DateFormatter.SimpleDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)">
\r
15134 Formats the date using <see cref="M:System.DateTime.ToString(System.String,System.IFormatProvider)"/>.
\r
15136 <param name="dateToFormat">The date to convert to a string.</param>
\r
15137 <param name="writer">The writer to write to.</param>
\r
15140 Uses the date format string supplied to the constructor to call
\r
15141 the <see cref="M:System.DateTime.ToString(System.String,System.IFormatProvider)"/> method to format the date.
\r
15145 <member name="F:log4net.DateFormatter.SimpleDateFormatter.m_formatString">
\r
15147 The format string used to format the <see cref="T:System.DateTime"/>.
\r
15151 The format string must be compatible with the options
\r
15152 that can be supplied to <see cref="M:System.DateTime.ToString(System.String,System.IFormatProvider)"/>.
\r
15156 <member name="T:log4net.Filter.DenyAllFilter">
\r
15158 This filter drops all <see cref="T:log4net.Core.LoggingEvent"/>.
\r
15162 You can add this filter to the end of a filter chain to
\r
15163 switch from the default "accept all unless instructed otherwise"
\r
15164 filtering behavior to a "deny all unless instructed otherwise"
\r
15168 <author>Nicko Cadell</author>
\r
15169 <author>Gert Driesen</author>
\r
15171 <member name="T:log4net.Filter.FilterSkeleton">
\r
15173 Subclass this type to implement customized logging event filtering
\r
15177 Users should extend this class to implement customized logging
\r
15178 event filtering. Note that <see cref="T:log4net.Repository.Hierarchy.Logger"/> and
\r
15179 <see cref="T:log4net.Appender.AppenderSkeleton"/>, the parent class of all standard
\r
15180 appenders, have built-in filtering rules. It is suggested that you
\r
15181 first use and understand the built-in rules before rushing to write
\r
15182 your own custom filters.
\r
15185 This abstract class assumes and also imposes that filters be
\r
15186 organized in a linear chain. The <see cref="M:log4net.Filter.FilterSkeleton.Decide(log4net.Core.LoggingEvent)"/>
\r
15187 method of each filter is called sequentially, in the order of their
\r
15188 addition to the chain.
\r
15191 The <see cref="M:log4net.Filter.FilterSkeleton.Decide(log4net.Core.LoggingEvent)"/> method must return one
\r
15192 of the integer constants <see cref="F:log4net.Filter.FilterDecision.Deny"/>,
\r
15193 <see cref="F:log4net.Filter.FilterDecision.Neutral"/> or <see cref="F:log4net.Filter.FilterDecision.Accept"/>.
\r
15196 If the value <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned, then the log event is dropped
\r
15197 immediately without consulting with the remaining filters.
\r
15200 If the value <see cref="F:log4net.Filter.FilterDecision.Neutral"/> is returned, then the next filter
\r
15201 in the chain is consulted. If there are no more filters in the
\r
15202 chain, then the log event is logged. Thus, in the presence of no
\r
15203 filters, the default behavior is to log all logging events.
\r
15206 If the value <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned, then the log
\r
15207 event is logged without consulting the remaining filters.
\r
15210 The philosophy of log4net filters is largely inspired from the
\r
15214 <author>Nicko Cadell</author>
\r
15215 <author>Gert Driesen</author>
\r
15217 <member name="T:log4net.Filter.IFilter">
\r
15219 Implement this interface to provide customized logging event filtering
\r
15223 Users should implement this interface to implement customized logging
\r
15224 event filtering. Note that <see cref="T:log4net.Repository.Hierarchy.Logger"/> and
\r
15225 <see cref="T:log4net.Appender.AppenderSkeleton"/>, the parent class of all standard
\r
15226 appenders, have built-in filtering rules. It is suggested that you
\r
15227 first use and understand the built-in rules before rushing to write
\r
15228 your own custom filters.
\r
15231 This abstract class assumes and also imposes that filters be
\r
15232 organized in a linear chain. The <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/>
\r
15233 method of each filter is called sequentially, in the order of their
\r
15234 addition to the chain.
\r
15237 The <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/> method must return one
\r
15238 of the integer constants <see cref="F:log4net.Filter.FilterDecision.Deny"/>,
\r
15239 <see cref="F:log4net.Filter.FilterDecision.Neutral"/> or <see cref="F:log4net.Filter.FilterDecision.Accept"/>.
\r
15242 If the value <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned, then the log event is dropped
\r
15243 immediately without consulting with the remaining filters.
\r
15246 If the value <see cref="F:log4net.Filter.FilterDecision.Neutral"/> is returned, then the next filter
\r
15247 in the chain is consulted. If there are no more filters in the
\r
15248 chain, then the log event is logged. Thus, in the presence of no
\r
15249 filters, the default behavior is to log all logging events.
\r
15252 If the value <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned, then the log
\r
15253 event is logged without consulting the remaining filters.
\r
15256 The philosophy of log4net filters is largely inspired from the
\r
15260 <author>Nicko Cadell</author>
\r
15261 <author>Gert Driesen</author>
\r
15263 <member name="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)">
\r
15265 Decide if the logging event should be logged through an appender.
\r
15267 <param name="loggingEvent">The LoggingEvent to decide upon</param>
\r
15268 <returns>The decision of the filter</returns>
\r
15271 If the decision is <see cref="F:log4net.Filter.FilterDecision.Deny"/>, then the event will be
\r
15272 dropped. If the decision is <see cref="F:log4net.Filter.FilterDecision.Neutral"/>, then the next
\r
15273 filter, if any, will be invoked. If the decision is <see cref="F:log4net.Filter.FilterDecision.Accept"/> then
\r
15274 the event will be logged without consulting with other filters in
\r
15279 <member name="P:log4net.Filter.IFilter.Next">
\r
15281 Property to get and set the next filter
\r
15284 The next filter in the chain
\r
15288 Filters are typically composed into chains. This property allows the next filter in
\r
15289 the chain to be accessed.
\r
15293 <member name="F:log4net.Filter.FilterSkeleton.m_next">
\r
15295 Points to the next filter in the filter chain.
\r
15299 See <see cref="P:log4net.Filter.FilterSkeleton.Next"/> for more information.
\r
15303 <member name="M:log4net.Filter.FilterSkeleton.ActivateOptions">
\r
15305 Initialize the filter with the options set
\r
15309 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
15310 activation scheme. The <see cref="M:log4net.Filter.FilterSkeleton.ActivateOptions"/> method must
\r
15311 be called on this object after the configuration properties have
\r
15312 been set. Until <see cref="M:log4net.Filter.FilterSkeleton.ActivateOptions"/> is called this
\r
15313 object is in an undefined state and must not be used.
\r
15316 If any of the configuration properties are modified then
\r
15317 <see cref="M:log4net.Filter.FilterSkeleton.ActivateOptions"/> must be called again.
\r
15320 Typically filter's options become active immediately on set,
\r
15321 however this method must still be called.
\r
15325 <member name="M:log4net.Filter.FilterSkeleton.Decide(log4net.Core.LoggingEvent)">
\r
15327 Decide if the <see cref="T:log4net.Core.LoggingEvent"/> should be logged through an appender.
\r
15329 <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> to decide upon</param>
\r
15330 <returns>The decision of the filter</returns>
\r
15333 If the decision is <see cref="F:log4net.Filter.FilterDecision.Deny"/>, then the event will be
\r
15334 dropped. If the decision is <see cref="F:log4net.Filter.FilterDecision.Neutral"/>, then the next
\r
15335 filter, if any, will be invoked. If the decision is <see cref="F:log4net.Filter.FilterDecision.Accept"/> then
\r
15336 the event will be logged without consulting with other filters in
\r
15340 This method is marked <c>abstract</c> and must be implemented
\r
15345 <member name="P:log4net.Filter.FilterSkeleton.Next">
\r
15347 Property to get and set the next filter
\r
15350 The next filter in the chain
\r
15354 Filters are typically composed into chains. This property allows the next filter in
\r
15355 the chain to be accessed.
\r
15359 <member name="M:log4net.Filter.DenyAllFilter.#ctor">
\r
15361 Default constructor
\r
15364 <member name="M:log4net.Filter.DenyAllFilter.Decide(log4net.Core.LoggingEvent)">
\r
15366 Always returns the integer constant <see cref="F:log4net.Filter.FilterDecision.Deny"/>
\r
15368 <param name="loggingEvent">the LoggingEvent to filter</param>
\r
15369 <returns>Always returns <see cref="F:log4net.Filter.FilterDecision.Deny"/></returns>
\r
15372 Ignores the event being logged and just returns
\r
15373 <see cref="F:log4net.Filter.FilterDecision.Deny"/>. This can be used to change the default filter
\r
15374 chain behavior from <see cref="F:log4net.Filter.FilterDecision.Accept"/> to <see cref="F:log4net.Filter.FilterDecision.Deny"/>. This filter
\r
15375 should only be used as the last filter in the chain
\r
15376 as any further filters will be ignored!
\r
15380 <member name="T:log4net.Filter.FilterDecision">
\r
15382 The return result from <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/>
\r
15386 The return result from <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/>
\r
15390 <member name="F:log4net.Filter.FilterDecision.Deny">
\r
15392 The log event must be dropped immediately without
\r
15393 consulting with the remaining filters, if any, in the chain.
\r
15396 <member name="F:log4net.Filter.FilterDecision.Neutral">
\r
15398 This filter is neutral with respect to the log event.
\r
15399 The remaining filters, if any, should be consulted for a final decision.
\r
15402 <member name="F:log4net.Filter.FilterDecision.Accept">
\r
15404 The log event must be logged immediately without
\r
15405 consulting with the remaining filters, if any, in the chain.
\r
15408 <member name="T:log4net.Filter.LevelMatchFilter">
\r
15410 This is a very simple filter based on <see cref="T:log4net.Core.Level"/> matching.
\r
15414 The filter admits two options <see cref="P:log4net.Filter.LevelMatchFilter.LevelToMatch"/> and
\r
15415 <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/>. If there is an exact match between the value
\r
15416 of the <see cref="P:log4net.Filter.LevelMatchFilter.LevelToMatch"/> option and the <see cref="T:log4net.Core.Level"/> of the
\r
15417 <see cref="T:log4net.Core.LoggingEvent"/>, then the <see cref="M:log4net.Filter.LevelMatchFilter.Decide(log4net.Core.LoggingEvent)"/> method returns <see cref="F:log4net.Filter.FilterDecision.Accept"/> in
\r
15418 case the <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/> option value is set
\r
15419 to <c>true</c>, if it is <c>false</c> then
\r
15420 <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned. If the <see cref="T:log4net.Core.Level"/> does not match then
\r
15421 the result will be <see cref="F:log4net.Filter.FilterDecision.Neutral"/>.
\r
15424 <author>Nicko Cadell</author>
\r
15425 <author>Gert Driesen</author>
\r
15427 <member name="F:log4net.Filter.LevelMatchFilter.m_acceptOnMatch">
\r
15429 flag to indicate if the filter should <see cref="F:log4net.Filter.FilterDecision.Accept"/> on a match
\r
15432 <member name="F:log4net.Filter.LevelMatchFilter.m_levelToMatch">
\r
15434 the <see cref="T:log4net.Core.Level"/> to match against
\r
15437 <member name="M:log4net.Filter.LevelMatchFilter.#ctor">
\r
15439 Default constructor
\r
15442 <member name="M:log4net.Filter.LevelMatchFilter.Decide(log4net.Core.LoggingEvent)">
\r
15444 Tests if the <see cref="T:log4net.Core.Level"/> of the logging event matches that of the filter
\r
15446 <param name="loggingEvent">the event to filter</param>
\r
15447 <returns>see remarks</returns>
\r
15450 If the <see cref="T:log4net.Core.Level"/> of the event matches the level of the
\r
15451 filter then the result of the function depends on the
\r
15452 value of <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/>. If it is true then
\r
15453 the function will return <see cref="F:log4net.Filter.FilterDecision.Accept"/>, it it is false then it
\r
15454 will return <see cref="F:log4net.Filter.FilterDecision.Deny"/>. If the <see cref="T:log4net.Core.Level"/> does not match then
\r
15455 the result will be <see cref="F:log4net.Filter.FilterDecision.Neutral"/>.
\r
15459 <member name="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch">
\r
15461 <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.LevelMatchFilter.LevelToMatch"/>
\r
15465 The <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/> property is a flag that determines
\r
15466 the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
\r
15467 flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the
\r
15468 logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Deny"/> the event.
\r
15471 The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
\r
15475 <member name="P:log4net.Filter.LevelMatchFilter.LevelToMatch">
\r
15477 The <see cref="T:log4net.Core.Level"/> that the filter will match
\r
15481 The level that this filter will attempt to match against the
\r
15482 <see cref="T:log4net.Core.LoggingEvent"/> level. If a match is found then
\r
15483 the result depends on the value of <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/>.
\r
15487 <member name="T:log4net.Filter.LevelRangeFilter">
\r
15489 This is a simple filter based on <see cref="T:log4net.Core.Level"/> matching.
\r
15493 The filter admits three options <see cref="P:log4net.Filter.LevelRangeFilter.LevelMin"/> and <see cref="P:log4net.Filter.LevelRangeFilter.LevelMax"/>
\r
15494 that determine the range of priorities that are matched, and
\r
15495 <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>. If there is a match between the range
\r
15496 of priorities and the <see cref="T:log4net.Core.Level"/> of the <see cref="T:log4net.Core.LoggingEvent"/>, then the
\r
15497 <see cref="M:log4net.Filter.LevelRangeFilter.Decide(log4net.Core.LoggingEvent)"/> method returns <see cref="F:log4net.Filter.FilterDecision.Accept"/> in case the <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>
\r
15498 option value is set to <c>true</c>, if it is <c>false</c>
\r
15499 then <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned. If there is no match, <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
\r
15502 <author>Nicko Cadell</author>
\r
15503 <author>Gert Driesen</author>
\r
15505 <member name="F:log4net.Filter.LevelRangeFilter.m_acceptOnMatch">
\r
15507 Flag to indicate the behavior when matching a <see cref="T:log4net.Core.Level"/>
\r
15510 <member name="F:log4net.Filter.LevelRangeFilter.m_levelMin">
\r
15512 the minimum <see cref="T:log4net.Core.Level"/> value to match
\r
15515 <member name="F:log4net.Filter.LevelRangeFilter.m_levelMax">
\r
15517 the maximum <see cref="T:log4net.Core.Level"/> value to match
\r
15520 <member name="M:log4net.Filter.LevelRangeFilter.#ctor">
\r
15522 Default constructor
\r
15525 <member name="M:log4net.Filter.LevelRangeFilter.Decide(log4net.Core.LoggingEvent)">
\r
15527 Check if the event should be logged.
\r
15529 <param name="loggingEvent">the logging event to check</param>
\r
15530 <returns>see remarks</returns>
\r
15533 If the <see cref="T:log4net.Core.Level"/> of the logging event is outside the range
\r
15534 matched by this filter then <see cref="F:log4net.Filter.FilterDecision.Deny"/>
\r
15535 is returned. If the <see cref="T:log4net.Core.Level"/> is matched then the value of
\r
15536 <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/> is checked. If it is true then
\r
15537 <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned, otherwise
\r
15538 <see cref="F:log4net.Filter.FilterDecision.Neutral"/> is returned.
\r
15542 <member name="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch">
\r
15544 <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.LevelRangeFilter.LevelMin"/> and <see cref="P:log4net.Filter.LevelRangeFilter.LevelMax"/>
\r
15548 The <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/> property is a flag that determines
\r
15549 the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
\r
15550 flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the
\r
15551 logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Neutral"/> the event.
\r
15554 The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
\r
15558 <member name="P:log4net.Filter.LevelRangeFilter.LevelMin">
\r
15560 Set the minimum matched <see cref="T:log4net.Core.Level"/>
\r
15564 The minimum level that this filter will attempt to match against the
\r
15565 <see cref="T:log4net.Core.LoggingEvent"/> level. If a match is found then
\r
15566 the result depends on the value of <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>.
\r
15570 <member name="P:log4net.Filter.LevelRangeFilter.LevelMax">
\r
15572 Sets the maximum matched <see cref="T:log4net.Core.Level"/>
\r
15576 The maximum level that this filter will attempt to match against the
\r
15577 <see cref="T:log4net.Core.LoggingEvent"/> level. If a match is found then
\r
15578 the result depends on the value of <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>.
\r
15582 <member name="T:log4net.Filter.LoggerMatchFilter">
\r
15584 Simple filter to match a string in the event's logger name.
\r
15588 The works very similar to the <see cref="T:log4net.Filter.LevelMatchFilter"/>. It admits two
\r
15589 options <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/> and <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/>. If the
\r
15590 <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> of the <see cref="T:log4net.Core.LoggingEvent"/> starts
\r
15591 with the value of the <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/> option, then the
\r
15592 <see cref="M:log4net.Filter.LoggerMatchFilter.Decide(log4net.Core.LoggingEvent)"/> method returns <see cref="F:log4net.Filter.FilterDecision.Accept"/> in
\r
15593 case the <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/> option value is set to <c>true</c>,
\r
15594 if it is <c>false</c> then <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
\r
15597 <author>Daniel Cazzulino</author>
\r
15599 <member name="F:log4net.Filter.LoggerMatchFilter.m_acceptOnMatch">
\r
15601 Flag to indicate the behavior when we have a match
\r
15604 <member name="F:log4net.Filter.LoggerMatchFilter.m_loggerToMatch">
\r
15606 The logger name string to substring match against the event
\r
15609 <member name="M:log4net.Filter.LoggerMatchFilter.#ctor">
\r
15611 Default constructor
\r
15614 <member name="M:log4net.Filter.LoggerMatchFilter.Decide(log4net.Core.LoggingEvent)">
\r
15616 Check if this filter should allow the event to be logged
\r
15618 <param name="loggingEvent">the event being logged</param>
\r
15619 <returns>see remarks</returns>
\r
15622 The rendered message is matched against the <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/>.
\r
15623 If the <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/> equals the beginning of
\r
15624 the incoming <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> (<see cref="M:System.String.StartsWith(System.String)"/>)
\r
15625 then a match will have occurred. If no match occurs
\r
15626 this function will return <see cref="F:log4net.Filter.FilterDecision.Neutral"/>
\r
15627 allowing other filters to check the event. If a match occurs then
\r
15628 the value of <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/> is checked. If it is
\r
15629 true then <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned otherwise
\r
15630 <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
\r
15634 <member name="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch">
\r
15636 <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/>
\r
15640 The <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/> property is a flag that determines
\r
15641 the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
\r
15642 flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the
\r
15643 logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Deny"/> the event.
\r
15646 The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
\r
15650 <member name="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch">
\r
15652 The <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> that the filter will match
\r
15656 This filter will attempt to match this value against logger name in
\r
15657 the following way. The match will be done against the beginning of the
\r
15658 logger name (using <see cref="M:System.String.StartsWith(System.String)"/>). The match is
\r
15659 case sensitive. If a match is found then
\r
15660 the result depends on the value of <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/>.
\r
15664 <member name="T:log4net.Filter.MdcFilter">
\r
15666 Simple filter to match a keyed string in the <see cref="T:log4net.MDC"/>
\r
15670 Simple filter to match a keyed string in the <see cref="T:log4net.MDC"/>
\r
15673 As the MDC has been replaced with layered properties the
\r
15674 <see cref="T:log4net.Filter.PropertyFilter"/> should be used instead.
\r
15677 <author>Nicko Cadell</author>
\r
15678 <author>Gert Driesen</author>
\r
15680 <member name="T:log4net.Filter.PropertyFilter">
\r
15682 Simple filter to match a string an event property
\r
15686 Simple filter to match a string in the value for a
\r
15687 specific event property
\r
15690 <author>Nicko Cadell</author>
\r
15692 <member name="T:log4net.Filter.StringMatchFilter">
\r
15694 Simple filter to match a string in the rendered message
\r
15698 Simple filter to match a string in the rendered message
\r
15701 <author>Nicko Cadell</author>
\r
15702 <author>Gert Driesen</author>
\r
15704 <member name="F:log4net.Filter.StringMatchFilter.m_acceptOnMatch">
\r
15706 Flag to indicate the behavior when we have a match
\r
15709 <member name="F:log4net.Filter.StringMatchFilter.m_stringToMatch">
\r
15711 The string to substring match against the message
\r
15714 <member name="F:log4net.Filter.StringMatchFilter.m_stringRegexToMatch">
\r
15716 A string regex to match
\r
15719 <member name="F:log4net.Filter.StringMatchFilter.m_regexToMatch">
\r
15721 A regex object to match (generated from m_stringRegexToMatch)
\r
15724 <member name="M:log4net.Filter.StringMatchFilter.#ctor">
\r
15726 Default constructor
\r
15729 <member name="M:log4net.Filter.StringMatchFilter.ActivateOptions">
\r
15731 Initialize and precompile the Regex if required
\r
15735 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
15736 activation scheme. The <see cref="M:log4net.Filter.StringMatchFilter.ActivateOptions"/> method must
\r
15737 be called on this object after the configuration properties have
\r
15738 been set. Until <see cref="M:log4net.Filter.StringMatchFilter.ActivateOptions"/> is called this
\r
15739 object is in an undefined state and must not be used.
\r
15742 If any of the configuration properties are modified then
\r
15743 <see cref="M:log4net.Filter.StringMatchFilter.ActivateOptions"/> must be called again.
\r
15747 <member name="M:log4net.Filter.StringMatchFilter.Decide(log4net.Core.LoggingEvent)">
\r
15749 Check if this filter should allow the event to be logged
\r
15751 <param name="loggingEvent">the event being logged</param>
\r
15752 <returns>see remarks</returns>
\r
15755 The rendered message is matched against the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/>.
\r
15756 If the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> occurs as a substring within
\r
15757 the message then a match will have occurred. If no match occurs
\r
15758 this function will return <see cref="F:log4net.Filter.FilterDecision.Neutral"/>
\r
15759 allowing other filters to check the event. If a match occurs then
\r
15760 the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/> is checked. If it is
\r
15761 true then <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned otherwise
\r
15762 <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
\r
15766 <member name="P:log4net.Filter.StringMatchFilter.AcceptOnMatch">
\r
15768 <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> or <see cref="P:log4net.Filter.StringMatchFilter.RegexToMatch"/>
\r
15772 The <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/> property is a flag that determines
\r
15773 the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
\r
15774 flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the
\r
15775 logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Neutral"/> the event.
\r
15778 The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
\r
15782 <member name="P:log4net.Filter.StringMatchFilter.StringToMatch">
\r
15784 Sets the static string to match
\r
15788 The string that will be substring matched against
\r
15789 the rendered message. If the message contains this
\r
15790 string then the filter will match. If a match is found then
\r
15791 the result depends on the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/>.
\r
15794 One of <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> or <see cref="P:log4net.Filter.StringMatchFilter.RegexToMatch"/>
\r
15795 must be specified.
\r
15799 <member name="P:log4net.Filter.StringMatchFilter.RegexToMatch">
\r
15801 Sets the regular expression to match
\r
15805 The regular expression pattern that will be matched against
\r
15806 the rendered message. If the message matches this
\r
15807 pattern then the filter will match. If a match is found then
\r
15808 the result depends on the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/>.
\r
15811 One of <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> or <see cref="P:log4net.Filter.StringMatchFilter.RegexToMatch"/>
\r
15812 must be specified.
\r
15816 <member name="F:log4net.Filter.PropertyFilter.m_key">
\r
15818 The key to use to lookup the string from the event properties
\r
15821 <member name="M:log4net.Filter.PropertyFilter.#ctor">
\r
15823 Default constructor
\r
15826 <member name="M:log4net.Filter.PropertyFilter.Decide(log4net.Core.LoggingEvent)">
\r
15828 Check if this filter should allow the event to be logged
\r
15830 <param name="loggingEvent">the event being logged</param>
\r
15831 <returns>see remarks</returns>
\r
15834 The event property for the <see cref="P:log4net.Filter.PropertyFilter.Key"/> is matched against
\r
15835 the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/>.
\r
15836 If the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> occurs as a substring within
\r
15837 the property value then a match will have occurred. If no match occurs
\r
15838 this function will return <see cref="F:log4net.Filter.FilterDecision.Neutral"/>
\r
15839 allowing other filters to check the event. If a match occurs then
\r
15840 the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/> is checked. If it is
\r
15841 true then <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned otherwise
\r
15842 <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
\r
15846 <member name="P:log4net.Filter.PropertyFilter.Key">
\r
15848 The key to lookup in the event properties and then match against.
\r
15852 The key name to use to lookup in the properties map of the
\r
15853 <see cref="T:log4net.Core.LoggingEvent"/>. The match will be performed against
\r
15854 the value of this property if it exists.
\r
15858 <member name="T:log4net.Filter.NdcFilter">
\r
15860 Simple filter to match a string in the <see cref="T:log4net.NDC"/>
\r
15864 Simple filter to match a string in the <see cref="T:log4net.NDC"/>
\r
15867 As the MDC has been replaced with named stacks stored in the
\r
15868 properties collections the <see cref="T:log4net.Filter.PropertyFilter"/> should
\r
15872 <author>Nicko Cadell</author>
\r
15873 <author>Gert Driesen</author>
\r
15875 <member name="M:log4net.Filter.NdcFilter.#ctor">
\r
15877 Default constructor
\r
15881 Sets the <see cref="P:log4net.Filter.PropertyFilter.Key"/> to <c>"NDC"</c>.
\r
15885 <member name="T:log4net.Layout.Pattern.AppDomainPatternConverter">
\r
15887 Write the event appdomain name to the output
\r
15891 Writes the <see cref="P:log4net.Core.LoggingEvent.Domain"/> to the output writer.
\r
15894 <author>Daniel Cazzulino</author>
\r
15895 <author>Nicko Cadell</author>
\r
15897 <member name="T:log4net.Layout.Pattern.PatternLayoutConverter">
\r
15899 Abstract class that provides the formatting functionality that
\r
15900 derived classes need.
\r
15903 Conversion specifiers in a conversion patterns are parsed to
\r
15904 individual PatternConverters. Each of which is responsible for
\r
15905 converting a logging event in a converter specific manner.
\r
15907 <author>Nicko Cadell</author>
\r
15909 <member name="T:log4net.Util.PatternConverter">
\r
15911 Abstract class that provides the formatting functionality that
\r
15912 derived classes need.
\r
15916 Conversion specifiers in a conversion patterns are parsed to
\r
15917 individual PatternConverters. Each of which is responsible for
\r
15918 converting a logging event in a converter specific manner.
\r
15921 <author>Nicko Cadell</author>
\r
15922 <author>Gert Driesen</author>
\r
15924 <member name="F:log4net.Util.PatternConverter.c_renderBufferSize">
\r
15926 Initial buffer size
\r
15929 <member name="F:log4net.Util.PatternConverter.c_renderBufferMaxCapacity">
\r
15931 Maximum buffer size before it is recycled
\r
15934 <member name="M:log4net.Util.PatternConverter.#ctor">
\r
15936 Protected constructor
\r
15940 Initializes a new instance of the <see cref="T:log4net.Util.PatternConverter"/> class.
\r
15944 <member name="M:log4net.Util.PatternConverter.Convert(System.IO.TextWriter,System.Object)">
\r
15946 Evaluate this pattern converter and write the output to a writer.
\r
15948 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
15949 <param name="state">The state object on which the pattern converter should be executed.</param>
\r
15952 Derived pattern converters must override this method in order to
\r
15953 convert conversion specifiers in the appropriate way.
\r
15957 <member name="M:log4net.Util.PatternConverter.SetNext(log4net.Util.PatternConverter)">
\r
15959 Set the next pattern converter in the chains
\r
15961 <param name="patternConverter">the pattern converter that should follow this converter in the chain</param>
\r
15962 <returns>the next converter</returns>
\r
15965 The PatternConverter can merge with its neighbor during this method (or a sub class).
\r
15966 Therefore the return value may or may not be the value of the argument passed in.
\r
15970 <member name="M:log4net.Util.PatternConverter.Format(System.IO.TextWriter,System.Object)">
\r
15972 Write the pattern converter to the writer with appropriate formatting
\r
15974 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
15975 <param name="state">The state object on which the pattern converter should be executed.</param>
\r
15978 This method calls <see cref="M:log4net.Util.PatternConverter.Convert(System.IO.TextWriter,System.Object)"/> to allow the subclass to perform
\r
15979 appropriate conversion of the pattern converter. If formatting options have
\r
15980 been specified via the <see cref="P:log4net.Util.PatternConverter.FormattingInfo"/> then this method will
\r
15981 apply those formattings before writing the output.
\r
15985 <member name="M:log4net.Util.PatternConverter.SpacePad(System.IO.TextWriter,System.Int32)">
\r
15987 Fast space padding method.
\r
15989 <param name="writer"><see cref="T:System.IO.TextWriter"/> to which the spaces will be appended.</param>
\r
15990 <param name="length">The number of spaces to be padded.</param>
\r
15993 Fast space padding method.
\r
15997 <member name="F:log4net.Util.PatternConverter.m_option">
\r
15999 The option string to the converter
\r
16002 <member name="M:log4net.Util.PatternConverter.WriteDictionary(System.IO.TextWriter,log4net.Repository.ILoggerRepository,System.Collections.IDictionary)">
\r
16004 Write an dictionary to a <see cref="T:System.IO.TextWriter"/>
\r
16006 <param name="writer">the writer to write to</param>
\r
16007 <param name="repository">a <see cref="T:log4net.Repository.ILoggerRepository"/> to use for object conversion</param>
\r
16008 <param name="value">the value to write to the writer</param>
\r
16011 Writes the <see cref="T:System.Collections.IDictionary"/> to a writer in the form:
\r
16014 {key1=value1, key2=value2, key3=value3}
\r
16017 If the <see cref="T:log4net.Repository.ILoggerRepository"/> specified
\r
16018 is not null then it is used to render the key and value to text, otherwise
\r
16019 the object's ToString method is called.
\r
16023 <member name="M:log4net.Util.PatternConverter.WriteObject(System.IO.TextWriter,log4net.Repository.ILoggerRepository,System.Object)">
\r
16025 Write an object to a <see cref="T:System.IO.TextWriter"/>
\r
16027 <param name="writer">the writer to write to</param>
\r
16028 <param name="repository">a <see cref="T:log4net.Repository.ILoggerRepository"/> to use for object conversion</param>
\r
16029 <param name="value">the value to write to the writer</param>
\r
16032 Writes the Object to a writer. If the <see cref="T:log4net.Repository.ILoggerRepository"/> specified
\r
16033 is not null then it is used to render the object to text, otherwise
\r
16034 the object's ToString method is called.
\r
16038 <member name="P:log4net.Util.PatternConverter.Next">
\r
16040 Get the next pattern converter in the chain
\r
16043 the next pattern converter in the chain
\r
16047 Get the next pattern converter in the chain
\r
16051 <member name="P:log4net.Util.PatternConverter.FormattingInfo">
\r
16053 Gets or sets the formatting info for this converter
\r
16056 The formatting info for this converter
\r
16060 Gets or sets the formatting info for this converter
\r
16064 <member name="P:log4net.Util.PatternConverter.Option">
\r
16066 Gets or sets the option value for this converter
\r
16069 The option for this converter
\r
16073 Gets or sets the option value for this converter
\r
16077 <member name="M:log4net.Layout.Pattern.PatternLayoutConverter.#ctor">
\r
16079 Initializes a new instance of the <see cref="T:log4net.Layout.Pattern.PatternLayoutConverter"/> class.
\r
16082 <member name="M:log4net.Layout.Pattern.PatternLayoutConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16084 Derived pattern converters must override this method in order to
\r
16085 convert conversion specifiers in the correct way.
\r
16087 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16088 <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> on which the pattern converter should be executed.</param>
\r
16090 <member name="M:log4net.Layout.Pattern.PatternLayoutConverter.Convert(System.IO.TextWriter,System.Object)">
\r
16092 Derived pattern converters must override this method in order to
\r
16093 convert conversion specifiers in the correct way.
\r
16095 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16096 <param name="state">The state object on which the pattern converter should be executed.</param>
\r
16098 <member name="F:log4net.Layout.Pattern.PatternLayoutConverter.m_ignoresException">
\r
16100 Flag indicating if this converter handles exceptions
\r
16103 <c>false</c> if this converter handles exceptions
\r
16106 <member name="P:log4net.Layout.Pattern.PatternLayoutConverter.IgnoresException">
\r
16108 Flag indicating if this converter handles the logging event exception
\r
16110 <value><c>false</c> if this converter handles the logging event exception</value>
\r
16113 If this converter handles the exception object contained within
\r
16114 <see cref="T:log4net.Core.LoggingEvent"/>, then this property should be set to
\r
16115 <c>false</c>. Otherwise, if the layout ignores the exception
\r
16116 object, then the property should be set to <c>true</c>.
\r
16119 Set this value to override a this default setting. The default
\r
16120 value is <c>true</c>, this converter does not handle the exception.
\r
16124 <member name="M:log4net.Layout.Pattern.AppDomainPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16126 Write the event appdomain name to the output
\r
16128 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16129 <param name="loggingEvent">the event being logged</param>
\r
16132 Writes the <see cref="P:log4net.Core.LoggingEvent.Domain"/> to the output <paramref name="writer"/>.
\r
16136 <member name="T:log4net.Layout.Pattern.DatePatternConverter">
\r
16138 Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format
\r
16139 the date of a <see cref="T:log4net.Core.LoggingEvent"/>.
\r
16143 Render the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> to the writer as a string.
\r
16146 The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines
\r
16147 the formatting of the date. The following values are allowed:
\r
16148 <list type="definition">
\r
16150 <term>Option value</term>
\r
16151 <description>Output</description>
\r
16154 <term>ISO8601</term>
\r
16156 Uses the <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/> formatter.
\r
16157 Formats using the <c>"yyyy-MM-dd HH:mm:ss,fff"</c> pattern.
\r
16161 <term>DATE</term>
\r
16163 Uses the <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> formatter.
\r
16164 Formats using the <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example, <c>"06 Nov 1994 15:49:37,459"</c>.
\r
16168 <term>ABSOLUTE</term>
\r
16170 Uses the <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/> formatter.
\r
16171 Formats using the <c>"HH:mm:ss,yyyy"</c> for example, <c>"15:49:37,459"</c>.
\r
16175 <term>other</term>
\r
16177 Any other pattern string uses the <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/> formatter.
\r
16178 This formatter passes the pattern string to the <see cref="T:System.DateTime"/>
\r
16179 <see cref="M:System.DateTime.ToString(System.String)"/> method.
\r
16180 For details on valid patterns see
\r
16181 <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.asp">DateTimeFormatInfo Class</a>.
\r
16187 The <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> is in the local time zone and is rendered in that zone.
\r
16188 To output the time in Universal time see <see cref="T:log4net.Layout.Pattern.UtcDatePatternConverter"/>.
\r
16191 <author>Nicko Cadell</author>
\r
16193 <member name="F:log4net.Layout.Pattern.DatePatternConverter.m_dateFormatter">
\r
16195 The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
\r
16199 The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
\r
16203 <member name="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions">
\r
16205 Initialize the converter pattern based on the <see cref="P:log4net.Util.PatternConverter.Option"/> property.
\r
16209 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
16210 activation scheme. The <see cref="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions"/> method must
\r
16211 be called on this object after the configuration properties have
\r
16212 been set. Until <see cref="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions"/> is called this
\r
16213 object is in an undefined state and must not be used.
\r
16216 If any of the configuration properties are modified then
\r
16217 <see cref="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions"/> must be called again.
\r
16221 <member name="M:log4net.Layout.Pattern.DatePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16223 Convert the pattern into the rendered message
\r
16225 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16226 <param name="loggingEvent">the event being logged</param>
\r
16229 Pass the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
\r
16230 for it to render it to the writer.
\r
16233 The <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> passed is in the local time zone.
\r
16237 <member name="T:log4net.Layout.Pattern.ExceptionPatternConverter">
\r
16239 Write the exception text to the output
\r
16243 If an exception object is stored in the logging event
\r
16244 it will be rendered into the pattern output with a
\r
16245 trailing newline.
\r
16248 If there is no exception then nothing will be output
\r
16249 and no trailing newline will be appended.
\r
16250 It is typical to put a newline before the exception
\r
16251 and to have the exception as the last data in the pattern.
\r
16254 <author>Nicko Cadell</author>
\r
16256 <member name="M:log4net.Layout.Pattern.ExceptionPatternConverter.#ctor">
\r
16258 Default constructor
\r
16261 <member name="M:log4net.Layout.Pattern.ExceptionPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16263 Write the exception text to the output
\r
16265 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16266 <param name="loggingEvent">the event being logged</param>
\r
16269 If an exception object is stored in the logging event
\r
16270 it will be rendered into the pattern output with a
\r
16271 trailing newline.
\r
16274 If there is no exception then nothing will be output
\r
16275 and no trailing newline will be appended.
\r
16276 It is typical to put a newline before the exception
\r
16277 and to have the exception as the last data in the pattern.
\r
16281 <member name="T:log4net.Layout.Pattern.FileLocationPatternConverter">
\r
16283 Writes the caller location file name to the output
\r
16287 Writes the value of the <see cref="P:log4net.Core.LocationInfo.FileName"/> for
\r
16288 the event to the output writer.
\r
16291 <author>Nicko Cadell</author>
\r
16293 <member name="M:log4net.Layout.Pattern.FileLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16295 Write the caller location file name to the output
\r
16297 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16298 <param name="loggingEvent">the event being logged</param>
\r
16301 Writes the value of the <see cref="P:log4net.Core.LocationInfo.FileName"/> for
\r
16302 the <paramref name="loggingEvent"/> to the output <paramref name="writer"/>.
\r
16306 <member name="T:log4net.Layout.Pattern.FullLocationPatternConverter">
\r
16308 Write the caller location info to the output
\r
16312 Writes the <see cref="P:log4net.Core.LocationInfo.FullInfo"/> to the output writer.
\r
16315 <author>Nicko Cadell</author>
\r
16317 <member name="M:log4net.Layout.Pattern.FullLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16319 Write the caller location info to the output
\r
16321 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16322 <param name="loggingEvent">the event being logged</param>
\r
16325 Writes the <see cref="P:log4net.Core.LocationInfo.FullInfo"/> to the output writer.
\r
16329 <member name="T:log4net.Layout.Pattern.IdentityPatternConverter">
\r
16331 Writes the event identity to the output
\r
16335 Writes the value of the <see cref="P:log4net.Core.LoggingEvent.Identity"/> to
\r
16336 the output writer.
\r
16339 <author>Daniel Cazzulino</author>
\r
16340 <author>Nicko Cadell</author>
\r
16342 <member name="M:log4net.Layout.Pattern.IdentityPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16344 Writes the event identity to the output
\r
16346 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16347 <param name="loggingEvent">the event being logged</param>
\r
16350 Writes the value of the <paramref name="loggingEvent"/>
\r
16351 <see cref="P:log4net.Core.LoggingEvent.Identity"/> to
\r
16352 the output <paramref name="writer"/>.
\r
16356 <member name="T:log4net.Layout.Pattern.LevelPatternConverter">
\r
16358 Write the event level to the output
\r
16362 Writes the display name of the event <see cref="P:log4net.Core.LoggingEvent.Level"/>
\r
16366 <author>Nicko Cadell</author>
\r
16368 <member name="M:log4net.Layout.Pattern.LevelPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16370 Write the event level to the output
\r
16372 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16373 <param name="loggingEvent">the event being logged</param>
\r
16376 Writes the <see cref="P:log4net.Core.Level.DisplayName"/> of the <paramref name="loggingEvent"/> <see cref="P:log4net.Core.LoggingEvent.Level"/>
\r
16377 to the <paramref name="writer"/>.
\r
16381 <member name="T:log4net.Layout.Pattern.LineLocationPatternConverter">
\r
16383 Write the caller location line number to the output
\r
16387 Writes the value of the <see cref="P:log4net.Core.LocationInfo.LineNumber"/> for
\r
16388 the event to the output writer.
\r
16391 <author>Nicko Cadell</author>
\r
16393 <member name="M:log4net.Layout.Pattern.LineLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16395 Write the caller location line number to the output
\r
16397 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16398 <param name="loggingEvent">the event being logged</param>
\r
16401 Writes the value of the <see cref="P:log4net.Core.LocationInfo.LineNumber"/> for
\r
16402 the <paramref name="loggingEvent"/> to the output <paramref name="writer"/>.
\r
16406 <member name="T:log4net.Layout.Pattern.LoggerPatternConverter">
\r
16408 Converter for logger name
\r
16412 Outputs the <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> of the event.
\r
16415 <author>Nicko Cadell</author>
\r
16417 <member name="T:log4net.Layout.Pattern.NamedPatternConverter">
\r
16419 Converter to output and truncate <c>'.'</c> separated strings
\r
16423 This abstract class supports truncating a <c>'.'</c> separated string
\r
16424 to show a specified number of elements from the right hand side.
\r
16425 This is used to truncate class names that are fully qualified.
\r
16428 Subclasses should override the <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)"/> method to
\r
16429 return the fully qualified string.
\r
16432 <author>Nicko Cadell</author>
\r
16434 <member name="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions">
\r
16436 Initialize the converter
\r
16440 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
16441 activation scheme. The <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions"/> method must
\r
16442 be called on this object after the configuration properties have
\r
16443 been set. Until <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions"/> is called this
\r
16444 object is in an undefined state and must not be used.
\r
16447 If any of the configuration properties are modified then
\r
16448 <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions"/> must be called again.
\r
16452 <member name="M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)">
\r
16454 Get the fully qualified string data
\r
16456 <param name="loggingEvent">the event being logged</param>
\r
16457 <returns>the fully qualified name</returns>
\r
16460 Overridden by subclasses to get the fully qualified name before the
\r
16461 precision is applied to it.
\r
16464 Return the fully qualified <c>'.'</c> (dot/period) separated string.
\r
16468 <member name="M:log4net.Layout.Pattern.NamedPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16470 Convert the pattern to the rendered message
\r
16472 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16473 <param name="loggingEvent">the event being logged</param>
\r
16475 Render the <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)"/> to the precision
\r
16476 specified by the <see cref="P:log4net.Util.PatternConverter.Option"/> property.
\r
16479 <member name="M:log4net.Layout.Pattern.LoggerPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)">
\r
16481 Gets the fully qualified name of the logger
\r
16483 <param name="loggingEvent">the event being logged</param>
\r
16484 <returns>The fully qualified logger name</returns>
\r
16487 Returns the <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> of the <paramref name="loggingEvent"/>.
\r
16491 <member name="T:log4net.Layout.Pattern.MessagePatternConverter">
\r
16493 Writes the event message to the output
\r
16497 Uses the <see cref="M:log4net.Core.LoggingEvent.WriteRenderedMessage(System.IO.TextWriter)"/> method
\r
16498 to write out the event message.
\r
16501 <author>Nicko Cadell</author>
\r
16503 <member name="M:log4net.Layout.Pattern.MessagePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16505 Writes the event message to the output
\r
16507 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16508 <param name="loggingEvent">the event being logged</param>
\r
16511 Uses the <see cref="M:log4net.Core.LoggingEvent.WriteRenderedMessage(System.IO.TextWriter)"/> method
\r
16512 to write out the event message.
\r
16516 <member name="T:log4net.Layout.Pattern.MethodLocationPatternConverter">
\r
16518 Write the method name to the output
\r
16522 Writes the caller location <see cref="P:log4net.Core.LocationInfo.MethodName"/> to
\r
16526 <author>Nicko Cadell</author>
\r
16528 <member name="M:log4net.Layout.Pattern.MethodLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16530 Write the method name to the output
\r
16532 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16533 <param name="loggingEvent">the event being logged</param>
\r
16536 Writes the caller location <see cref="P:log4net.Core.LocationInfo.MethodName"/> to
\r
16541 <member name="T:log4net.Layout.Pattern.NdcPatternConverter">
\r
16543 Converter to include event NDC
\r
16547 Outputs the value of the event property named <c>NDC</c>.
\r
16550 The <see cref="T:log4net.Layout.Pattern.PropertyPatternConverter"/> should be used instead.
\r
16553 <author>Nicko Cadell</author>
\r
16555 <member name="M:log4net.Layout.Pattern.NdcPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16557 Write the event NDC to the output
\r
16559 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16560 <param name="loggingEvent">the event being logged</param>
\r
16563 As the thread context stacks are now stored in named event properties
\r
16564 this converter simply looks up the value of the <c>NDC</c> property.
\r
16567 The <see cref="T:log4net.Layout.Pattern.PropertyPatternConverter"/> should be used instead.
\r
16571 <member name="T:log4net.Layout.Pattern.PropertyPatternConverter">
\r
16573 Property pattern converter
\r
16577 Writes out the value of a named property. The property name
\r
16578 should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
\r
16582 If the <see cref="P:log4net.Util.PatternConverter.Option"/> is set to <c>null</c>
\r
16583 then all the properties are written as key value pairs.
\r
16586 <author>Nicko Cadell</author>
\r
16588 <member name="M:log4net.Layout.Pattern.PropertyPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16590 Write the property value to the output
\r
16592 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16593 <param name="loggingEvent">the event being logged</param>
\r
16596 Writes out the value of a named property. The property name
\r
16597 should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
\r
16601 If the <see cref="P:log4net.Util.PatternConverter.Option"/> is set to <c>null</c>
\r
16602 then all the properties are written as key value pairs.
\r
16606 <member name="T:log4net.Layout.Pattern.RelativeTimePatternConverter">
\r
16608 Converter to output the relative time of the event
\r
16612 Converter to output the time of the event relative to the start of the program.
\r
16615 <author>Nicko Cadell</author>
\r
16617 <member name="M:log4net.Layout.Pattern.RelativeTimePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16619 Write the relative time to the output
\r
16621 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16622 <param name="loggingEvent">the event being logged</param>
\r
16625 Writes out the relative time of the event in milliseconds.
\r
16626 That is the number of milliseconds between the event <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/>
\r
16627 and the <see cref="P:log4net.Core.LoggingEvent.StartTime"/>.
\r
16631 <member name="M:log4net.Layout.Pattern.RelativeTimePatternConverter.TimeDifferenceInMillis(System.DateTime,System.DateTime)">
\r
16633 Helper method to get the time difference between two DateTime objects
\r
16635 <param name="start">start time (in the current local time zone)</param>
\r
16636 <param name="end">end time (in the current local time zone)</param>
\r
16637 <returns>the time difference in milliseconds</returns>
\r
16639 <member name="T:log4net.Layout.Pattern.ThreadPatternConverter">
\r
16641 Converter to include event thread name
\r
16645 Writes the <see cref="P:log4net.Core.LoggingEvent.ThreadName"/> to the output.
\r
16648 <author>Nicko Cadell</author>
\r
16650 <member name="M:log4net.Layout.Pattern.ThreadPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16652 Write the ThreadName to the output
\r
16654 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16655 <param name="loggingEvent">the event being logged</param>
\r
16658 Writes the <see cref="P:log4net.Core.LoggingEvent.ThreadName"/> to the <paramref name="writer"/>.
\r
16662 <member name="T:log4net.Layout.Pattern.TypeNamePatternConverter">
\r
16664 Pattern converter for the class name
\r
16668 Outputs the <see cref="P:log4net.Core.LocationInfo.ClassName"/> of the event.
\r
16671 <author>Nicko Cadell</author>
\r
16673 <member name="M:log4net.Layout.Pattern.TypeNamePatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)">
\r
16675 Gets the fully qualified name of the class
\r
16677 <param name="loggingEvent">the event being logged</param>
\r
16678 <returns>The fully qualified type name for the caller location</returns>
\r
16681 Returns the <see cref="P:log4net.Core.LocationInfo.ClassName"/> of the <paramref name="loggingEvent"/>.
\r
16685 <member name="T:log4net.Layout.Pattern.UserNamePatternConverter">
\r
16687 Converter to include event user name
\r
16689 <author>Douglas de la Torre</author>
\r
16690 <author>Nicko Cadell</author>
\r
16692 <member name="M:log4net.Layout.Pattern.UserNamePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16694 Convert the pattern to the rendered message
\r
16696 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16697 <param name="loggingEvent">the event being logged</param>
\r
16699 <member name="T:log4net.Layout.Pattern.UtcDatePatternConverter">
\r
16701 Write the TimeStamp to the output
\r
16705 Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format
\r
16706 the date of a <see cref="T:log4net.Core.LoggingEvent"/>.
\r
16709 Uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/>
\r
16710 in Universal time.
\r
16713 See the <see cref="T:log4net.Layout.Pattern.DatePatternConverter"/> for details on the date pattern syntax.
\r
16716 <seealso cref="T:log4net.Layout.Pattern.DatePatternConverter"/>
\r
16717 <author>Nicko Cadell</author>
\r
16719 <member name="M:log4net.Layout.Pattern.UtcDatePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16721 Write the TimeStamp to the output
\r
16723 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
16724 <param name="loggingEvent">the event being logged</param>
\r
16727 Pass the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
\r
16728 for it to render it to the writer.
\r
16731 The <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> passed is in the local time zone, this is converted
\r
16732 to Universal time before it is rendered.
\r
16735 <seealso cref="T:log4net.Layout.Pattern.DatePatternConverter"/>
\r
16737 <member name="T:log4net.Layout.ExceptionLayout">
\r
16739 A Layout that renders only the Exception text from the logging event
\r
16743 A Layout that renders only the Exception text from the logging event.
\r
16746 This Layout should only be used with appenders that utilize multiple
\r
16747 layouts (e.g. <see cref="T:log4net.Appender.AdoNetAppender"/>).
\r
16750 <author>Nicko Cadell</author>
\r
16751 <author>Gert Driesen</author>
\r
16753 <member name="T:log4net.Layout.LayoutSkeleton">
\r
16755 Extend this abstract class to create your own log layout format.
\r
16759 This is the base implementation of the <see cref="T:log4net.Layout.ILayout"/>
\r
16760 interface. Most layout objects should extend this class.
\r
16764 <note type="inheritinfo">
\r
16766 Subclasses must implement the <see cref="M:log4net.Layout.LayoutSkeleton.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)"/>
\r
16770 Subclasses should set the <see cref="P:log4net.Layout.LayoutSkeleton.IgnoresException"/> in their default
\r
16775 <author>Nicko Cadell</author>
\r
16776 <author>Gert Driesen</author>
\r
16778 <member name="T:log4net.Layout.ILayout">
\r
16780 Interface implemented by layout objects
\r
16784 An <see cref="T:log4net.Layout.ILayout"/> object is used to format a <see cref="T:log4net.Core.LoggingEvent"/>
\r
16785 as text. The <see cref="M:log4net.Layout.ILayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)"/> method is called by an
\r
16786 appender to transform the <see cref="T:log4net.Core.LoggingEvent"/> into a string.
\r
16789 The layout can also supply <see cref="P:log4net.Layout.ILayout.Header"/> and <see cref="P:log4net.Layout.ILayout.Footer"/>
\r
16790 text that is appender before any events and after all the events respectively.
\r
16793 <author>Nicko Cadell</author>
\r
16794 <author>Gert Driesen</author>
\r
16796 <member name="M:log4net.Layout.ILayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16798 Implement this method to create your own layout format.
\r
16800 <param name="writer">The TextWriter to write the formatted event to</param>
\r
16801 <param name="loggingEvent">The event to format</param>
\r
16804 This method is called by an appender to format
\r
16805 the <paramref name="loggingEvent"/> as text and output to a writer.
\r
16808 If the caller does not have a <see cref="T:System.IO.TextWriter"/> and prefers the
\r
16809 event to be formatted as a <see cref="T:System.String"/> then the following
\r
16810 code can be used to format the event into a <see cref="T:System.IO.StringWriter"/>.
\r
16813 StringWriter writer = new StringWriter();
\r
16814 Layout.Format(writer, loggingEvent);
\r
16815 string formattedEvent = writer.ToString();
\r
16819 <member name="P:log4net.Layout.ILayout.ContentType">
\r
16821 The content type output by this layout.
\r
16823 <value>The content type</value>
\r
16826 The content type output by this layout.
\r
16829 This is a MIME type e.g. <c>"text/plain"</c>.
\r
16833 <member name="P:log4net.Layout.ILayout.Header">
\r
16835 The header for the layout format.
\r
16837 <value>the layout header</value>
\r
16840 The Header text will be appended before any logging events
\r
16841 are formatted and appended.
\r
16845 <member name="P:log4net.Layout.ILayout.Footer">
\r
16847 The footer for the layout format.
\r
16849 <value>the layout footer</value>
\r
16852 The Footer text will be appended after all the logging events
\r
16853 have been formatted and appended.
\r
16857 <member name="P:log4net.Layout.ILayout.IgnoresException">
\r
16859 Flag indicating if this layout handle exceptions
\r
16861 <value><c>false</c> if this layout handles exceptions</value>
\r
16864 If this layout handles the exception object contained within
\r
16865 <see cref="T:log4net.Core.LoggingEvent"/>, then the layout should return
\r
16866 <c>false</c>. Otherwise, if the layout ignores the exception
\r
16867 object, then the layout should return <c>true</c>.
\r
16871 <member name="F:log4net.Layout.LayoutSkeleton.m_header">
\r
16877 See <see cref="P:log4net.Layout.LayoutSkeleton.Header"/> for more information.
\r
16881 <member name="F:log4net.Layout.LayoutSkeleton.m_footer">
\r
16887 See <see cref="P:log4net.Layout.LayoutSkeleton.Footer"/> for more information.
\r
16891 <member name="F:log4net.Layout.LayoutSkeleton.m_ignoresException">
\r
16893 Flag indicating if this layout handles exceptions
\r
16897 <c>false</c> if this layout handles exceptions
\r
16901 <member name="M:log4net.Layout.LayoutSkeleton.#ctor">
\r
16903 Empty default constructor
\r
16907 Empty default constructor
\r
16911 <member name="M:log4net.Layout.LayoutSkeleton.ActivateOptions">
\r
16913 Activate component options
\r
16917 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
16918 activation scheme. The <see cref="M:log4net.Layout.LayoutSkeleton.ActivateOptions"/> method must
\r
16919 be called on this object after the configuration properties have
\r
16920 been set. Until <see cref="M:log4net.Layout.LayoutSkeleton.ActivateOptions"/> is called this
\r
16921 object is in an undefined state and must not be used.
\r
16924 If any of the configuration properties are modified then
\r
16925 <see cref="M:log4net.Layout.LayoutSkeleton.ActivateOptions"/> must be called again.
\r
16928 This method must be implemented by the subclass.
\r
16932 <member name="M:log4net.Layout.LayoutSkeleton.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
16934 Implement this method to create your own layout format.
\r
16936 <param name="writer">The TextWriter to write the formatted event to</param>
\r
16937 <param name="loggingEvent">The event to format</param>
\r
16940 This method is called by an appender to format
\r
16941 the <paramref name="loggingEvent"/> as text.
\r
16945 <member name="P:log4net.Layout.LayoutSkeleton.ContentType">
\r
16947 The content type output by this layout.
\r
16949 <value>The content type is <c>"text/plain"</c></value>
\r
16952 The content type output by this layout.
\r
16955 This base class uses the value <c>"text/plain"</c>.
\r
16956 To change this value a subclass must override this
\r
16961 <member name="P:log4net.Layout.LayoutSkeleton.Header">
\r
16963 The header for the layout format.
\r
16965 <value>the layout header</value>
\r
16968 The Header text will be appended before any logging events
\r
16969 are formatted and appended.
\r
16973 <member name="P:log4net.Layout.LayoutSkeleton.Footer">
\r
16975 The footer for the layout format.
\r
16977 <value>the layout footer</value>
\r
16980 The Footer text will be appended after all the logging events
\r
16981 have been formatted and appended.
\r
16985 <member name="P:log4net.Layout.LayoutSkeleton.IgnoresException">
\r
16987 Flag indicating if this layout handles exceptions
\r
16989 <value><c>false</c> if this layout handles exceptions</value>
\r
16992 If this layout handles the exception object contained within
\r
16993 <see cref="T:log4net.Core.LoggingEvent"/>, then the layout should return
\r
16994 <c>false</c>. Otherwise, if the layout ignores the exception
\r
16995 object, then the layout should return <c>true</c>.
\r
16998 Set this value to override a this default setting. The default
\r
16999 value is <c>true</c>, this layout does not handle the exception.
\r
17003 <member name="M:log4net.Layout.ExceptionLayout.#ctor">
\r
17005 Default constructor
\r
17009 Constructs a ExceptionLayout
\r
17013 <member name="M:log4net.Layout.ExceptionLayout.ActivateOptions">
\r
17015 Activate component options
\r
17019 Part of the <see cref="T:log4net.Core.IOptionHandler"/> component activation
\r
17023 This method does nothing as options become effective immediately.
\r
17027 <member name="M:log4net.Layout.ExceptionLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
17029 Gets the exception text from the logging event
\r
17031 <param name="writer">The TextWriter to write the formatted event to</param>
\r
17032 <param name="loggingEvent">the event being logged</param>
\r
17035 Write the exception string to the <see cref="T:System.IO.TextWriter"/>.
\r
17036 The exception string is retrieved from <see cref="M:log4net.Core.LoggingEvent.GetExceptionString"/>.
\r
17040 <member name="T:log4net.Layout.IRawLayout">
\r
17042 Interface for raw layout objects
\r
17046 Interface used to format a <see cref="T:log4net.Core.LoggingEvent"/>
\r
17050 This interface should not be confused with the
\r
17051 <see cref="T:log4net.Layout.ILayout"/> interface. This interface is used in
\r
17052 only certain specialized situations where a raw object is
\r
17053 required rather than a formatted string. The <see cref="T:log4net.Layout.ILayout"/>
\r
17054 is not generally useful than this interface.
\r
17057 <author>Nicko Cadell</author>
\r
17058 <author>Gert Driesen</author>
\r
17060 <member name="M:log4net.Layout.IRawLayout.Format(log4net.Core.LoggingEvent)">
\r
17062 Implement this method to create your own layout format.
\r
17064 <param name="loggingEvent">The event to format</param>
\r
17065 <returns>returns the formatted event</returns>
\r
17068 Implement this method to create your own layout format.
\r
17072 <member name="T:log4net.Layout.Layout2RawLayoutAdapter">
\r
17074 Adapts any <see cref="T:log4net.Layout.ILayout"/> to a <see cref="T:log4net.Layout.IRawLayout"/>
\r
17078 Where an <see cref="T:log4net.Layout.IRawLayout"/> is required this adapter
\r
17079 allows a <see cref="T:log4net.Layout.ILayout"/> to be specified.
\r
17082 <author>Nicko Cadell</author>
\r
17083 <author>Gert Driesen</author>
\r
17085 <member name="F:log4net.Layout.Layout2RawLayoutAdapter.m_layout">
\r
17087 The layout to adapt
\r
17090 <member name="M:log4net.Layout.Layout2RawLayoutAdapter.#ctor(log4net.Layout.ILayout)">
\r
17092 Construct a new adapter
\r
17094 <param name="layout">the layout to adapt</param>
\r
17097 Create the adapter for the specified <paramref name="layout"/>.
\r
17101 <member name="M:log4net.Layout.Layout2RawLayoutAdapter.Format(log4net.Core.LoggingEvent)">
\r
17103 Format the logging event as an object.
\r
17105 <param name="loggingEvent">The event to format</param>
\r
17106 <returns>returns the formatted event</returns>
\r
17109 Format the logging event as an object.
\r
17112 Uses the <see cref="T:log4net.Layout.ILayout"/> object supplied to
\r
17113 the constructor to perform the formatting.
\r
17117 <member name="T:log4net.Layout.PatternLayout">
\r
17119 A flexible layout configurable with pattern string.
\r
17123 The goal of this class is to <see cref="M:log4net.Layout.PatternLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)"/> a
\r
17124 <see cref="T:log4net.Core.LoggingEvent"/> as a string. The results
\r
17125 depend on the <i>conversion pattern</i>.
\r
17128 The conversion pattern is closely related to the conversion
\r
17129 pattern of the printf function in C. A conversion pattern is
\r
17130 composed of literal text and format control expressions called
\r
17131 <i>conversion specifiers</i>.
\r
17134 <i>You are free to insert any literal text within the conversion
\r
17138 Each conversion specifier starts with a percent sign (%) and is
\r
17139 followed by optional <i>format modifiers</i> and a <i>conversion
\r
17140 pattern name</i>. The conversion pattern name specifies the type of
\r
17141 data, e.g. logger, level, date, thread name. The format
\r
17142 modifiers control such things as field width, padding, left and
\r
17143 right justification. The following is a simple example.
\r
17146 Let the conversion pattern be <b>"%-5level [%thread]: %message%newline"</b> and assume
\r
17147 that the log4net environment was set to use a PatternLayout. Then the
\r
17151 ILog log = LogManager.GetLogger(typeof(TestApp));
\r
17152 log.Debug("Message 1");
\r
17153 log.Warn("Message 2");
\r
17155 <para>would yield the output</para>
\r
17157 DEBUG [main]: Message 1
\r
17158 WARN [main]: Message 2
\r
17161 Note that there is no explicit separator between text and
\r
17162 conversion specifiers. The pattern parser knows when it has reached
\r
17163 the end of a conversion specifier when it reads a conversion
\r
17164 character. In the example above the conversion specifier
\r
17165 <b>%-5level</b> means the level of the logging event should be left
\r
17166 justified to a width of five characters.
\r
17169 The recognized conversion pattern names are:
\r
17171 <list type="table">
\r
17173 <term>Conversion Pattern Name</term>
\r
17174 <description>Effect</description>
\r
17178 <description>Equivalent to <b>appdomain</b></description>
\r
17181 <term>appdomain</term>
\r
17183 Used to output the friendly name of the AppDomain where the
\r
17184 logging event was generated.
\r
17189 <description>Equivalent to <b>logger</b></description>
\r
17193 <description>Equivalent to <b>type</b></description>
\r
17196 <term>class</term>
\r
17197 <description>Equivalent to <b>type</b></description>
\r
17201 <description>Equivalent to <b>date</b></description>
\r
17204 <term>date</term>
\r
17207 Used to output the date of the logging event in the local time zone.
\r
17208 To output the date in universal time use the <c>%utcdate</c> pattern.
\r
17209 The date conversion
\r
17210 specifier may be followed by a <i>date format specifier</i> enclosed
\r
17211 between braces. For example, <b>%date{HH:mm:ss,fff}</b> or
\r
17212 <b>%date{dd MMM yyyy HH:mm:ss,fff}</b>. If no date format specifier is
\r
17213 given then ISO8601 format is
\r
17214 assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
\r
17217 The date format specifier admits the same syntax as the
\r
17218 time pattern string of the <see cref="M:System.DateTime.ToString(System.String)"/>.
\r
17221 For better results it is recommended to use the log4net date
\r
17222 formatters. These can be specified using one of the strings
\r
17223 "ABSOLUTE", "DATE" and "ISO8601" for specifying
\r
17224 <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>,
\r
17225 <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively
\r
17226 <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example,
\r
17227 <b>%date{ISO8601}</b> or <b>%date{ABSOLUTE}</b>.
\r
17230 These dedicated date formatters perform significantly
\r
17231 better than <see cref="M:System.DateTime.ToString(System.String)"/>.
\r
17236 <term>exception</term>
\r
17239 Used to output the exception passed in with the log message.
\r
17242 If an exception object is stored in the logging event
\r
17243 it will be rendered into the pattern output with a
\r
17244 trailing newline.
\r
17245 If there is no exception then nothing will be output
\r
17246 and no trailing newline will be appended.
\r
17247 It is typical to put a newline before the exception
\r
17248 and to have the exception as the last data in the pattern.
\r
17254 <description>Equivalent to <b>file</b></description>
\r
17257 <term>file</term>
\r
17260 Used to output the file name where the logging request was
\r
17264 <b>WARNING</b> Generating caller location information is
\r
17265 extremely slow. Its use should be avoided unless execution speed
\r
17269 See the note below on the availability of caller location information.
\r
17274 <term>identity</term>
\r
17277 Used to output the user name for the currently active user
\r
17278 (Principal.Identity.Name).
\r
17281 <b>WARNING</b> Generating caller information is
\r
17282 extremely slow. Its use should be avoided unless execution speed
\r
17289 <description>Equivalent to <b>location</b></description>
\r
17293 <description>Equivalent to <b>line</b></description>
\r
17296 <term>location</term>
\r
17299 Used to output location information of the caller which generated
\r
17300 the logging event.
\r
17303 The location information depends on the CLI implementation but
\r
17304 usually consists of the fully qualified name of the calling
\r
17305 method followed by the callers source the file name and line
\r
17306 number between parentheses.
\r
17309 The location information can be very useful. However, its
\r
17310 generation is <b>extremely</b> slow. Its use should be avoided
\r
17311 unless execution speed is not an issue.
\r
17314 See the note below on the availability of caller location information.
\r
17319 <term>level</term>
\r
17322 Used to output the level of the logging event.
\r
17327 <term>line</term>
\r
17330 Used to output the line number from where the logging request
\r
17334 <b>WARNING</b> Generating caller location information is
\r
17335 extremely slow. Its use should be avoided unless execution speed
\r
17339 See the note below on the availability of caller location information.
\r
17344 <term>logger</term>
\r
17347 Used to output the logger of the logging event. The
\r
17348 logger conversion specifier can be optionally followed by
\r
17349 <i>precision specifier</i>, that is a decimal constant in
\r
17353 If a precision specifier is given, then only the corresponding
\r
17354 number of right most components of the logger name will be
\r
17355 printed. By default the logger name is printed in full.
\r
17358 For example, for the logger name "a.b.c" the pattern
\r
17359 <b>%logger{2}</b> will output "b.c".
\r
17365 <description>Equivalent to <b>message</b></description>
\r
17369 <description>Equivalent to <b>method</b></description>
\r
17372 <term>message</term>
\r
17375 Used to output the application supplied message associated with
\r
17376 the logging event.
\r
17384 The MDC (old name for the ThreadContext.Properties) is now part of the
\r
17385 combined event properties. This pattern is supported for compatibility
\r
17386 but is equivalent to <b>property</b>.
\r
17391 <term>method</term>
\r
17394 Used to output the method name where the logging request was
\r
17398 <b>WARNING</b> Generating caller location information is
\r
17399 extremely slow. Its use should be avoided unless execution speed
\r
17403 See the note below on the availability of caller location information.
\r
17409 <description>Equivalent to <b>newline</b></description>
\r
17412 <term>newline</term>
\r
17415 Outputs the platform dependent line separator character or
\r
17419 This conversion pattern offers the same performance as using
\r
17420 non-portable line separator strings such as "\n", or "\r\n".
\r
17421 Thus, it is the preferred way of specifying a line separator.
\r
17429 Used to output the NDC (nested diagnostic context) associated
\r
17430 with the thread that generated the logging event.
\r
17436 <description>Equivalent to <b>level</b></description>
\r
17440 <description>Equivalent to <b>property</b></description>
\r
17443 <term>properties</term>
\r
17444 <description>Equivalent to <b>property</b></description>
\r
17447 <term>property</term>
\r
17450 Used to output the an event specific property. The key to
\r
17451 lookup must be specified within braces and directly following the
\r
17452 pattern specifier, e.g. <b>%property{user}</b> would include the value
\r
17453 from the property that is keyed by the string 'user'. Each property value
\r
17454 that is to be included in the log must be specified separately.
\r
17455 Properties are added to events by loggers or appenders. By default
\r
17456 the <c>log4net:HostName</c> property is set to the name of machine on
\r
17457 which the event was originally logged.
\r
17460 If no key is specified, e.g. <b>%property</b> then all the keys and their
\r
17461 values are printed in a comma separated list.
\r
17464 The properties of an event are combined from a number of different
\r
17465 contexts. These are listed below in the order in which they are searched.
\r
17467 <list type="definition">
\r
17469 <term>the event properties</term>
\r
17471 The event has <see cref="P:log4net.Core.LoggingEvent.Properties"/> that can be set. These
\r
17472 properties are specific to this event only.
\r
17476 <term>the thread properties</term>
\r
17478 The <see cref="P:log4net.ThreadContext.Properties"/> that are set on the current
\r
17479 thread. These properties are shared by all events logged on this thread.
\r
17483 <term>the global properties</term>
\r
17485 The <see cref="P:log4net.GlobalContext.Properties"/> that are set globally. These
\r
17486 properties are shared by all the threads in the AppDomain.
\r
17495 <description>Equivalent to <b>timestamp</b></description>
\r
17499 <description>Equivalent to <b>thread</b></description>
\r
17502 <term>timestamp</term>
\r
17505 Used to output the number of milliseconds elapsed since the start
\r
17506 of the application until the creation of the logging event.
\r
17511 <term>thread</term>
\r
17514 Used to output the name of the thread that generated the
\r
17515 logging event. Uses the thread number if no name is available.
\r
17520 <term>type</term>
\r
17523 Used to output the fully qualified type name of the caller
\r
17524 issuing the logging request. This conversion specifier
\r
17525 can be optionally followed by <i>precision specifier</i>, that
\r
17526 is a decimal constant in brackets.
\r
17529 If a precision specifier is given, then only the corresponding
\r
17530 number of right most components of the class name will be
\r
17531 printed. By default the class name is output in fully qualified form.
\r
17534 For example, for the class name "log4net.Layout.PatternLayout", the
\r
17535 pattern <b>%type{1}</b> will output "PatternLayout".
\r
17538 <b>WARNING</b> Generating the caller class information is
\r
17539 slow. Thus, its use should be avoided unless execution speed is
\r
17543 See the note below on the availability of caller location information.
\r
17549 <description>Equivalent to <b>identity</b></description>
\r
17552 <term>username</term>
\r
17555 Used to output the WindowsIdentity for the currently
\r
17559 <b>WARNING</b> Generating caller WindowsIdentity information is
\r
17560 extremely slow. Its use should be avoided unless execution speed
\r
17566 <term>utcdate</term>
\r
17569 Used to output the date of the logging event in universal time.
\r
17570 The date conversion
\r
17571 specifier may be followed by a <i>date format specifier</i> enclosed
\r
17572 between braces. For example, <b>%utcdate{HH:mm:ss,fff}</b> or
\r
17573 <b>%utcdate{dd MMM yyyy HH:mm:ss,fff}</b>. If no date format specifier is
\r
17574 given then ISO8601 format is
\r
17575 assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
\r
17578 The date format specifier admits the same syntax as the
\r
17579 time pattern string of the <see cref="M:System.DateTime.ToString(System.String)"/>.
\r
17582 For better results it is recommended to use the log4net date
\r
17583 formatters. These can be specified using one of the strings
\r
17584 "ABSOLUTE", "DATE" and "ISO8601" for specifying
\r
17585 <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>,
\r
17586 <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively
\r
17587 <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example,
\r
17588 <b>%utcdate{ISO8601}</b> or <b>%utcdate{ABSOLUTE}</b>.
\r
17591 These dedicated date formatters perform significantly
\r
17592 better than <see cref="M:System.DateTime.ToString(System.String)"/>.
\r
17598 <description>Equivalent to <b>username</b></description>
\r
17602 <description>Equivalent to <b>ndc</b></description>
\r
17606 <description>Equivalent to <b>mdc</b></description>
\r
17612 The sequence %% outputs a single percent sign.
\r
17618 The single letter patterns are deprecated in favor of the
\r
17619 longer more descriptive pattern names.
\r
17622 By default the relevant information is output as is. However,
\r
17623 with the aid of format modifiers it is possible to change the
\r
17624 minimum field width, the maximum field width and justification.
\r
17627 The optional format modifier is placed between the percent sign
\r
17628 and the conversion pattern name.
\r
17631 The first optional format modifier is the <i>left justification
\r
17632 flag</i> which is just the minus (-) character. Then comes the
\r
17633 optional <i>minimum field width</i> modifier. This is a decimal
\r
17634 constant that represents the minimum number of characters to
\r
17635 output. If the data item requires fewer characters, it is padded on
\r
17636 either the left or the right until the minimum width is
\r
17637 reached. The default is to pad on the left (right justify) but you
\r
17638 can specify right padding with the left justification flag. The
\r
17639 padding character is space. If the data item is larger than the
\r
17640 minimum field width, the field is expanded to accommodate the
\r
17641 data. The value is never truncated.
\r
17644 This behavior can be changed using the <i>maximum field
\r
17645 width</i> modifier which is designated by a period followed by a
\r
17646 decimal constant. If the data item is longer than the maximum
\r
17647 field, then the extra characters are removed from the
\r
17648 <i>beginning</i> of the data item and not from the end. For
\r
17649 example, it the maximum field width is eight and the data item is
\r
17650 ten characters long, then the first two characters of the data item
\r
17651 are dropped. This behavior deviates from the printf function in C
\r
17652 where truncation is done from the end.
\r
17655 Below are various format modifier examples for the logger
\r
17656 conversion specifier.
\r
17658 <div class="tablediv">
\r
17659 <table class="dtTABLE" cellspacing="0">
\r
17661 <th>Format modifier</th>
\r
17662 <th>left justify</th>
\r
17663 <th>minimum width</th>
\r
17664 <th>maximum width</th>
\r
17668 <td align="center">%20logger</td>
\r
17669 <td align="center">false</td>
\r
17670 <td align="center">20</td>
\r
17671 <td align="center">none</td>
\r
17674 Left pad with spaces if the logger name is less than 20
\r
17680 <td align="center">%-20logger</td>
\r
17681 <td align="center">true</td>
\r
17682 <td align="center">20</td>
\r
17683 <td align="center">none</td>
\r
17686 Right pad with spaces if the logger
\r
17687 name is less than 20 characters long.
\r
17692 <td align="center">%.30logger</td>
\r
17693 <td align="center">NA</td>
\r
17694 <td align="center">none</td>
\r
17695 <td align="center">30</td>
\r
17698 Truncate from the beginning if the logger
\r
17699 name is longer than 30 characters.
\r
17704 <td align="center"><nobr>%20.30logger</nobr></td>
\r
17705 <td align="center">false</td>
\r
17706 <td align="center">20</td>
\r
17707 <td align="center">30</td>
\r
17710 Left pad with spaces if the logger name is shorter than 20
\r
17711 characters. However, if logger name is longer than 30 characters,
\r
17712 then truncate from the beginning.
\r
17717 <td align="center">%-20.30logger</td>
\r
17718 <td align="center">true</td>
\r
17719 <td align="center">20</td>
\r
17720 <td align="center">30</td>
\r
17723 Right pad with spaces if the logger name is shorter than 20
\r
17724 characters. However, if logger name is longer than 30 characters,
\r
17725 then truncate from the beginning.
\r
17732 <b>Note about caller location information.</b><br/>
\r
17733 The following patterns <c>%type %file %line %method %location %class %C %F %L %l %M</c>
\r
17734 all generate caller location information.
\r
17735 Location information uses the <c>System.Diagnostics.StackTrace</c> class to generate
\r
17736 a call stack. The caller's information is then extracted from this stack.
\r
17738 <note type="caution">
\r
17740 The <c>System.Diagnostics.StackTrace</c> class is not supported on the
\r
17741 .NET Compact Framework 1.0 therefore caller location information is not
\r
17742 available on that framework.
\r
17745 <note type="caution">
\r
17747 The <c>System.Diagnostics.StackTrace</c> class has this to say about Release builds:
\r
17750 "StackTrace information will be most informative with Debug build configurations.
\r
17751 By default, Debug builds include debug symbols, while Release builds do not. The
\r
17752 debug symbols contain most of the file, method name, line number, and column
\r
17753 information used in constructing StackFrame and StackTrace objects. StackTrace
\r
17754 might not report as many method calls as expected, due to code transformations
\r
17755 that occur during optimization."
\r
17758 This means that in a Release build the caller information may be incomplete or may
\r
17759 not exist at all! Therefore caller location information cannot be relied upon in a Release build.
\r
17763 Additional pattern converters may be registered with a specific <see cref="T:log4net.Layout.PatternLayout"/>
\r
17764 instance using the <see cref="M:log4net.Layout.PatternLayout.AddConverter(System.String,System.Type)"/> method.
\r
17768 This is a more detailed pattern.
\r
17769 <code><b>%timestamp [%thread] %level %logger %ndc - %message%newline</b></code>
\r
17772 A similar pattern except that the relative time is
\r
17773 right padded if less than 6 digits, thread name is right padded if
\r
17774 less than 15 characters and truncated if longer and the logger
\r
17775 name is left padded if shorter than 30 characters and truncated if
\r
17777 <code><b>%-6timestamp [%15.15thread] %-5level %30.30logger %ndc - %message%newline</b></code>
\r
17779 <author>Nicko Cadell</author>
\r
17780 <author>Gert Driesen</author>
\r
17781 <author>Douglas de la Torre</author>
\r
17782 <author>Daniel Cazzulino</author>
\r
17784 <member name="F:log4net.Layout.PatternLayout.DefaultConversionPattern">
\r
17786 Default pattern string for log output.
\r
17790 Default pattern string for log output.
\r
17791 Currently set to the string <b>"%message%newline"</b>
\r
17792 which just prints the application supplied message.
\r
17796 <member name="F:log4net.Layout.PatternLayout.DetailConversionPattern">
\r
17798 A detailed conversion pattern
\r
17802 A conversion pattern which includes Time, Thread, Logger, and Nested Context.
\r
17803 Current value is <b>%timestamp [%thread] %level %logger %ndc - %message%newline</b>.
\r
17807 <member name="F:log4net.Layout.PatternLayout.s_globalRulesRegistry">
\r
17809 Internal map of converter identifiers to converter types.
\r
17813 This static map is overridden by the m_converterRegistry instance map
\r
17817 <member name="F:log4net.Layout.PatternLayout.m_pattern">
\r
17822 <member name="F:log4net.Layout.PatternLayout.m_head">
\r
17824 the head of the pattern converter chain
\r
17827 <member name="F:log4net.Layout.PatternLayout.m_instanceRulesRegistry">
\r
17829 patterns defined on this PatternLayout only
\r
17832 <member name="M:log4net.Layout.PatternLayout.#cctor">
\r
17834 Initialize the global registry
\r
17838 Defines the builtin global rules.
\r
17842 <member name="M:log4net.Layout.PatternLayout.#ctor">
\r
17844 Constructs a PatternLayout using the DefaultConversionPattern
\r
17848 The default pattern just produces the application supplied message.
\r
17851 Note to Inheritors: This constructor calls the virtual method
\r
17852 <see cref="M:log4net.Layout.PatternLayout.CreatePatternParser(System.String)"/>. If you override this method be
\r
17853 aware that it will be called before your is called constructor.
\r
17856 As per the <see cref="T:log4net.Core.IOptionHandler"/> contract the <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/>
\r
17857 method must be called after the properties on this object have been
\r
17862 <member name="M:log4net.Layout.PatternLayout.#ctor(System.String)">
\r
17864 Constructs a PatternLayout using the supplied conversion pattern
\r
17866 <param name="pattern">the pattern to use</param>
\r
17869 Note to Inheritors: This constructor calls the virtual method
\r
17870 <see cref="M:log4net.Layout.PatternLayout.CreatePatternParser(System.String)"/>. If you override this method be
\r
17871 aware that it will be called before your is called constructor.
\r
17874 When using this constructor the <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> method
\r
17875 need not be called. This may not be the case when using a subclass.
\r
17879 <member name="M:log4net.Layout.PatternLayout.CreatePatternParser(System.String)">
\r
17881 Create the pattern parser instance
\r
17883 <param name="pattern">the pattern to parse</param>
\r
17884 <returns>The <see cref="T:log4net.Util.PatternParser"/> that will format the event</returns>
\r
17887 Creates the <see cref="T:log4net.Util.PatternParser"/> used to parse the conversion string. Sets the
\r
17888 global and instance rules on the <see cref="T:log4net.Util.PatternParser"/>.
\r
17892 <member name="M:log4net.Layout.PatternLayout.ActivateOptions">
\r
17894 Initialize layout options
\r
17898 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
17899 activation scheme. The <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> method must
\r
17900 be called on this object after the configuration properties have
\r
17901 been set. Until <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> is called this
\r
17902 object is in an undefined state and must not be used.
\r
17905 If any of the configuration properties are modified then
\r
17906 <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> must be called again.
\r
17910 <member name="M:log4net.Layout.PatternLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
17912 Produces a formatted string as specified by the conversion pattern.
\r
17914 <param name="loggingEvent">the event being logged</param>
\r
17915 <param name="writer">The TextWriter to write the formatted event to</param>
\r
17918 Parse the <see cref="T:log4net.Core.LoggingEvent"/> using the patter format
\r
17919 specified in the <see cref="P:log4net.Layout.PatternLayout.ConversionPattern"/> property.
\r
17923 <member name="M:log4net.Layout.PatternLayout.AddConverter(log4net.Layout.PatternLayout.ConverterInfo)">
\r
17925 Add a converter to this PatternLayout
\r
17927 <param name="converterInfo">the converter info</param>
\r
17930 This version of the method is used by the configurator.
\r
17931 Programmatic users should use the alternative <see cref="M:log4net.Layout.PatternLayout.AddConverter(System.String,System.Type)"/> method.
\r
17935 <member name="M:log4net.Layout.PatternLayout.AddConverter(System.String,System.Type)">
\r
17937 Add a converter to this PatternLayout
\r
17939 <param name="name">the name of the conversion pattern for this converter</param>
\r
17940 <param name="type">the type of the converter</param>
\r
17943 Add a named pattern converter to this instance. This
\r
17944 converter will be used in the formatting of the event.
\r
17945 This method must be called before <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/>.
\r
17948 The <paramref name="type"/> specified must extend the
\r
17949 <see cref="T:log4net.Util.PatternConverter"/> type.
\r
17953 <member name="P:log4net.Layout.PatternLayout.ConversionPattern">
\r
17955 The pattern formatting string
\r
17959 The <b>ConversionPattern</b> option. This is the string which
\r
17960 controls formatting and consists of a mix of literal content and
\r
17961 conversion specifiers.
\r
17965 <member name="T:log4net.Layout.PatternLayout.ConverterInfo">
\r
17967 Wrapper class used to map converter names to converter types
\r
17971 Pattern converter info class used during configuration to
\r
17972 pass to the <see cref="M:log4net.Layout.PatternLayout.AddConverter(log4net.Layout.PatternLayout.ConverterInfo)"/>
\r
17977 <member name="M:log4net.Layout.PatternLayout.ConverterInfo.#ctor">
\r
17979 default constructor
\r
17982 <member name="P:log4net.Layout.PatternLayout.ConverterInfo.Name">
\r
17984 Gets or sets the name of the conversion pattern
\r
17988 The name of the pattern in the format string
\r
17992 <member name="P:log4net.Layout.PatternLayout.ConverterInfo.Type">
\r
17994 Gets or sets the type of the converter
\r
17998 The value specified must extend the
\r
17999 <see cref="T:log4net.Util.PatternConverter"/> type.
\r
18003 <member name="T:log4net.Layout.RawLayoutConverter">
\r
18005 Type converter for the <see cref="T:log4net.Layout.IRawLayout"/> interface
\r
18009 Used to convert objects to the <see cref="T:log4net.Layout.IRawLayout"/> interface.
\r
18010 Supports converting from the <see cref="T:log4net.Layout.ILayout"/> interface to
\r
18011 the <see cref="T:log4net.Layout.IRawLayout"/> interface using the <see cref="T:log4net.Layout.Layout2RawLayoutAdapter"/>.
\r
18014 <author>Nicko Cadell</author>
\r
18015 <author>Gert Driesen</author>
\r
18017 <member name="T:log4net.Util.TypeConverters.IConvertFrom">
\r
18019 Interface supported by type converters
\r
18023 This interface supports conversion from arbitrary types
\r
18024 to a single target type. See <see cref="T:log4net.Util.TypeConverters.TypeConverterAttribute"/>.
\r
18027 <author>Nicko Cadell</author>
\r
18028 <author>Gert Driesen</author>
\r
18030 <member name="M:log4net.Util.TypeConverters.IConvertFrom.CanConvertFrom(System.Type)">
\r
18032 Can the source type be converted to the type supported by this object
\r
18034 <param name="sourceType">the type to convert</param>
\r
18035 <returns>true if the conversion is possible</returns>
\r
18038 Test if the <paramref name="sourceType"/> can be converted to the
\r
18039 type supported by this converter.
\r
18043 <member name="M:log4net.Util.TypeConverters.IConvertFrom.ConvertFrom(System.Object)">
\r
18045 Convert the source object to the type supported by this object
\r
18047 <param name="source">the object to convert</param>
\r
18048 <returns>the converted object</returns>
\r
18051 Converts the <paramref name="source"/> to the type supported
\r
18052 by this converter.
\r
18056 <member name="M:log4net.Layout.RawLayoutConverter.CanConvertFrom(System.Type)">
\r
18058 Can the sourceType be converted to an <see cref="T:log4net.Layout.IRawLayout"/>
\r
18060 <param name="sourceType">the source to be to be converted</param>
\r
18061 <returns><c>true</c> if the source type can be converted to <see cref="T:log4net.Layout.IRawLayout"/></returns>
\r
18064 Test if the <paramref name="sourceType"/> can be converted to a
\r
18065 <see cref="T:log4net.Layout.IRawLayout"/>. Only <see cref="T:log4net.Layout.ILayout"/> is supported
\r
18066 as the <paramref name="sourceType"/>.
\r
18070 <member name="M:log4net.Layout.RawLayoutConverter.ConvertFrom(System.Object)">
\r
18072 Convert the value to a <see cref="T:log4net.Layout.IRawLayout"/> object
\r
18074 <param name="source">the value to convert</param>
\r
18075 <returns>the <see cref="T:log4net.Layout.IRawLayout"/> object</returns>
\r
18078 Convert the <paramref name="source"/> object to a
\r
18079 <see cref="T:log4net.Layout.IRawLayout"/> object. If the <paramref name="source"/> object
\r
18080 is a <see cref="T:log4net.Layout.ILayout"/> then the <see cref="T:log4net.Layout.Layout2RawLayoutAdapter"/>
\r
18081 is used to adapt between the two interfaces, otherwise an
\r
18082 exception is thrown.
\r
18086 <member name="T:log4net.Layout.RawPropertyLayout">
\r
18088 Extract the value of a property from the <see cref="T:log4net.Core.LoggingEvent"/>
\r
18092 Extract the value of a property from the <see cref="T:log4net.Core.LoggingEvent"/>
\r
18095 <author>Nicko Cadell</author>
\r
18097 <member name="M:log4net.Layout.RawPropertyLayout.#ctor">
\r
18099 Constructs a RawPropertyLayout
\r
18102 <member name="M:log4net.Layout.RawPropertyLayout.Format(log4net.Core.LoggingEvent)">
\r
18104 Lookup the property for <see cref="P:log4net.Layout.RawPropertyLayout.Key"/>
\r
18106 <param name="loggingEvent">The event to format</param>
\r
18107 <returns>returns property value</returns>
\r
18110 Looks up and returns the object value of the property
\r
18111 named <see cref="P:log4net.Layout.RawPropertyLayout.Key"/>. If there is no property defined
\r
18112 with than name then <c>null</c> will be returned.
\r
18116 <member name="P:log4net.Layout.RawPropertyLayout.Key">
\r
18118 The name of the value to lookup in the LoggingEvent Properties collection.
\r
18121 Value to lookup in the LoggingEvent Properties collection
\r
18125 String name of the property to lookup in the <see cref="T:log4net.Core.LoggingEvent"/>.
\r
18129 <member name="T:log4net.Layout.RawTimeStampLayout">
\r
18131 Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
\r
18135 Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
\r
18138 <author>Nicko Cadell</author>
\r
18139 <author>Gert Driesen</author>
\r
18141 <member name="M:log4net.Layout.RawTimeStampLayout.#ctor">
\r
18143 Constructs a RawTimeStampLayout
\r
18146 <member name="M:log4net.Layout.RawTimeStampLayout.Format(log4net.Core.LoggingEvent)">
\r
18148 Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
\r
18150 <param name="loggingEvent">The event to format</param>
\r
18151 <returns>returns the time stamp</returns>
\r
18154 Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
\r
18157 The time stamp is in local time. To format the time stamp
\r
18158 in universal time use <see cref="T:log4net.Layout.RawUtcTimeStampLayout"/>.
\r
18162 <member name="T:log4net.Layout.RawUtcTimeStampLayout">
\r
18164 Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
\r
18168 Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
\r
18171 <author>Nicko Cadell</author>
\r
18172 <author>Gert Driesen</author>
\r
18174 <member name="M:log4net.Layout.RawUtcTimeStampLayout.#ctor">
\r
18176 Constructs a RawUtcTimeStampLayout
\r
18179 <member name="M:log4net.Layout.RawUtcTimeStampLayout.Format(log4net.Core.LoggingEvent)">
\r
18181 Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
\r
18183 <param name="loggingEvent">The event to format</param>
\r
18184 <returns>returns the time stamp</returns>
\r
18187 Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
\r
18190 The time stamp is in universal time. To format the time stamp
\r
18191 in local time use <see cref="T:log4net.Layout.RawTimeStampLayout"/>.
\r
18195 <member name="T:log4net.Layout.SimpleLayout">
\r
18197 A very simple layout
\r
18201 SimpleLayout consists of the level of the log statement,
\r
18202 followed by " - " and then the log message itself. For example,
\r
18204 DEBUG - Hello world
\r
18208 <author>Nicko Cadell</author>
\r
18209 <author>Gert Driesen</author>
\r
18211 <member name="M:log4net.Layout.SimpleLayout.#ctor">
\r
18213 Constructs a SimpleLayout
\r
18216 <member name="M:log4net.Layout.SimpleLayout.ActivateOptions">
\r
18218 Initialize layout options
\r
18222 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
18223 activation scheme. The <see cref="M:log4net.Layout.SimpleLayout.ActivateOptions"/> method must
\r
18224 be called on this object after the configuration properties have
\r
18225 been set. Until <see cref="M:log4net.Layout.SimpleLayout.ActivateOptions"/> is called this
\r
18226 object is in an undefined state and must not be used.
\r
18229 If any of the configuration properties are modified then
\r
18230 <see cref="M:log4net.Layout.SimpleLayout.ActivateOptions"/> must be called again.
\r
18234 <member name="M:log4net.Layout.SimpleLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
18236 Produces a simple formatted output.
\r
18238 <param name="loggingEvent">the event being logged</param>
\r
18239 <param name="writer">The TextWriter to write the formatted event to</param>
\r
18242 Formats the event as the level of the even,
\r
18243 followed by " - " and then the log message itself. The
\r
18244 output is terminated by a newline.
\r
18248 <member name="T:log4net.Layout.XmlLayout">
\r
18250 Layout that formats the log events as XML elements.
\r
18254 The output of the <see cref="T:log4net.Layout.XmlLayout"/> consists of a series of
\r
18255 log4net:event elements. It does not output a complete well-formed XML
\r
18256 file. The output is designed to be included as an <em>external entity</em>
\r
18257 in a separate file to form a correct XML file.
\r
18260 For example, if <c>abc</c> is the name of the file where
\r
18261 the <see cref="T:log4net.Layout.XmlLayout"/> output goes, then a well-formed XML file would
\r
18264 <code lang="XML">
\r
18265 <?xml version="1.0" ?>
\r
18267 <!DOCTYPE log4net:events SYSTEM "log4net-events.dtd" [<!ENTITY data SYSTEM "abc">]>
\r
18269 <log4net:events version="1.2" xmlns:log4net="http://logging.apache.org/log4net/schemas/log4net-events-1.2>
\r
18271 </log4net:events>
\r
18274 This approach enforces the independence of the <see cref="T:log4net.Layout.XmlLayout"/>
\r
18275 and the appender where it is embedded.
\r
18278 The <c>version</c> attribute helps components to correctly
\r
18279 interpret output generated by <see cref="T:log4net.Layout.XmlLayout"/>. The value of
\r
18280 this attribute should be "1.2" for release 1.2 and later.
\r
18283 Alternatively the <c>Header</c> and <c>Footer</c> properties can be
\r
18284 configured to output the correct XML header, open tag and close tag.
\r
18285 When setting the <c>Header</c> and <c>Footer</c> properties it is essential
\r
18286 that the underlying data store not be appendable otherwise the data
\r
18287 will become invalid XML.
\r
18290 <author>Nicko Cadell</author>
\r
18291 <author>Gert Driesen</author>
\r
18293 <member name="T:log4net.Layout.XmlLayoutBase">
\r
18295 Layout that formats the log events as XML elements.
\r
18299 This is an abstract class that must be subclassed by an implementation
\r
18300 to conform to a specific schema.
\r
18303 Deriving classes must implement the <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method.
\r
18306 <author>Nicko Cadell</author>
\r
18307 <author>Gert Driesen</author>
\r
18309 <member name="M:log4net.Layout.XmlLayoutBase.#ctor">
\r
18311 Protected constructor to support subclasses
\r
18315 Initializes a new instance of the <see cref="T:log4net.Layout.XmlLayoutBase"/> class
\r
18316 with no location info.
\r
18320 <member name="M:log4net.Layout.XmlLayoutBase.#ctor(System.Boolean)">
\r
18322 Protected constructor to support subclasses
\r
18326 The <paramref name="locationInfo" /> parameter determines whether
\r
18327 location information will be output by the layout. If
\r
18328 <paramref name="locationInfo" /> is set to <c>true</c>, then the
\r
18329 file name and line number of the statement at the origin of the log
\r
18330 statement will be output.
\r
18333 If you are embedding this layout within an SMTPAppender
\r
18334 then make sure to set the <b>LocationInfo</b> option of that
\r
18335 appender as well.
\r
18339 <member name="M:log4net.Layout.XmlLayoutBase.ActivateOptions">
\r
18341 Initialize layout options
\r
18345 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
18346 activation scheme. The <see cref="M:log4net.Layout.XmlLayoutBase.ActivateOptions"/> method must
\r
18347 be called on this object after the configuration properties have
\r
18348 been set. Until <see cref="M:log4net.Layout.XmlLayoutBase.ActivateOptions"/> is called this
\r
18349 object is in an undefined state and must not be used.
\r
18352 If any of the configuration properties are modified then
\r
18353 <see cref="M:log4net.Layout.XmlLayoutBase.ActivateOptions"/> must be called again.
\r
18357 <member name="M:log4net.Layout.XmlLayoutBase.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
\r
18359 Produces a formatted string.
\r
18361 <param name="loggingEvent">The event being logged.</param>
\r
18362 <param name="writer">The TextWriter to write the formatted event to</param>
\r
18365 Format the <see cref="T:log4net.Core.LoggingEvent"/> and write it to the <see cref="T:System.IO.TextWriter"/>.
\r
18368 This method creates an <see cref="T:System.Xml.XmlTextWriter"/> that writes to the
\r
18369 <paramref name="writer"/>. The <see cref="T:System.Xml.XmlTextWriter"/> is passed
\r
18370 to the <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method. Subclasses should override the
\r
18371 <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method rather than this method.
\r
18375 <member name="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)">
\r
18377 Does the actual writing of the XML.
\r
18379 <param name="writer">The writer to use to output the event to.</param>
\r
18380 <param name="loggingEvent">The event to write.</param>
\r
18383 Subclasses should override this method to format
\r
18384 the <see cref="T:log4net.Core.LoggingEvent"/> as XML.
\r
18388 <member name="F:log4net.Layout.XmlLayoutBase.m_locationInfo">
\r
18390 Flag to indicate if location information should be included in
\r
18394 <member name="F:log4net.Layout.XmlLayoutBase.m_protectCloseTextWriter">
\r
18396 Writer adapter that ignores Close
\r
18399 <member name="F:log4net.Layout.XmlLayoutBase.m_invalidCharReplacement">
\r
18401 The string to replace invalid chars with
\r
18404 <member name="P:log4net.Layout.XmlLayoutBase.LocationInfo">
\r
18406 Gets a value indicating whether to include location information in
\r
18410 <c>true</c> if location information should be included in the XML
\r
18411 events; otherwise, <c>false</c>.
\r
18415 If <see cref="P:log4net.Layout.XmlLayoutBase.LocationInfo"/> is set to <c>true</c>, then the file
\r
18416 name and line number of the statement at the origin of the log
\r
18417 statement will be output.
\r
18420 If you are embedding this layout within an <c>SMTPAppender</c>
\r
18421 then make sure to set the <b>LocationInfo</b> option of that
\r
18422 appender as well.
\r
18426 <member name="P:log4net.Layout.XmlLayoutBase.InvalidCharReplacement">
\r
18428 The string to replace characters that can not be expressed in XML with.
\r
18431 Not all characters may be expressed in XML. This property contains the
\r
18432 string to replace those that can not with. This defaults to a ?. Set it
\r
18433 to the empty string to simply remove offending characters. For more
\r
18434 details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets
\r
18435 Character replacement will occur in the log message, the property names
\r
18436 and the property values.
\r
18441 <member name="P:log4net.Layout.XmlLayoutBase.ContentType">
\r
18443 Gets the content type output by this layout.
\r
18446 As this is the XML layout, the value is always <c>"text/xml"</c>.
\r
18450 As this is the XML layout, the value is always <c>"text/xml"</c>.
\r
18454 <member name="M:log4net.Layout.XmlLayout.#ctor">
\r
18456 Constructs an XmlLayout
\r
18459 <member name="M:log4net.Layout.XmlLayout.#ctor(System.Boolean)">
\r
18461 Constructs an XmlLayout.
\r
18465 The <b>LocationInfo</b> option takes a boolean value. By
\r
18466 default, it is set to false which means there will be no location
\r
18467 information output by this layout. If the the option is set to
\r
18468 true, then the file name and line number of the statement
\r
18469 at the origin of the log statement will be output.
\r
18472 If you are embedding this layout within an SmtpAppender
\r
18473 then make sure to set the <b>LocationInfo</b> option of that
\r
18474 appender as well.
\r
18478 <member name="M:log4net.Layout.XmlLayout.ActivateOptions">
\r
18480 Initialize layout options
\r
18484 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
18485 activation scheme. The <see cref="M:log4net.Layout.XmlLayout.ActivateOptions"/> method must
\r
18486 be called on this object after the configuration properties have
\r
18487 been set. Until <see cref="M:log4net.Layout.XmlLayout.ActivateOptions"/> is called this
\r
18488 object is in an undefined state and must not be used.
\r
18491 If any of the configuration properties are modified then
\r
18492 <see cref="M:log4net.Layout.XmlLayout.ActivateOptions"/> must be called again.
\r
18495 Builds a cache of the element names
\r
18499 <member name="M:log4net.Layout.XmlLayout.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)">
\r
18501 Does the actual writing of the XML.
\r
18503 <param name="writer">The writer to use to output the event to.</param>
\r
18504 <param name="loggingEvent">The event to write.</param>
\r
18507 Override the base class <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method
\r
18508 to write the <see cref="T:log4net.Core.LoggingEvent"/> to the <see cref="T:System.Xml.XmlWriter"/>.
\r
18512 <member name="F:log4net.Layout.XmlLayout.m_prefix">
\r
18514 The prefix to use for all generated element names
\r
18517 <member name="P:log4net.Layout.XmlLayout.Prefix">
\r
18519 The prefix to use for all element names
\r
18523 The default prefix is <b>log4net</b>. Set this property
\r
18524 to change the prefix. If the prefix is set to an empty string
\r
18525 then no prefix will be written.
\r
18529 <member name="P:log4net.Layout.XmlLayout.Base64EncodeMessage">
\r
18531 Set whether or not to base64 encode the message.
\r
18535 By default the log message will be written as text to the xml
\r
18536 output. This can cause problems when the message contains binary
\r
18537 data. By setting this to true the contents of the message will be
\r
18538 base64 encoded. If this is set then invalid character replacement
\r
18539 (see <see cref="P:log4net.Layout.XmlLayoutBase.InvalidCharReplacement"/>) will not be performed
\r
18540 on the log message.
\r
18544 <member name="P:log4net.Layout.XmlLayout.Base64EncodeProperties">
\r
18546 Set whether or not to base64 encode the property values.
\r
18550 By default the properties will be written as text to the xml
\r
18551 output. This can cause problems when one or more properties contain
\r
18552 binary data. By setting this to true the values of the properties
\r
18553 will be base64 encoded. If this is set then invalid character replacement
\r
18554 (see <see cref="P:log4net.Layout.XmlLayoutBase.InvalidCharReplacement"/>) will not be performed
\r
18555 on the property values.
\r
18559 <member name="T:log4net.Layout.XmlLayoutSchemaLog4j">
\r
18561 Layout that formats the log events as XML elements compatible with the log4j schema
\r
18565 Formats the log events according to the http://logging.apache.org/log4j schema.
\r
18568 <author>Nicko Cadell</author>
\r
18570 <member name="F:log4net.Layout.XmlLayoutSchemaLog4j.s_date1970">
\r
18572 The 1st of January 1970 in UTC
\r
18575 <member name="M:log4net.Layout.XmlLayoutSchemaLog4j.#ctor">
\r
18577 Constructs an XMLLayoutSchemaLog4j
\r
18580 <member name="M:log4net.Layout.XmlLayoutSchemaLog4j.#ctor(System.Boolean)">
\r
18582 Constructs an XMLLayoutSchemaLog4j.
\r
18586 The <b>LocationInfo</b> option takes a boolean value. By
\r
18587 default, it is set to false which means there will be no location
\r
18588 information output by this layout. If the the option is set to
\r
18589 true, then the file name and line number of the statement
\r
18590 at the origin of the log statement will be output.
\r
18593 If you are embedding this layout within an SMTPAppender
\r
18594 then make sure to set the <b>LocationInfo</b> option of that
\r
18595 appender as well.
\r
18599 <member name="M:log4net.Layout.XmlLayoutSchemaLog4j.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)">
\r
18601 Actually do the writing of the xml
\r
18603 <param name="writer">the writer to use</param>
\r
18604 <param name="loggingEvent">the event to write</param>
\r
18607 Generate XML that is compatible with the log4j schema.
\r
18611 <member name="P:log4net.Layout.XmlLayoutSchemaLog4j.Version">
\r
18613 The version of the log4j schema to use.
\r
18617 Only version 1.2 of the log4j schema is supported.
\r
18621 <member name="T:log4net.ObjectRenderer.DefaultRenderer">
\r
18623 The default object Renderer.
\r
18627 The default renderer supports rendering objects and collections to strings.
\r
18630 See the <see cref="M:log4net.ObjectRenderer.DefaultRenderer.RenderObject(log4net.ObjectRenderer.RendererMap,System.Object,System.IO.TextWriter)"/> method for details of the output.
\r
18633 <author>Nicko Cadell</author>
\r
18634 <author>Gert Driesen</author>
\r
18636 <member name="T:log4net.ObjectRenderer.IObjectRenderer">
\r
18638 Implement this interface in order to render objects as strings
\r
18642 Certain types require special case conversion to
\r
18643 string form. This conversion is done by an object renderer.
\r
18644 Object renderers implement the <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>
\r
18648 <author>Nicko Cadell</author>
\r
18649 <author>Gert Driesen</author>
\r
18651 <member name="M:log4net.ObjectRenderer.IObjectRenderer.RenderObject(log4net.ObjectRenderer.RendererMap,System.Object,System.IO.TextWriter)">
\r
18653 Render the object <paramref name="obj"/> to a string
\r
18655 <param name="rendererMap">The map used to lookup renderers</param>
\r
18656 <param name="obj">The object to render</param>
\r
18657 <param name="writer">The writer to render to</param>
\r
18660 Render the object <paramref name="obj"/> to a
\r
18664 The <paramref name="rendererMap"/> parameter is
\r
18665 provided to lookup and render other objects. This is
\r
18666 very useful where <paramref name="obj"/> contains
\r
18667 nested objects of unknown type. The <see cref="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object,System.IO.TextWriter)"/>
\r
18668 method can be used to render these objects.
\r
18672 <member name="M:log4net.ObjectRenderer.DefaultRenderer.#ctor">
\r
18674 Default constructor
\r
18678 Default constructor
\r
18682 <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderObject(log4net.ObjectRenderer.RendererMap,System.Object,System.IO.TextWriter)">
\r
18684 Render the object <paramref name="obj"/> to a string
\r
18686 <param name="rendererMap">The map used to lookup renderers</param>
\r
18687 <param name="obj">The object to render</param>
\r
18688 <param name="writer">The writer to render to</param>
\r
18691 Render the object <paramref name="obj"/> to a string.
\r
18694 The <paramref name="rendererMap"/> parameter is
\r
18695 provided to lookup and render other objects. This is
\r
18696 very useful where <paramref name="obj"/> contains
\r
18697 nested objects of unknown type. The <see cref="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object)"/>
\r
18698 method can be used to render these objects.
\r
18701 The default renderer supports rendering objects to strings as follows:
\r
18703 <list type="table">
\r
18705 <term>Value</term>
\r
18706 <description>Rendered String</description>
\r
18709 <term><c>null</c></term>
\r
18711 <para>"(null)"</para>
\r
18715 <term><see cref="T:System.Array"/></term>
\r
18718 For a one dimensional array this is the
\r
18719 array type name, an open brace, followed by a comma
\r
18720 separated list of the elements (using the appropriate
\r
18721 renderer), followed by a close brace.
\r
18724 For example: <c>int[] {1, 2, 3}</c>.
\r
18727 If the array is not one dimensional the
\r
18728 <c>Array.ToString()</c> is returned.
\r
18733 <term><see cref="T:System.Collections.IEnumerable"/>, <see cref="T:System.Collections.ICollection"/> & <see cref="T:System.Collections.IEnumerator"/></term>
\r
18736 Rendered as an open brace, followed by a comma
\r
18737 separated list of the elements (using the appropriate
\r
18738 renderer), followed by a close brace.
\r
18741 For example: <c>{a, b, c}</c>.
\r
18744 All collection classes that implement <see cref="T:System.Collections.ICollection"/> its subclasses,
\r
18745 or generic equivalents all implement the <see cref="T:System.Collections.IEnumerable"/> interface.
\r
18750 <term><see cref="T:System.Collections.DictionaryEntry"/></term>
\r
18753 Rendered as the key, an equals sign ('='), and the value (using the appropriate
\r
18757 For example: <c>key=value</c>.
\r
18762 <term>other</term>
\r
18764 <para><c>Object.ToString()</c></para>
\r
18770 <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderArray(log4net.ObjectRenderer.RendererMap,System.Array,System.IO.TextWriter)">
\r
18772 Render the array argument into a string
\r
18774 <param name="rendererMap">The map used to lookup renderers</param>
\r
18775 <param name="array">the array to render</param>
\r
18776 <param name="writer">The writer to render to</param>
\r
18779 For a one dimensional array this is the
\r
18780 array type name, an open brace, followed by a comma
\r
18781 separated list of the elements (using the appropriate
\r
18782 renderer), followed by a close brace. For example:
\r
18783 <c>int[] {1, 2, 3}</c>.
\r
18786 If the array is not one dimensional the
\r
18787 <c>Array.ToString()</c> is returned.
\r
18791 <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderEnumerator(log4net.ObjectRenderer.RendererMap,System.Collections.IEnumerator,System.IO.TextWriter)">
\r
18793 Render the enumerator argument into a string
\r
18795 <param name="rendererMap">The map used to lookup renderers</param>
\r
18796 <param name="enumerator">the enumerator to render</param>
\r
18797 <param name="writer">The writer to render to</param>
\r
18800 Rendered as an open brace, followed by a comma
\r
18801 separated list of the elements (using the appropriate
\r
18802 renderer), followed by a close brace. For example:
\r
18803 <c>{a, b, c}</c>.
\r
18807 <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderDictionaryEntry(log4net.ObjectRenderer.RendererMap,System.Collections.DictionaryEntry,System.IO.TextWriter)">
\r
18809 Render the DictionaryEntry argument into a string
\r
18811 <param name="rendererMap">The map used to lookup renderers</param>
\r
18812 <param name="entry">the DictionaryEntry to render</param>
\r
18813 <param name="writer">The writer to render to</param>
\r
18816 Render the key, an equals sign ('='), and the value (using the appropriate
\r
18817 renderer). For example: <c>key=value</c>.
\r
18821 <member name="T:log4net.ObjectRenderer.RendererMap">
\r
18823 Map class objects to an <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
\r
18827 Maintains a mapping between types that require special
\r
18828 rendering and the <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> that
\r
18829 is used to render them.
\r
18832 The <see cref="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object)"/> method is used to render an
\r
18833 <c>object</c> using the appropriate renderers defined in this map.
\r
18836 <author>Nicko Cadell</author>
\r
18837 <author>Gert Driesen</author>
\r
18839 <member name="M:log4net.ObjectRenderer.RendererMap.#ctor">
\r
18841 Default Constructor
\r
18845 Default constructor.
\r
18849 <member name="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object)">
\r
18851 Render <paramref name="obj"/> using the appropriate renderer.
\r
18853 <param name="obj">the object to render to a string</param>
\r
18854 <returns>the object rendered as a string</returns>
\r
18857 This is a convenience method used to render an object to a string.
\r
18858 The alternative method <see cref="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object,System.IO.TextWriter)"/>
\r
18859 should be used when streaming output to a <see cref="T:System.IO.TextWriter"/>.
\r
18863 <member name="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object,System.IO.TextWriter)">
\r
18865 Render <paramref name="obj"/> using the appropriate renderer.
\r
18867 <param name="obj">the object to render to a string</param>
\r
18868 <param name="writer">The writer to render to</param>
\r
18871 Find the appropriate renderer for the type of the
\r
18872 <paramref name="obj"/> parameter. This is accomplished by calling the
\r
18873 <see cref="M:log4net.ObjectRenderer.RendererMap.Get(System.Type)"/> method. Once a renderer is found, it is
\r
18874 applied on the object <paramref name="obj"/> and the result is returned
\r
18875 as a <see cref="T:System.String"/>.
\r
18879 <member name="M:log4net.ObjectRenderer.RendererMap.Get(System.Object)">
\r
18881 Gets the renderer for the specified object type
\r
18883 <param name="obj">the object to lookup the renderer for</param>
\r
18884 <returns>the renderer for <paramref name="obj"/></returns>
\r
18887 Gets the renderer for the specified object type.
\r
18890 Syntactic sugar method that calls <see cref="M:log4net.ObjectRenderer.RendererMap.Get(System.Type)"/>
\r
18891 with the type of the object parameter.
\r
18895 <member name="M:log4net.ObjectRenderer.RendererMap.Get(System.Type)">
\r
18897 Gets the renderer for the specified type
\r
18899 <param name="type">the type to lookup the renderer for</param>
\r
18900 <returns>the renderer for the specified type</returns>
\r
18903 Returns the renderer for the specified type.
\r
18904 If no specific renderer has been defined the
\r
18905 <see cref="P:log4net.ObjectRenderer.RendererMap.DefaultRenderer"/> will be returned.
\r
18909 <member name="M:log4net.ObjectRenderer.RendererMap.SearchTypeAndInterfaces(System.Type)">
\r
18911 Internal function to recursively search interfaces
\r
18913 <param name="type">the type to lookup the renderer for</param>
\r
18914 <returns>the renderer for the specified type</returns>
\r
18916 <member name="M:log4net.ObjectRenderer.RendererMap.Clear">
\r
18918 Clear the map of renderers
\r
18922 Clear the custom renderers defined by using
\r
18923 <see cref="M:log4net.ObjectRenderer.RendererMap.Put(System.Type,log4net.ObjectRenderer.IObjectRenderer)"/>. The <see cref="P:log4net.ObjectRenderer.RendererMap.DefaultRenderer"/>
\r
18924 cannot be removed.
\r
18928 <member name="M:log4net.ObjectRenderer.RendererMap.Put(System.Type,log4net.ObjectRenderer.IObjectRenderer)">
\r
18930 Register an <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> for <paramref name="typeToRender"/>.
\r
18932 <param name="typeToRender">the type that will be rendered by <paramref name="renderer"/></param>
\r
18933 <param name="renderer">the renderer for <paramref name="typeToRender"/></param>
\r
18936 Register an object renderer for a specific source type.
\r
18937 This renderer will be returned from a call to <see cref="M:log4net.ObjectRenderer.RendererMap.Get(System.Type)"/>
\r
18938 specifying the same <paramref name="typeToRender"/> as an argument.
\r
18942 <member name="P:log4net.ObjectRenderer.RendererMap.DefaultRenderer">
\r
18944 Get the default renderer instance
\r
18946 <value>the default renderer</value>
\r
18949 Get the default renderer
\r
18953 <member name="T:log4net.Plugin.IPlugin">
\r
18955 Interface implemented by logger repository plugins.
\r
18959 Plugins define additional behavior that can be associated
\r
18960 with a <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
18961 The <see cref="T:log4net.Plugin.PluginMap"/> held by the <see cref="P:log4net.Repository.ILoggerRepository.PluginMap"/>
\r
18962 property is used to store the plugins for a repository.
\r
18965 The <c>log4net.Config.PluginAttribute</c> can be used to
\r
18966 attach plugins to repositories created using configuration
\r
18970 <author>Nicko Cadell</author>
\r
18971 <author>Gert Driesen</author>
\r
18973 <member name="M:log4net.Plugin.IPlugin.Attach(log4net.Repository.ILoggerRepository)">
\r
18975 Attaches the plugin to the specified <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
18977 <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin should be attached to.</param>
\r
18980 A plugin may only be attached to a single repository.
\r
18983 This method is called when the plugin is attached to the repository.
\r
18987 <member name="M:log4net.Plugin.IPlugin.Shutdown">
\r
18989 Is called when the plugin is to shutdown.
\r
18993 This method is called to notify the plugin that
\r
18994 it should stop operating and should detach from
\r
18999 <member name="P:log4net.Plugin.IPlugin.Name">
\r
19001 Gets the name of the plugin.
\r
19004 The name of the plugin.
\r
19008 Plugins are stored in the <see cref="T:log4net.Plugin.PluginMap"/>
\r
19009 keyed by name. Each plugin instance attached to a
\r
19010 repository must be a unique name.
\r
19014 <member name="T:log4net.Plugin.PluginCollection">
\r
19016 A strongly-typed collection of <see cref="T:log4net.Plugin.IPlugin"/> objects.
\r
19018 <author>Nicko Cadell</author>
\r
19020 <member name="M:log4net.Plugin.PluginCollection.ReadOnly(log4net.Plugin.PluginCollection)">
\r
19022 Creates a read-only wrapper for a <c>PluginCollection</c> instance.
\r
19024 <param name="list">list to create a readonly wrapper arround</param>
\r
19026 A <c>PluginCollection</c> wrapper that is read-only.
\r
19029 <member name="M:log4net.Plugin.PluginCollection.#ctor">
\r
19031 Initializes a new instance of the <c>PluginCollection</c> class
\r
19032 that is empty and has the default initial capacity.
\r
19035 <member name="M:log4net.Plugin.PluginCollection.#ctor(System.Int32)">
\r
19037 Initializes a new instance of the <c>PluginCollection</c> class
\r
19038 that has the specified initial capacity.
\r
19040 <param name="capacity">
\r
19041 The number of elements that the new <c>PluginCollection</c> is initially capable of storing.
\r
19044 <member name="M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.PluginCollection)">
\r
19046 Initializes a new instance of the <c>PluginCollection</c> class
\r
19047 that contains elements copied from the specified <c>PluginCollection</c>.
\r
19049 <param name="c">The <c>PluginCollection</c> whose elements are copied to the new collection.</param>
\r
19051 <member name="M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.IPlugin[])">
\r
19053 Initializes a new instance of the <c>PluginCollection</c> class
\r
19054 that contains elements copied from the specified <see cref="T:log4net.Plugin.IPlugin"/> array.
\r
19056 <param name="a">The <see cref="T:log4net.Plugin.IPlugin"/> array whose elements are copied to the new list.</param>
\r
19058 <member name="M:log4net.Plugin.PluginCollection.#ctor(System.Collections.ICollection)">
\r
19060 Initializes a new instance of the <c>PluginCollection</c> class
\r
19061 that contains elements copied from the specified <see cref="T:log4net.Plugin.IPlugin"/> collection.
\r
19063 <param name="col">The <see cref="T:log4net.Plugin.IPlugin"/> collection whose elements are copied to the new list.</param>
\r
19065 <member name="M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.PluginCollection.Tag)">
\r
19067 Allow subclasses to avoid our default constructors
\r
19069 <param name="tag"></param>
\r
19072 <member name="M:log4net.Plugin.PluginCollection.CopyTo(log4net.Plugin.IPlugin[])">
\r
19074 Copies the entire <c>PluginCollection</c> to a one-dimensional
\r
19075 <see cref="T:log4net.Plugin.IPlugin"/> array.
\r
19077 <param name="array">The one-dimensional <see cref="T:log4net.Plugin.IPlugin"/> array to copy to.</param>
\r
19079 <member name="M:log4net.Plugin.PluginCollection.CopyTo(log4net.Plugin.IPlugin[],System.Int32)">
\r
19081 Copies the entire <c>PluginCollection</c> to a one-dimensional
\r
19082 <see cref="T:log4net.Plugin.IPlugin"/> array, starting at the specified index of the target array.
\r
19084 <param name="array">The one-dimensional <see cref="T:log4net.Plugin.IPlugin"/> array to copy to.</param>
\r
19085 <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param>
\r
19087 <member name="M:log4net.Plugin.PluginCollection.Add(log4net.Plugin.IPlugin)">
\r
19089 Adds a <see cref="T:log4net.Plugin.IPlugin"/> to the end of the <c>PluginCollection</c>.
\r
19091 <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to be added to the end of the <c>PluginCollection</c>.</param>
\r
19092 <returns>The index at which the value has been added.</returns>
\r
19094 <member name="M:log4net.Plugin.PluginCollection.Clear">
\r
19096 Removes all elements from the <c>PluginCollection</c>.
\r
19099 <member name="M:log4net.Plugin.PluginCollection.Clone">
\r
19101 Creates a shallow copy of the <see cref="T:log4net.Plugin.PluginCollection"/>.
\r
19103 <returns>A new <see cref="T:log4net.Plugin.PluginCollection"/> with a shallow copy of the collection data.</returns>
\r
19105 <member name="M:log4net.Plugin.PluginCollection.Contains(log4net.Plugin.IPlugin)">
\r
19107 Determines whether a given <see cref="T:log4net.Plugin.IPlugin"/> is in the <c>PluginCollection</c>.
\r
19109 <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to check for.</param>
\r
19110 <returns><c>true</c> if <paramref name="item"/> is found in the <c>PluginCollection</c>; otherwise, <c>false</c>.</returns>
\r
19112 <member name="M:log4net.Plugin.PluginCollection.IndexOf(log4net.Plugin.IPlugin)">
\r
19114 Returns the zero-based index of the first occurrence of a <see cref="T:log4net.Plugin.IPlugin"/>
\r
19115 in the <c>PluginCollection</c>.
\r
19117 <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to locate in the <c>PluginCollection</c>.</param>
\r
19119 The zero-based index of the first occurrence of <paramref name="item"/>
\r
19120 in the entire <c>PluginCollection</c>, if found; otherwise, -1.
\r
19123 <member name="M:log4net.Plugin.PluginCollection.Insert(System.Int32,log4net.Plugin.IPlugin)">
\r
19125 Inserts an element into the <c>PluginCollection</c> at the specified index.
\r
19127 <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
\r
19128 <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to insert.</param>
\r
19129 <exception cref="T:System.ArgumentOutOfRangeException">
\r
19130 <para><paramref name="index"/> is less than zero</para>
\r
19131 <para>-or-</para>
\r
19132 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
\r
19135 <member name="M:log4net.Plugin.PluginCollection.Remove(log4net.Plugin.IPlugin)">
\r
19137 Removes the first occurrence of a specific <see cref="T:log4net.Plugin.IPlugin"/> from the <c>PluginCollection</c>.
\r
19139 <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to remove from the <c>PluginCollection</c>.</param>
\r
19140 <exception cref="T:System.ArgumentException">
\r
19141 The specified <see cref="T:log4net.Plugin.IPlugin"/> was not found in the <c>PluginCollection</c>.
\r
19144 <member name="M:log4net.Plugin.PluginCollection.RemoveAt(System.Int32)">
\r
19146 Removes the element at the specified index of the <c>PluginCollection</c>.
\r
19148 <param name="index">The zero-based index of the element to remove.</param>
\r
19149 <exception cref="T:System.ArgumentOutOfRangeException">
\r
19150 <para><paramref name="index"/> is less than zero.</para>
\r
19151 <para>-or-</para>
\r
19152 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
\r
19155 <member name="M:log4net.Plugin.PluginCollection.GetEnumerator">
\r
19157 Returns an enumerator that can iterate through the <c>PluginCollection</c>.
\r
19159 <returns>An <see cref="T:log4net.Plugin.PluginCollection.Enumerator"/> for the entire <c>PluginCollection</c>.</returns>
\r
19161 <member name="M:log4net.Plugin.PluginCollection.AddRange(log4net.Plugin.PluginCollection)">
\r
19163 Adds the elements of another <c>PluginCollection</c> to the current <c>PluginCollection</c>.
\r
19165 <param name="x">The <c>PluginCollection</c> whose elements should be added to the end of the current <c>PluginCollection</c>.</param>
\r
19166 <returns>The new <see cref="P:log4net.Plugin.PluginCollection.Count"/> of the <c>PluginCollection</c>.</returns>
\r
19168 <member name="M:log4net.Plugin.PluginCollection.AddRange(log4net.Plugin.IPlugin[])">
\r
19170 Adds the elements of a <see cref="T:log4net.Plugin.IPlugin"/> array to the current <c>PluginCollection</c>.
\r
19172 <param name="x">The <see cref="T:log4net.Plugin.IPlugin"/> array whose elements should be added to the end of the <c>PluginCollection</c>.</param>
\r
19173 <returns>The new <see cref="P:log4net.Plugin.PluginCollection.Count"/> of the <c>PluginCollection</c>.</returns>
\r
19175 <member name="M:log4net.Plugin.PluginCollection.AddRange(System.Collections.ICollection)">
\r
19177 Adds the elements of a <see cref="T:log4net.Plugin.IPlugin"/> collection to the current <c>PluginCollection</c>.
\r
19179 <param name="col">The <see cref="T:log4net.Plugin.IPlugin"/> collection whose elements should be added to the end of the <c>PluginCollection</c>.</param>
\r
19180 <returns>The new <see cref="P:log4net.Plugin.PluginCollection.Count"/> of the <c>PluginCollection</c>.</returns>
\r
19182 <member name="M:log4net.Plugin.PluginCollection.TrimToSize">
\r
19184 Sets the capacity to the actual number of elements.
\r
19187 <member name="M:log4net.Plugin.PluginCollection.ValidateIndex(System.Int32)">
\r
19188 <exception cref="T:System.ArgumentOutOfRangeException">
\r
19189 <para><paramref name="index"/> is less than zero.</para>
\r
19190 <para>-or-</para>
\r
19191 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
\r
19194 <member name="M:log4net.Plugin.PluginCollection.ValidateIndex(System.Int32,System.Boolean)">
\r
19195 <exception cref="T:System.ArgumentOutOfRangeException">
\r
19196 <para><paramref name="index"/> is less than zero.</para>
\r
19197 <para>-or-</para>
\r
19198 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
\r
19201 <member name="P:log4net.Plugin.PluginCollection.Count">
\r
19203 Gets the number of elements actually contained in the <c>PluginCollection</c>.
\r
19206 <member name="P:log4net.Plugin.PluginCollection.IsSynchronized">
\r
19208 Gets a value indicating whether access to the collection is synchronized (thread-safe).
\r
19210 <returns>true if access to the ICollection is synchronized (thread-safe); otherwise, false.</returns>
\r
19212 <member name="P:log4net.Plugin.PluginCollection.SyncRoot">
\r
19214 Gets an object that can be used to synchronize access to the collection.
\r
19217 An object that can be used to synchronize access to the collection.
\r
19220 <member name="P:log4net.Plugin.PluginCollection.Item(System.Int32)">
\r
19222 Gets or sets the <see cref="T:log4net.Plugin.IPlugin"/> at the specified index.
\r
19225 The <see cref="T:log4net.Plugin.IPlugin"/> at the specified index.
\r
19227 <param name="index">The zero-based index of the element to get or set.</param>
\r
19228 <exception cref="T:System.ArgumentOutOfRangeException">
\r
19229 <para><paramref name="index"/> is less than zero.</para>
\r
19230 <para>-or-</para>
\r
19231 <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
\r
19234 <member name="P:log4net.Plugin.PluginCollection.IsFixedSize">
\r
19236 Gets a value indicating whether the collection has a fixed size.
\r
19238 <value><c>true</c> if the collection has a fixed size; otherwise, <c>false</c>. The default is <c>false</c>.</value>
\r
19240 <member name="P:log4net.Plugin.PluginCollection.IsReadOnly">
\r
19242 Gets a value indicating whether the IList is read-only.
\r
19244 <value><c>true</c> if the collection is read-only; otherwise, <c>false</c>. The default is <c>false</c>.</value>
\r
19246 <member name="P:log4net.Plugin.PluginCollection.Capacity">
\r
19248 Gets or sets the number of elements the <c>PluginCollection</c> can contain.
\r
19251 The number of elements the <c>PluginCollection</c> can contain.
\r
19254 <member name="T:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator">
\r
19256 Supports type-safe iteration over a <see cref="T:log4net.Plugin.PluginCollection"/>.
\r
19260 <member name="M:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator.MoveNext">
\r
19262 Advances the enumerator to the next element in the collection.
\r
19265 <c>true</c> if the enumerator was successfully advanced to the next element;
\r
19266 <c>false</c> if the enumerator has passed the end of the collection.
\r
19268 <exception cref="T:System.InvalidOperationException">
\r
19269 The collection was modified after the enumerator was created.
\r
19272 <member name="M:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator.Reset">
\r
19274 Sets the enumerator to its initial position, before the first element in the collection.
\r
19277 <member name="P:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator.Current">
\r
19279 Gets the current element in the collection.
\r
19282 <member name="T:log4net.Plugin.PluginCollection.Tag">
\r
19284 Type visible only to our subclasses
\r
19285 Used to access protected constructor
\r
19289 <member name="F:log4net.Plugin.PluginCollection.Tag.Default">
\r
19294 <member name="T:log4net.Plugin.PluginCollection.Enumerator">
\r
19296 Supports simple iteration over a <see cref="T:log4net.Plugin.PluginCollection"/>.
\r
19300 <member name="M:log4net.Plugin.PluginCollection.Enumerator.#ctor(log4net.Plugin.PluginCollection)">
\r
19302 Initializes a new instance of the <c>Enumerator</c> class.
\r
19304 <param name="tc"></param>
\r
19306 <member name="M:log4net.Plugin.PluginCollection.Enumerator.MoveNext">
\r
19308 Advances the enumerator to the next element in the collection.
\r
19311 <c>true</c> if the enumerator was successfully advanced to the next element;
\r
19312 <c>false</c> if the enumerator has passed the end of the collection.
\r
19314 <exception cref="T:System.InvalidOperationException">
\r
19315 The collection was modified after the enumerator was created.
\r
19318 <member name="M:log4net.Plugin.PluginCollection.Enumerator.Reset">
\r
19320 Sets the enumerator to its initial position, before the first element in the collection.
\r
19323 <member name="P:log4net.Plugin.PluginCollection.Enumerator.Current">
\r
19325 Gets the current element in the collection.
\r
19328 The current element in the collection.
\r
19331 <member name="T:log4net.Plugin.PluginCollection.ReadOnlyPluginCollection">
\r
19334 <member name="T:log4net.Plugin.PluginMap">
\r
19336 Map of repository plugins.
\r
19340 This class is a name keyed map of the plugins that are
\r
19341 attached to a repository.
\r
19344 <author>Nicko Cadell</author>
\r
19345 <author>Gert Driesen</author>
\r
19347 <member name="M:log4net.Plugin.PluginMap.#ctor(log4net.Repository.ILoggerRepository)">
\r
19351 <param name="repository">The repository that the plugins should be attached to.</param>
\r
19354 Initialize a new instance of the <see cref="T:log4net.Plugin.PluginMap"/> class with a
\r
19355 repository that the plugins should be attached to.
\r
19359 <member name="M:log4net.Plugin.PluginMap.Add(log4net.Plugin.IPlugin)">
\r
19361 Adds a <see cref="T:log4net.Plugin.IPlugin"/> to the map.
\r
19363 <param name="plugin">The <see cref="T:log4net.Plugin.IPlugin"/> to add to the map.</param>
\r
19366 The <see cref="T:log4net.Plugin.IPlugin"/> will be attached to the repository when added.
\r
19369 If there already exists a plugin with the same name
\r
19370 attached to the repository then the old plugin will
\r
19371 be <see cref="M:log4net.Plugin.IPlugin.Shutdown"/> and replaced with
\r
19376 <member name="M:log4net.Plugin.PluginMap.Remove(log4net.Plugin.IPlugin)">
\r
19378 Removes a <see cref="T:log4net.Plugin.IPlugin"/> from the map.
\r
19380 <param name="plugin">The <see cref="T:log4net.Plugin.IPlugin"/> to remove from the map.</param>
\r
19383 Remove a specific plugin from this map.
\r
19387 <member name="P:log4net.Plugin.PluginMap.Item(System.String)">
\r
19389 Gets a <see cref="T:log4net.Plugin.IPlugin"/> by name.
\r
19391 <param name="name">The name of the <see cref="T:log4net.Plugin.IPlugin"/> to lookup.</param>
\r
19393 The <see cref="T:log4net.Plugin.IPlugin"/> from the map with the name specified, or
\r
19394 <c>null</c> if no plugin is found.
\r
19398 Lookup a plugin by name. If the plugin is not found <c>null</c>
\r
19399 will be returned.
\r
19403 <member name="P:log4net.Plugin.PluginMap.AllPlugins">
\r
19405 Gets all possible plugins as a list of <see cref="T:log4net.Plugin.IPlugin"/> objects.
\r
19407 <value>All possible plugins as a list of <see cref="T:log4net.Plugin.IPlugin"/> objects.</value>
\r
19410 Get a collection of all the plugins defined in this map.
\r
19414 <member name="T:log4net.Plugin.PluginSkeleton">
\r
19416 Base implementation of <see cref="T:log4net.Plugin.IPlugin"/>
\r
19420 Default abstract implementation of the <see cref="T:log4net.Plugin.IPlugin"/>
\r
19421 interface. This base class can be used by implementors
\r
19422 of the <see cref="T:log4net.Plugin.IPlugin"/> interface.
\r
19425 <author>Nicko Cadell</author>
\r
19426 <author>Gert Driesen</author>
\r
19428 <member name="M:log4net.Plugin.PluginSkeleton.#ctor(System.String)">
\r
19432 <param name="name">the name of the plugin</param>
\r
19434 Initializes a new Plugin with the specified name.
\r
19437 <member name="M:log4net.Plugin.PluginSkeleton.Attach(log4net.Repository.ILoggerRepository)">
\r
19439 Attaches this plugin to a <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
19441 <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin should be attached to.</param>
\r
19444 A plugin may only be attached to a single repository.
\r
19447 This method is called when the plugin is attached to the repository.
\r
19451 <member name="M:log4net.Plugin.PluginSkeleton.Shutdown">
\r
19453 Is called when the plugin is to shutdown.
\r
19457 This method is called to notify the plugin that
\r
19458 it should stop operating and should detach from
\r
19463 <member name="F:log4net.Plugin.PluginSkeleton.m_name">
\r
19465 The name of this plugin.
\r
19468 <member name="F:log4net.Plugin.PluginSkeleton.m_repository">
\r
19470 The repository this plugin is attached to.
\r
19473 <member name="P:log4net.Plugin.PluginSkeleton.Name">
\r
19475 Gets or sets the name of the plugin.
\r
19478 The name of the plugin.
\r
19482 Plugins are stored in the <see cref="T:log4net.Plugin.PluginMap"/>
\r
19483 keyed by name. Each plugin instance attached to a
\r
19484 repository must be a unique name.
\r
19487 The name of the plugin must not change one the
\r
19488 plugin has been attached to a repository.
\r
19492 <member name="P:log4net.Plugin.PluginSkeleton.LoggerRepository">
\r
19494 The repository for this plugin
\r
19497 The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin is attached to.
\r
19501 Gets or sets the <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin is
\r
19506 <member name="T:log4net.Plugin.RemoteLoggingServerPlugin">
\r
19508 Plugin that listens for events from the <see cref="T:log4net.Appender.RemotingAppender"/>
\r
19512 This plugin publishes an instance of <see cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
\r
19513 on a specified <see cref="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri"/>. This listens for logging events delivered from
\r
19514 a remote <see cref="T:log4net.Appender.RemotingAppender"/>.
\r
19517 When an event is received it is relogged within the attached repository
\r
19518 as if it had been raised locally.
\r
19521 <author>Nicko Cadell</author>
\r
19522 <author>Gert Driesen</author>
\r
19524 <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.#ctor">
\r
19526 Default constructor
\r
19530 Initializes a new instance of the <see cref="T:log4net.Plugin.RemoteLoggingServerPlugin"/> class.
\r
19533 The <see cref="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri"/> property must be set.
\r
19537 <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.#ctor(System.String)">
\r
19539 Construct with sink Uri.
\r
19541 <param name="sinkUri">The name to publish the sink under in the remoting infrastructure.
\r
19542 See <see cref="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri"/> for more details.</param>
\r
19545 Initializes a new instance of the <see cref="T:log4net.Plugin.RemoteLoggingServerPlugin"/> class
\r
19546 with specified name.
\r
19550 <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.Attach(log4net.Repository.ILoggerRepository)">
\r
19552 Attaches this plugin to a <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
19554 <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin should be attached to.</param>
\r
19557 A plugin may only be attached to a single repository.
\r
19560 This method is called when the plugin is attached to the repository.
\r
19564 <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.Shutdown">
\r
19566 Is called when the plugin is to shutdown.
\r
19570 When the plugin is shutdown the remote logging
\r
19571 sink is disconnected.
\r
19575 <member name="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri">
\r
19577 Gets or sets the URI of this sink.
\r
19580 The URI of this sink.
\r
19584 This is the name under which the object is marshaled.
\r
19585 <see cref="M:System.Runtime.Remoting.RemotingServices.Marshal(System.MarshalByRefObject,System.String,System.Type)"/>
\r
19589 <member name="T:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl">
\r
19591 Delivers <see cref="T:log4net.Core.LoggingEvent"/> objects to a remote sink.
\r
19595 Internal class used to listen for logging events
\r
19596 and deliver them to the local repository.
\r
19600 <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.#ctor(log4net.Repository.ILoggerRepository)">
\r
19604 <param name="repository">The repository to log to.</param>
\r
19607 Initializes a new instance of the <see cref="T:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl"/> for the
\r
19608 specified <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
19612 <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.LogEvents(log4net.Core.LoggingEvent[])">
\r
19614 Logs the events to the repository.
\r
19616 <param name="events">The events to log.</param>
\r
19619 The events passed are logged to the <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
19623 <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.InitializeLifetimeService">
\r
19625 Obtains a lifetime service object to control the lifetime
\r
19626 policy for this instance.
\r
19628 <returns><c>null</c> to indicate that this instance should live forever.</returns>
\r
19631 Obtains a lifetime service object to control the lifetime
\r
19632 policy for this instance. This object should live forever
\r
19633 therefore this implementation returns <c>null</c>.
\r
19637 <member name="F:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.m_repository">
\r
19639 The underlying <see cref="T:log4net.Repository.ILoggerRepository"/> that events should
\r
19643 <member name="T:log4net.Repository.Hierarchy.DefaultLoggerFactory">
\r
19645 Default implementation of <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
\r
19649 This default implementation of the <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
\r
19650 interface is used to create the default subclass
\r
19651 of the <see cref="T:log4net.Repository.Hierarchy.Logger"/> object.
\r
19654 <author>Nicko Cadell</author>
\r
19655 <author>Gert Driesen</author>
\r
19657 <member name="T:log4net.Repository.Hierarchy.ILoggerFactory">
\r
19659 Interface abstracts creation of <see cref="T:log4net.Repository.Hierarchy.Logger"/> instances
\r
19663 This interface is used by the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> to
\r
19664 create new <see cref="T:log4net.Repository.Hierarchy.Logger"/> objects.
\r
19667 The <see cref="M:log4net.Repository.Hierarchy.ILoggerFactory.CreateLogger(System.String)"/> method is called
\r
19668 to create a named <see cref="T:log4net.Repository.Hierarchy.Logger"/>.
\r
19671 Implement this interface to create new subclasses of <see cref="T:log4net.Repository.Hierarchy.Logger"/>.
\r
19674 <author>Nicko Cadell</author>
\r
19675 <author>Gert Driesen</author>
\r
19677 <member name="M:log4net.Repository.Hierarchy.ILoggerFactory.CreateLogger(System.String)">
\r
19679 Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance
\r
19681 <param name="name">The name of the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
\r
19682 <returns>The <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance for the specified name.</returns>
\r
19685 Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance with the
\r
19689 Called by the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> to create
\r
19690 new named <see cref="T:log4net.Repository.Hierarchy.Logger"/> instances.
\r
19693 If the <paramref name="name"/> is <c>null</c> then the root logger
\r
19694 must be returned.
\r
19698 <member name="M:log4net.Repository.Hierarchy.DefaultLoggerFactory.#ctor">
\r
19700 Default constructor
\r
19704 Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.DefaultLoggerFactory"/> class.
\r
19708 <member name="M:log4net.Repository.Hierarchy.DefaultLoggerFactory.CreateLogger(System.String)">
\r
19710 Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance
\r
19712 <param name="name">The name of the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
\r
19713 <returns>The <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance for the specified name.</returns>
\r
19716 Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance with the
\r
19720 Called by the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> to create
\r
19721 new named <see cref="T:log4net.Repository.Hierarchy.Logger"/> instances.
\r
19724 If the <paramref name="name"/> is <c>null</c> then the root logger
\r
19725 must be returned.
\r
19729 <member name="T:log4net.Repository.Hierarchy.DefaultLoggerFactory.LoggerImpl">
\r
19731 Default internal subclass of <see cref="T:log4net.Repository.Hierarchy.Logger"/>
\r
19735 This subclass has no additional behavior over the
\r
19736 <see cref="T:log4net.Repository.Hierarchy.Logger"/> class but does allow instances
\r
19741 <member name="T:log4net.Repository.Hierarchy.Logger">
\r
19743 Implementation of <see cref="T:log4net.Core.ILogger"/> used by <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/>
\r
19747 Internal class used to provide implementation of <see cref="T:log4net.Core.ILogger"/>
\r
19748 interface. Applications should use <see cref="T:log4net.LogManager"/> to get
\r
19749 logger instances.
\r
19752 This is one of the central classes in the log4net implementation. One of the
\r
19753 distinctive features of log4net are hierarchical loggers and their
\r
19754 evaluation. The <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/> organizes the <see cref="T:log4net.Repository.Hierarchy.Logger"/>
\r
19755 instances into a rooted tree hierarchy.
\r
19758 The <see cref="T:log4net.Repository.Hierarchy.Logger"/> class is abstract. Only concrete subclasses of
\r
19759 <see cref="T:log4net.Repository.Hierarchy.Logger"/> can be created. The <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
\r
19760 is used to create instances of this type for the <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/>.
\r
19763 <author>Nicko Cadell</author>
\r
19764 <author>Gert Driesen</author>
\r
19765 <author>Aspi Havewala</author>
\r
19766 <author>Douglas de la Torre</author>
\r
19768 <member name="M:log4net.Repository.Hierarchy.Logger.#ctor(System.String)">
\r
19770 This constructor created a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance and
\r
19773 <param name="name">The name of the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
\r
19776 This constructor is protected and designed to be used by
\r
19777 a subclass that is not abstract.
\r
19780 Loggers are constructed by <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
\r
19781 objects. See <see cref="T:log4net.Repository.Hierarchy.DefaultLoggerFactory"/> for the default
\r
19786 <member name="M:log4net.Repository.Hierarchy.Logger.AddAppender(log4net.Appender.IAppender)">
\r
19788 Add <paramref name="newAppender"/> to the list of appenders of this
\r
19791 <param name="newAppender">An appender to add to this logger</param>
\r
19794 Add <paramref name="newAppender"/> to the list of appenders of this
\r
19798 If <paramref name="newAppender"/> is already in the list of
\r
19799 appenders, then it won't be added again.
\r
19803 <member name="M:log4net.Repository.Hierarchy.Logger.GetAppender(System.String)">
\r
19805 Look for the appender named as <c>name</c>
\r
19807 <param name="name">The name of the appender to lookup</param>
\r
19808 <returns>The appender with the name specified, or <c>null</c>.</returns>
\r
19811 Returns the named appender, or null if the appender is not found.
\r
19815 <member name="M:log4net.Repository.Hierarchy.Logger.RemoveAllAppenders">
\r
19817 Remove all previously added appenders from this Logger instance.
\r
19821 Remove all previously added appenders from this Logger instance.
\r
19824 This is useful when re-reading configuration information.
\r
19828 <member name="M:log4net.Repository.Hierarchy.Logger.RemoveAppender(log4net.Appender.IAppender)">
\r
19830 Remove the appender passed as parameter form the list of appenders.
\r
19832 <param name="appender">The appender to remove</param>
\r
19833 <returns>The appender removed from the list</returns>
\r
19836 Remove the appender passed as parameter form the list of appenders.
\r
19837 The appender removed is not closed.
\r
19838 If you are discarding the appender you must call
\r
19839 <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
\r
19843 <member name="M:log4net.Repository.Hierarchy.Logger.RemoveAppender(System.String)">
\r
19845 Remove the appender passed as parameter form the list of appenders.
\r
19847 <param name="name">The name of the appender to remove</param>
\r
19848 <returns>The appender removed from the list</returns>
\r
19851 Remove the named appender passed as parameter form the list of appenders.
\r
19852 The appender removed is not closed.
\r
19853 If you are discarding the appender you must call
\r
19854 <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
\r
19858 <member name="M:log4net.Repository.Hierarchy.Logger.Log(System.Type,log4net.Core.Level,System.Object,System.Exception)">
\r
19860 This generic form is intended to be used by wrappers.
\r
19862 <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
\r
19863 the stack boundary into the logging system for this call.</param>
\r
19864 <param name="level">The level of the message to be logged.</param>
\r
19865 <param name="message">The message object to log.</param>
\r
19866 <param name="exception">The exception to log, including its stack trace.</param>
\r
19869 Generate a logging event for the specified <paramref name="level"/> using
\r
19870 the <paramref name="message"/> and <paramref name="exception"/>.
\r
19873 This method must not throw any exception to the caller.
\r
19877 <member name="M:log4net.Repository.Hierarchy.Logger.Log(log4net.Core.LoggingEvent)">
\r
19879 This is the most generic printing method that is intended to be used
\r
19882 <param name="logEvent">The event being logged.</param>
\r
19885 Logs the specified logging event through this logger.
\r
19888 This method must not throw any exception to the caller.
\r
19892 <member name="M:log4net.Repository.Hierarchy.Logger.IsEnabledFor(log4net.Core.Level)">
\r
19894 Checks if this logger is enabled for a given <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/> passed as parameter.
\r
19896 <param name="level">The level to check.</param>
\r
19898 <c>true</c> if this logger is enabled for <c>level</c>, otherwise <c>false</c>.
\r
19902 Test if this logger is going to log events of the specified <paramref name="level"/>.
\r
19905 This method must not throw any exception to the caller.
\r
19909 <member name="M:log4net.Repository.Hierarchy.Logger.CallAppenders(log4net.Core.LoggingEvent)">
\r
19911 Deliver the <see cref="T:log4net.Core.LoggingEvent"/> to the attached appenders.
\r
19913 <param name="loggingEvent">The event to log.</param>
\r
19916 Call the appenders in the hierarchy starting at
\r
19917 <c>this</c>. If no appenders could be found, emit a
\r
19921 This method calls all the appenders inherited from the
\r
19922 hierarchy circumventing any evaluation of whether to log or not
\r
19923 to log the particular log request.
\r
19927 <member name="M:log4net.Repository.Hierarchy.Logger.CloseNestedAppenders">
\r
19929 Closes all attached appenders implementing the <see cref="T:log4net.Core.IAppenderAttachable"/> interface.
\r
19933 Used to ensure that the appenders are correctly shutdown.
\r
19937 <member name="M:log4net.Repository.Hierarchy.Logger.Log(log4net.Core.Level,System.Object,System.Exception)">
\r
19939 This is the most generic printing method. This generic form is intended to be used by wrappers
\r
19941 <param name="level">The level of the message to be logged.</param>
\r
19942 <param name="message">The message object to log.</param>
\r
19943 <param name="exception">The exception to log, including its stack trace.</param>
\r
19946 Generate a logging event for the specified <paramref name="level"/> using
\r
19947 the <paramref name="message"/>.
\r
19951 <member name="M:log4net.Repository.Hierarchy.Logger.ForcedLog(System.Type,log4net.Core.Level,System.Object,System.Exception)">
\r
19953 Creates a new logging event and logs the event without further checks.
\r
19955 <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
\r
19956 the stack boundary into the logging system for this call.</param>
\r
19957 <param name="level">The level of the message to be logged.</param>
\r
19958 <param name="message">The message object to log.</param>
\r
19959 <param name="exception">The exception to log, including its stack trace.</param>
\r
19962 Generates a logging event and delivers it to the attached
\r
19967 <member name="M:log4net.Repository.Hierarchy.Logger.ForcedLog(log4net.Core.LoggingEvent)">
\r
19969 Creates a new logging event and logs the event without further checks.
\r
19971 <param name="logEvent">The event being logged.</param>
\r
19974 Delivers the logging event to the attached appenders.
\r
19978 <member name="F:log4net.Repository.Hierarchy.Logger.ThisDeclaringType">
\r
19980 The fully qualified type of the Logger class.
\r
19983 <member name="F:log4net.Repository.Hierarchy.Logger.m_name">
\r
19985 The name of this logger.
\r
19988 <member name="F:log4net.Repository.Hierarchy.Logger.m_level">
\r
19990 The assigned level of this logger.
\r
19994 The <c>level</c> variable need not be
\r
19995 assigned a value in which case it is inherited
\r
19996 form the hierarchy.
\r
20000 <member name="F:log4net.Repository.Hierarchy.Logger.m_parent">
\r
20002 The parent of this logger.
\r
20006 The parent of this logger.
\r
20007 All loggers have at least one ancestor which is the root logger.
\r
20011 <member name="F:log4net.Repository.Hierarchy.Logger.m_hierarchy">
\r
20013 Loggers need to know what Hierarchy they are in.
\r
20017 Loggers need to know what Hierarchy they are in.
\r
20018 The hierarchy that this logger is a member of is stored
\r
20023 <member name="F:log4net.Repository.Hierarchy.Logger.m_appenderAttachedImpl">
\r
20025 Helper implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
\r
20028 <member name="F:log4net.Repository.Hierarchy.Logger.m_additive">
\r
20030 Flag indicating if child loggers inherit their parents appenders
\r
20034 Additivity is set to true by default, that is children inherit
\r
20035 the appenders of their ancestors by default. If this variable is
\r
20036 set to <c>false</c> then the appenders found in the
\r
20037 ancestors of this logger are not used. However, the children
\r
20038 of this logger will inherit its appenders, unless the children
\r
20039 have their additivity flag set to <c>false</c> too. See
\r
20040 the user manual for more details.
\r
20044 <member name="F:log4net.Repository.Hierarchy.Logger.m_appenderLock">
\r
20046 Lock to protect AppenderAttachedImpl variable m_appenderAttachedImpl
\r
20049 <member name="P:log4net.Repository.Hierarchy.Logger.Parent">
\r
20051 Gets or sets the parent logger in the hierarchy.
\r
20054 The parent logger in the hierarchy.
\r
20058 Part of the Composite pattern that makes the hierarchy.
\r
20059 The hierarchy is parent linked rather than child linked.
\r
20063 <member name="P:log4net.Repository.Hierarchy.Logger.Additivity">
\r
20065 Gets or sets a value indicating if child loggers inherit their parent's appenders.
\r
20068 <c>true</c> if child loggers inherit their parent's appenders.
\r
20072 Additivity is set to <c>true</c> by default, that is children inherit
\r
20073 the appenders of their ancestors by default. If this variable is
\r
20074 set to <c>false</c> then the appenders found in the
\r
20075 ancestors of this logger are not used. However, the children
\r
20076 of this logger will inherit its appenders, unless the children
\r
20077 have their additivity flag set to <c>false</c> too. See
\r
20078 the user manual for more details.
\r
20082 <member name="P:log4net.Repository.Hierarchy.Logger.EffectiveLevel">
\r
20084 Gets the effective level for this logger.
\r
20086 <returns>The nearest level in the logger hierarchy.</returns>
\r
20089 Starting from this logger, searches the logger hierarchy for a
\r
20090 non-null level and returns it. Otherwise, returns the level of the
\r
20093 <para>The Logger class is designed so that this method executes as
\r
20094 quickly as possible.</para>
\r
20097 <member name="P:log4net.Repository.Hierarchy.Logger.Hierarchy">
\r
20099 Gets or sets the <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/> where this
\r
20100 <c>Logger</c> instance is attached to.
\r
20102 <value>The hierarchy that this logger belongs to.</value>
\r
20105 This logger must be attached to a single <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/>.
\r
20109 <member name="P:log4net.Repository.Hierarchy.Logger.Level">
\r
20111 Gets or sets the assigned <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/>, if any, for this Logger.
\r
20114 The <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/> of this logger.
\r
20118 The assigned <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/> can be <c>null</c>.
\r
20122 <member name="P:log4net.Repository.Hierarchy.Logger.Appenders">
\r
20124 Get the appenders contained in this logger as an
\r
20125 <see cref="T:System.Collections.ICollection"/>.
\r
20127 <returns>A collection of the appenders in this logger</returns>
\r
20130 Get the appenders contained in this logger as an
\r
20131 <see cref="T:System.Collections.ICollection"/>. If no appenders
\r
20132 can be found, then a <see cref="T:log4net.Util.EmptyCollection"/> is returned.
\r
20136 <member name="P:log4net.Repository.Hierarchy.Logger.Name">
\r
20138 Gets the logger name.
\r
20141 The name of the logger.
\r
20145 The name of this logger
\r
20149 <member name="P:log4net.Repository.Hierarchy.Logger.Repository">
\r
20151 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this
\r
20152 <c>Logger</c> instance is attached to.
\r
20155 The <see cref="T:log4net.Repository.ILoggerRepository"/> that this logger belongs to.
\r
20159 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this
\r
20160 <c>Logger</c> instance is attached to.
\r
20164 <member name="M:log4net.Repository.Hierarchy.DefaultLoggerFactory.LoggerImpl.#ctor(System.String)">
\r
20166 Construct a new Logger
\r
20168 <param name="name">the name of the logger</param>
\r
20171 Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.DefaultLoggerFactory.LoggerImpl"/> class
\r
20172 with the specified name.
\r
20176 <member name="T:log4net.Repository.Hierarchy.LoggerCreationEventHandler">
\r
20178 Delegate used to handle logger creation event notifications.
\r
20180 <param name="sender">The <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> in which the <see cref="T:log4net.Repository.Hierarchy.Logger"/> has been created.</param>
\r
20181 <param name="e">The <see cref="T:log4net.Repository.Hierarchy.LoggerCreationEventArgs"/> event args that hold the <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance that has been created.</param>
\r
20184 Delegate used to handle logger creation event notifications.
\r
20188 <member name="T:log4net.Repository.Hierarchy.LoggerCreationEventArgs">
\r
20190 Provides data for the <see cref="E:log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent"/> event.
\r
20194 A <see cref="E:log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent"/> event is raised every time a
\r
20195 <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> is created.
\r
20199 <member name="F:log4net.Repository.Hierarchy.LoggerCreationEventArgs.m_log">
\r
20201 The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> created
\r
20204 <member name="M:log4net.Repository.Hierarchy.LoggerCreationEventArgs.#ctor(log4net.Repository.Hierarchy.Logger)">
\r
20208 <param name="log">The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.</param>
\r
20211 Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.LoggerCreationEventArgs"/> event argument
\r
20212 class,with the specified <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/>.
\r
20216 <member name="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger">
\r
20218 Gets the <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.
\r
20221 The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.
\r
20225 The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.
\r
20229 <member name="T:log4net.Repository.Hierarchy.Hierarchy">
\r
20231 Hierarchical organization of loggers
\r
20235 <i>The casual user should not have to deal with this class
\r
20239 This class is specialized in retrieving loggers by name and
\r
20240 also maintaining the logger hierarchy. Implements the
\r
20241 <see cref="T:log4net.Repository.ILoggerRepository"/> interface.
\r
20244 The structure of the logger hierarchy is maintained by the
\r
20245 <see cref="M:log4net.Repository.Hierarchy.Hierarchy.GetLogger(System.String)"/> method. The hierarchy is such that children
\r
20246 link to their parent but parents do not have any references to their
\r
20247 children. Moreover, loggers can be instantiated in any order, in
\r
20248 particular descendant before ancestor.
\r
20251 In case a descendant is created before a particular ancestor,
\r
20252 then it creates a provision node for the ancestor and adds itself
\r
20253 to the provision node. Other descendants of the same ancestor add
\r
20254 themselves to the previously created provision node.
\r
20257 <author>Nicko Cadell</author>
\r
20258 <author>Gert Driesen</author>
\r
20260 <member name="T:log4net.Repository.LoggerRepositorySkeleton">
\r
20262 Base implementation of <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
20266 Default abstract implementation of the <see cref="T:log4net.Repository.ILoggerRepository"/> interface.
\r
20269 Skeleton implementation of the <see cref="T:log4net.Repository.ILoggerRepository"/> interface.
\r
20270 All <see cref="T:log4net.Repository.ILoggerRepository"/> types can extend this type.
\r
20273 <author>Nicko Cadell</author>
\r
20274 <author>Gert Driesen</author>
\r
20276 <member name="T:log4net.Repository.ILoggerRepository">
\r
20278 Interface implemented by logger repositories.
\r
20282 This interface is implemented by logger repositories. e.g.
\r
20283 <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
\r
20286 This interface is used by the <see cref="T:log4net.LogManager"/>
\r
20287 to obtain <see cref="T:log4net.ILog"/> interfaces.
\r
20290 <author>Nicko Cadell</author>
\r
20291 <author>Gert Driesen</author>
\r
20293 <member name="M:log4net.Repository.ILoggerRepository.Exists(System.String)">
\r
20295 Check if the named logger exists in the repository. If so return
\r
20296 its reference, otherwise returns <c>null</c>.
\r
20298 <param name="name">The name of the logger to lookup</param>
\r
20299 <returns>The Logger object with the name specified</returns>
\r
20302 If the names logger exists it is returned, otherwise
\r
20303 <c>null</c> is returned.
\r
20307 <member name="M:log4net.Repository.ILoggerRepository.GetCurrentLoggers">
\r
20309 Returns all the currently defined loggers as an Array.
\r
20311 <returns>All the defined loggers</returns>
\r
20314 Returns all the currently defined loggers as an Array.
\r
20318 <member name="M:log4net.Repository.ILoggerRepository.GetLogger(System.String)">
\r
20320 Returns a named logger instance
\r
20322 <param name="name">The name of the logger to retrieve</param>
\r
20323 <returns>The logger object with the name specified</returns>
\r
20326 Returns a named logger instance.
\r
20329 If a logger of that name already exists, then it will be
\r
20330 returned. Otherwise, a new logger will be instantiated and
\r
20331 then linked with its existing ancestors as well as children.
\r
20335 <member name="M:log4net.Repository.ILoggerRepository.Shutdown">
\r
20336 <summary>Shutdown the repository</summary>
\r
20339 Shutting down a repository will <i>safely</i> close and remove
\r
20340 all appenders in all loggers including the root logger.
\r
20343 Some appenders need to be closed before the
\r
20344 application exists. Otherwise, pending logging events might be
\r
20348 The <see cref="M:log4net.Repository.ILoggerRepository.Shutdown"/> method is careful to close nested
\r
20349 appenders before closing regular appenders. This is allows
\r
20350 configurations where a regular appender is attached to a logger
\r
20351 and again to a nested appender.
\r
20355 <member name="M:log4net.Repository.ILoggerRepository.ResetConfiguration">
\r
20357 Reset the repositories configuration to a default state
\r
20361 Reset all values contained in this instance to their
\r
20365 Existing loggers are not removed. They are just reset.
\r
20368 This method should be used sparingly and with care as it will
\r
20369 block all logging until it is completed.
\r
20373 <member name="M:log4net.Repository.ILoggerRepository.Log(log4net.Core.LoggingEvent)">
\r
20375 Log the <see cref="T:log4net.Core.LoggingEvent"/> through this repository.
\r
20377 <param name="logEvent">the event to log</param>
\r
20380 This method should not normally be used to log.
\r
20381 The <see cref="T:log4net.ILog"/> interface should be used
\r
20382 for routine logging. This interface can be obtained
\r
20383 using the <see cref="M:log4net.LogManager.GetLogger(System.String)"/> method.
\r
20386 The <c>logEvent</c> is delivered to the appropriate logger and
\r
20387 that logger is then responsible for logging the event.
\r
20391 <member name="M:log4net.Repository.ILoggerRepository.GetAppenders">
\r
20393 Returns all the Appenders that are configured as an Array.
\r
20395 <returns>All the Appenders</returns>
\r
20398 Returns all the Appenders that are configured as an Array.
\r
20402 <member name="P:log4net.Repository.ILoggerRepository.Name">
\r
20404 The name of the repository
\r
20407 The name of the repository
\r
20411 The name of the repository.
\r
20415 <member name="P:log4net.Repository.ILoggerRepository.RendererMap">
\r
20417 RendererMap accesses the object renderer map for this repository.
\r
20420 RendererMap accesses the object renderer map for this repository.
\r
20424 RendererMap accesses the object renderer map for this repository.
\r
20427 The RendererMap holds a mapping between types and
\r
20428 <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> objects.
\r
20432 <member name="P:log4net.Repository.ILoggerRepository.PluginMap">
\r
20434 The plugin map for this repository.
\r
20437 The plugin map for this repository.
\r
20441 The plugin map holds the <see cref="T:log4net.Plugin.IPlugin"/> instances
\r
20442 that have been attached to this repository.
\r
20446 <member name="P:log4net.Repository.ILoggerRepository.LevelMap">
\r
20448 Get the level map for the Repository.
\r
20452 Get the level map for the Repository.
\r
20455 The level map defines the mappings between
\r
20456 level names and <see cref="T:log4net.Core.Level"/> objects in
\r
20461 <member name="P:log4net.Repository.ILoggerRepository.Threshold">
\r
20463 The threshold for all events in this repository
\r
20466 The threshold for all events in this repository
\r
20470 The threshold for all events in this repository.
\r
20474 <member name="P:log4net.Repository.ILoggerRepository.Configured">
\r
20476 Flag indicates if this repository has been configured.
\r
20479 Flag indicates if this repository has been configured.
\r
20483 Flag indicates if this repository has been configured.
\r
20487 <member name="E:log4net.Repository.ILoggerRepository.ShutdownEvent">
\r
20489 Event to notify that the repository has been shutdown.
\r
20492 Event to notify that the repository has been shutdown.
\r
20496 Event raised when the repository has been shutdown.
\r
20500 <member name="E:log4net.Repository.ILoggerRepository.ConfigurationReset">
\r
20502 Event to notify that the repository has had its configuration reset.
\r
20505 Event to notify that the repository has had its configuration reset.
\r
20509 Event raised when the repository's configuration has been
\r
20510 reset to default.
\r
20514 <member name="E:log4net.Repository.ILoggerRepository.ConfigurationChanged">
\r
20516 Event to notify that the repository has had its configuration changed.
\r
20519 Event to notify that the repository has had its configuration changed.
\r
20523 Event raised when the repository's configuration has been changed.
\r
20527 <member name="P:log4net.Repository.ILoggerRepository.Properties">
\r
20529 Repository specific properties
\r
20532 Repository specific properties
\r
20536 These properties can be specified on a repository specific basis.
\r
20540 <member name="M:log4net.Repository.LoggerRepositorySkeleton.#ctor">
\r
20542 Default Constructor
\r
20546 Initializes the repository with default (empty) properties.
\r
20550 <member name="M:log4net.Repository.LoggerRepositorySkeleton.#ctor(log4net.Util.PropertiesDictionary)">
\r
20552 Construct the repository using specific properties
\r
20554 <param name="properties">the properties to set for this repository</param>
\r
20557 Initializes the repository with specified properties.
\r
20561 <member name="M:log4net.Repository.LoggerRepositorySkeleton.Exists(System.String)">
\r
20563 Test if logger exists
\r
20565 <param name="name">The name of the logger to lookup</param>
\r
20566 <returns>The Logger object with the name specified</returns>
\r
20569 Check if the named logger exists in the repository. If so return
\r
20570 its reference, otherwise returns <c>null</c>.
\r
20574 <member name="M:log4net.Repository.LoggerRepositorySkeleton.GetCurrentLoggers">
\r
20576 Returns all the currently defined loggers in the repository
\r
20578 <returns>All the defined loggers</returns>
\r
20581 Returns all the currently defined loggers in the repository as an Array.
\r
20585 <member name="M:log4net.Repository.LoggerRepositorySkeleton.GetLogger(System.String)">
\r
20587 Return a new logger instance
\r
20589 <param name="name">The name of the logger to retrieve</param>
\r
20590 <returns>The logger object with the name specified</returns>
\r
20593 Return a new logger instance.
\r
20596 If a logger of that name already exists, then it will be
\r
20597 returned. Otherwise, a new logger will be instantiated and
\r
20598 then linked with its existing ancestors as well as children.
\r
20602 <member name="M:log4net.Repository.LoggerRepositorySkeleton.Shutdown">
\r
20604 Shutdown the repository
\r
20608 Shutdown the repository. Can be overridden in a subclass.
\r
20609 This base class implementation notifies the <see cref="E:log4net.Repository.LoggerRepositorySkeleton.ShutdownEvent"/>
\r
20610 listeners and all attached plugins of the shutdown event.
\r
20614 <member name="M:log4net.Repository.LoggerRepositorySkeleton.ResetConfiguration">
\r
20616 Reset the repositories configuration to a default state
\r
20620 Reset all values contained in this instance to their
\r
20624 Existing loggers are not removed. They are just reset.
\r
20627 This method should be used sparingly and with care as it will
\r
20628 block all logging until it is completed.
\r
20632 <member name="M:log4net.Repository.LoggerRepositorySkeleton.Log(log4net.Core.LoggingEvent)">
\r
20634 Log the logEvent through this repository.
\r
20636 <param name="logEvent">the event to log</param>
\r
20639 This method should not normally be used to log.
\r
20640 The <see cref="T:log4net.ILog"/> interface should be used
\r
20641 for routine logging. This interface can be obtained
\r
20642 using the <see cref="M:log4net.LogManager.GetLogger(System.String)"/> method.
\r
20645 The <c>logEvent</c> is delivered to the appropriate logger and
\r
20646 that logger is then responsible for logging the event.
\r
20650 <member name="M:log4net.Repository.LoggerRepositorySkeleton.GetAppenders">
\r
20652 Returns all the Appenders that are configured as an Array.
\r
20654 <returns>All the Appenders</returns>
\r
20657 Returns all the Appenders that are configured as an Array.
\r
20661 <member name="M:log4net.Repository.LoggerRepositorySkeleton.AddRenderer(System.Type,log4net.ObjectRenderer.IObjectRenderer)">
\r
20663 Adds an object renderer for a specific class.
\r
20665 <param name="typeToRender">The type that will be rendered by the renderer supplied.</param>
\r
20666 <param name="rendererInstance">The object renderer used to render the object.</param>
\r
20669 Adds an object renderer for a specific class.
\r
20673 <member name="M:log4net.Repository.LoggerRepositorySkeleton.OnShutdown(System.EventArgs)">
\r
20675 Notify the registered listeners that the repository is shutting down
\r
20677 <param name="e">Empty EventArgs</param>
\r
20680 Notify any listeners that this repository is shutting down.
\r
20684 <member name="M:log4net.Repository.LoggerRepositorySkeleton.OnConfigurationReset(System.EventArgs)">
\r
20686 Notify the registered listeners that the repository has had its configuration reset
\r
20688 <param name="e">Empty EventArgs</param>
\r
20691 Notify any listeners that this repository's configuration has been reset.
\r
20695 <member name="M:log4net.Repository.LoggerRepositorySkeleton.OnConfigurationChanged(System.EventArgs)">
\r
20697 Notify the registered listeners that the repository has had its configuration changed
\r
20699 <param name="e">Empty EventArgs</param>
\r
20702 Notify any listeners that this repository's configuration has changed.
\r
20706 <member name="M:log4net.Repository.LoggerRepositorySkeleton.RaiseConfigurationChanged(System.EventArgs)">
\r
20708 Raise a configuration changed event on this repository
\r
20710 <param name="e">EventArgs.Empty</param>
\r
20713 Applications that programmatically change the configuration of the repository should
\r
20714 raise this event notification to notify listeners.
\r
20718 <member name="P:log4net.Repository.LoggerRepositorySkeleton.Name">
\r
20720 The name of the repository
\r
20723 The string name of the repository
\r
20727 The name of this repository. The name is
\r
20728 used to store and lookup the repositories
\r
20729 stored by the <see cref="T:log4net.Core.IRepositorySelector"/>.
\r
20733 <member name="P:log4net.Repository.LoggerRepositorySkeleton.Threshold">
\r
20735 The threshold for all events in this repository
\r
20738 The threshold for all events in this repository
\r
20742 The threshold for all events in this repository
\r
20746 <member name="P:log4net.Repository.LoggerRepositorySkeleton.RendererMap">
\r
20748 RendererMap accesses the object renderer map for this repository.
\r
20751 RendererMap accesses the object renderer map for this repository.
\r
20755 RendererMap accesses the object renderer map for this repository.
\r
20758 The RendererMap holds a mapping between types and
\r
20759 <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> objects.
\r
20763 <member name="P:log4net.Repository.LoggerRepositorySkeleton.PluginMap">
\r
20765 The plugin map for this repository.
\r
20768 The plugin map for this repository.
\r
20772 The plugin map holds the <see cref="T:log4net.Plugin.IPlugin"/> instances
\r
20773 that have been attached to this repository.
\r
20777 <member name="P:log4net.Repository.LoggerRepositorySkeleton.LevelMap">
\r
20779 Get the level map for the Repository.
\r
20783 Get the level map for the Repository.
\r
20786 The level map defines the mappings between
\r
20787 level names and <see cref="T:log4net.Core.Level"/> objects in
\r
20792 <member name="P:log4net.Repository.LoggerRepositorySkeleton.Configured">
\r
20794 Flag indicates if this repository has been configured.
\r
20797 Flag indicates if this repository has been configured.
\r
20801 Flag indicates if this repository has been configured.
\r
20805 <member name="E:log4net.Repository.LoggerRepositorySkeleton.ShutdownEvent">
\r
20807 Event to notify that the repository has been shutdown.
\r
20810 Event to notify that the repository has been shutdown.
\r
20814 Event raised when the repository has been shutdown.
\r
20818 <member name="E:log4net.Repository.LoggerRepositorySkeleton.ConfigurationReset">
\r
20820 Event to notify that the repository has had its configuration reset.
\r
20823 Event to notify that the repository has had its configuration reset.
\r
20827 Event raised when the repository's configuration has been
\r
20828 reset to default.
\r
20832 <member name="E:log4net.Repository.LoggerRepositorySkeleton.ConfigurationChanged">
\r
20834 Event to notify that the repository has had its configuration changed.
\r
20837 Event to notify that the repository has had its configuration changed.
\r
20841 Event raised when the repository's configuration has been changed.
\r
20845 <member name="P:log4net.Repository.LoggerRepositorySkeleton.Properties">
\r
20847 Repository specific properties
\r
20850 Repository specific properties
\r
20853 These properties can be specified on a repository specific basis
\r
20856 <member name="T:log4net.Repository.IBasicRepositoryConfigurator">
\r
20858 Basic Configurator interface for repositories
\r
20862 Interface used by basic configurator to configure a <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
20863 with a default <see cref="T:log4net.Appender.IAppender"/>.
\r
20866 A <see cref="T:log4net.Repository.ILoggerRepository"/> should implement this interface to support
\r
20867 configuration by the <see cref="T:log4net.Config.BasicConfigurator"/>.
\r
20870 <author>Nicko Cadell</author>
\r
20871 <author>Gert Driesen</author>
\r
20873 <member name="M:log4net.Repository.IBasicRepositoryConfigurator.Configure(log4net.Appender.IAppender)">
\r
20875 Initialize the repository using the specified appender
\r
20877 <param name="appender">the appender to use to log all logging events</param>
\r
20880 Configure the repository to route all logging events to the
\r
20881 specified appender.
\r
20885 <member name="T:log4net.Repository.IXmlRepositoryConfigurator">
\r
20887 Configure repository using XML
\r
20891 Interface used by Xml configurator to configure a <see cref="T:log4net.Repository.ILoggerRepository"/>.
\r
20894 A <see cref="T:log4net.Repository.ILoggerRepository"/> should implement this interface to support
\r
20895 configuration by the <see cref="T:log4net.Config.XmlConfigurator"/>.
\r
20898 <author>Nicko Cadell</author>
\r
20899 <author>Gert Driesen</author>
\r
20901 <member name="M:log4net.Repository.IXmlRepositoryConfigurator.Configure(System.Xml.XmlElement)">
\r
20903 Initialize the repository using the specified config
\r
20905 <param name="element">the element containing the root of the config</param>
\r
20908 The schema for the XML configuration data is defined by
\r
20909 the implementation.
\r
20913 <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor">
\r
20915 Default constructor
\r
20919 Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class.
\r
20923 <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor(log4net.Util.PropertiesDictionary)">
\r
20925 Construct with properties
\r
20927 <param name="properties">The properties to pass to this repository.</param>
\r
20930 Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class.
\r
20934 <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor(log4net.Repository.Hierarchy.ILoggerFactory)">
\r
20936 Construct with a logger factory
\r
20938 <param name="loggerFactory">The factory to use to create new logger instances.</param>
\r
20941 Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class with
\r
20942 the specified <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>.
\r
20946 <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor(log4net.Util.PropertiesDictionary,log4net.Repository.Hierarchy.ILoggerFactory)">
\r
20948 Construct with properties and a logger factory
\r
20950 <param name="properties">The properties to pass to this repository.</param>
\r
20951 <param name="loggerFactory">The factory to use to create new logger instances.</param>
\r
20954 Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class with
\r
20955 the specified <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>.
\r
20959 <member name="M:log4net.Repository.Hierarchy.Hierarchy.Exists(System.String)">
\r
20961 Test if a logger exists
\r
20963 <param name="name">The name of the logger to lookup</param>
\r
20964 <returns>The Logger object with the name specified</returns>
\r
20967 Check if the named logger exists in the hierarchy. If so return
\r
20968 its reference, otherwise returns <c>null</c>.
\r
20972 <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetCurrentLoggers">
\r
20974 Returns all the currently defined loggers in the hierarchy as an Array
\r
20976 <returns>All the defined loggers</returns>
\r
20979 Returns all the currently defined loggers in the hierarchy as an Array.
\r
20980 The root logger is <b>not</b> included in the returned
\r
20985 <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetLogger(System.String)">
\r
20987 Return a new logger instance named as the first parameter using
\r
20988 the default factory.
\r
20992 Return a new logger instance named as the first parameter using
\r
20993 the default factory.
\r
20996 If a logger of that name already exists, then it will be
\r
20997 returned. Otherwise, a new logger will be instantiated and
\r
20998 then linked with its existing ancestors as well as children.
\r
21001 <param name="name">The name of the logger to retrieve</param>
\r
21002 <returns>The logger object with the name specified</returns>
\r
21004 <member name="M:log4net.Repository.Hierarchy.Hierarchy.Shutdown">
\r
21006 Shutting down a hierarchy will <i>safely</i> close and remove
\r
21007 all appenders in all loggers including the root logger.
\r
21011 Shutting down a hierarchy will <i>safely</i> close and remove
\r
21012 all appenders in all loggers including the root logger.
\r
21015 Some appenders need to be closed before the
\r
21016 application exists. Otherwise, pending logging events might be
\r
21020 The <c>Shutdown</c> method is careful to close nested
\r
21021 appenders before closing regular appenders. This is allows
\r
21022 configurations where a regular appender is attached to a logger
\r
21023 and again to a nested appender.
\r
21027 <member name="M:log4net.Repository.Hierarchy.Hierarchy.ResetConfiguration">
\r
21029 Reset all values contained in this hierarchy instance to their default.
\r
21033 Reset all values contained in this hierarchy instance to their
\r
21034 default. This removes all appenders from all loggers, sets
\r
21035 the level of all non-root loggers to <c>null</c>,
\r
21036 sets their additivity flag to <c>true</c> and sets the level
\r
21037 of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
\r
21038 message disabling is set its default "off" value.
\r
21041 Existing loggers are not removed. They are just reset.
\r
21044 This method should be used sparingly and with care as it will
\r
21045 block all logging until it is completed.
\r
21049 <member name="M:log4net.Repository.Hierarchy.Hierarchy.Log(log4net.Core.LoggingEvent)">
\r
21051 Log the logEvent through this hierarchy.
\r
21053 <param name="logEvent">the event to log</param>
\r
21056 This method should not normally be used to log.
\r
21057 The <see cref="T:log4net.ILog"/> interface should be used
\r
21058 for routine logging. This interface can be obtained
\r
21059 using the <see cref="M:log4net.LogManager.GetLogger(System.String)"/> method.
\r
21062 The <c>logEvent</c> is delivered to the appropriate logger and
\r
21063 that logger is then responsible for logging the event.
\r
21067 <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetAppenders">
\r
21069 Returns all the Appenders that are currently configured
\r
21071 <returns>An array containing all the currently configured appenders</returns>
\r
21074 Returns all the <see cref="T:log4net.Appender.IAppender"/> instances that are currently configured.
\r
21075 All the loggers are searched for appenders. The appenders may also be containers
\r
21076 for appenders and these are also searched for additional loggers.
\r
21079 The list returned is unordered but does not contain duplicates.
\r
21083 <member name="M:log4net.Repository.Hierarchy.Hierarchy.CollectAppender(System.Collections.ArrayList,log4net.Appender.IAppender)">
\r
21085 Collect the appenders from an <see cref="T:log4net.Core.IAppenderAttachable"/>.
\r
21086 The appender may also be a container.
\r
21088 <param name="appenderList"></param>
\r
21089 <param name="appender"></param>
\r
21091 <member name="M:log4net.Repository.Hierarchy.Hierarchy.CollectAppenders(System.Collections.ArrayList,log4net.Core.IAppenderAttachable)">
\r
21093 Collect the appenders from an <see cref="T:log4net.Core.IAppenderAttachable"/> container
\r
21095 <param name="appenderList"></param>
\r
21096 <param name="container"></param>
\r
21098 <member name="M:log4net.Repository.Hierarchy.Hierarchy.log4net#Repository#IBasicRepositoryConfigurator#Configure(log4net.Appender.IAppender)">
\r
21100 Initialize the log4net system using the specified appender
\r
21102 <param name="appender">the appender to use to log all logging events</param>
\r
21104 <member name="M:log4net.Repository.Hierarchy.Hierarchy.BasicRepositoryConfigure(log4net.Appender.IAppender)">
\r
21106 Initialize the log4net system using the specified appender
\r
21108 <param name="appender">the appender to use to log all logging events</param>
\r
21111 This method provides the same functionality as the
\r
21112 <see cref="M:log4net.Repository.IBasicRepositoryConfigurator.Configure(log4net.Appender.IAppender)"/> method implemented
\r
21113 on this object, but it is protected and therefore can be called by subclasses.
\r
21117 <member name="M:log4net.Repository.Hierarchy.Hierarchy.log4net#Repository#IXmlRepositoryConfigurator#Configure(System.Xml.XmlElement)">
\r
21119 Initialize the log4net system using the specified config
\r
21121 <param name="element">the element containing the root of the config</param>
\r
21123 <member name="M:log4net.Repository.Hierarchy.Hierarchy.XmlRepositoryConfigure(System.Xml.XmlElement)">
\r
21125 Initialize the log4net system using the specified config
\r
21127 <param name="element">the element containing the root of the config</param>
\r
21130 This method provides the same functionality as the
\r
21131 <see cref="M:log4net.Repository.IBasicRepositoryConfigurator.Configure(log4net.Appender.IAppender)"/> method implemented
\r
21132 on this object, but it is protected and therefore can be called by subclasses.
\r
21136 <member name="M:log4net.Repository.Hierarchy.Hierarchy.IsDisabled(log4net.Core.Level)">
\r
21138 Test if this hierarchy is disabled for the specified <see cref="T:log4net.Core.Level"/>.
\r
21140 <param name="level">The level to check against.</param>
\r
21142 <c>true</c> if the repository is disabled for the level argument, <c>false</c> otherwise.
\r
21146 If this hierarchy has not been configured then this method will
\r
21147 always return <c>true</c>.
\r
21150 This method will return <c>true</c> if this repository is
\r
21151 disabled for <c>level</c> object passed as parameter and
\r
21152 <c>false</c> otherwise.
\r
21155 See also the <see cref="P:log4net.Repository.ILoggerRepository.Threshold"/> property.
\r
21159 <member name="M:log4net.Repository.Hierarchy.Hierarchy.Clear">
\r
21161 Clear all logger definitions from the internal hashtable
\r
21165 This call will clear all logger definitions from the internal
\r
21166 hashtable. Invoking this method will irrevocably mess up the
\r
21167 logger hierarchy.
\r
21170 You should <b>really</b> know what you are doing before
\r
21171 invoking this method.
\r
21175 <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetLogger(System.String,log4net.Repository.Hierarchy.ILoggerFactory)">
\r
21177 Return a new logger instance named as the first parameter using
\r
21178 <paramref name="factory"/>.
\r
21180 <param name="name">The name of the logger to retrieve</param>
\r
21181 <param name="factory">The factory that will make the new logger instance</param>
\r
21182 <returns>The logger object with the name specified</returns>
\r
21185 If a logger of that name already exists, then it will be
\r
21186 returned. Otherwise, a new logger will be instantiated by the
\r
21187 <paramref name="factory"/> parameter and linked with its existing
\r
21188 ancestors as well as children.
\r
21192 <member name="M:log4net.Repository.Hierarchy.Hierarchy.OnLoggerCreationEvent(log4net.Repository.Hierarchy.Logger)">
\r
21194 Sends a logger creation event to all registered listeners
\r
21196 <param name="logger">The newly created logger</param>
\r
21198 Raises the logger creation event.
\r
21201 <member name="M:log4net.Repository.Hierarchy.Hierarchy.UpdateParents(log4net.Repository.Hierarchy.Logger)">
\r
21203 Updates all the parents of the specified logger
\r
21205 <param name="log">The logger to update the parents for</param>
\r
21208 This method loops through all the <i>potential</i> parents of
\r
21209 <paramref name="log"/>. There 3 possible cases:
\r
21211 <list type="number">
\r
21213 <term>No entry for the potential parent of <paramref name="log"/> exists</term>
\r
21215 We create a ProvisionNode for this potential
\r
21216 parent and insert <paramref name="log"/> in that provision node.
\r
21220 <term>The entry is of type Logger for the potential parent.</term>
\r
21222 The entry is <paramref name="log"/>'s nearest existing parent. We
\r
21223 update <paramref name="log"/>'s parent field with this entry. We also break from
\r
21224 he loop because updating our parent's parent is our parent's
\r
21229 <term>The entry is of type ProvisionNode for this potential parent.</term>
\r
21231 We add <paramref name="log"/> to the list of children for this
\r
21232 potential parent.
\r
21238 <member name="M:log4net.Repository.Hierarchy.Hierarchy.UpdateChildren(log4net.Repository.Hierarchy.ProvisionNode,log4net.Repository.Hierarchy.Logger)">
\r
21240 Replace a <see cref="T:log4net.Repository.Hierarchy.ProvisionNode"/> with a <see cref="T:log4net.Repository.Hierarchy.Logger"/> in the hierarchy.
\r
21242 <param name="pn"></param>
\r
21243 <param name="log"></param>
\r
21246 We update the links for all the children that placed themselves
\r
21247 in the provision node 'pn'. The second argument 'log' is a
\r
21248 reference for the newly created Logger, parent of all the
\r
21249 children in 'pn'.
\r
21252 We loop on all the children 'c' in 'pn'.
\r
21255 If the child 'c' has been already linked to a child of
\r
21256 'log' then there is no need to update 'c'.
\r
21259 Otherwise, we set log's parent field to c's parent and set
\r
21260 c's parent field to log.
\r
21264 <member name="M:log4net.Repository.Hierarchy.Hierarchy.AddLevel(log4net.Repository.Hierarchy.Hierarchy.LevelEntry)">
\r
21266 Define or redefine a Level using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument
\r
21268 <param name="levelEntry">the level values</param>
\r
21271 Define or redefine a Level using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument
\r
21274 Supports setting levels via the configuration file.
\r
21278 <member name="M:log4net.Repository.Hierarchy.Hierarchy.AddProperty(log4net.Repository.Hierarchy.Hierarchy.PropertyEntry)">
\r
21280 Set a Property using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument
\r
21282 <param name="propertyEntry">the property value</param>
\r
21285 Set a Property using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument.
\r
21288 Supports setting property values via the configuration file.
\r
21292 <member name="E:log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent">
\r
21294 Event used to notify that a logger has been created.
\r
21298 Event raised when a logger is created.
\r
21302 <member name="P:log4net.Repository.Hierarchy.Hierarchy.EmittedNoAppenderWarning">
\r
21304 Has no appender warning been emitted
\r
21308 Flag to indicate if we have already issued a warning
\r
21309 about not having an appender warning.
\r
21313 <member name="P:log4net.Repository.Hierarchy.Hierarchy.Root">
\r
21315 Get the root of this hierarchy
\r
21319 Get the root of this hierarchy.
\r
21323 <member name="P:log4net.Repository.Hierarchy.Hierarchy.LoggerFactory">
\r
21325 Gets or sets the default <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/> instance.
\r
21327 <value>The default <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/></value>
\r
21330 The logger factory is used to create logger instances.
\r
21334 <member name="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry">
\r
21336 A class to hold the value, name and display name for a level
\r
21340 A class to hold the value, name and display name for a level
\r
21344 <member name="M:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.ToString">
\r
21346 Override <c>Object.ToString</c> to return sensible debug info
\r
21348 <returns>string info about this object</returns>
\r
21350 <member name="P:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.Value">
\r
21352 Value of the level
\r
21356 If the value is not set (defaults to -1) the value will be looked
\r
21357 up for the current level with the same name.
\r
21361 <member name="P:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.Name">
\r
21363 Name of the level
\r
21366 The name of the level
\r
21370 The name of the level.
\r
21374 <member name="P:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.DisplayName">
\r
21376 Display name for the level
\r
21379 The display name of the level
\r
21383 The display name of the level.
\r
21387 <member name="T:log4net.Repository.Hierarchy.Hierarchy.PropertyEntry">
\r
21389 A class to hold the key and data for a property set in the config file
\r
21393 A class to hold the key and data for a property set in the config file
\r
21397 <member name="M:log4net.Repository.Hierarchy.Hierarchy.PropertyEntry.ToString">
\r
21399 Override <c>Object.ToString</c> to return sensible debug info
\r
21401 <returns>string info about this object</returns>
\r
21403 <member name="P:log4net.Repository.Hierarchy.Hierarchy.PropertyEntry.Key">
\r
21416 <member name="P:log4net.Repository.Hierarchy.Hierarchy.PropertyEntry.Value">
\r
21429 <member name="T:log4net.Repository.Hierarchy.LoggerKey">
\r
21431 Used internally to accelerate hash table searches.
\r
21435 Internal class used to improve performance of
\r
21436 string keyed hashtables.
\r
21439 The hashcode of the string is cached for reuse.
\r
21440 The string is stored as an interned value.
\r
21441 When comparing two <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/> objects for equality
\r
21442 the reference equality of the interned strings is compared.
\r
21445 <author>Nicko Cadell</author>
\r
21446 <author>Gert Driesen</author>
\r
21448 <member name="M:log4net.Repository.Hierarchy.LoggerKey.#ctor(System.String)">
\r
21450 Construct key with string name
\r
21454 Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/> class
\r
21455 with the specified name.
\r
21458 Stores the hashcode of the string and interns
\r
21459 the string key to optimize comparisons.
\r
21462 The Compact Framework 1.0 the <see cref="M:System.String.Intern(System.String)"/>
\r
21463 method does not work. On the Compact Framework
\r
21464 the string keys are not interned nor are they
\r
21465 compared by reference.
\r
21468 <param name="name">The name of the logger.</param>
\r
21470 <member name="M:log4net.Repository.Hierarchy.LoggerKey.GetHashCode">
\r
21472 Returns a hash code for the current instance.
\r
21474 <returns>A hash code for the current instance.</returns>
\r
21477 Returns the cached hashcode.
\r
21481 <member name="M:log4net.Repository.Hierarchy.LoggerKey.Equals(System.Object)">
\r
21483 Determines whether two <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/> instances
\r
21486 <param name="obj">The <see cref="T:System.Object"/> to compare with the current <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/>.</param>
\r
21488 <c>true</c> if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/>; otherwise, <c>false</c>.
\r
21492 Compares the references of the interned strings.
\r
21496 <member name="T:log4net.Repository.Hierarchy.ProvisionNode">
\r
21498 Provision nodes are used where no logger instance has been specified
\r
21502 <see cref="T:log4net.Repository.Hierarchy.ProvisionNode"/> instances are used in the
\r
21503 <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> when there is no specified
\r
21504 <see cref="T:log4net.Repository.Hierarchy.Logger"/> for that node.
\r
21507 A provision node holds a list of child loggers on behalf of
\r
21508 a logger that does not exist.
\r
21511 <author>Nicko Cadell</author>
\r
21512 <author>Gert Driesen</author>
\r
21514 <member name="M:log4net.Repository.Hierarchy.ProvisionNode.#ctor(log4net.Repository.Hierarchy.Logger)">
\r
21516 Create a new provision node with child node
\r
21518 <param name="log">A child logger to add to this node.</param>
\r
21521 Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.ProvisionNode"/> class
\r
21522 with the specified child logger.
\r
21526 <member name="T:log4net.Repository.Hierarchy.RootLogger">
\r
21528 The <see cref="T:log4net.Repository.Hierarchy.RootLogger"/> sits at the root of the logger hierarchy tree.
\r
21532 The <see cref="T:log4net.Repository.Hierarchy.RootLogger"/> is a regular <see cref="T:log4net.Repository.Hierarchy.Logger"/> except
\r
21533 that it provides several guarantees.
\r
21536 First, it cannot be assigned a <c>null</c>
\r
21537 level. Second, since the root logger cannot have a parent, the
\r
21538 <see cref="P:log4net.Repository.Hierarchy.RootLogger.EffectiveLevel"/> property always returns the value of the
\r
21539 level field without walking the hierarchy.
\r
21542 <author>Nicko Cadell</author>
\r
21543 <author>Gert Driesen</author>
\r
21545 <member name="M:log4net.Repository.Hierarchy.RootLogger.#ctor(log4net.Core.Level)">
\r
21547 Construct a <see cref="T:log4net.Repository.Hierarchy.RootLogger"/>
\r
21549 <param name="level">The level to assign to the root logger.</param>
\r
21552 Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.RootLogger"/> class with
\r
21553 the specified logging level.
\r
21556 The root logger names itself as "root". However, the root
\r
21557 logger cannot be retrieved by name.
\r
21561 <member name="P:log4net.Repository.Hierarchy.RootLogger.EffectiveLevel">
\r
21563 Gets the assigned level value without walking the logger hierarchy.
\r
21565 <value>The assigned level value without walking the logger hierarchy.</value>
\r
21568 Because the root logger cannot have a parent and its level
\r
21569 must not be <c>null</c> this property just returns the
\r
21570 value of <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/>.
\r
21574 <member name="P:log4net.Repository.Hierarchy.RootLogger.Level">
\r
21576 Gets or sets the assigned <see cref="P:log4net.Repository.Hierarchy.RootLogger.Level"/> for the root logger.
\r
21579 The <see cref="P:log4net.Repository.Hierarchy.RootLogger.Level"/> of the root logger.
\r
21583 Setting the level of the root logger to a <c>null</c> reference
\r
21584 may have catastrophic results. We prevent this here.
\r
21588 <member name="T:log4net.Repository.Hierarchy.XmlHierarchyConfigurator">
\r
21590 Initializes the log4net environment using an XML DOM.
\r
21594 Configures a <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> using an XML DOM.
\r
21597 <author>Nicko Cadell</author>
\r
21598 <author>Gert Driesen</author>
\r
21600 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.#ctor(log4net.Repository.Hierarchy.Hierarchy)">
\r
21602 Construct the configurator for a hierarchy
\r
21604 <param name="hierarchy">The hierarchy to build.</param>
\r
21607 Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.XmlHierarchyConfigurator"/> class
\r
21608 with the specified <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
\r
21612 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.Configure(System.Xml.XmlElement)">
\r
21614 Configure the hierarchy by parsing a DOM tree of XML elements.
\r
21616 <param name="element">The root element to parse.</param>
\r
21619 Configure the hierarchy by parsing a DOM tree of XML elements.
\r
21623 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.FindAppenderByReference(System.Xml.XmlElement)">
\r
21625 Parse appenders by IDREF.
\r
21627 <param name="appenderRef">The appender ref element.</param>
\r
21628 <returns>The instance of the appender that the ref refers to.</returns>
\r
21631 Parse an XML element that represents an appender and return
\r
21636 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender(System.Xml.XmlElement)">
\r
21638 Parses an appender element.
\r
21640 <param name="appenderElement">The appender element.</param>
\r
21641 <returns>The appender instance or <c>null</c> when parsing failed.</returns>
\r
21644 Parse an XML element that represents an appender and return
\r
21645 the appender instance.
\r
21649 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLogger(System.Xml.XmlElement)">
\r
21651 Parses a logger element.
\r
21653 <param name="loggerElement">The logger element.</param>
\r
21656 Parse an XML element that represents a logger.
\r
21660 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseRoot(System.Xml.XmlElement)">
\r
21662 Parses the root logger element.
\r
21664 <param name="rootElement">The root element.</param>
\r
21667 Parse an XML element that represents the root logger.
\r
21671 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseChildrenOfLoggerElement(System.Xml.XmlElement,log4net.Repository.Hierarchy.Logger,System.Boolean)">
\r
21673 Parses the children of a logger element.
\r
21675 <param name="catElement">The category element.</param>
\r
21676 <param name="log">The logger instance.</param>
\r
21677 <param name="isRoot">Flag to indicate if the logger is the root logger.</param>
\r
21680 Parse the child elements of a <logger> element.
\r
21684 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseRenderer(System.Xml.XmlElement)">
\r
21686 Parses an object renderer.
\r
21688 <param name="element">The renderer element.</param>
\r
21691 Parse an XML element that represents a renderer.
\r
21695 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLevel(System.Xml.XmlElement,log4net.Repository.Hierarchy.Logger,System.Boolean)">
\r
21697 Parses a level element.
\r
21699 <param name="element">The level element.</param>
\r
21700 <param name="log">The logger object to set the level on.</param>
\r
21701 <param name="isRoot">Flag to indicate if the logger is the root logger.</param>
\r
21704 Parse an XML element that represents a level.
\r
21708 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.SetParameter(System.Xml.XmlElement,System.Object)">
\r
21710 Sets a parameter on an object.
\r
21712 <param name="element">The parameter element.</param>
\r
21713 <param name="target">The object to set the parameter on.</param>
\r
21715 The parameter name must correspond to a writable property
\r
21716 on the object. The value of the parameter is a string,
\r
21717 therefore this function will attempt to set a string
\r
21718 property first. If unable to set a string property it
\r
21719 will inspect the property and its argument type. It will
\r
21720 attempt to call a static method called <c>Parse</c> on the
\r
21721 type of the property. This method will take a single
\r
21722 string argument and return a value that can be used to
\r
21723 set the property.
\r
21726 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.HasAttributesOrElements(System.Xml.XmlElement)">
\r
21728 Test if an element has no attributes or child elements
\r
21730 <param name="element">the element to inspect</param>
\r
21731 <returns><c>true</c> if the element has any attributes or child elements, <c>false</c> otherwise</returns>
\r
21733 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.IsTypeConstructible(System.Type)">
\r
21735 Test if a <see cref="T:System.Type"/> is constructible with <c>Activator.CreateInstance</c>.
\r
21737 <param name="type">the type to inspect</param>
\r
21738 <returns><c>true</c> if the type is creatable using a default constructor, <c>false</c> otherwise</returns>
\r
21740 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.FindMethodInfo(System.Type,System.String)">
\r
21742 Look for a method on the <paramref name="targetType"/> that matches the <paramref name="name"/> supplied
\r
21744 <param name="targetType">the type that has the method</param>
\r
21745 <param name="name">the name of the method</param>
\r
21746 <returns>the method info found</returns>
\r
21749 The method must be a public instance method on the <paramref name="targetType"/>.
\r
21750 The method must be named <paramref name="name"/> or "Add" followed by <paramref name="name"/>.
\r
21751 The method must take a single parameter.
\r
21755 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ConvertStringTo(System.Type,System.String)">
\r
21757 Converts a string value to a target type.
\r
21759 <param name="type">The type of object to convert the string to.</param>
\r
21760 <param name="value">The string value to use as the value of the object.</param>
\r
21763 An object of type <paramref name="type"/> with value <paramref name="value"/> or
\r
21764 <c>null</c> when the conversion could not be performed.
\r
21768 <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.CreateObjectFromXml(System.Xml.XmlElement,System.Type,System.Type)">
\r
21770 Creates an object as specified in XML.
\r
21772 <param name="element">The XML element that contains the definition of the object.</param>
\r
21773 <param name="defaultTargetType">The object type to use if not explicitly specified.</param>
\r
21774 <param name="typeConstraint">The type that the returned object must be or must inherit from.</param>
\r
21775 <returns>The object or <c>null</c></returns>
\r
21778 Parse an XML element and create an object instance based on the configuration
\r
21782 The type of the instance may be specified in the XML. If not
\r
21783 specified then the <paramref name="defaultTargetType"/> is used
\r
21784 as the type. However the type is specified it must support the
\r
21785 <paramref name="typeConstraint"/> type.
\r
21789 <member name="F:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.m_appenderBag">
\r
21791 key: appenderName, value: appender.
\r
21794 <member name="F:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.m_hierarchy">
\r
21796 The Hierarchy being configured.
\r
21799 <member name="T:log4net.Repository.LoggerRepositoryShutdownEventHandler">
\r
21801 Delegate used to handle logger repository shutdown event notifications
\r
21803 <param name="sender">The <see cref="T:log4net.Repository.ILoggerRepository"/> that is shutting down.</param>
\r
21804 <param name="e">Empty event args</param>
\r
21807 Delegate used to handle logger repository shutdown event notifications.
\r
21811 <member name="T:log4net.Repository.LoggerRepositoryConfigurationResetEventHandler">
\r
21813 Delegate used to handle logger repository configuration reset event notifications
\r
21815 <param name="sender">The <see cref="T:log4net.Repository.ILoggerRepository"/> that has had its configuration reset.</param>
\r
21816 <param name="e">Empty event args</param>
\r
21819 Delegate used to handle logger repository configuration reset event notifications.
\r
21823 <member name="T:log4net.Repository.LoggerRepositoryConfigurationChangedEventHandler">
\r
21825 Delegate used to handle event notifications for logger repository configuration changes.
\r
21827 <param name="sender">The <see cref="T:log4net.Repository.ILoggerRepository"/> that has had its configuration changed.</param>
\r
21828 <param name="e">Empty event arguments.</param>
\r
21831 Delegate used to handle event notifications for logger repository configuration changes.
\r
21835 <member name="T:log4net.Util.PatternStringConverters.AppDomainPatternConverter">
\r
21837 Write the name of the current AppDomain to the output
\r
21841 Write the name of the current AppDomain to the output writer
\r
21844 <author>Nicko Cadell</author>
\r
21846 <member name="M:log4net.Util.PatternStringConverters.AppDomainPatternConverter.Convert(System.IO.TextWriter,System.Object)">
\r
21848 Write the name of the current AppDomain to the output
\r
21850 <param name="writer">the writer to write to</param>
\r
21851 <param name="state">null, state is not set</param>
\r
21854 Writes name of the current AppDomain to the output <paramref name="writer"/>.
\r
21858 <member name="T:log4net.Util.PatternStringConverters.DatePatternConverter">
\r
21860 Write the current date to the output
\r
21864 Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format
\r
21865 the current date and time to the writer as a string.
\r
21868 The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines
\r
21869 the formatting of the date. The following values are allowed:
\r
21870 <list type="definition">
\r
21872 <term>Option value</term>
\r
21873 <description>Output</description>
\r
21876 <term>ISO8601</term>
\r
21878 Uses the <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/> formatter.
\r
21879 Formats using the <c>"yyyy-MM-dd HH:mm:ss,fff"</c> pattern.
\r
21883 <term>DATE</term>
\r
21885 Uses the <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> formatter.
\r
21886 Formats using the <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example, <c>"06 Nov 1994 15:49:37,459"</c>.
\r
21890 <term>ABSOLUTE</term>
\r
21892 Uses the <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/> formatter.
\r
21893 Formats using the <c>"HH:mm:ss,fff"</c> for example, <c>"15:49:37,459"</c>.
\r
21897 <term>other</term>
\r
21899 Any other pattern string uses the <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/> formatter.
\r
21900 This formatter passes the pattern string to the <see cref="T:System.DateTime"/>
\r
21901 <see cref="M:System.DateTime.ToString(System.String)"/> method.
\r
21902 For details on valid patterns see
\r
21903 <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.asp">DateTimeFormatInfo Class</a>.
\r
21909 The date and time is in the local time zone and is rendered in that zone.
\r
21910 To output the time in Universal time see <see cref="T:log4net.Util.PatternStringConverters.UtcDatePatternConverter"/>.
\r
21913 <author>Nicko Cadell</author>
\r
21915 <member name="F:log4net.Util.PatternStringConverters.DatePatternConverter.m_dateFormatter">
\r
21917 The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
\r
21921 The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
\r
21925 <member name="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions">
\r
21927 Initialize the converter options
\r
21931 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
21932 activation scheme. The <see cref="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions"/> method must
\r
21933 be called on this object after the configuration properties have
\r
21934 been set. Until <see cref="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions"/> is called this
\r
21935 object is in an undefined state and must not be used.
\r
21938 If any of the configuration properties are modified then
\r
21939 <see cref="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions"/> must be called again.
\r
21943 <member name="M:log4net.Util.PatternStringConverters.DatePatternConverter.Convert(System.IO.TextWriter,System.Object)">
\r
21945 Write the current date to the output
\r
21947 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
21948 <param name="state">null, state is not set</param>
\r
21951 Pass the current date and time to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
\r
21952 for it to render it to the writer.
\r
21955 The date and time passed is in the local time zone.
\r
21959 <member name="T:log4net.Util.PatternStringConverters.EnvironmentPatternConverter">
\r
21961 Write an environment variable to the output
\r
21965 Write an environment variable to the output writer.
\r
21966 The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines
\r
21967 the name of the variable to output.
\r
21970 <author>Nicko Cadell</author>
\r
21972 <member name="M:log4net.Util.PatternStringConverters.EnvironmentPatternConverter.Convert(System.IO.TextWriter,System.Object)">
\r
21974 Write an environment variable to the output
\r
21976 <param name="writer">the writer to write to</param>
\r
21977 <param name="state">null, state is not set</param>
\r
21980 Writes the environment variable to the output <paramref name="writer"/>.
\r
21981 The name of the environment variable to output must be set
\r
21982 using the <see cref="P:log4net.Util.PatternConverter.Option"/>
\r
21987 <member name="T:log4net.Util.PatternStringConverters.IdentityPatternConverter">
\r
21989 Write the current thread identity to the output
\r
21993 Write the current thread identity to the output writer
\r
21996 <author>Nicko Cadell</author>
\r
21998 <member name="M:log4net.Util.PatternStringConverters.IdentityPatternConverter.Convert(System.IO.TextWriter,System.Object)">
\r
22000 Write the current thread identity to the output
\r
22002 <param name="writer">the writer to write to</param>
\r
22003 <param name="state">null, state is not set</param>
\r
22006 Writes the current thread identity to the output <paramref name="writer"/>.
\r
22010 <member name="T:log4net.Util.PatternStringConverters.LiteralPatternConverter">
\r
22012 Pattern converter for literal string instances in the pattern
\r
22016 Writes the literal string value specified in the
\r
22017 <see cref="P:log4net.Util.PatternConverter.Option"/> property to
\r
22021 <author>Nicko Cadell</author>
\r
22023 <member name="M:log4net.Util.PatternStringConverters.LiteralPatternConverter.SetNext(log4net.Util.PatternConverter)">
\r
22025 Set the next converter in the chain
\r
22027 <param name="pc">The next pattern converter in the chain</param>
\r
22028 <returns>The next pattern converter</returns>
\r
22031 Special case the building of the pattern converter chain
\r
22032 for <see cref="T:log4net.Util.PatternStringConverters.LiteralPatternConverter"/> instances. Two adjacent
\r
22033 literals in the pattern can be represented by a single combined
\r
22034 pattern converter. This implementation detects when a
\r
22035 <see cref="T:log4net.Util.PatternStringConverters.LiteralPatternConverter"/> is added to the chain
\r
22036 after this converter and combines its value with this converter's
\r
22041 <member name="M:log4net.Util.PatternStringConverters.LiteralPatternConverter.Format(System.IO.TextWriter,System.Object)">
\r
22043 Write the literal to the output
\r
22045 <param name="writer">the writer to write to</param>
\r
22046 <param name="state">null, not set</param>
\r
22049 Override the formatting behavior to ignore the FormattingInfo
\r
22050 because we have a literal instead.
\r
22053 Writes the value of <see cref="P:log4net.Util.PatternConverter.Option"/>
\r
22054 to the output <paramref name="writer"/>.
\r
22058 <member name="M:log4net.Util.PatternStringConverters.LiteralPatternConverter.Convert(System.IO.TextWriter,System.Object)">
\r
22060 Convert this pattern into the rendered message
\r
22062 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
22063 <param name="state">null, not set</param>
\r
22066 This method is not used.
\r
22070 <member name="T:log4net.Util.PatternStringConverters.NewLinePatternConverter">
\r
22072 Writes a newline to the output
\r
22076 Writes the system dependent line terminator to the output.
\r
22077 This behavior can be overridden by setting the <see cref="P:log4net.Util.PatternConverter.Option"/>:
\r
22079 <list type="definition">
\r
22081 <term>Option Value</term>
\r
22082 <description>Output</description>
\r
22086 <description>DOS or Windows line terminator <c>"\r\n"</c></description>
\r
22089 <term>UNIX</term>
\r
22090 <description>UNIX line terminator <c>"\n"</c></description>
\r
22094 <author>Nicko Cadell</author>
\r
22096 <member name="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions">
\r
22098 Initialize the converter
\r
22102 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
22103 activation scheme. The <see cref="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions"/> method must
\r
22104 be called on this object after the configuration properties have
\r
22105 been set. Until <see cref="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions"/> is called this
\r
22106 object is in an undefined state and must not be used.
\r
22109 If any of the configuration properties are modified then
\r
22110 <see cref="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions"/> must be called again.
\r
22114 <member name="T:log4net.Util.PatternStringConverters.ProcessIdPatternConverter">
\r
22116 Write the current process ID to the output
\r
22120 Write the current process ID to the output writer
\r
22123 <author>Nicko Cadell</author>
\r
22125 <member name="M:log4net.Util.PatternStringConverters.ProcessIdPatternConverter.Convert(System.IO.TextWriter,System.Object)">
\r
22127 Write the current process ID to the output
\r
22129 <param name="writer">the writer to write to</param>
\r
22130 <param name="state">null, state is not set</param>
\r
22133 Write the current process ID to the output <paramref name="writer"/>.
\r
22137 <member name="T:log4net.Util.PatternStringConverters.PropertyPatternConverter">
\r
22139 Property pattern converter
\r
22143 This pattern converter reads the thread and global properties.
\r
22144 The thread properties take priority over global properties.
\r
22145 See <see cref="P:log4net.ThreadContext.Properties"/> for details of the
\r
22146 thread properties. See <see cref="P:log4net.GlobalContext.Properties"/> for
\r
22147 details of the global properties.
\r
22150 If the <see cref="P:log4net.Util.PatternConverter.Option"/> is specified then that will be used to
\r
22151 lookup a single property. If no <see cref="P:log4net.Util.PatternConverter.Option"/> is specified
\r
22152 then all properties will be dumped as a list of key value pairs.
\r
22155 <author>Nicko Cadell</author>
\r
22157 <member name="M:log4net.Util.PatternStringConverters.PropertyPatternConverter.Convert(System.IO.TextWriter,System.Object)">
\r
22159 Write the property value to the output
\r
22161 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
22162 <param name="state">null, state is not set</param>
\r
22165 Writes out the value of a named property. The property name
\r
22166 should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
\r
22170 If the <see cref="P:log4net.Util.PatternConverter.Option"/> is set to <c>null</c>
\r
22171 then all the properties are written as key value pairs.
\r
22175 <member name="T:log4net.Util.PatternStringConverters.RandomStringPatternConverter">
\r
22177 A Pattern converter that generates a string of random characters
\r
22181 The converter generates a string of random characters. By default
\r
22182 the string is length 4. This can be changed by setting the <see cref="P:log4net.Util.PatternConverter.Option"/>
\r
22183 to the string value of the length required.
\r
22186 The random characters in the string are limited to uppercase letters
\r
22187 and numbers only.
\r
22190 The random number generator used by this class is not cryptographically secure.
\r
22193 <author>Nicko Cadell</author>
\r
22195 <member name="F:log4net.Util.PatternStringConverters.RandomStringPatternConverter.s_random">
\r
22197 Shared random number generator
\r
22200 <member name="F:log4net.Util.PatternStringConverters.RandomStringPatternConverter.m_length">
\r
22202 Length of random string to generate. Default length 4.
\r
22205 <member name="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions">
\r
22207 Initialize the converter options
\r
22211 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
22212 activation scheme. The <see cref="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions"/> method must
\r
22213 be called on this object after the configuration properties have
\r
22214 been set. Until <see cref="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions"/> is called this
\r
22215 object is in an undefined state and must not be used.
\r
22218 If any of the configuration properties are modified then
\r
22219 <see cref="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions"/> must be called again.
\r
22223 <member name="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.Convert(System.IO.TextWriter,System.Object)">
\r
22225 Write a randoim string to the output
\r
22227 <param name="writer">the writer to write to</param>
\r
22228 <param name="state">null, state is not set</param>
\r
22231 Write a randoim string to the output <paramref name="writer"/>.
\r
22235 <member name="T:log4net.Util.PatternStringConverters.UserNamePatternConverter">
\r
22237 Write the current threads username to the output
\r
22241 Write the current threads username to the output writer
\r
22244 <author>Nicko Cadell</author>
\r
22246 <member name="M:log4net.Util.PatternStringConverters.UserNamePatternConverter.Convert(System.IO.TextWriter,System.Object)">
\r
22248 Write the current threads username to the output
\r
22250 <param name="writer">the writer to write to</param>
\r
22251 <param name="state">null, state is not set</param>
\r
22254 Write the current threads username to the output <paramref name="writer"/>.
\r
22258 <member name="T:log4net.Util.PatternStringConverters.UtcDatePatternConverter">
\r
22260 Write the UTC date time to the output
\r
22264 Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format
\r
22265 the current date and time in Universal time.
\r
22268 See the <see cref="T:log4net.Util.PatternStringConverters.DatePatternConverter"/> for details on the date pattern syntax.
\r
22271 <seealso cref="T:log4net.Util.PatternStringConverters.DatePatternConverter"/>
\r
22272 <author>Nicko Cadell</author>
\r
22274 <member name="M:log4net.Util.PatternStringConverters.UtcDatePatternConverter.Convert(System.IO.TextWriter,System.Object)">
\r
22276 Write the current date and time to the output
\r
22278 <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
\r
22279 <param name="state">null, state is not set</param>
\r
22282 Pass the current date and time to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
\r
22283 for it to render it to the writer.
\r
22286 The date is in Universal time when it is rendered.
\r
22289 <seealso cref="T:log4net.Util.PatternStringConverters.DatePatternConverter"/>
\r
22291 <member name="T:log4net.Util.TypeConverters.BooleanConverter">
\r
22293 Type converter for Boolean.
\r
22297 Supports conversion from string to <c>bool</c> type.
\r
22300 <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
\r
22301 <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
\r
22302 <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
\r
22303 <author>Nicko Cadell</author>
\r
22304 <author>Gert Driesen</author>
\r
22306 <member name="M:log4net.Util.TypeConverters.BooleanConverter.CanConvertFrom(System.Type)">
\r
22308 Can the source type be converted to the type supported by this object
\r
22310 <param name="sourceType">the type to convert</param>
\r
22311 <returns>true if the conversion is possible</returns>
\r
22314 Returns <c>true</c> if the <paramref name="sourceType"/> is
\r
22315 the <see cref="T:System.String"/> type.
\r
22319 <member name="M:log4net.Util.TypeConverters.BooleanConverter.ConvertFrom(System.Object)">
\r
22321 Convert the source object to the type supported by this object
\r
22323 <param name="source">the object to convert</param>
\r
22324 <returns>the converted object</returns>
\r
22327 Uses the <see cref="M:System.Boolean.Parse(System.String)"/> method to convert the
\r
22328 <see cref="T:System.String"/> argument to a <see cref="T:System.Boolean"/>.
\r
22331 <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
\r
22332 The <paramref name="source"/> object cannot be converted to the
\r
22333 target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.BooleanConverter.CanConvertFrom(System.Type)"/>
\r
22337 <member name="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
\r
22339 Exception base type for conversion errors.
\r
22343 This type extends <see cref="T:System.ApplicationException"/>. It
\r
22344 does not add any new functionality but does differentiate the
\r
22345 type of exception being thrown.
\r
22348 <author>Nicko Cadell</author>
\r
22349 <author>Gert Driesen</author>
\r
22351 <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor">
\r
22357 Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
\r
22361 <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor(System.String)">
\r
22365 <param name="message">A message to include with the exception.</param>
\r
22368 Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class
\r
22369 with the specified message.
\r
22373 <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor(System.String,System.Exception)">
\r
22377 <param name="message">A message to include with the exception.</param>
\r
22378 <param name="innerException">A nested exception to include.</param>
\r
22381 Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class
\r
22382 with the specified message and inner exception.
\r
22386 <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
\r
22388 Serialization constructor
\r
22390 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
\r
22391 <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
\r
22394 Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class
\r
22395 with serialized data.
\r
22399 <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.Create(System.Type,System.Object)">
\r
22401 Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
\r
22403 <param name="destinationType">The conversion destination type.</param>
\r
22404 <param name="sourceValue">The value to convert.</param>
\r
22405 <returns>An instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/>.</returns>
\r
22408 Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
\r
22412 <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.Create(System.Type,System.Object,System.Exception)">
\r
22414 Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
\r
22416 <param name="destinationType">The conversion destination type.</param>
\r
22417 <param name="sourceValue">The value to convert.</param>
\r
22418 <param name="innerException">A nested exception to include.</param>
\r
22419 <returns>An instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/>.</returns>
\r
22422 Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
\r
22426 <member name="T:log4net.Util.TypeConverters.ConverterRegistry">
\r
22428 Register of type converters for specific types.
\r
22432 Maintains a registry of type converters used to convert between
\r
22436 Use the <see cref="M:log4net.Util.TypeConverters.ConverterRegistry.AddConverter(System.Type,System.Object)"/> and
\r
22437 <see cref="M:log4net.Util.TypeConverters.ConverterRegistry.AddConverter(System.Type,System.Type)"/> methods to register new converters.
\r
22438 The <see cref="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertTo(System.Type,System.Type)"/> and <see cref="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertFrom(System.Type)"/> methods
\r
22439 lookup appropriate converters to use.
\r
22442 <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
\r
22443 <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
\r
22444 <author>Nicko Cadell</author>
\r
22445 <author>Gert Driesen</author>
\r
22447 <member name="M:log4net.Util.TypeConverters.ConverterRegistry.#ctor">
\r
22449 Private constructor
\r
22452 Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConverterRegistry"/> class.
\r
22455 <member name="M:log4net.Util.TypeConverters.ConverterRegistry.#cctor">
\r
22457 Static constructor.
\r
22461 This constructor defines the intrinsic type converters.
\r
22465 <member name="M:log4net.Util.TypeConverters.ConverterRegistry.AddConverter(System.Type,System.Object)">
\r
22467 Adds a converter for a specific type.
\r
22469 <param name="destinationType">The type being converted to.</param>
\r
22470 <param name="converter">The type converter to use to convert to the destination type.</param>
\r
22473 Adds a converter instance for a specific type.
\r
22477 <member name="M:log4net.Util.TypeConverters.ConverterRegistry.AddConverter(System.Type,System.Type)">
\r
22479 Adds a converter for a specific type.
\r
22481 <param name="destinationType">The type being converted to.</param>
\r
22482 <param name="converterType">The type of the type converter to use to convert to the destination type.</param>
\r
22485 Adds a converter <see cref="T:System.Type"/> for a specific type.
\r
22489 <member name="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertTo(System.Type,System.Type)">
\r
22491 Gets the type converter to use to convert values to the destination type.
\r
22493 <param name="sourceType">The type being converted from.</param>
\r
22494 <param name="destinationType">The type being converted to.</param>
\r
22496 The type converter instance to use for type conversions or <c>null</c>
\r
22497 if no type converter is found.
\r
22501 Gets the type converter to use to convert values to the destination type.
\r
22505 <member name="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertFrom(System.Type)">
\r
22507 Gets the type converter to use to convert values to the destination type.
\r
22509 <param name="destinationType">The type being converted to.</param>
\r
22511 The type converter instance to use for type conversions or <c>null</c>
\r
22512 if no type converter is found.
\r
22516 Gets the type converter to use to convert values to the destination type.
\r
22520 <member name="M:log4net.Util.TypeConverters.ConverterRegistry.GetConverterFromAttribute(System.Type)">
\r
22522 Lookups the type converter to use as specified by the attributes on the
\r
22523 destination type.
\r
22525 <param name="destinationType">The type being converted to.</param>
\r
22527 The type converter instance to use for type conversions or <c>null</c>
\r
22528 if no type converter is found.
\r
22531 <member name="M:log4net.Util.TypeConverters.ConverterRegistry.CreateConverterInstance(System.Type)">
\r
22533 Creates the instance of the type converter.
\r
22535 <param name="converterType">The type of the type converter.</param>
\r
22537 The type converter instance to use for type conversions or <c>null</c>
\r
22538 if no type converter is found.
\r
22542 The type specified for the type converter must implement
\r
22543 the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/> or <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces
\r
22544 and must have a public default (no argument) constructor.
\r
22548 <member name="F:log4net.Util.TypeConverters.ConverterRegistry.s_type2converter">
\r
22550 Mapping from <see cref="T:System.Type"/> to type converter.
\r
22553 <member name="T:log4net.Util.TypeConverters.EncodingConverter">
\r
22555 Supports conversion from string to <see cref="T:System.Text.Encoding"/> type.
\r
22559 Supports conversion from string to <see cref="T:System.Text.Encoding"/> type.
\r
22562 <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
\r
22563 <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
\r
22564 <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
\r
22565 <author>Nicko Cadell</author>
\r
22566 <author>Gert Driesen</author>
\r
22568 <member name="M:log4net.Util.TypeConverters.EncodingConverter.CanConvertFrom(System.Type)">
\r
22570 Can the source type be converted to the type supported by this object
\r
22572 <param name="sourceType">the type to convert</param>
\r
22573 <returns>true if the conversion is possible</returns>
\r
22576 Returns <c>true</c> if the <paramref name="sourceType"/> is
\r
22577 the <see cref="T:System.String"/> type.
\r
22581 <member name="M:log4net.Util.TypeConverters.EncodingConverter.ConvertFrom(System.Object)">
\r
22583 Overrides the ConvertFrom method of IConvertFrom.
\r
22585 <param name="source">the object to convert to an encoding</param>
\r
22586 <returns>the encoding</returns>
\r
22589 Uses the <see cref="M:System.Text.Encoding.GetEncoding(System.String)"/> method to
\r
22590 convert the <see cref="T:System.String"/> argument to an <see cref="T:System.Text.Encoding"/>.
\r
22593 <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
\r
22594 The <paramref name="source"/> object cannot be converted to the
\r
22595 target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.EncodingConverter.CanConvertFrom(System.Type)"/>
\r
22599 <member name="T:log4net.Util.TypeConverters.IConvertTo">
\r
22601 Interface supported by type converters
\r
22605 This interface supports conversion from a single type to arbitrary types.
\r
22606 See <see cref="T:log4net.Util.TypeConverters.TypeConverterAttribute"/>.
\r
22609 <author>Nicko Cadell</author>
\r
22611 <member name="M:log4net.Util.TypeConverters.IConvertTo.CanConvertTo(System.Type)">
\r
22613 Returns whether this converter can convert the object to the specified type
\r
22615 <param name="targetType">A Type that represents the type you want to convert to</param>
\r
22616 <returns>true if the conversion is possible</returns>
\r
22619 Test if the type supported by this converter can be converted to the
\r
22620 <paramref name="targetType"/>.
\r
22624 <member name="M:log4net.Util.TypeConverters.IConvertTo.ConvertTo(System.Object,System.Type)">
\r
22626 Converts the given value object to the specified type, using the arguments
\r
22628 <param name="source">the object to convert</param>
\r
22629 <param name="targetType">The Type to convert the value parameter to</param>
\r
22630 <returns>the converted object</returns>
\r
22633 Converts the <paramref name="source"/> (which must be of the type supported
\r
22634 by this converter) to the <paramref name="targetType"/> specified..
\r
22638 <member name="T:log4net.Util.TypeConverters.IPAddressConverter">
\r
22640 Supports conversion from string to <see cref="T:System.Net.IPAddress"/> type.
\r
22644 Supports conversion from string to <see cref="T:System.Net.IPAddress"/> type.
\r
22647 <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
\r
22648 <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
\r
22649 <author>Nicko Cadell</author>
\r
22651 <member name="M:log4net.Util.TypeConverters.IPAddressConverter.CanConvertFrom(System.Type)">
\r
22653 Can the source type be converted to the type supported by this object
\r
22655 <param name="sourceType">the type to convert</param>
\r
22656 <returns>true if the conversion is possible</returns>
\r
22659 Returns <c>true</c> if the <paramref name="sourceType"/> is
\r
22660 the <see cref="T:System.String"/> type.
\r
22664 <member name="M:log4net.Util.TypeConverters.IPAddressConverter.ConvertFrom(System.Object)">
\r
22666 Overrides the ConvertFrom method of IConvertFrom.
\r
22668 <param name="source">the object to convert to an IPAddress</param>
\r
22669 <returns>the IPAddress</returns>
\r
22672 Uses the <see cref="M:System.Net.IPAddress.Parse(System.String)"/> method to convert the
\r
22673 <see cref="T:System.String"/> argument to an <see cref="T:System.Net.IPAddress"/>.
\r
22674 If that fails then the string is resolved as a DNS hostname.
\r
22677 <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
\r
22678 The <paramref name="source"/> object cannot be converted to the
\r
22679 target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.IPAddressConverter.CanConvertFrom(System.Type)"/>
\r
22683 <member name="F:log4net.Util.TypeConverters.IPAddressConverter.validIpAddressChars">
\r
22685 Valid characters in an IPv4 or IPv6 address string. (Does not support subnets)
\r
22688 <member name="T:log4net.Util.TypeConverters.PatternLayoutConverter">
\r
22690 Supports conversion from string to <see cref="T:log4net.Layout.PatternLayout"/> type.
\r
22694 Supports conversion from string to <see cref="T:log4net.Layout.PatternLayout"/> type.
\r
22697 The string is used as the <see cref="P:log4net.Layout.PatternLayout.ConversionPattern"/>
\r
22698 of the <see cref="T:log4net.Layout.PatternLayout"/>.
\r
22701 <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
\r
22702 <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
\r
22703 <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
\r
22704 <author>Nicko Cadell</author>
\r
22706 <member name="M:log4net.Util.TypeConverters.PatternLayoutConverter.CanConvertFrom(System.Type)">
\r
22708 Can the source type be converted to the type supported by this object
\r
22710 <param name="sourceType">the type to convert</param>
\r
22711 <returns>true if the conversion is possible</returns>
\r
22714 Returns <c>true</c> if the <paramref name="sourceType"/> is
\r
22715 the <see cref="T:System.String"/> type.
\r
22719 <member name="M:log4net.Util.TypeConverters.PatternLayoutConverter.ConvertFrom(System.Object)">
\r
22721 Overrides the ConvertFrom method of IConvertFrom.
\r
22723 <param name="source">the object to convert to a PatternLayout</param>
\r
22724 <returns>the PatternLayout</returns>
\r
22727 Creates and returns a new <see cref="T:log4net.Layout.PatternLayout"/> using
\r
22728 the <paramref name="source"/> <see cref="T:System.String"/> as the
\r
22729 <see cref="P:log4net.Layout.PatternLayout.ConversionPattern"/>.
\r
22732 <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
\r
22733 The <paramref name="source"/> object cannot be converted to the
\r
22734 target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.PatternLayoutConverter.CanConvertFrom(System.Type)"/>
\r
22738 <member name="T:log4net.Util.TypeConverters.PatternStringConverter">
\r
22740 Convert between string and <see cref="T:log4net.Util.PatternString"/>
\r
22744 Supports conversion from string to <see cref="T:log4net.Util.PatternString"/> type,
\r
22745 and from a <see cref="T:log4net.Util.PatternString"/> type to a string.
\r
22748 The string is used as the <see cref="P:log4net.Util.PatternString.ConversionPattern"/>
\r
22749 of the <see cref="T:log4net.Util.PatternString"/>.
\r
22752 <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
\r
22753 <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
\r
22754 <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
\r
22755 <author>Nicko Cadell</author>
\r
22757 <member name="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertTo(System.Type)">
\r
22759 Can the target type be converted to the type supported by this object
\r
22761 <param name="targetType">A <see cref="T:System.Type"/> that represents the type you want to convert to</param>
\r
22762 <returns>true if the conversion is possible</returns>
\r
22765 Returns <c>true</c> if the <paramref name="targetType"/> is
\r
22766 assignable from a <see cref="T:System.String"/> type.
\r
22770 <member name="M:log4net.Util.TypeConverters.PatternStringConverter.ConvertTo(System.Object,System.Type)">
\r
22772 Converts the given value object to the specified type, using the arguments
\r
22774 <param name="source">the object to convert</param>
\r
22775 <param name="targetType">The Type to convert the value parameter to</param>
\r
22776 <returns>the converted object</returns>
\r
22779 Uses the <see cref="M:log4net.Util.PatternString.Format"/> method to convert the
\r
22780 <see cref="T:log4net.Util.PatternString"/> argument to a <see cref="T:System.String"/>.
\r
22783 <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
\r
22784 The <paramref name="source"/> object cannot be converted to the
\r
22785 <paramref name="targetType"/>. To check for this condition use the
\r
22786 <see cref="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertTo(System.Type)"/> method.
\r
22789 <member name="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertFrom(System.Type)">
\r
22791 Can the source type be converted to the type supported by this object
\r
22793 <param name="sourceType">the type to convert</param>
\r
22794 <returns>true if the conversion is possible</returns>
\r
22797 Returns <c>true</c> if the <paramref name="sourceType"/> is
\r
22798 the <see cref="T:System.String"/> type.
\r
22802 <member name="M:log4net.Util.TypeConverters.PatternStringConverter.ConvertFrom(System.Object)">
\r
22804 Overrides the ConvertFrom method of IConvertFrom.
\r
22806 <param name="source">the object to convert to a PatternString</param>
\r
22807 <returns>the PatternString</returns>
\r
22810 Creates and returns a new <see cref="T:log4net.Util.PatternString"/> using
\r
22811 the <paramref name="source"/> <see cref="T:System.String"/> as the
\r
22812 <see cref="P:log4net.Util.PatternString.ConversionPattern"/>.
\r
22815 <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
\r
22816 The <paramref name="source"/> object cannot be converted to the
\r
22817 target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertFrom(System.Type)"/>
\r
22821 <member name="T:log4net.Util.TypeConverters.TypeConverter">
\r
22823 Supports conversion from string to <see cref="T:System.Type"/> type.
\r
22827 Supports conversion from string to <see cref="T:System.Type"/> type.
\r
22830 <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
\r
22831 <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
\r
22832 <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
\r
22833 <author>Nicko Cadell</author>
\r
22835 <member name="M:log4net.Util.TypeConverters.TypeConverter.CanConvertFrom(System.Type)">
\r
22837 Can the source type be converted to the type supported by this object
\r
22839 <param name="sourceType">the type to convert</param>
\r
22840 <returns>true if the conversion is possible</returns>
\r
22843 Returns <c>true</c> if the <paramref name="sourceType"/> is
\r
22844 the <see cref="T:System.String"/> type.
\r
22848 <member name="M:log4net.Util.TypeConverters.TypeConverter.ConvertFrom(System.Object)">
\r
22850 Overrides the ConvertFrom method of IConvertFrom.
\r
22852 <param name="source">the object to convert to a Type</param>
\r
22853 <returns>the Type</returns>
\r
22856 Uses the <see cref="M:System.Type.GetType(System.String,System.Boolean)"/> method to convert the
\r
22857 <see cref="T:System.String"/> argument to a <see cref="T:System.Type"/>.
\r
22858 Additional effort is made to locate partially specified types
\r
22859 by searching the loaded assemblies.
\r
22862 <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
\r
22863 The <paramref name="source"/> object cannot be converted to the
\r
22864 target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.TypeConverter.CanConvertFrom(System.Type)"/>
\r
22868 <member name="T:log4net.Util.TypeConverters.TypeConverterAttribute">
\r
22870 Attribute used to associate a type converter
\r
22874 Class and Interface level attribute that specifies a type converter
\r
22875 to use with the associated type.
\r
22878 To associate a type converter with a target type apply a
\r
22879 <c>TypeConverterAttribute</c> to the target type. Specify the
\r
22880 type of the type converter on the attribute.
\r
22883 <author>Nicko Cadell</author>
\r
22884 <author>Gert Driesen</author>
\r
22886 <member name="F:log4net.Util.TypeConverters.TypeConverterAttribute.m_typeName">
\r
22888 The string type name of the type converter
\r
22891 <member name="M:log4net.Util.TypeConverters.TypeConverterAttribute.#ctor">
\r
22893 Default constructor
\r
22897 Default constructor
\r
22901 <member name="M:log4net.Util.TypeConverters.TypeConverterAttribute.#ctor(System.String)">
\r
22903 Create a new type converter attribute for the specified type name
\r
22905 <param name="typeName">The string type name of the type converter</param>
\r
22908 The type specified must implement the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
\r
22909 or the <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces.
\r
22913 <member name="M:log4net.Util.TypeConverters.TypeConverterAttribute.#ctor(System.Type)">
\r
22915 Create a new type converter attribute for the specified type
\r
22917 <param name="converterType">The type of the type converter</param>
\r
22920 The type specified must implement the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
\r
22921 or the <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces.
\r
22925 <member name="P:log4net.Util.TypeConverters.TypeConverterAttribute.ConverterTypeName">
\r
22927 The string type name of the type converter
\r
22930 The string type name of the type converter
\r
22934 The type specified must implement the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
\r
22935 or the <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces.
\r
22939 <member name="T:log4net.Util.AppenderAttachedImpl">
\r
22941 A straightforward implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface.
\r
22945 This is the default implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/>
\r
22946 interface. Implementors of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
\r
22947 should aggregate an instance of this type.
\r
22950 <author>Nicko Cadell</author>
\r
22951 <author>Gert Driesen</author>
\r
22953 <member name="M:log4net.Util.AppenderAttachedImpl.#ctor">
\r
22959 Initializes a new instance of the <see cref="T:log4net.Util.AppenderAttachedImpl"/> class.
\r
22963 <member name="M:log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders(log4net.Core.LoggingEvent)">
\r
22965 Append on on all attached appenders.
\r
22967 <param name="loggingEvent">The event being logged.</param>
\r
22968 <returns>The number of appenders called.</returns>
\r
22971 Calls the <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method on all
\r
22972 attached appenders.
\r
22976 <member name="M:log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders(log4net.Core.LoggingEvent[])">
\r
22978 Append on on all attached appenders.
\r
22980 <param name="loggingEvents">The array of events being logged.</param>
\r
22981 <returns>The number of appenders called.</returns>
\r
22984 Calls the <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method on all
\r
22985 attached appenders.
\r
22989 <member name="M:log4net.Util.AppenderAttachedImpl.CallAppend(log4net.Appender.IAppender,log4net.Core.LoggingEvent[])">
\r
22991 Calls the DoAppende method on the <see cref="T:log4net.Appender.IAppender"/> with
\r
22992 the <see cref="T:log4net.Core.LoggingEvent"/> objects supplied.
\r
22994 <param name="appender">The appender</param>
\r
22995 <param name="loggingEvents">The events</param>
\r
22998 If the <paramref name="appender"/> supports the <see cref="T:log4net.Appender.IBulkAppender"/>
\r
22999 interface then the <paramref name="loggingEvents"/> will be passed
\r
23000 through using that interface. Otherwise the <see cref="T:log4net.Core.LoggingEvent"/>
\r
23001 objects in the array will be passed one at a time.
\r
23005 <member name="M:log4net.Util.AppenderAttachedImpl.AddAppender(log4net.Appender.IAppender)">
\r
23007 Attaches an appender.
\r
23009 <param name="newAppender">The appender to add.</param>
\r
23012 If the appender is already in the list it won't be added again.
\r
23016 <member name="M:log4net.Util.AppenderAttachedImpl.GetAppender(System.String)">
\r
23018 Gets an attached appender with the specified name.
\r
23020 <param name="name">The name of the appender to get.</param>
\r
23022 The appender with the name specified, or <c>null</c> if no appender with the
\r
23023 specified name is found.
\r
23027 Lookup an attached appender by name.
\r
23031 <member name="M:log4net.Util.AppenderAttachedImpl.RemoveAllAppenders">
\r
23033 Removes all attached appenders.
\r
23037 Removes and closes all attached appenders
\r
23041 <member name="M:log4net.Util.AppenderAttachedImpl.RemoveAppender(log4net.Appender.IAppender)">
\r
23043 Removes the specified appender from the list of attached appenders.
\r
23045 <param name="appender">The appender to remove.</param>
\r
23046 <returns>The appender removed from the list</returns>
\r
23049 The appender removed is not closed.
\r
23050 If you are discarding the appender you must call
\r
23051 <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
\r
23055 <member name="M:log4net.Util.AppenderAttachedImpl.RemoveAppender(System.String)">
\r
23057 Removes the appender with the specified name from the list of appenders.
\r
23059 <param name="name">The name of the appender to remove.</param>
\r
23060 <returns>The appender removed from the list</returns>
\r
23063 The appender removed is not closed.
\r
23064 If you are discarding the appender you must call
\r
23065 <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
\r
23069 <member name="F:log4net.Util.AppenderAttachedImpl.m_appenderList">
\r
23071 List of appenders
\r
23074 <member name="F:log4net.Util.AppenderAttachedImpl.m_appenderArray">
\r
23076 Array of appenders, used to cache the m_appenderList
\r
23079 <member name="P:log4net.Util.AppenderAttachedImpl.Appenders">
\r
23081 Gets all attached appenders.
\r
23084 A collection of attached appenders, or <c>null</c> if there
\r
23085 are no attached appenders.
\r
23089 The read only collection of all currently attached appenders.
\r
23093 <member name="T:log4net.Util.CompositeProperties">
\r
23095 This class aggregates several PropertiesDictionary collections together.
\r
23099 Provides a dictionary style lookup over an ordered list of
\r
23100 <see cref="T:log4net.Util.PropertiesDictionary"/> collections.
\r
23103 <author>Nicko Cadell</author>
\r
23105 <member name="M:log4net.Util.CompositeProperties.#ctor">
\r
23111 Initializes a new instance of the <see cref="T:log4net.Util.CompositeProperties"/> class.
\r
23115 <member name="M:log4net.Util.CompositeProperties.Add(log4net.Util.ReadOnlyPropertiesDictionary)">
\r
23117 Add a Properties Dictionary to this composite collection
\r
23119 <param name="properties">the properties to add</param>
\r
23122 Properties dictionaries added first take precedence over dictionaries added
\r
23127 <member name="M:log4net.Util.CompositeProperties.Flatten">
\r
23129 Flatten this composite collection into a single properties dictionary
\r
23131 <returns>the flattened dictionary</returns>
\r
23134 Reduces the collection of ordered dictionaries to a single dictionary
\r
23135 containing the resultant values for the keys.
\r
23139 <member name="P:log4net.Util.CompositeProperties.Item(System.String)">
\r
23141 Gets the value of a property
\r
23144 The value for the property with the specified key
\r
23148 Looks up the value for the <paramref name="key"/> specified.
\r
23149 The <see cref="T:log4net.Util.PropertiesDictionary"/> collections are searched
\r
23150 in the order in which they were added to this collection. The value
\r
23151 returned is the value held by the first collection that contains
\r
23152 the specified key.
\r
23155 If none of the collections contain the specified key then
\r
23156 <c>null</c> is returned.
\r
23160 <member name="T:log4net.Util.ContextPropertiesBase">
\r
23162 Base class for Context Properties implementations
\r
23166 This class defines a basic property get set accessor
\r
23169 <author>Nicko Cadell</author>
\r
23171 <member name="P:log4net.Util.ContextPropertiesBase.Item(System.String)">
\r
23173 Gets or sets the value of a property
\r
23176 The value for the property with the specified key
\r
23180 Gets or sets the value of a property
\r
23184 <member name="T:log4net.Util.CountingQuietTextWriter">
\r
23186 Subclass of <see cref="T:log4net.Util.QuietTextWriter"/> that maintains a count of
\r
23187 the number of bytes written.
\r
23191 This writer counts the number of bytes written.
\r
23194 <author>Nicko Cadell</author>
\r
23195 <author>Gert Driesen</author>
\r
23197 <member name="T:log4net.Util.QuietTextWriter">
\r
23199 <see cref="T:System.IO.TextWriter"/> that does not leak exceptions
\r
23203 <see cref="T:log4net.Util.QuietTextWriter"/> does not throw exceptions when things go wrong.
\r
23204 Instead, it delegates error handling to its <see cref="T:log4net.Core.IErrorHandler"/>.
\r
23207 <author>Nicko Cadell</author>
\r
23208 <author>Gert Driesen</author>
\r
23210 <member name="T:log4net.Util.TextWriterAdapter">
\r
23212 Adapter that extends <see cref="T:System.IO.TextWriter"/> and forwards all
\r
23213 messages to an instance of <see cref="T:System.IO.TextWriter"/>.
\r
23217 Adapter that extends <see cref="T:System.IO.TextWriter"/> and forwards all
\r
23218 messages to an instance of <see cref="T:System.IO.TextWriter"/>.
\r
23221 <author>Nicko Cadell</author>
\r
23223 <member name="F:log4net.Util.TextWriterAdapter.m_writer">
\r
23225 The writer to forward messages to
\r
23228 <member name="M:log4net.Util.TextWriterAdapter.#ctor(System.IO.TextWriter)">
\r
23230 Create an instance of <see cref="T:log4net.Util.TextWriterAdapter"/> that forwards all
\r
23231 messages to a <see cref="T:System.IO.TextWriter"/>.
\r
23233 <param name="writer">The <see cref="T:System.IO.TextWriter"/> to forward to</param>
\r
23236 Create an instance of <see cref="T:log4net.Util.TextWriterAdapter"/> that forwards all
\r
23237 messages to a <see cref="T:System.IO.TextWriter"/>.
\r
23241 <member name="M:log4net.Util.TextWriterAdapter.Close">
\r
23243 Closes the writer and releases any system resources associated with the writer
\r
23250 <member name="M:log4net.Util.TextWriterAdapter.Dispose(System.Boolean)">
\r
23252 Dispose this writer
\r
23254 <param name="disposing">flag indicating if we are being disposed</param>
\r
23257 Dispose this writer
\r
23261 <member name="M:log4net.Util.TextWriterAdapter.Flush">
\r
23263 Flushes any buffered output
\r
23267 Clears all buffers for the writer and causes any buffered data to be written
\r
23268 to the underlying device
\r
23272 <member name="M:log4net.Util.TextWriterAdapter.Write(System.Char)">
\r
23274 Writes a character to the wrapped TextWriter
\r
23276 <param name="value">the value to write to the TextWriter</param>
\r
23279 Writes a character to the wrapped TextWriter
\r
23283 <member name="M:log4net.Util.TextWriterAdapter.Write(System.Char[],System.Int32,System.Int32)">
\r
23285 Writes a character buffer to the wrapped TextWriter
\r
23287 <param name="buffer">the data buffer</param>
\r
23288 <param name="index">the start index</param>
\r
23289 <param name="count">the number of characters to write</param>
\r
23292 Writes a character buffer to the wrapped TextWriter
\r
23296 <member name="M:log4net.Util.TextWriterAdapter.Write(System.String)">
\r
23298 Writes a string to the wrapped TextWriter
\r
23300 <param name="value">the value to write to the TextWriter</param>
\r
23303 Writes a string to the wrapped TextWriter
\r
23307 <member name="P:log4net.Util.TextWriterAdapter.Writer">
\r
23309 Gets or sets the underlying <see cref="T:System.IO.TextWriter"/>.
\r
23312 The underlying <see cref="T:System.IO.TextWriter"/>.
\r
23316 Gets or sets the underlying <see cref="T:System.IO.TextWriter"/>.
\r
23320 <member name="P:log4net.Util.TextWriterAdapter.Encoding">
\r
23322 The Encoding in which the output is written
\r
23325 The <see cref="P:log4net.Util.TextWriterAdapter.Encoding"/>
\r
23329 The Encoding in which the output is written
\r
23333 <member name="P:log4net.Util.TextWriterAdapter.FormatProvider">
\r
23335 Gets an object that controls formatting
\r
23338 The format provider
\r
23342 Gets an object that controls formatting
\r
23346 <member name="P:log4net.Util.TextWriterAdapter.NewLine">
\r
23348 Gets or sets the line terminator string used by the TextWriter
\r
23351 The line terminator to use
\r
23355 Gets or sets the line terminator string used by the TextWriter
\r
23359 <member name="M:log4net.Util.QuietTextWriter.#ctor(System.IO.TextWriter,log4net.Core.IErrorHandler)">
\r
23363 <param name="writer">the writer to actually write to</param>
\r
23364 <param name="errorHandler">the error handler to report error to</param>
\r
23367 Create a new QuietTextWriter using a writer and error handler
\r
23371 <member name="M:log4net.Util.QuietTextWriter.Write(System.Char)">
\r
23373 Writes a character to the underlying writer
\r
23375 <param name="value">the char to write</param>
\r
23378 Writes a character to the underlying writer
\r
23382 <member name="M:log4net.Util.QuietTextWriter.Write(System.Char[],System.Int32,System.Int32)">
\r
23384 Writes a buffer to the underlying writer
\r
23386 <param name="buffer">the buffer to write</param>
\r
23387 <param name="index">the start index to write from</param>
\r
23388 <param name="count">the number of characters to write</param>
\r
23391 Writes a buffer to the underlying writer
\r
23395 <member name="M:log4net.Util.QuietTextWriter.Write(System.String)">
\r
23397 Writes a string to the output.
\r
23399 <param name="value">The string data to write to the output.</param>
\r
23402 Writes a string to the output.
\r
23406 <member name="M:log4net.Util.QuietTextWriter.Close">
\r
23408 Closes the underlying output writer.
\r
23412 Closes the underlying output writer.
\r
23416 <member name="F:log4net.Util.QuietTextWriter.m_errorHandler">
\r
23418 The error handler instance to pass all errors to
\r
23421 <member name="F:log4net.Util.QuietTextWriter.m_closed">
\r
23423 Flag to indicate if this writer is closed
\r
23426 <member name="P:log4net.Util.QuietTextWriter.ErrorHandler">
\r
23428 Gets or sets the error handler that all errors are passed to.
\r
23431 The error handler that all errors are passed to.
\r
23435 Gets or sets the error handler that all errors are passed to.
\r
23439 <member name="P:log4net.Util.QuietTextWriter.Closed">
\r
23441 Gets a value indicating whether this writer is closed.
\r
23444 <c>true</c> if this writer is closed, otherwise <c>false</c>.
\r
23448 Gets a value indicating whether this writer is closed.
\r
23452 <member name="M:log4net.Util.CountingQuietTextWriter.#ctor(System.IO.TextWriter,log4net.Core.IErrorHandler)">
\r
23456 <param name="writer">The <see cref="T:System.IO.TextWriter"/> to actually write to.</param>
\r
23457 <param name="errorHandler">The <see cref="T:log4net.Core.IErrorHandler"/> to report errors to.</param>
\r
23460 Creates a new instance of the <see cref="T:log4net.Util.CountingQuietTextWriter"/> class
\r
23461 with the specified <see cref="T:System.IO.TextWriter"/> and <see cref="T:log4net.Core.IErrorHandler"/>.
\r
23465 <member name="M:log4net.Util.CountingQuietTextWriter.Write(System.Char)">
\r
23467 Writes a character to the underlying writer and counts the number of bytes written.
\r
23469 <param name="value">the char to write</param>
\r
23472 Overrides implementation of <see cref="T:log4net.Util.QuietTextWriter"/>. Counts
\r
23473 the number of bytes written.
\r
23477 <member name="M:log4net.Util.CountingQuietTextWriter.Write(System.Char[],System.Int32,System.Int32)">
\r
23479 Writes a buffer to the underlying writer and counts the number of bytes written.
\r
23481 <param name="buffer">the buffer to write</param>
\r
23482 <param name="index">the start index to write from</param>
\r
23483 <param name="count">the number of characters to write</param>
\r
23486 Overrides implementation of <see cref="T:log4net.Util.QuietTextWriter"/>. Counts
\r
23487 the number of bytes written.
\r
23491 <member name="M:log4net.Util.CountingQuietTextWriter.Write(System.String)">
\r
23493 Writes a string to the output and counts the number of bytes written.
\r
23495 <param name="str">The string data to write to the output.</param>
\r
23498 Overrides implementation of <see cref="T:log4net.Util.QuietTextWriter"/>. Counts
\r
23499 the number of bytes written.
\r
23503 <member name="F:log4net.Util.CountingQuietTextWriter.m_countBytes">
\r
23505 Total number of bytes written.
\r
23508 <member name="P:log4net.Util.CountingQuietTextWriter.Count">
\r
23510 Gets or sets the total number of bytes written.
\r
23513 The total number of bytes written.
\r
23517 Gets or sets the total number of bytes written.
\r
23521 <member name="T:log4net.Util.CyclicBuffer">
\r
23523 A fixed size rolling buffer of logging events.
\r
23527 An array backed fixed size leaky bucket.
\r
23530 <author>Nicko Cadell</author>
\r
23531 <author>Gert Driesen</author>
\r
23533 <member name="M:log4net.Util.CyclicBuffer.#ctor(System.Int32)">
\r
23537 <param name="maxSize">The maximum number of logging events in the buffer.</param>
\r
23540 Initializes a new instance of the <see cref="T:log4net.Util.CyclicBuffer"/> class with
\r
23541 the specified maximum number of buffered logging events.
\r
23544 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="maxSize"/> argument is not a positive integer.</exception>
\r
23546 <member name="M:log4net.Util.CyclicBuffer.Append(log4net.Core.LoggingEvent)">
\r
23548 Appends a <paramref name="loggingEvent"/> to the buffer.
\r
23550 <param name="loggingEvent">The event to append to the buffer.</param>
\r
23551 <returns>The event discarded from the buffer, if the buffer is full, otherwise <c>null</c>.</returns>
\r
23554 Append an event to the buffer. If the buffer still contains free space then
\r
23555 <c>null</c> is returned. If the buffer is full then an event will be dropped
\r
23556 to make space for the new event, the event dropped is returned.
\r
23560 <member name="M:log4net.Util.CyclicBuffer.PopOldest">
\r
23562 Get and remove the oldest event in the buffer.
\r
23564 <returns>The oldest logging event in the buffer</returns>
\r
23567 Gets the oldest (first) logging event in the buffer and removes it
\r
23572 <member name="M:log4net.Util.CyclicBuffer.PopAll">
\r
23574 Pops all the logging events from the buffer into an array.
\r
23576 <returns>An array of all the logging events in the buffer.</returns>
\r
23579 Get all the events in the buffer and clear the buffer.
\r
23583 <member name="M:log4net.Util.CyclicBuffer.Clear">
\r
23589 Clear the buffer of all events. The events in the buffer are lost.
\r
23593 <member name="P:log4net.Util.CyclicBuffer.Item(System.Int32)">
\r
23595 Gets the <paramref name="i"/>th oldest event currently in the buffer.
\r
23597 <value>The <paramref name="i"/>th oldest event currently in the buffer.</value>
\r
23600 If <paramref name="i"/> is outside the range 0 to the number of events
\r
23601 currently in the buffer, then <c>null</c> is returned.
\r
23605 <member name="P:log4net.Util.CyclicBuffer.MaxSize">
\r
23607 Gets the maximum size of the buffer.
\r
23609 <value>The maximum size of the buffer.</value>
\r
23612 Gets the maximum size of the buffer
\r
23616 <member name="P:log4net.Util.CyclicBuffer.Length">
\r
23618 Gets the number of logging events in the buffer.
\r
23620 <value>The number of logging events in the buffer.</value>
\r
23623 This number is guaranteed to be in the range 0 to <see cref="P:log4net.Util.CyclicBuffer.MaxSize"/>
\r
23628 <member name="T:log4net.Util.EmptyCollection">
\r
23630 An always empty <see cref="T:System.Collections.ICollection"/>.
\r
23634 A singleton implementation of the <see cref="T:System.Collections.ICollection"/>
\r
23635 interface that always represents an empty collection.
\r
23638 <author>Nicko Cadell</author>
\r
23639 <author>Gert Driesen</author>
\r
23641 <member name="M:log4net.Util.EmptyCollection.#ctor">
\r
23643 Initializes a new instance of the <see cref="T:log4net.Util.EmptyCollection"/> class.
\r
23647 Uses a private access modifier to enforce the singleton pattern.
\r
23651 <member name="M:log4net.Util.EmptyCollection.CopyTo(System.Array,System.Int32)">
\r
23653 Copies the elements of the <see cref="T:System.Collections.ICollection"/> to an
\r
23654 <see cref="T:System.Array"/>, starting at a particular Array index.
\r
23656 <param name="array">The one-dimensional <see cref="T:System.Array"/>
\r
23657 that is the destination of the elements copied from
\r
23658 <see cref="T:System.Collections.ICollection"/>. The Array must have zero-based
\r
23659 indexing.</param>
\r
23660 <param name="index">The zero-based index in array at which
\r
23661 copying begins.</param>
\r
23664 As the collection is empty no values are copied into the array.
\r
23668 <member name="M:log4net.Util.EmptyCollection.GetEnumerator">
\r
23670 Returns an enumerator that can iterate through a collection.
\r
23673 An <see cref="T:System.Collections.IEnumerator"/> that can be used to
\r
23674 iterate through the collection.
\r
23678 As the collection is empty a <see cref="T:log4net.Util.NullEnumerator"/> is returned.
\r
23682 <member name="F:log4net.Util.EmptyCollection.s_instance">
\r
23684 The singleton instance of the empty collection.
\r
23687 <member name="P:log4net.Util.EmptyCollection.Instance">
\r
23689 Gets the singleton instance of the empty collection.
\r
23691 <returns>The singleton instance of the empty collection.</returns>
\r
23694 Gets the singleton instance of the empty collection.
\r
23698 <member name="P:log4net.Util.EmptyCollection.IsSynchronized">
\r
23700 Gets a value indicating if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe).
\r
23703 <b>true</b> if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe); otherwise, <b>false</b>.
\r
23707 For the <see cref="T:log4net.Util.EmptyCollection"/> this property is always <c>true</c>.
\r
23711 <member name="P:log4net.Util.EmptyCollection.Count">
\r
23713 Gets the number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
\r
23716 The number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
\r
23720 As the collection is empty the <see cref="P:log4net.Util.EmptyCollection.Count"/> is always <c>0</c>.
\r
23724 <member name="P:log4net.Util.EmptyCollection.SyncRoot">
\r
23726 Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
\r
23729 An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
\r
23733 As the collection is empty and thread safe and synchronized this instance is also
\r
23734 the <see cref="P:log4net.Util.EmptyCollection.SyncRoot"/> object.
\r
23738 <member name="T:log4net.Util.EmptyDictionary">
\r
23740 An always empty <see cref="T:System.Collections.IDictionary"/>.
\r
23744 A singleton implementation of the <see cref="T:System.Collections.IDictionary"/>
\r
23745 interface that always represents an empty collection.
\r
23748 <author>Nicko Cadell</author>
\r
23749 <author>Gert Driesen</author>
\r
23751 <member name="M:log4net.Util.EmptyDictionary.#ctor">
\r
23753 Initializes a new instance of the <see cref="T:log4net.Util.EmptyDictionary"/> class.
\r
23757 Uses a private access modifier to enforce the singleton pattern.
\r
23761 <member name="M:log4net.Util.EmptyDictionary.CopyTo(System.Array,System.Int32)">
\r
23763 Copies the elements of the <see cref="T:System.Collections.ICollection"/> to an
\r
23764 <see cref="T:System.Array"/>, starting at a particular Array index.
\r
23766 <param name="array">The one-dimensional <see cref="T:System.Array"/>
\r
23767 that is the destination of the elements copied from
\r
23768 <see cref="T:System.Collections.ICollection"/>. The Array must have zero-based
\r
23769 indexing.</param>
\r
23770 <param name="index">The zero-based index in array at which
\r
23771 copying begins.</param>
\r
23774 As the collection is empty no values are copied into the array.
\r
23778 <member name="M:log4net.Util.EmptyDictionary.System#Collections#IEnumerable#GetEnumerator">
\r
23780 Returns an enumerator that can iterate through a collection.
\r
23783 An <see cref="T:System.Collections.IEnumerator"/> that can be used to
\r
23784 iterate through the collection.
\r
23788 As the collection is empty a <see cref="T:log4net.Util.NullEnumerator"/> is returned.
\r
23792 <member name="M:log4net.Util.EmptyDictionary.Add(System.Object,System.Object)">
\r
23794 Adds an element with the provided key and value to the
\r
23795 <see cref="T:log4net.Util.EmptyDictionary"/>.
\r
23797 <param name="key">The <see cref="T:System.Object"/> to use as the key of the element to add.</param>
\r
23798 <param name="value">The <see cref="T:System.Object"/> to use as the value of the element to add.</param>
\r
23801 As the collection is empty no new values can be added. A <see cref="T:System.InvalidOperationException"/>
\r
23802 is thrown if this method is called.
\r
23805 <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
\r
23807 <member name="M:log4net.Util.EmptyDictionary.Clear">
\r
23809 Removes all elements from the <see cref="T:log4net.Util.EmptyDictionary"/>.
\r
23813 As the collection is empty no values can be removed. A <see cref="T:System.InvalidOperationException"/>
\r
23814 is thrown if this method is called.
\r
23817 <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
\r
23819 <member name="M:log4net.Util.EmptyDictionary.Contains(System.Object)">
\r
23821 Determines whether the <see cref="T:log4net.Util.EmptyDictionary"/> contains an element
\r
23822 with the specified key.
\r
23824 <param name="key">The key to locate in the <see cref="T:log4net.Util.EmptyDictionary"/>.</param>
\r
23825 <returns><c>false</c></returns>
\r
23828 As the collection is empty the <see cref="M:log4net.Util.EmptyDictionary.Contains(System.Object)"/> method always returns <c>false</c>.
\r
23832 <member name="M:log4net.Util.EmptyDictionary.GetEnumerator">
\r
23834 Returns an enumerator that can iterate through a collection.
\r
23837 An <see cref="T:System.Collections.IEnumerator"/> that can be used to
\r
23838 iterate through the collection.
\r
23842 As the collection is empty a <see cref="T:log4net.Util.NullEnumerator"/> is returned.
\r
23846 <member name="M:log4net.Util.EmptyDictionary.Remove(System.Object)">
\r
23848 Removes the element with the specified key from the <see cref="T:log4net.Util.EmptyDictionary"/>.
\r
23850 <param name="key">The key of the element to remove.</param>
\r
23853 As the collection is empty no values can be removed. A <see cref="T:System.InvalidOperationException"/>
\r
23854 is thrown if this method is called.
\r
23857 <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
\r
23859 <member name="F:log4net.Util.EmptyDictionary.s_instance">
\r
23861 The singleton instance of the empty dictionary.
\r
23864 <member name="P:log4net.Util.EmptyDictionary.Instance">
\r
23866 Gets the singleton instance of the <see cref="T:log4net.Util.EmptyDictionary"/>.
\r
23868 <returns>The singleton instance of the <see cref="T:log4net.Util.EmptyDictionary"/>.</returns>
\r
23871 Gets the singleton instance of the <see cref="T:log4net.Util.EmptyDictionary"/>.
\r
23875 <member name="P:log4net.Util.EmptyDictionary.IsSynchronized">
\r
23877 Gets a value indicating if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe).
\r
23880 <b>true</b> if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe); otherwise, <b>false</b>.
\r
23884 For the <see cref="T:log4net.Util.EmptyCollection"/> this property is always <b>true</b>.
\r
23888 <member name="P:log4net.Util.EmptyDictionary.Count">
\r
23890 Gets the number of elements contained in the <see cref="T:System.Collections.ICollection"/>
\r
23893 The number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
\r
23897 As the collection is empty the <see cref="P:log4net.Util.EmptyDictionary.Count"/> is always <c>0</c>.
\r
23901 <member name="P:log4net.Util.EmptyDictionary.SyncRoot">
\r
23903 Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
\r
23906 An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
\r
23910 As the collection is empty and thread safe and synchronized this instance is also
\r
23911 the <see cref="P:log4net.Util.EmptyDictionary.SyncRoot"/> object.
\r
23915 <member name="P:log4net.Util.EmptyDictionary.IsFixedSize">
\r
23917 Gets a value indicating whether the <see cref="T:log4net.Util.EmptyDictionary"/> has a fixed size.
\r
23919 <value><c>true</c></value>
\r
23922 As the collection is empty <see cref="P:log4net.Util.EmptyDictionary.IsFixedSize"/> always returns <c>true</c>.
\r
23926 <member name="P:log4net.Util.EmptyDictionary.IsReadOnly">
\r
23928 Gets a value indicating whether the <see cref="T:log4net.Util.EmptyDictionary"/> is read-only.
\r
23930 <value><c>true</c></value>
\r
23933 As the collection is empty <see cref="P:log4net.Util.EmptyDictionary.IsReadOnly"/> always returns <c>true</c>.
\r
23937 <member name="P:log4net.Util.EmptyDictionary.Keys">
\r
23939 Gets an <see cref="T:System.Collections.ICollection"/> containing the keys of the <see cref="T:log4net.Util.EmptyDictionary"/>.
\r
23941 <value>An <see cref="T:System.Collections.ICollection"/> containing the keys of the <see cref="T:log4net.Util.EmptyDictionary"/>.</value>
\r
23944 As the collection is empty a <see cref="T:log4net.Util.EmptyCollection"/> is returned.
\r
23948 <member name="P:log4net.Util.EmptyDictionary.Values">
\r
23950 Gets an <see cref="T:System.Collections.ICollection"/> containing the values of the <see cref="T:log4net.Util.EmptyDictionary"/>.
\r
23952 <value>An <see cref="T:System.Collections.ICollection"/> containing the values of the <see cref="T:log4net.Util.EmptyDictionary"/>.</value>
\r
23955 As the collection is empty a <see cref="T:log4net.Util.EmptyCollection"/> is returned.
\r
23959 <member name="P:log4net.Util.EmptyDictionary.Item(System.Object)">
\r
23961 Gets or sets the element with the specified key.
\r
23963 <param name="key">The key of the element to get or set.</param>
\r
23964 <value><c>null</c></value>
\r
23967 As the collection is empty no values can be looked up or stored.
\r
23968 If the index getter is called then <c>null</c> is returned.
\r
23969 A <see cref="T:System.InvalidOperationException"/> is thrown if the setter is called.
\r
23972 <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
\r
23974 <member name="T:log4net.Util.FormattingInfo">
\r
23976 Contain the information obtained when parsing formatting modifiers
\r
23977 in conversion modifiers.
\r
23981 Holds the formatting information extracted from the format string by
\r
23982 the <see cref="T:log4net.Util.PatternParser"/>. This is used by the <see cref="T:log4net.Util.PatternConverter"/>
\r
23983 objects when rendering the output.
\r
23986 <author>Nicko Cadell</author>
\r
23987 <author>Gert Driesen</author>
\r
23989 <member name="M:log4net.Util.FormattingInfo.#ctor">
\r
23991 Defaut Constructor
\r
23995 Initializes a new instance of the <see cref="T:log4net.Util.FormattingInfo"/> class.
\r
23999 <member name="M:log4net.Util.FormattingInfo.#ctor(System.Int32,System.Int32,System.Boolean)">
\r
24005 Initializes a new instance of the <see cref="T:log4net.Util.FormattingInfo"/> class
\r
24006 with the specified parameters.
\r
24010 <member name="P:log4net.Util.FormattingInfo.Min">
\r
24012 Gets or sets the minimum value.
\r
24015 The minimum value.
\r
24019 Gets or sets the minimum value.
\r
24023 <member name="P:log4net.Util.FormattingInfo.Max">
\r
24025 Gets or sets the maximum value.
\r
24028 The maximum value.
\r
24032 Gets or sets the maximum value.
\r
24036 <member name="P:log4net.Util.FormattingInfo.LeftAlign">
\r
24038 Gets or sets a flag indicating whether left align is enabled
\r
24042 A flag indicating whether left align is enabled or not.
\r
24046 Gets or sets a flag indicating whether left align is enabled or not.
\r
24050 <member name="T:log4net.Util.GlobalContextProperties">
\r
24052 Implementation of Properties collection for the <see cref="T:log4net.GlobalContext"/>
\r
24056 This class implements a properties collection that is thread safe and supports both
\r
24057 storing properties and capturing a read only copy of the current propertied.
\r
24060 This class is optimized to the scenario where the properties are read frequently
\r
24061 and are modified infrequently.
\r
24064 <author>Nicko Cadell</author>
\r
24066 <member name="F:log4net.Util.GlobalContextProperties.m_readOnlyProperties">
\r
24068 The read only copy of the properties.
\r
24072 This variable is declared <c>volatile</c> to prevent the compiler and JIT from
\r
24073 reordering reads and writes of this thread performed on different threads.
\r
24077 <member name="F:log4net.Util.GlobalContextProperties.m_syncRoot">
\r
24079 Lock object used to synchronize updates within this instance
\r
24082 <member name="M:log4net.Util.GlobalContextProperties.#ctor">
\r
24088 Initializes a new instance of the <see cref="T:log4net.Util.GlobalContextProperties"/> class.
\r
24092 <member name="M:log4net.Util.GlobalContextProperties.Remove(System.String)">
\r
24094 Remove a property from the global context
\r
24096 <param name="key">the key for the entry to remove</param>
\r
24099 Removing an entry from the global context properties is relatively expensive compared
\r
24100 with reading a value.
\r
24104 <member name="M:log4net.Util.GlobalContextProperties.Clear">
\r
24106 Clear the global context properties
\r
24109 <member name="M:log4net.Util.GlobalContextProperties.GetReadOnlyProperties">
\r
24111 Get a readonly immutable copy of the properties
\r
24113 <returns>the current global context properties</returns>
\r
24116 This implementation is fast because the GlobalContextProperties class
\r
24117 stores a readonly copy of the properties.
\r
24121 <member name="P:log4net.Util.GlobalContextProperties.Item(System.String)">
\r
24123 Gets or sets the value of a property
\r
24126 The value for the property with the specified key
\r
24130 Reading the value for a key is faster than setting the value.
\r
24131 When the value is written a new read only copy of
\r
24132 the properties is created.
\r
24136 <member name="T:log4net.Util.LevelMapping">
\r
24138 Manages a mapping from levels to <see cref="T:log4net.Util.LevelMappingEntry"/>
\r
24142 Manages an ordered mapping from <see cref="T:log4net.Core.Level"/> instances
\r
24143 to <see cref="T:log4net.Util.LevelMappingEntry"/> subclasses.
\r
24146 <author>Nicko Cadell</author>
\r
24148 <member name="M:log4net.Util.LevelMapping.#ctor">
\r
24150 Default constructor
\r
24154 Initialise a new instance of <see cref="T:log4net.Util.LevelMapping"/>.
\r
24158 <member name="M:log4net.Util.LevelMapping.Add(log4net.Util.LevelMappingEntry)">
\r
24160 Add a <see cref="T:log4net.Util.LevelMappingEntry"/> to this mapping
\r
24162 <param name="entry">the entry to add</param>
\r
24165 If a <see cref="T:log4net.Util.LevelMappingEntry"/> has previously been added
\r
24166 for the same <see cref="T:log4net.Core.Level"/> then that entry will be
\r
24171 <member name="M:log4net.Util.LevelMapping.Lookup(log4net.Core.Level)">
\r
24173 Lookup the mapping for the specified level
\r
24175 <param name="level">the level to lookup</param>
\r
24176 <returns>the <see cref="T:log4net.Util.LevelMappingEntry"/> for the level or <c>null</c> if no mapping found</returns>
\r
24179 Lookup the value for the specified level. Finds the nearest
\r
24180 mapping value for the level that is equal to or less than the
\r
24181 <paramref name="level"/> specified.
\r
24184 If no mapping could be found then <c>null</c> is returned.
\r
24188 <member name="M:log4net.Util.LevelMapping.ActivateOptions">
\r
24190 Initialize options
\r
24194 Caches the sorted list of <see cref="T:log4net.Util.LevelMappingEntry"/> in an array
\r
24198 <member name="T:log4net.Util.LogicalThreadContextProperties">
\r
24200 Implementation of Properties collection for the <see cref="T:log4net.LogicalThreadContext"/>
\r
24204 Class implements a collection of properties that is specific to each thread.
\r
24205 The class is not synchronized as each thread has its own <see cref="T:log4net.Util.PropertiesDictionary"/>.
\r
24208 <author>Nicko Cadell</author>
\r
24210 <member name="M:log4net.Util.LogicalThreadContextProperties.#ctor">
\r
24216 Initializes a new instance of the <see cref="T:log4net.Util.LogicalThreadContextProperties"/> class.
\r
24220 <member name="M:log4net.Util.LogicalThreadContextProperties.Remove(System.String)">
\r
24222 Remove a property
\r
24224 <param name="key">the key for the entry to remove</param>
\r
24227 Remove the value for the specified <paramref name="key"/> from the context.
\r
24231 <member name="M:log4net.Util.LogicalThreadContextProperties.Clear">
\r
24233 Clear all the context properties
\r
24237 Clear all the context properties
\r
24241 <member name="M:log4net.Util.LogicalThreadContextProperties.GetProperties(System.Boolean)">
\r
24243 Get the PropertiesDictionary stored in the LocalDataStoreSlot for this thread.
\r
24245 <param name="create">create the dictionary if it does not exist, otherwise return null if is does not exist</param>
\r
24246 <returns>the properties for this thread</returns>
\r
24249 The collection returned is only to be used on the calling thread. If the
\r
24250 caller needs to share the collection between different threads then the
\r
24251 caller must clone the collection before doings so.
\r
24255 <member name="P:log4net.Util.LogicalThreadContextProperties.Item(System.String)">
\r
24257 Gets or sets the value of a property
\r
24260 The value for the property with the specified key
\r
24264 Get or set the property value for the <paramref name="key"/> specified.
\r
24268 <member name="T:log4net.Util.LogLog">
\r
24270 Outputs log statements from within the log4net assembly.
\r
24274 Log4net components cannot make log4net logging calls. However, it is
\r
24275 sometimes useful for the user to learn about what log4net is
\r
24279 All log4net internal debug calls go to the standard output stream
\r
24280 whereas internal error messages are sent to the standard error output
\r
24284 <author>Nicko Cadell</author>
\r
24285 <author>Gert Driesen</author>
\r
24287 <member name="M:log4net.Util.LogLog.#ctor">
\r
24289 Initializes a new instance of the <see cref="T:log4net.Util.LogLog"/> class.
\r
24293 Uses a private access modifier to prevent instantiation of this class.
\r
24297 <member name="M:log4net.Util.LogLog.#cctor">
\r
24299 Static constructor that initializes logging by reading
\r
24300 settings from the application configuration file.
\r
24304 The <c>log4net.Internal.Debug</c> application setting
\r
24305 controls internal debugging. This setting should be set
\r
24306 to <c>true</c> to enable debugging.
\r
24309 The <c>log4net.Internal.Quiet</c> application setting
\r
24310 suppresses all internal logging including error messages.
\r
24311 This setting should be set to <c>true</c> to enable message
\r
24316 <member name="M:log4net.Util.LogLog.Debug(System.String)">
\r
24318 Writes log4net internal debug messages to the
\r
24319 standard output stream.
\r
24321 <param name="message">The message to log.</param>
\r
24324 All internal debug messages are prepended with
\r
24325 the string "log4net: ".
\r
24329 <member name="M:log4net.Util.LogLog.Debug(System.String,System.Exception)">
\r
24331 Writes log4net internal debug messages to the
\r
24332 standard output stream.
\r
24334 <param name="message">The message to log.</param>
\r
24335 <param name="exception">An exception to log.</param>
\r
24338 All internal debug messages are prepended with
\r
24339 the string "log4net: ".
\r
24343 <member name="M:log4net.Util.LogLog.Warn(System.String)">
\r
24345 Writes log4net internal warning messages to the
\r
24346 standard error stream.
\r
24348 <param name="message">The message to log.</param>
\r
24351 All internal warning messages are prepended with
\r
24352 the string "log4net:WARN ".
\r
24356 <member name="M:log4net.Util.LogLog.Warn(System.String,System.Exception)">
\r
24358 Writes log4net internal warning messages to the
\r
24359 standard error stream.
\r
24361 <param name="message">The message to log.</param>
\r
24362 <param name="exception">An exception to log.</param>
\r
24365 All internal warning messages are prepended with
\r
24366 the string "log4net:WARN ".
\r
24370 <member name="M:log4net.Util.LogLog.Error(System.String)">
\r
24372 Writes log4net internal error messages to the
\r
24373 standard error stream.
\r
24375 <param name="message">The message to log.</param>
\r
24378 All internal error messages are prepended with
\r
24379 the string "log4net:ERROR ".
\r
24383 <member name="M:log4net.Util.LogLog.Error(System.String,System.Exception)">
\r
24385 Writes log4net internal error messages to the
\r
24386 standard error stream.
\r
24388 <param name="message">The message to log.</param>
\r
24389 <param name="exception">An exception to log.</param>
\r
24392 All internal debug messages are prepended with
\r
24393 the string "log4net:ERROR ".
\r
24397 <member name="M:log4net.Util.LogLog.EmitOutLine(System.String)">
\r
24399 Writes output to the standard output stream.
\r
24401 <param name="message">The message to log.</param>
\r
24404 Writes to both Console.Out and System.Diagnostics.Trace.
\r
24405 Note that the System.Diagnostics.Trace is not supported
\r
24406 on the Compact Framework.
\r
24409 If the AppDomain is not configured with a config file then
\r
24410 the call to System.Diagnostics.Trace may fail. This is only
\r
24411 an issue if you are programmatically creating your own AppDomains.
\r
24415 <member name="M:log4net.Util.LogLog.EmitErrorLine(System.String)">
\r
24417 Writes output to the standard error stream.
\r
24419 <param name="message">The message to log.</param>
\r
24422 Writes to both Console.Error and System.Diagnostics.Trace.
\r
24423 Note that the System.Diagnostics.Trace is not supported
\r
24424 on the Compact Framework.
\r
24427 If the AppDomain is not configured with a config file then
\r
24428 the call to System.Diagnostics.Trace may fail. This is only
\r
24429 an issue if you are programmatically creating your own AppDomains.
\r
24433 <member name="F:log4net.Util.LogLog.s_debugEnabled">
\r
24435 Default debug level
\r
24438 <member name="F:log4net.Util.LogLog.s_quietMode">
\r
24440 In quietMode not even errors generate any output.
\r
24443 <member name="P:log4net.Util.LogLog.InternalDebugging">
\r
24445 Gets or sets a value indicating whether log4net internal logging
\r
24446 is enabled or disabled.
\r
24449 <c>true</c> if log4net internal logging is enabled, otherwise
\r
24454 When set to <c>true</c>, internal debug level logging will be
\r
24458 This value can be set by setting the application setting
\r
24459 <c>log4net.Internal.Debug</c> in the application configuration
\r
24463 The default value is <c>false</c>, i.e. debugging is
\r
24469 The following example enables internal debugging using the
\r
24470 application configuration file :
\r
24472 <code lang="XML" escaped="true">
\r
24475 <add key="log4net.Internal.Debug" value="true" />
\r
24481 <member name="P:log4net.Util.LogLog.QuietMode">
\r
24483 Gets or sets a value indicating whether log4net should generate no output
\r
24484 from internal logging, not even for errors.
\r
24487 <c>true</c> if log4net should generate no output at all from internal
\r
24488 logging, otherwise <c>false</c>.
\r
24492 When set to <c>true</c> will cause internal logging at all levels to be
\r
24493 suppressed. This means that no warning or error reports will be logged.
\r
24494 This option overrides the <see cref="P:log4net.Util.LogLog.InternalDebugging"/> setting and
\r
24495 disables all debug also.
\r
24497 <para>This value can be set by setting the application setting
\r
24498 <c>log4net.Internal.Quiet</c> in the application configuration file.
\r
24501 The default value is <c>false</c>, i.e. internal logging is not
\r
24506 The following example disables internal logging using the
\r
24507 application configuration file :
\r
24508 <code lang="XML" escaped="true">
\r
24511 <add key="log4net.Internal.Quiet" value="true"/>
\r
24517 <member name="P:log4net.Util.LogLog.IsDebugEnabled">
\r
24519 Test if LogLog.Debug is enabled for output.
\r
24522 <c>true</c> if Debug is enabled
\r
24526 Test if LogLog.Debug is enabled for output.
\r
24530 <member name="P:log4net.Util.LogLog.IsWarnEnabled">
\r
24532 Test if LogLog.Warn is enabled for output.
\r
24535 <c>true</c> if Warn is enabled
\r
24539 Test if LogLog.Warn is enabled for output.
\r
24543 <member name="P:log4net.Util.LogLog.IsErrorEnabled">
\r
24545 Test if LogLog.Error is enabled for output.
\r
24548 <c>true</c> if Error is enabled
\r
24552 Test if LogLog.Error is enabled for output.
\r
24556 <member name="T:log4net.Util.NativeError">
\r
24558 Represents a native error code and message.
\r
24562 Represents a Win32 platform native error.
\r
24565 <author>Nicko Cadell</author>
\r
24566 <author>Gert Driesen</author>
\r
24568 <member name="M:log4net.Util.NativeError.#ctor(System.Int32,System.String)">
\r
24570 Create an instance of the <see cref="T:log4net.Util.NativeError"/> class with the specified
\r
24571 error number and message.
\r
24573 <param name="number">The number of the native error.</param>
\r
24574 <param name="message">The message of the native error.</param>
\r
24577 Create an instance of the <see cref="T:log4net.Util.NativeError"/> class with the specified
\r
24578 error number and message.
\r
24582 <member name="M:log4net.Util.NativeError.GetLastError">
\r
24584 Create a new instance of the <see cref="T:log4net.Util.NativeError"/> class for the last Windows error.
\r
24587 An instance of the <see cref="T:log4net.Util.NativeError"/> class for the last windows error.
\r
24591 The message for the <see cref="M:System.Runtime.InteropServices.Marshal.GetLastWin32Error"/> error number is lookup up using the
\r
24592 native Win32 <c>FormatMessage</c> function.
\r
24596 <member name="M:log4net.Util.NativeError.GetError(System.Int32)">
\r
24598 Create a new instance of the <see cref="T:log4net.Util.NativeError"/> class.
\r
24600 <param name="number">the error number for the native error</param>
\r
24602 An instance of the <see cref="T:log4net.Util.NativeError"/> class for the specified
\r
24607 The message for the specified error number is lookup up using the
\r
24608 native Win32 <c>FormatMessage</c> function.
\r
24612 <member name="M:log4net.Util.NativeError.GetErrorMessage(System.Int32)">
\r
24614 Retrieves the message corresponding with a Win32 message identifier.
\r
24616 <param name="messageId">Message identifier for the requested message.</param>
\r
24618 The message corresponding with the specified message identifier.
\r
24622 The message will be searched for in system message-table resource(s)
\r
24623 using the native <c>FormatMessage</c> function.
\r
24627 <member name="M:log4net.Util.NativeError.ToString">
\r
24629 Return error information string
\r
24631 <returns>error information string</returns>
\r
24634 Return error information string
\r
24638 <member name="M:log4net.Util.NativeError.FormatMessage(System.Int32,System.IntPtr@,System.Int32,System.Int32,System.String@,System.Int32,System.IntPtr)">
\r
24640 Formats a message string.
\r
24642 <param name="dwFlags">Formatting options, and how to interpret the <paramref name="lpSource"/> parameter.</param>
\r
24643 <param name="lpSource">Location of the message definition.</param>
\r
24644 <param name="dwMessageId">Message identifier for the requested message.</param>
\r
24645 <param name="dwLanguageId">Language identifier for the requested message.</param>
\r
24646 <param name="lpBuffer">If <paramref name="dwFlags"/> includes FORMAT_MESSAGE_ALLOCATE_BUFFER, the function allocates a buffer using the <c>LocalAlloc</c> function, and places the pointer to the buffer at the address specified in <paramref name="lpBuffer"/>.</param>
\r
24647 <param name="nSize">If the FORMAT_MESSAGE_ALLOCATE_BUFFER flag is not set, this parameter specifies the maximum number of TCHARs that can be stored in the output buffer. If FORMAT_MESSAGE_ALLOCATE_BUFFER is set, this parameter specifies the minimum number of TCHARs to allocate for an output buffer.</param>
\r
24648 <param name="Arguments">Pointer to an array of values that are used as insert values in the formatted message.</param>
\r
24651 The function requires a message definition as input. The message definition can come from a
\r
24652 buffer passed into the function. It can come from a message table resource in an
\r
24653 already-loaded module. Or the caller can ask the function to search the system's message
\r
24654 table resource(s) for the message definition. The function finds the message definition
\r
24655 in a message table resource based on a message identifier and a language identifier.
\r
24656 The function copies the formatted message text to an output buffer, processing any embedded
\r
24657 insert sequences if requested.
\r
24660 To prevent the usage of unsafe code, this stub does not support inserting values in the formatted message.
\r
24665 If the function succeeds, the return value is the number of TCHARs stored in the output
\r
24666 buffer, excluding the terminating null character.
\r
24669 If the function fails, the return value is zero. To get extended error information,
\r
24670 call <see cref="M:System.Runtime.InteropServices.Marshal.GetLastWin32Error"/>.
\r
24674 <member name="P:log4net.Util.NativeError.Number">
\r
24676 Gets the number of the native error.
\r
24679 The number of the native error.
\r
24683 Gets the number of the native error.
\r
24687 <member name="P:log4net.Util.NativeError.Message">
\r
24689 Gets the message of the native error.
\r
24692 The message of the native error.
\r
24697 Gets the message of the native error.
\r
24700 <member name="T:log4net.Util.NullDictionaryEnumerator">
\r
24702 An always empty <see cref="T:System.Collections.IDictionaryEnumerator"/>.
\r
24706 A singleton implementation of the <see cref="T:System.Collections.IDictionaryEnumerator"/> over a collection
\r
24707 that is empty and not modifiable.
\r
24710 <author>Nicko Cadell</author>
\r
24711 <author>Gert Driesen</author>
\r
24713 <member name="M:log4net.Util.NullDictionaryEnumerator.#ctor">
\r
24715 Initializes a new instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/> class.
\r
24719 Uses a private access modifier to enforce the singleton pattern.
\r
24723 <member name="M:log4net.Util.NullDictionaryEnumerator.MoveNext">
\r
24725 Test if the enumerator can advance, if so advance.
\r
24727 <returns><c>false</c> as the <see cref="T:log4net.Util.NullDictionaryEnumerator"/> cannot advance.</returns>
\r
24730 As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
\r
24731 value cannot be moved over a valid position, therefore <see cref="M:log4net.Util.NullDictionaryEnumerator.MoveNext"/>
\r
24732 will always return <c>false</c>.
\r
24736 <member name="M:log4net.Util.NullDictionaryEnumerator.Reset">
\r
24738 Resets the enumerator back to the start.
\r
24742 As the enumerator is over an empty collection <see cref="M:log4net.Util.NullDictionaryEnumerator.Reset"/> does nothing.
\r
24746 <member name="F:log4net.Util.NullDictionaryEnumerator.s_instance">
\r
24748 The singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.
\r
24751 <member name="P:log4net.Util.NullDictionaryEnumerator.Instance">
\r
24753 Gets the singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.
\r
24755 <returns>The singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.</returns>
\r
24758 Gets the singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.
\r
24762 <member name="P:log4net.Util.NullDictionaryEnumerator.Current">
\r
24764 Gets the current object from the enumerator.
\r
24767 Throws an <see cref="T:System.InvalidOperationException"/> because the
\r
24768 <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current value.
\r
24772 As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
\r
24773 value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
\r
24774 will throw an <see cref="T:System.InvalidOperationException"/>.
\r
24777 <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
\r
24778 cannot be positioned over a valid location.</exception>
\r
24780 <member name="P:log4net.Util.NullDictionaryEnumerator.Key">
\r
24782 Gets the current key from the enumerator.
\r
24785 Throws an exception because the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>
\r
24786 never has a current value.
\r
24790 As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
\r
24791 value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Key"/>
\r
24792 will throw an <see cref="T:System.InvalidOperationException"/>.
\r
24795 <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
\r
24796 cannot be positioned over a valid location.</exception>
\r
24798 <member name="P:log4net.Util.NullDictionaryEnumerator.Value">
\r
24800 Gets the current value from the enumerator.
\r
24802 <value>The current value from the enumerator.</value>
\r
24804 Throws an <see cref="T:System.InvalidOperationException"/> because the
\r
24805 <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current value.
\r
24809 As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
\r
24810 value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Value"/>
\r
24811 will throw an <see cref="T:System.InvalidOperationException"/>.
\r
24814 <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
\r
24815 cannot be positioned over a valid location.</exception>
\r
24817 <member name="P:log4net.Util.NullDictionaryEnumerator.Entry">
\r
24819 Gets the current entry from the enumerator.
\r
24822 Throws an <see cref="T:System.InvalidOperationException"/> because the
\r
24823 <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current entry.
\r
24827 As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
\r
24828 value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Entry"/>
\r
24829 will throw an <see cref="T:System.InvalidOperationException"/>.
\r
24832 <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
\r
24833 cannot be positioned over a valid location.</exception>
\r
24835 <member name="T:log4net.Util.NullEnumerator">
\r
24837 An always empty <see cref="T:System.Collections.IEnumerator"/>.
\r
24841 A singleton implementation of the <see cref="T:System.Collections.IEnumerator"/> over a collection
\r
24842 that is empty and not modifiable.
\r
24845 <author>Nicko Cadell</author>
\r
24846 <author>Gert Driesen</author>
\r
24848 <member name="M:log4net.Util.NullEnumerator.#ctor">
\r
24850 Initializes a new instance of the <see cref="T:log4net.Util.NullEnumerator"/> class.
\r
24854 Uses a private access modifier to enforce the singleton pattern.
\r
24858 <member name="M:log4net.Util.NullEnumerator.MoveNext">
\r
24860 Test if the enumerator can advance, if so advance
\r
24862 <returns><c>false</c> as the <see cref="T:log4net.Util.NullEnumerator"/> cannot advance.</returns>
\r
24865 As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullEnumerator.Current"/>
\r
24866 value cannot be moved over a valid position, therefore <see cref="M:log4net.Util.NullEnumerator.MoveNext"/>
\r
24867 will always return <c>false</c>.
\r
24871 <member name="M:log4net.Util.NullEnumerator.Reset">
\r
24873 Resets the enumerator back to the start.
\r
24877 As the enumerator is over an empty collection <see cref="M:log4net.Util.NullEnumerator.Reset"/> does nothing.
\r
24881 <member name="F:log4net.Util.NullEnumerator.s_instance">
\r
24883 The singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.
\r
24886 <member name="P:log4net.Util.NullEnumerator.Instance">
\r
24888 Get the singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.
\r
24890 <returns>The singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.</returns>
\r
24893 Gets the singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.
\r
24897 <member name="P:log4net.Util.NullEnumerator.Current">
\r
24899 Gets the current object from the enumerator.
\r
24902 Throws an <see cref="T:System.InvalidOperationException"/> because the
\r
24903 <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current value.
\r
24907 As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullEnumerator.Current"/>
\r
24908 value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullEnumerator.Current"/>
\r
24909 will throw an <see cref="T:System.InvalidOperationException"/>.
\r
24912 <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullEnumerator.Current"/>
\r
24913 cannot be positioned over a valid location.</exception>
\r
24915 <member name="T:log4net.Util.NullSecurityContext">
\r
24917 A SecurityContext used when a SecurityContext is not required
\r
24921 The <see cref="T:log4net.Util.NullSecurityContext"/> is a no-op implementation of the
\r
24922 <see cref="T:log4net.Core.SecurityContext"/> base class. It is used where a <see cref="T:log4net.Core.SecurityContext"/>
\r
24923 is required but one has not been provided.
\r
24926 <author>Nicko Cadell</author>
\r
24928 <member name="F:log4net.Util.NullSecurityContext.Instance">
\r
24930 Singleton instance of <see cref="T:log4net.Util.NullSecurityContext"/>
\r
24934 Singleton instance of <see cref="T:log4net.Util.NullSecurityContext"/>
\r
24938 <member name="M:log4net.Util.NullSecurityContext.#ctor">
\r
24940 Private constructor
\r
24944 Private constructor for singleton pattern.
\r
24948 <member name="M:log4net.Util.NullSecurityContext.Impersonate(System.Object)">
\r
24950 Impersonate this SecurityContext
\r
24952 <param name="state">State supplied by the caller</param>
\r
24953 <returns><c>null</c></returns>
\r
24956 No impersonation is done and <c>null</c> is always returned.
\r
24960 <member name="T:log4net.Util.OnlyOnceErrorHandler">
\r
24962 Implements log4net's default error handling policy which consists
\r
24963 of emitting a message for the first error in an appender and
\r
24964 ignoring all subsequent errors.
\r
24968 The error message is printed on the standard error output stream.
\r
24971 This policy aims at protecting an otherwise working application
\r
24972 from being flooded with error messages when logging fails.
\r
24975 <author>Nicko Cadell</author>
\r
24976 <author>Gert Driesen</author>
\r
24978 <member name="M:log4net.Util.OnlyOnceErrorHandler.#ctor">
\r
24980 Default Constructor
\r
24984 Initializes a new instance of the <see cref="T:log4net.Util.OnlyOnceErrorHandler"/> class.
\r
24988 <member name="M:log4net.Util.OnlyOnceErrorHandler.#ctor(System.String)">
\r
24992 <param name="prefix">The prefix to use for each message.</param>
\r
24995 Initializes a new instance of the <see cref="T:log4net.Util.OnlyOnceErrorHandler"/> class
\r
24996 with the specified prefix.
\r
25000 <member name="M:log4net.Util.OnlyOnceErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)">
\r
25004 <param name="message">The error message.</param>
\r
25005 <param name="e">The exception.</param>
\r
25006 <param name="errorCode">The internal error code.</param>
\r
25009 Prints the message and the stack trace of the exception on the standard
\r
25010 error output stream.
\r
25014 <member name="M:log4net.Util.OnlyOnceErrorHandler.Error(System.String,System.Exception)">
\r
25018 <param name="message">The error message.</param>
\r
25019 <param name="e">The exception.</param>
\r
25022 Prints the message and the stack trace of the exception on the standard
\r
25023 error output stream.
\r
25027 <member name="M:log4net.Util.OnlyOnceErrorHandler.Error(System.String)">
\r
25031 <param name="message">The error message.</param>
\r
25034 Print a the error message passed as parameter on the standard
\r
25035 error output stream.
\r
25039 <member name="F:log4net.Util.OnlyOnceErrorHandler.m_firstTime">
\r
25041 Flag to indicate if it is the first error
\r
25044 <member name="F:log4net.Util.OnlyOnceErrorHandler.m_prefix">
\r
25046 String to prefix each message with
\r
25049 <member name="P:log4net.Util.OnlyOnceErrorHandler.IsEnabled">
\r
25051 Is error logging enabled
\r
25055 Is error logging enabled. Logging is only enabled for the
\r
25056 first error delivered to the <see cref="T:log4net.Util.OnlyOnceErrorHandler"/>.
\r
25060 <member name="T:log4net.Util.OptionConverter">
\r
25062 A convenience class to convert property values to specific types.
\r
25066 Utility functions for converting types and parsing values.
\r
25069 <author>Nicko Cadell</author>
\r
25070 <author>Gert Driesen</author>
\r
25072 <member name="M:log4net.Util.OptionConverter.#ctor">
\r
25074 Initializes a new instance of the <see cref="T:log4net.Util.OptionConverter"/> class.
\r
25078 Uses a private access modifier to prevent instantiation of this class.
\r
25082 <member name="M:log4net.Util.OptionConverter.ToBoolean(System.String,System.Boolean)">
\r
25084 Converts a string to a <see cref="T:System.Boolean"/> value.
\r
25086 <param name="argValue">String to convert.</param>
\r
25087 <param name="defaultValue">The default value.</param>
\r
25088 <returns>The <see cref="T:System.Boolean"/> value of <paramref name="argValue"/>.</returns>
\r
25091 If <paramref name="argValue"/> is "true", then <c>true</c> is returned.
\r
25092 If <paramref name="argValue"/> is "false", then <c>false</c> is returned.
\r
25093 Otherwise, <paramref name="defaultValue"/> is returned.
\r
25097 <member name="M:log4net.Util.OptionConverter.ToFileSize(System.String,System.Int64)">
\r
25099 Parses a file size into a number.
\r
25101 <param name="argValue">String to parse.</param>
\r
25102 <param name="defaultValue">The default value.</param>
\r
25103 <returns>The <see cref="T:System.Int64"/> value of <paramref name="argValue"/>.</returns>
\r
25106 Parses a file size of the form: number[KB|MB|GB] into a
\r
25107 long value. It is scaled with the appropriate multiplier.
\r
25110 <paramref name="defaultValue"/> is returned when <paramref name="argValue"/>
\r
25111 cannot be converted to a <see cref="T:System.Int64"/> value.
\r
25115 <member name="M:log4net.Util.OptionConverter.ConvertStringTo(System.Type,System.String)">
\r
25117 Converts a string to an object.
\r
25119 <param name="target">The target type to convert to.</param>
\r
25120 <param name="txt">The string to convert to an object.</param>
\r
25122 The object converted from a string or <c>null</c> when the
\r
25123 conversion failed.
\r
25127 Converts a string to an object. Uses the converter registry to try
\r
25128 to convert the string value into the specified target type.
\r
25132 <member name="M:log4net.Util.OptionConverter.CanConvertTypeTo(System.Type,System.Type)">
\r
25134 Checks if there is an appropriate type conversion from the source type to the target type.
\r
25136 <param name="sourceType">The type to convert from.</param>
\r
25137 <param name="targetType">The type to convert to.</param>
\r
25138 <returns><c>true</c> if there is a conversion from the source type to the target type.</returns>
\r
25140 Checks if there is an appropriate type conversion from the source type to the target type.
\r
25145 <member name="M:log4net.Util.OptionConverter.ConvertTypeTo(System.Object,System.Type)">
\r
25147 Converts an object to the target type.
\r
25149 <param name="sourceInstance">The object to convert to the target type.</param>
\r
25150 <param name="targetType">The type to convert to.</param>
\r
25151 <returns>The converted object.</returns>
\r
25154 Converts an object to the target type.
\r
25158 <member name="M:log4net.Util.OptionConverter.InstantiateByClassName(System.String,System.Type,System.Object)">
\r
25160 Instantiates an object given a class name.
\r
25162 <param name="className">The fully qualified class name of the object to instantiate.</param>
\r
25163 <param name="superClass">The class to which the new object should belong.</param>
\r
25164 <param name="defaultValue">The object to return in case of non-fulfillment.</param>
\r
25166 An instance of the <paramref name="className"/> or <paramref name="defaultValue"/>
\r
25167 if the object could not be instantiated.
\r
25171 Checks that the <paramref name="className"/> is a subclass of
\r
25172 <paramref name="superClass"/>. If that test fails or the object could
\r
25173 not be instantiated, then <paramref name="defaultValue"/> is returned.
\r
25177 <member name="M:log4net.Util.OptionConverter.SubstituteVariables(System.String,System.Collections.IDictionary)">
\r
25179 Performs variable substitution in string <paramref name="val"/> from the
\r
25180 values of keys found in <paramref name="props"/>.
\r
25182 <param name="value">The string on which variable substitution is performed.</param>
\r
25183 <param name="props">The dictionary to use to lookup variables.</param>
\r
25184 <returns>The result of the substitutions.</returns>
\r
25187 The variable substitution delimiters are <b>${</b> and <b>}</b>.
\r
25190 For example, if props contains <c>key=value</c>, then the call
\r
25194 string s = OptionConverter.SubstituteVariables("Value of key is ${key}.");
\r
25198 will set the variable <c>s</c> to "Value of key is value.".
\r
25201 If no value could be found for the specified key, then substitution
\r
25202 defaults to an empty string.
\r
25205 For example, if system properties contains no value for the key
\r
25206 "nonExistentKey", then the call
\r
25210 string s = OptionConverter.SubstituteVariables("Value of nonExistentKey is [${nonExistentKey}]");
\r
25214 will set <s>s</s> to "Value of nonExistentKey is []".
\r
25217 An Exception is thrown if <paramref name="value"/> contains a start
\r
25218 delimiter "${" which is not balanced by a stop delimiter "}".
\r
25222 <member name="M:log4net.Util.OptionConverter.ParseEnum(System.Type,System.String,System.Boolean)">
\r
25224 Converts the string representation of the name or numeric value of one or
\r
25225 more enumerated constants to an equivalent enumerated object.
\r
25227 <param name="enumType">The type to convert to.</param>
\r
25228 <param name="value">The enum string value.</param>
\r
25229 <param name="ignoreCase">If <c>true</c>, ignore case; otherwise, regard case.</param>
\r
25230 <returns>An object of type <paramref name="enumType" /> whose value is represented by <paramref name="value" />.</returns>
\r
25232 <member name="T:log4net.Util.PatternParser">
\r
25234 Most of the work of the <see cref="T:log4net.Layout.PatternLayout"/> class
\r
25235 is delegated to the PatternParser class.
\r
25239 The <c>PatternParser</c> processes a pattern string and
\r
25240 returns a chain of <see cref="T:log4net.Util.PatternConverter"/> objects.
\r
25243 <author>Nicko Cadell</author>
\r
25244 <author>Gert Driesen</author>
\r
25246 <member name="M:log4net.Util.PatternParser.#ctor(System.String)">
\r
25250 <param name="pattern">The pattern to parse.</param>
\r
25253 Initializes a new instance of the <see cref="T:log4net.Util.PatternParser"/> class
\r
25254 with the specified pattern string.
\r
25258 <member name="M:log4net.Util.PatternParser.Parse">
\r
25260 Parses the pattern into a chain of pattern converters.
\r
25262 <returns>The head of a chain of pattern converters.</returns>
\r
25265 Parses the pattern into a chain of pattern converters.
\r
25269 <member name="M:log4net.Util.PatternParser.BuildCache">
\r
25271 Build the unified cache of converters from the static and instance maps
\r
25273 <returns>the list of all the converter names</returns>
\r
25276 Build the unified cache of converters from the static and instance maps
\r
25280 <member name="M:log4net.Util.PatternParser.ParseInternal(System.String,System.String[])">
\r
25282 Internal method to parse the specified pattern to find specified matches
\r
25284 <param name="pattern">the pattern to parse</param>
\r
25285 <param name="matches">the converter names to match in the pattern</param>
\r
25288 The matches param must be sorted such that longer strings come before shorter ones.
\r
25292 <member name="M:log4net.Util.PatternParser.ProcessLiteral(System.String)">
\r
25294 Process a parsed literal
\r
25296 <param name="text">the literal text</param>
\r
25298 <member name="M:log4net.Util.PatternParser.ProcessConverter(System.String,System.String,log4net.Util.FormattingInfo)">
\r
25300 Process a parsed converter pattern
\r
25302 <param name="converterName">the name of the converter</param>
\r
25303 <param name="option">the optional option for the converter</param>
\r
25304 <param name="formattingInfo">the formatting info for the converter</param>
\r
25306 <member name="M:log4net.Util.PatternParser.AddConverter(log4net.Util.PatternConverter)">
\r
25308 Resets the internal state of the parser and adds the specified pattern converter
\r
25311 <param name="pc">The pattern converter to add.</param>
\r
25313 <member name="F:log4net.Util.PatternParser.m_head">
\r
25315 The first pattern converter in the chain
\r
25318 <member name="F:log4net.Util.PatternParser.m_tail">
\r
25320 the last pattern converter in the chain
\r
25323 <member name="F:log4net.Util.PatternParser.m_pattern">
\r
25328 <member name="F:log4net.Util.PatternParser.m_patternConverters">
\r
25330 Internal map of converter identifiers to converter types
\r
25334 This map overrides the static s_globalRulesRegistry map.
\r
25338 <member name="P:log4net.Util.PatternParser.PatternConverters">
\r
25340 Get the converter registry used by this parser
\r
25343 The converter registry used by this parser
\r
25347 Get the converter registry used by this parser
\r
25351 <member name="T:log4net.Util.PatternParser.StringLengthComparer">
\r
25353 Sort strings by length
\r
25357 <see cref="T:System.Collections.IComparer"/> that orders strings by string length.
\r
25358 The longest strings are placed first
\r
25362 <member name="T:log4net.Util.PatternString">
\r
25364 This class implements a patterned string.
\r
25368 This string has embedded patterns that are resolved and expanded
\r
25369 when the string is formatted.
\r
25372 This class functions similarly to the <see cref="T:log4net.Layout.PatternLayout"/>
\r
25373 in that it accepts a pattern and renders it to a string. Unlike the
\r
25374 <see cref="T:log4net.Layout.PatternLayout"/> however the <c>PatternString</c>
\r
25375 does not render the properties of a specific <see cref="T:log4net.Core.LoggingEvent"/> but
\r
25376 of the process in general.
\r
25379 The recognized conversion pattern names are:
\r
25381 <list type="table">
\r
25383 <term>Conversion Pattern Name</term>
\r
25384 <description>Effect</description>
\r
25387 <term>appdomain</term>
\r
25390 Used to output the friendly name of the current AppDomain.
\r
25395 <term>date</term>
\r
25398 Used to output the date of the logging event in the local time zone.
\r
25399 To output the date in universal time use the <c>%utcdate</c> pattern.
\r
25400 The date conversion
\r
25401 specifier may be followed by a <i>date format specifier</i> enclosed
\r
25402 between braces. For example, <b>%date{HH:mm:ss,fff}</b> or
\r
25403 <b>%date{dd MMM yyyy HH:mm:ss,fff}</b>. If no date format specifier is
\r
25404 given then ISO8601 format is
\r
25405 assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
\r
25408 The date format specifier admits the same syntax as the
\r
25409 time pattern string of the <see cref="M:System.DateTime.ToString(System.String)"/>.
\r
25412 For better results it is recommended to use the log4net date
\r
25413 formatters. These can be specified using one of the strings
\r
25414 "ABSOLUTE", "DATE" and "ISO8601" for specifying
\r
25415 <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>,
\r
25416 <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively
\r
25417 <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example,
\r
25418 <b>%date{ISO8601}</b> or <b>%date{ABSOLUTE}</b>.
\r
25421 These dedicated date formatters perform significantly
\r
25422 better than <see cref="M:System.DateTime.ToString(System.String)"/>.
\r
25430 Used to output the a specific environment variable. The key to
\r
25431 lookup must be specified within braces and directly following the
\r
25432 pattern specifier, e.g. <b>%env{COMPUTERNAME}</b> would include the value
\r
25433 of the <c>COMPUTERNAME</c> environment variable.
\r
25436 The <c>env</c> pattern is not supported on the .NET Compact Framework.
\r
25441 <term>identity</term>
\r
25444 Used to output the user name for the currently active user
\r
25445 (Principal.Identity.Name).
\r
25450 <term>newline</term>
\r
25453 Outputs the platform dependent line separator character or
\r
25457 This conversion pattern name offers the same performance as using
\r
25458 non-portable line separator strings such as "\n", or "\r\n".
\r
25459 Thus, it is the preferred way of specifying a line separator.
\r
25464 <term>processid</term>
\r
25467 Used to output the system process ID for the current process.
\r
25472 <term>property</term>
\r
25475 Used to output a specific context property. The key to
\r
25476 lookup must be specified within braces and directly following the
\r
25477 pattern specifier, e.g. <b>%property{user}</b> would include the value
\r
25478 from the property that is keyed by the string 'user'. Each property value
\r
25479 that is to be included in the log must be specified separately.
\r
25480 Properties are stored in logging contexts. By default
\r
25481 the <c>log4net:HostName</c> property is set to the name of machine on
\r
25482 which the event was originally logged.
\r
25485 If no key is specified, e.g. <b>%property</b> then all the keys and their
\r
25486 values are printed in a comma separated list.
\r
25489 The properties of an event are combined from a number of different
\r
25490 contexts. These are listed below in the order in which they are searched.
\r
25492 <list type="definition">
\r
25494 <term>the thread properties</term>
\r
25496 The <see cref="P:log4net.ThreadContext.Properties"/> that are set on the current
\r
25497 thread. These properties are shared by all events logged on this thread.
\r
25501 <term>the global properties</term>
\r
25503 The <see cref="P:log4net.GlobalContext.Properties"/> that are set globally. These
\r
25504 properties are shared by all the threads in the AppDomain.
\r
25511 <term>random</term>
\r
25514 Used to output a random string of characters. The string is made up of
\r
25515 uppercase letters and numbers. By default the string is 4 characters long.
\r
25516 The length of the string can be specified within braces directly following the
\r
25517 pattern specifier, e.g. <b>%random{8}</b> would output an 8 character string.
\r
25522 <term>username</term>
\r
25525 Used to output the WindowsIdentity for the currently
\r
25531 <term>utcdate</term>
\r
25534 Used to output the date of the logging event in universal time.
\r
25535 The date conversion
\r
25536 specifier may be followed by a <i>date format specifier</i> enclosed
\r
25537 between braces. For example, <b>%utcdate{HH:mm:ss,fff}</b> or
\r
25538 <b>%utcdate{dd MMM yyyy HH:mm:ss,fff}</b>. If no date format specifier is
\r
25539 given then ISO8601 format is
\r
25540 assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
\r
25543 The date format specifier admits the same syntax as the
\r
25544 time pattern string of the <see cref="M:System.DateTime.ToString(System.String)"/>.
\r
25547 For better results it is recommended to use the log4net date
\r
25548 formatters. These can be specified using one of the strings
\r
25549 "ABSOLUTE", "DATE" and "ISO8601" for specifying
\r
25550 <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>,
\r
25551 <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively
\r
25552 <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example,
\r
25553 <b>%utcdate{ISO8601}</b> or <b>%utcdate{ABSOLUTE}</b>.
\r
25556 These dedicated date formatters perform significantly
\r
25557 better than <see cref="M:System.DateTime.ToString(System.String)"/>.
\r
25565 The sequence %% outputs a single percent sign.
\r
25571 Additional pattern converters may be registered with a specific <see cref="T:log4net.Util.PatternString"/>
\r
25572 instance using <see cref="M:log4net.Util.PatternString.AddConverter(log4net.Util.PatternString.ConverterInfo)"/> or
\r
25573 <see cref="M:log4net.Util.PatternString.AddConverter(System.String,System.Type)"/>.
\r
25576 See the <see cref="T:log4net.Layout.PatternLayout"/> for details on the
\r
25577 <i>format modifiers</i> supported by the patterns.
\r
25580 <author>Nicko Cadell</author>
\r
25582 <member name="F:log4net.Util.PatternString.s_globalRulesRegistry">
\r
25584 Internal map of converter identifiers to converter types.
\r
25587 <member name="F:log4net.Util.PatternString.m_pattern">
\r
25592 <member name="F:log4net.Util.PatternString.m_head">
\r
25594 the head of the pattern converter chain
\r
25597 <member name="F:log4net.Util.PatternString.m_instanceRulesRegistry">
\r
25599 patterns defined on this PatternString only
\r
25602 <member name="M:log4net.Util.PatternString.#cctor">
\r
25604 Initialize the global registry
\r
25607 <member name="M:log4net.Util.PatternString.#ctor">
\r
25609 Default constructor
\r
25613 Initialize a new instance of <see cref="T:log4net.Util.PatternString"/>
\r
25617 <member name="M:log4net.Util.PatternString.#ctor(System.String)">
\r
25619 Constructs a PatternString
\r
25621 <param name="pattern">The pattern to use with this PatternString</param>
\r
25624 Initialize a new instance of <see cref="T:log4net.Util.PatternString"/> with the pattern specified.
\r
25628 <member name="M:log4net.Util.PatternString.ActivateOptions">
\r
25630 Initialize object options
\r
25634 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
25635 activation scheme. The <see cref="M:log4net.Util.PatternString.ActivateOptions"/> method must
\r
25636 be called on this object after the configuration properties have
\r
25637 been set. Until <see cref="M:log4net.Util.PatternString.ActivateOptions"/> is called this
\r
25638 object is in an undefined state and must not be used.
\r
25641 If any of the configuration properties are modified then
\r
25642 <see cref="M:log4net.Util.PatternString.ActivateOptions"/> must be called again.
\r
25646 <member name="M:log4net.Util.PatternString.CreatePatternParser(System.String)">
\r
25648 Create the <see cref="T:log4net.Util.PatternParser"/> used to parse the pattern
\r
25650 <param name="pattern">the pattern to parse</param>
\r
25651 <returns>The <see cref="T:log4net.Util.PatternParser"/></returns>
\r
25654 Returns PatternParser used to parse the conversion string. Subclasses
\r
25655 may override this to return a subclass of PatternParser which recognize
\r
25656 custom conversion pattern name.
\r
25660 <member name="M:log4net.Util.PatternString.Format(System.IO.TextWriter)">
\r
25662 Produces a formatted string as specified by the conversion pattern.
\r
25664 <param name="writer">The TextWriter to write the formatted event to</param>
\r
25667 Format the pattern to the <paramref name="writer"/>.
\r
25671 <member name="M:log4net.Util.PatternString.Format">
\r
25673 Format the pattern as a string
\r
25675 <returns>the pattern formatted as a string</returns>
\r
25678 Format the pattern to a string.
\r
25682 <member name="M:log4net.Util.PatternString.AddConverter(log4net.Util.PatternString.ConverterInfo)">
\r
25684 Add a converter to this PatternString
\r
25686 <param name="converterInfo">the converter info</param>
\r
25689 This version of the method is used by the configurator.
\r
25690 Programmatic users should use the alternative <see cref="M:log4net.Util.PatternString.AddConverter(System.String,System.Type)"/> method.
\r
25694 <member name="M:log4net.Util.PatternString.AddConverter(System.String,System.Type)">
\r
25696 Add a converter to this PatternString
\r
25698 <param name="name">the name of the conversion pattern for this converter</param>
\r
25699 <param name="type">the type of the converter</param>
\r
25702 Add a converter to this PatternString
\r
25706 <member name="P:log4net.Util.PatternString.ConversionPattern">
\r
25708 Gets or sets the pattern formatting string
\r
25711 The pattern formatting string
\r
25715 The <b>ConversionPattern</b> option. This is the string which
\r
25716 controls formatting and consists of a mix of literal content and
\r
25717 conversion specifiers.
\r
25721 <member name="T:log4net.Util.PatternString.ConverterInfo">
\r
25723 Wrapper class used to map converter names to converter types
\r
25727 Wrapper class used to map converter names to converter types
\r
25731 <member name="M:log4net.Util.PatternString.ConverterInfo.#ctor">
\r
25733 default constructor
\r
25736 <member name="P:log4net.Util.PatternString.ConverterInfo.Name">
\r
25738 Gets or sets the name of the conversion pattern
\r
25741 The name of the conversion pattern
\r
25745 Gets or sets the name of the conversion pattern
\r
25749 <member name="P:log4net.Util.PatternString.ConverterInfo.Type">
\r
25751 Gets or sets the type of the converter
\r
25754 The type of the converter
\r
25758 Gets or sets the type of the converter
\r
25762 <member name="T:log4net.Util.PropertiesDictionary">
\r
25764 String keyed object map.
\r
25768 While this collection is serializable only member
\r
25769 objects that are serializable will
\r
25770 be serialized along with this collection.
\r
25773 <author>Nicko Cadell</author>
\r
25774 <author>Gert Driesen</author>
\r
25776 <member name="T:log4net.Util.ReadOnlyPropertiesDictionary">
\r
25778 String keyed object map that is read only.
\r
25782 This collection is readonly and cannot be modified.
\r
25785 While this collection is serializable only member
\r
25786 objects that are serializable will
\r
25787 be serialized along with this collection.
\r
25790 <author>Nicko Cadell</author>
\r
25791 <author>Gert Driesen</author>
\r
25793 <member name="F:log4net.Util.ReadOnlyPropertiesDictionary.m_hashtable">
\r
25795 The Hashtable used to store the properties data
\r
25798 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.#ctor">
\r
25804 Initializes a new instance of the <see cref="T:log4net.Util.ReadOnlyPropertiesDictionary"/> class.
\r
25808 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.#ctor(log4net.Util.ReadOnlyPropertiesDictionary)">
\r
25812 <param name="propertiesDictionary">properties to copy</param>
\r
25815 Initializes a new instance of the <see cref="T:log4net.Util.ReadOnlyPropertiesDictionary"/> class.
\r
25819 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
\r
25821 Deserialization constructor
\r
25823 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data.</param>
\r
25824 <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
\r
25827 Initializes a new instance of the <see cref="T:log4net.Util.ReadOnlyPropertiesDictionary"/> class
\r
25828 with serialized data.
\r
25832 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.GetKeys">
\r
25834 Gets the key names.
\r
25836 <returns>An array of all the keys.</returns>
\r
25839 Gets the key names.
\r
25843 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.Contains(System.String)">
\r
25845 Test if the dictionary contains a specified key
\r
25847 <param name="key">the key to look for</param>
\r
25848 <returns>true if the dictionary contains the specified key</returns>
\r
25851 Test if the dictionary contains a specified key
\r
25855 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
\r
25857 Serializes this object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> provided.
\r
25859 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> to populate with data.</param>
\r
25860 <param name="context">The destination for this serialization.</param>
\r
25863 Serializes this object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> provided.
\r
25867 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#GetEnumerator">
\r
25869 See <see cref="M:System.Collections.IDictionary.GetEnumerator"/>
\r
25872 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Remove(System.Object)">
\r
25874 See <see cref="M:System.Collections.IDictionary.Remove(System.Object)"/>
\r
25876 <param name="key"></param>
\r
25878 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Contains(System.Object)">
\r
25880 See <see cref="M:System.Collections.IDictionary.Contains(System.Object)"/>
\r
25882 <param name="key"></param>
\r
25883 <returns></returns>
\r
25885 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.Clear">
\r
25887 Remove all properties from the properties collection
\r
25890 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Add(System.Object,System.Object)">
\r
25892 See <see cref="M:System.Collections.IDictionary.Add(System.Object,System.Object)"/>
\r
25894 <param name="key"></param>
\r
25895 <param name="value"></param>
\r
25897 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
\r
25899 See <see cref="M:System.Collections.ICollection.CopyTo(System.Array,System.Int32)"/>
\r
25901 <param name="array"></param>
\r
25902 <param name="index"></param>
\r
25904 <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IEnumerable#GetEnumerator">
\r
25906 See <see cref="M:System.Collections.IEnumerable.GetEnumerator"/>
\r
25909 <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.Item(System.String)">
\r
25911 Gets or sets the value of the property with the specified key.
\r
25914 The value of the property with the specified key.
\r
25916 <param name="key">The key of the property to get or set.</param>
\r
25919 The property value will only be serialized if it is serializable.
\r
25920 If it cannot be serialized it will be silently ignored if
\r
25921 a serialization operation is performed.
\r
25925 <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.InnerHashtable">
\r
25927 The hashtable used to store the properties
\r
25930 The internal collection used to store the properties
\r
25934 The hashtable used to store the properties
\r
25938 <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#IsReadOnly">
\r
25940 See <see cref="P:System.Collections.IDictionary.IsReadOnly"/>
\r
25943 <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Item(System.Object)">
\r
25945 See <see cref="P:System.Collections.IDictionary.Item(System.Object)"/>
\r
25948 <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Values">
\r
25950 See <see cref="P:System.Collections.IDictionary.Values"/>
\r
25953 <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Keys">
\r
25955 See <see cref="P:System.Collections.IDictionary.Keys"/>
\r
25958 <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#IsFixedSize">
\r
25960 See <see cref="P:System.Collections.IDictionary.IsFixedSize"/>
\r
25963 <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#ICollection#IsSynchronized">
\r
25965 See <see cref="P:System.Collections.ICollection.IsSynchronized"/>
\r
25968 <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.Count">
\r
25970 The number of properties in this collection
\r
25973 <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#ICollection#SyncRoot">
\r
25975 See <see cref="P:System.Collections.ICollection.SyncRoot"/>
\r
25978 <member name="M:log4net.Util.PropertiesDictionary.#ctor">
\r
25984 Initializes a new instance of the <see cref="T:log4net.Util.PropertiesDictionary"/> class.
\r
25988 <member name="M:log4net.Util.PropertiesDictionary.#ctor(log4net.Util.ReadOnlyPropertiesDictionary)">
\r
25992 <param name="propertiesDictionary">properties to copy</param>
\r
25995 Initializes a new instance of the <see cref="T:log4net.Util.PropertiesDictionary"/> class.
\r
25999 <member name="M:log4net.Util.PropertiesDictionary.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
\r
26001 Initializes a new instance of the <see cref="T:log4net.Util.PropertiesDictionary"/> class
\r
26002 with serialized data.
\r
26004 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data.</param>
\r
26005 <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
\r
26008 Because this class is sealed the serialization constructor is private.
\r
26012 <member name="M:log4net.Util.PropertiesDictionary.Remove(System.String)">
\r
26014 Remove the entry with the specified key from this dictionary
\r
26016 <param name="key">the key for the entry to remove</param>
\r
26019 Remove the entry with the specified key from this dictionary
\r
26023 <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#GetEnumerator">
\r
26025 See <see cref="M:System.Collections.IDictionary.GetEnumerator"/>
\r
26027 <returns>an enumerator</returns>
\r
26030 Returns a <see cref="T:System.Collections.IDictionaryEnumerator"/> over the contest of this collection.
\r
26034 <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Remove(System.Object)">
\r
26036 See <see cref="M:System.Collections.IDictionary.Remove(System.Object)"/>
\r
26038 <param name="key">the key to remove</param>
\r
26041 Remove the entry with the specified key from this dictionary
\r
26045 <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Contains(System.Object)">
\r
26047 See <see cref="M:System.Collections.IDictionary.Contains(System.Object)"/>
\r
26049 <param name="key">the key to lookup in the collection</param>
\r
26050 <returns><c>true</c> if the collection contains the specified key</returns>
\r
26053 Test if this collection contains a specified key.
\r
26057 <member name="M:log4net.Util.PropertiesDictionary.Clear">
\r
26059 Remove all properties from the properties collection
\r
26063 Remove all properties from the properties collection
\r
26067 <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Add(System.Object,System.Object)">
\r
26069 See <see cref="M:System.Collections.IDictionary.Add(System.Object,System.Object)"/>
\r
26071 <param name="key">the key</param>
\r
26072 <param name="value">the value to store for the key</param>
\r
26075 Store a value for the specified <see cref="T:System.String"/> <paramref name="key"/>.
\r
26078 <exception cref="T:System.ArgumentException">Thrown if the <paramref name="key"/> is not a string</exception>
\r
26080 <member name="M:log4net.Util.PropertiesDictionary.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
\r
26082 See <see cref="M:System.Collections.ICollection.CopyTo(System.Array,System.Int32)"/>
\r
26084 <param name="array"></param>
\r
26085 <param name="index"></param>
\r
26087 <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IEnumerable#GetEnumerator">
\r
26089 See <see cref="M:System.Collections.IEnumerable.GetEnumerator"/>
\r
26092 <member name="P:log4net.Util.PropertiesDictionary.Item(System.String)">
\r
26094 Gets or sets the value of the property with the specified key.
\r
26097 The value of the property with the specified key.
\r
26099 <param name="key">The key of the property to get or set.</param>
\r
26102 The property value will only be serialized if it is serializable.
\r
26103 If it cannot be serialized it will be silently ignored if
\r
26104 a serialization operation is performed.
\r
26108 <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#IsReadOnly">
\r
26110 See <see cref="P:System.Collections.IDictionary.IsReadOnly"/>
\r
26117 This collection is modifiable. This property always
\r
26118 returns <c>false</c>.
\r
26122 <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Item(System.Object)">
\r
26124 See <see cref="P:System.Collections.IDictionary.Item(System.Object)"/>
\r
26127 The value for the key specified.
\r
26131 Get or set a value for the specified <see cref="T:System.String"/> <paramref name="key"/>.
\r
26134 <exception cref="T:System.ArgumentException">Thrown if the <paramref name="key"/> is not a string</exception>
\r
26136 <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Values">
\r
26138 See <see cref="P:System.Collections.IDictionary.Values"/>
\r
26141 <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Keys">
\r
26143 See <see cref="P:System.Collections.IDictionary.Keys"/>
\r
26146 <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#IsFixedSize">
\r
26148 See <see cref="P:System.Collections.IDictionary.IsFixedSize"/>
\r
26151 <member name="P:log4net.Util.PropertiesDictionary.System#Collections#ICollection#IsSynchronized">
\r
26153 See <see cref="P:System.Collections.ICollection.IsSynchronized"/>
\r
26156 <member name="P:log4net.Util.PropertiesDictionary.System#Collections#ICollection#SyncRoot">
\r
26158 See <see cref="P:System.Collections.ICollection.SyncRoot"/>
\r
26161 <member name="T:log4net.Util.ProtectCloseTextWriter">
\r
26163 A <see cref="T:System.IO.TextWriter"/> that ignores the <see cref="M:log4net.Util.ProtectCloseTextWriter.Close"/> message
\r
26167 This writer is used in special cases where it is necessary
\r
26168 to protect a writer from being closed by a client.
\r
26171 <author>Nicko Cadell</author>
\r
26173 <member name="M:log4net.Util.ProtectCloseTextWriter.#ctor(System.IO.TextWriter)">
\r
26177 <param name="writer">the writer to actually write to</param>
\r
26180 Create a new ProtectCloseTextWriter using a writer
\r
26184 <member name="M:log4net.Util.ProtectCloseTextWriter.Attach(System.IO.TextWriter)">
\r
26186 Attach this instance to a different underlying <see cref="T:System.IO.TextWriter"/>
\r
26188 <param name="writer">the writer to attach to</param>
\r
26191 Attach this instance to a different underlying <see cref="T:System.IO.TextWriter"/>
\r
26195 <member name="M:log4net.Util.ProtectCloseTextWriter.Close">
\r
26197 Does not close the underlying output writer.
\r
26201 Does not close the underlying output writer.
\r
26202 This method does nothing.
\r
26206 <member name="T:log4net.Util.ReaderWriterLock">
\r
26208 Defines a lock that supports single writers and multiple readers
\r
26212 <c>ReaderWriterLock</c> is used to synchronize access to a resource.
\r
26213 At any given time, it allows either concurrent read access for
\r
26214 multiple threads, or write access for a single thread. In a
\r
26215 situation where a resource is changed infrequently, a
\r
26216 <c>ReaderWriterLock</c> provides better throughput than a simple
\r
26217 one-at-a-time lock, such as <see cref="T:System.Threading.Monitor"/>.
\r
26220 If a platform does not support a <c>System.Threading.ReaderWriterLock</c>
\r
26221 implementation then all readers and writers are serialized. Therefore
\r
26222 the caller must not rely on multiple simultaneous readers.
\r
26225 <author>Nicko Cadell</author>
\r
26227 <member name="M:log4net.Util.ReaderWriterLock.#ctor">
\r
26233 Initializes a new instance of the <see cref="T:log4net.Util.ReaderWriterLock"/> class.
\r
26237 <member name="M:log4net.Util.ReaderWriterLock.AcquireReaderLock">
\r
26239 Acquires a reader lock
\r
26243 <see cref="M:log4net.Util.ReaderWriterLock.AcquireReaderLock"/> blocks if a different thread has the writer
\r
26244 lock, or if at least one thread is waiting for the writer lock.
\r
26248 <member name="M:log4net.Util.ReaderWriterLock.ReleaseReaderLock">
\r
26250 Decrements the lock count
\r
26254 <see cref="M:log4net.Util.ReaderWriterLock.ReleaseReaderLock"/> decrements the lock count. When the count
\r
26255 reaches zero, the lock is released.
\r
26259 <member name="M:log4net.Util.ReaderWriterLock.AcquireWriterLock">
\r
26261 Acquires the writer lock
\r
26265 This method blocks if another thread has a reader lock or writer lock.
\r
26269 <member name="M:log4net.Util.ReaderWriterLock.ReleaseWriterLock">
\r
26271 Decrements the lock count on the writer lock
\r
26275 ReleaseWriterLock decrements the writer lock count.
\r
26276 When the count reaches zero, the writer lock is released.
\r
26280 <member name="T:log4net.Util.ReusableStringWriter">
\r
26282 A <see cref="T:System.IO.StringWriter"/> that can be <see cref="M:log4net.Util.ReusableStringWriter.Reset(System.Int32,System.Int32)"/> and reused
\r
26286 A <see cref="T:System.IO.StringWriter"/> that can be <see cref="M:log4net.Util.ReusableStringWriter.Reset(System.Int32,System.Int32)"/> and reused.
\r
26287 This uses a single buffer for string operations.
\r
26290 <author>Nicko Cadell</author>
\r
26292 <member name="M:log4net.Util.ReusableStringWriter.#ctor(System.IFormatProvider)">
\r
26294 Create an instance of <see cref="T:log4net.Util.ReusableStringWriter"/>
\r
26296 <param name="formatProvider">the format provider to use</param>
\r
26299 Create an instance of <see cref="T:log4net.Util.ReusableStringWriter"/>
\r
26303 <member name="M:log4net.Util.ReusableStringWriter.Dispose(System.Boolean)">
\r
26305 Override Dispose to prevent closing of writer
\r
26307 <param name="disposing">flag</param>
\r
26310 Override Dispose to prevent closing of writer
\r
26314 <member name="M:log4net.Util.ReusableStringWriter.Reset(System.Int32,System.Int32)">
\r
26316 Reset this string writer so that it can be reused.
\r
26318 <param name="maxCapacity">the maximum buffer capacity before it is trimmed</param>
\r
26319 <param name="defaultSize">the default size to make the buffer</param>
\r
26322 Reset this string writer so that it can be reused.
\r
26323 The internal buffers are cleared and reset.
\r
26327 <member name="T:log4net.Util.SystemInfo">
\r
26329 Utility class for system specific information.
\r
26333 Utility class of static methods for system specific information.
\r
26336 <author>Nicko Cadell</author>
\r
26337 <author>Gert Driesen</author>
\r
26338 <author>Alexey Solofnenko</author>
\r
26340 <member name="M:log4net.Util.SystemInfo.#ctor">
\r
26342 Private constructor to prevent instances.
\r
26346 Only static methods are exposed from this type.
\r
26350 <member name="M:log4net.Util.SystemInfo.#cctor">
\r
26352 Initialize default values for private static fields.
\r
26356 Only static methods are exposed from this type.
\r
26360 <member name="M:log4net.Util.SystemInfo.AssemblyLocationInfo(System.Reflection.Assembly)">
\r
26362 Gets the assembly location path for the specified assembly.
\r
26364 <param name="myAssembly">The assembly to get the location for.</param>
\r
26365 <returns>The location of the assembly.</returns>
\r
26368 This method does not guarantee to return the correct path
\r
26369 to the assembly. If only tries to give an indication as to
\r
26370 where the assembly was loaded from.
\r
26374 <member name="M:log4net.Util.SystemInfo.AssemblyQualifiedName(System.Type)">
\r
26376 Gets the fully qualified name of the <see cref="T:System.Type"/>, including
\r
26377 the name of the assembly from which the <see cref="T:System.Type"/> was
\r
26380 <param name="type">The <see cref="T:System.Type"/> to get the fully qualified name for.</param>
\r
26381 <returns>The fully qualified name for the <see cref="T:System.Type"/>.</returns>
\r
26384 This is equivalent to the <c>Type.AssemblyQualifiedName</c> property,
\r
26385 but this method works on the .NET Compact Framework 1.0 as well as
\r
26386 the full .NET runtime.
\r
26390 <member name="M:log4net.Util.SystemInfo.AssemblyShortName(System.Reflection.Assembly)">
\r
26392 Gets the short name of the <see cref="T:System.Reflection.Assembly"/>.
\r
26394 <param name="myAssembly">The <see cref="T:System.Reflection.Assembly"/> to get the name for.</param>
\r
26395 <returns>The short name of the <see cref="T:System.Reflection.Assembly"/>.</returns>
\r
26398 The short name of the assembly is the <see cref="P:System.Reflection.Assembly.FullName"/>
\r
26399 without the version, culture, or public key. i.e. it is just the
\r
26400 assembly's file name without the extension.
\r
26403 Use this rather than <c>Assembly.GetName().Name</c> because that
\r
26404 is not available on the Compact Framework.
\r
26407 Because of a FileIOPermission security demand we cannot do
\r
26408 the obvious Assembly.GetName().Name. We are allowed to get
\r
26409 the <see cref="P:System.Reflection.Assembly.FullName"/> of the assembly so we
\r
26410 start from there and strip out just the assembly name.
\r
26414 <member name="M:log4net.Util.SystemInfo.AssemblyFileName(System.Reflection.Assembly)">
\r
26416 Gets the file name portion of the <see cref="T:System.Reflection.Assembly"/>, including the extension.
\r
26418 <param name="myAssembly">The <see cref="T:System.Reflection.Assembly"/> to get the file name for.</param>
\r
26419 <returns>The file name of the assembly.</returns>
\r
26422 Gets the file name portion of the <see cref="T:System.Reflection.Assembly"/>, including the extension.
\r
26426 <member name="M:log4net.Util.SystemInfo.GetTypeFromString(System.Type,System.String,System.Boolean,System.Boolean)">
\r
26428 Loads the type specified in the type string.
\r
26430 <param name="relativeType">A sibling type to use to load the type.</param>
\r
26431 <param name="typeName">The name of the type to load.</param>
\r
26432 <param name="throwOnError">Flag set to <c>true</c> to throw an exception if the type cannot be loaded.</param>
\r
26433 <param name="ignoreCase"><c>true</c> to ignore the case of the type name; otherwise, <c>false</c></param>
\r
26434 <returns>The type loaded or <c>null</c> if it could not be loaded.</returns>
\r
26437 If the type name is fully qualified, i.e. if contains an assembly name in
\r
26438 the type name, the type will be loaded from the system using
\r
26439 <see cref="M:System.Type.GetType(System.String,System.Boolean)"/>.
\r
26442 If the type name is not fully qualified, it will be loaded from the assembly
\r
26443 containing the specified relative type. If the type is not found in the assembly
\r
26444 then all the loaded assemblies will be searched for the type.
\r
26448 <member name="M:log4net.Util.SystemInfo.GetTypeFromString(System.String,System.Boolean,System.Boolean)">
\r
26450 Loads the type specified in the type string.
\r
26452 <param name="typeName">The name of the type to load.</param>
\r
26453 <param name="throwOnError">Flag set to <c>true</c> to throw an exception if the type cannot be loaded.</param>
\r
26454 <param name="ignoreCase"><c>true</c> to ignore the case of the type name; otherwise, <c>false</c></param>
\r
26455 <returns>The type loaded or <c>null</c> if it could not be loaded.</returns>
\r
26458 If the type name is fully qualified, i.e. if contains an assembly name in
\r
26459 the type name, the type will be loaded from the system using
\r
26460 <see cref="M:System.Type.GetType(System.String,System.Boolean)"/>.
\r
26463 If the type name is not fully qualified it will be loaded from the
\r
26464 assembly that is directly calling this method. If the type is not found
\r
26465 in the assembly then all the loaded assemblies will be searched for the type.
\r
26469 <member name="M:log4net.Util.SystemInfo.GetTypeFromString(System.Reflection.Assembly,System.String,System.Boolean,System.Boolean)">
\r
26471 Loads the type specified in the type string.
\r
26473 <param name="relativeAssembly">An assembly to load the type from.</param>
\r
26474 <param name="typeName">The name of the type to load.</param>
\r
26475 <param name="throwOnError">Flag set to <c>true</c> to throw an exception if the type cannot be loaded.</param>
\r
26476 <param name="ignoreCase"><c>true</c> to ignore the case of the type name; otherwise, <c>false</c></param>
\r
26477 <returns>The type loaded or <c>null</c> if it could not be loaded.</returns>
\r
26480 If the type name is fully qualified, i.e. if contains an assembly name in
\r
26481 the type name, the type will be loaded from the system using
\r
26482 <see cref="M:System.Type.GetType(System.String,System.Boolean)"/>.
\r
26485 If the type name is not fully qualified it will be loaded from the specified
\r
26486 assembly. If the type is not found in the assembly then all the loaded assemblies
\r
26487 will be searched for the type.
\r
26491 <member name="M:log4net.Util.SystemInfo.NewGuid">
\r
26493 Generate a new guid
\r
26495 <returns>A new Guid</returns>
\r
26498 Generate a new guid
\r
26502 <member name="M:log4net.Util.SystemInfo.CreateArgumentOutOfRangeException(System.String,System.Object,System.String)">
\r
26504 Create an <see cref="T:System.ArgumentOutOfRangeException"/>
\r
26506 <param name="parameterName">The name of the parameter that caused the exception</param>
\r
26507 <param name="actualValue">The value of the argument that causes this exception</param>
\r
26508 <param name="message">The message that describes the error</param>
\r
26509 <returns>the ArgumentOutOfRangeException object</returns>
\r
26512 Create a new instance of the <see cref="T:System.ArgumentOutOfRangeException"/> class
\r
26513 with a specified error message, the parameter name, and the value
\r
26517 The Compact Framework does not support the 3 parameter constructor for the
\r
26518 <see cref="T:System.ArgumentOutOfRangeException"/> type. This method provides an
\r
26519 implementation that works for all platforms.
\r
26523 <member name="M:log4net.Util.SystemInfo.TryParse(System.String,System.Int32@)">
\r
26525 Parse a string into an <see cref="T:System.Int32"/> value
\r
26527 <param name="s">the string to parse</param>
\r
26528 <param name="val">out param where the parsed value is placed</param>
\r
26529 <returns><c>true</c> if the string was able to be parsed into an integer</returns>
\r
26532 Attempts to parse the string into an integer. If the string cannot
\r
26533 be parsed then this method returns <c>false</c>. The method does not throw an exception.
\r
26537 <member name="M:log4net.Util.SystemInfo.TryParse(System.String,System.Int64@)">
\r
26539 Parse a string into an <see cref="T:System.Int64"/> value
\r
26541 <param name="s">the string to parse</param>
\r
26542 <param name="val">out param where the parsed value is placed</param>
\r
26543 <returns><c>true</c> if the string was able to be parsed into an integer</returns>
\r
26546 Attempts to parse the string into an integer. If the string cannot
\r
26547 be parsed then this method returns <c>false</c>. The method does not throw an exception.
\r
26551 <member name="M:log4net.Util.SystemInfo.GetAppSetting(System.String)">
\r
26553 Lookup an application setting
\r
26555 <param name="key">the application settings key to lookup</param>
\r
26556 <returns>the value for the key, or <c>null</c></returns>
\r
26559 Configuration APIs are not supported under the Compact Framework
\r
26563 <member name="M:log4net.Util.SystemInfo.ConvertToFullPath(System.String)">
\r
26565 Convert a path into a fully qualified local file path.
\r
26567 <param name="path">The path to convert.</param>
\r
26568 <returns>The fully qualified path.</returns>
\r
26571 Converts the path specified to a fully
\r
26572 qualified path. If the path is relative it is
\r
26573 taken as relative from the application base
\r
26577 The path specified must be a local file path, a URI is not supported.
\r
26581 <member name="M:log4net.Util.SystemInfo.CreateCaseInsensitiveHashtable">
\r
26583 Creates a new case-insensitive instance of the <see cref="T:System.Collections.Hashtable"/> class with the default initial capacity.
\r
26585 <returns>A new case-insensitive instance of the <see cref="T:System.Collections.Hashtable"/> class with the default initial capacity</returns>
\r
26588 The new Hashtable instance uses the default load factor, the CaseInsensitiveHashCodeProvider, and the CaseInsensitiveComparer.
\r
26592 <member name="F:log4net.Util.SystemInfo.EmptyTypes">
\r
26594 Gets an empty array of types.
\r
26598 The <c>Type.EmptyTypes</c> field is not available on
\r
26599 the .NET Compact Framework 1.0.
\r
26603 <member name="F:log4net.Util.SystemInfo.s_hostName">
\r
26605 Cache the host name for the current machine
\r
26608 <member name="F:log4net.Util.SystemInfo.s_appFriendlyName">
\r
26610 Cache the application friendly name
\r
26613 <member name="F:log4net.Util.SystemInfo.s_nullText">
\r
26615 Text to output when a <c>null</c> is encountered.
\r
26618 <member name="F:log4net.Util.SystemInfo.s_notAvailableText">
\r
26620 Text to output when an unsupported feature is requested.
\r
26623 <member name="F:log4net.Util.SystemInfo.s_processStartTime">
\r
26625 Start time for the current process.
\r
26628 <member name="P:log4net.Util.SystemInfo.NewLine">
\r
26630 Gets the system dependent line terminator.
\r
26633 The system dependent line terminator.
\r
26637 Gets the system dependent line terminator.
\r
26641 <member name="P:log4net.Util.SystemInfo.ApplicationBaseDirectory">
\r
26643 Gets the base directory for this <see cref="T:System.AppDomain"/>.
\r
26645 <value>The base directory path for the current <see cref="T:System.AppDomain"/>.</value>
\r
26648 Gets the base directory for this <see cref="T:System.AppDomain"/>.
\r
26651 The value returned may be either a local file path or a URI.
\r
26655 <member name="P:log4net.Util.SystemInfo.ConfigurationFileLocation">
\r
26657 Gets the path to the configuration file for the current <see cref="T:System.AppDomain"/>.
\r
26659 <value>The path to the configuration file for the current <see cref="T:System.AppDomain"/>.</value>
\r
26662 The .NET Compact Framework 1.0 does not have a concept of a configuration
\r
26663 file. For this runtime, we use the entry assembly location as the root for
\r
26664 the configuration file name.
\r
26667 The value returned may be either a local file path or a URI.
\r
26671 <member name="P:log4net.Util.SystemInfo.EntryAssemblyLocation">
\r
26673 Gets the path to the file that first executed in the current <see cref="T:System.AppDomain"/>.
\r
26675 <value>The path to the entry assembly.</value>
\r
26678 Gets the path to the file that first executed in the current <see cref="T:System.AppDomain"/>.
\r
26682 <member name="P:log4net.Util.SystemInfo.CurrentThreadId">
\r
26684 Gets the ID of the current thread.
\r
26686 <value>The ID of the current thread.</value>
\r
26689 On the .NET framework, the <c>AppDomain.GetCurrentThreadId</c> method
\r
26690 is used to obtain the thread ID for the current thread. This is the
\r
26691 operating system ID for the thread.
\r
26694 On the .NET Compact Framework 1.0 it is not possible to get the
\r
26695 operating system thread ID for the current thread. The native method
\r
26696 <c>GetCurrentThreadId</c> is implemented inline in a header file
\r
26697 and cannot be called.
\r
26700 On the .NET Framework 2.0 the <c>Thread.ManagedThreadId</c> is used as this
\r
26701 gives a stable id unrelated to the operating system thread ID which may
\r
26702 change if the runtime is using fibers.
\r
26706 <member name="P:log4net.Util.SystemInfo.HostName">
\r
26708 Get the host name or machine name for the current machine
\r
26711 The hostname or machine name
\r
26715 Get the host name or machine name for the current machine
\r
26718 The host name (<see cref="M:System.Net.Dns.GetHostName"/>) or
\r
26719 the machine name (<c>Environment.MachineName</c>) for
\r
26720 the current machine, or if neither of these are available
\r
26721 then <c>NOT AVAILABLE</c> is returned.
\r
26725 <member name="P:log4net.Util.SystemInfo.ApplicationFriendlyName">
\r
26727 Get this application's friendly name
\r
26730 The friendly name of this application as a string
\r
26734 If available the name of the application is retrieved from
\r
26735 the <c>AppDomain</c> using <c>AppDomain.CurrentDomain.FriendlyName</c>.
\r
26738 Otherwise the file name of the entry assembly is used.
\r
26742 <member name="P:log4net.Util.SystemInfo.ProcessStartTime">
\r
26744 Get the start time for the current process.
\r
26748 This is the time at which the log4net library was loaded into the
\r
26749 AppDomain. Due to reports of a hang in the call to <c>System.Diagnostics.Process.StartTime</c>
\r
26750 this is not the start time for the current process.
\r
26753 The log4net library should be loaded by an application early during its
\r
26754 startup, therefore this start time should be a good approximation for
\r
26755 the actual start time.
\r
26758 Note that AppDomains may be loaded and unloaded within the
\r
26759 same process without the process terminating, however this start time
\r
26760 will be set per AppDomain.
\r
26764 <member name="P:log4net.Util.SystemInfo.NullText">
\r
26766 Text to output when a <c>null</c> is encountered.
\r
26770 Use this value to indicate a <c>null</c> has been encountered while
\r
26771 outputting a string representation of an item.
\r
26774 The default value is <c>(null)</c>. This value can be overridden by specifying
\r
26775 a value for the <c>log4net.NullText</c> appSetting in the application's
\r
26780 <member name="P:log4net.Util.SystemInfo.NotAvailableText">
\r
26782 Text to output when an unsupported feature is requested.
\r
26786 Use this value when an unsupported feature is requested.
\r
26789 The default value is <c>NOT AVAILABLE</c>. This value can be overridden by specifying
\r
26790 a value for the <c>log4net.NotAvailableText</c> appSetting in the application's
\r
26795 <member name="T:log4net.Util.SystemStringFormat">
\r
26797 Utility class that represents a format string.
\r
26801 Utility class that represents a format string.
\r
26804 <author>Nicko Cadell</author>
\r
26806 <member name="M:log4net.Util.SystemStringFormat.#ctor(System.IFormatProvider,System.String,System.Object[])">
\r
26808 Initialise the <see cref="T:log4net.Util.SystemStringFormat"/>
\r
26810 <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
\r
26811 <param name="format">A <see cref="T:System.String"/> containing zero or more format items.</param>
\r
26812 <param name="args">An <see cref="T:System.Object"/> array containing zero or more objects to format.</param>
\r
26814 <member name="M:log4net.Util.SystemStringFormat.ToString">
\r
26816 Format the string and arguments
\r
26818 <returns>the formatted string</returns>
\r
26820 <member name="M:log4net.Util.SystemStringFormat.StringFormat(System.IFormatProvider,System.String,System.Object[])">
\r
26822 Replaces the format item in a specified <see cref="T:System.String"/> with the text equivalent
\r
26823 of the value of a corresponding <see cref="T:System.Object"/> instance in a specified array.
\r
26824 A specified parameter supplies culture-specific formatting information.
\r
26826 <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
\r
26827 <param name="format">A <see cref="T:System.String"/> containing zero or more format items.</param>
\r
26828 <param name="args">An <see cref="T:System.Object"/> array containing zero or more objects to format.</param>
\r
26830 A copy of format in which the format items have been replaced by the <see cref="T:System.String"/>
\r
26831 equivalent of the corresponding instances of <see cref="T:System.Object"/> in args.
\r
26835 This method does not throw exceptions. If an exception thrown while formatting the result the
\r
26836 exception and arguments are returned in the result string.
\r
26840 <member name="M:log4net.Util.SystemStringFormat.StringFormatError(System.Exception,System.String,System.Object[])">
\r
26842 Process an error during StringFormat
\r
26845 <member name="M:log4net.Util.SystemStringFormat.RenderArray(System.Array,System.Text.StringBuilder)">
\r
26847 Dump the contents of an array into a string builder
\r
26850 <member name="M:log4net.Util.SystemStringFormat.RenderObject(System.Object,System.Text.StringBuilder)">
\r
26852 Dump an object to a string
\r
26855 <member name="T:log4net.Util.ThreadContextProperties">
\r
26857 Implementation of Properties collection for the <see cref="T:log4net.ThreadContext"/>
\r
26861 Class implements a collection of properties that is specific to each thread.
\r
26862 The class is not synchronized as each thread has its own <see cref="T:log4net.Util.PropertiesDictionary"/>.
\r
26865 <author>Nicko Cadell</author>
\r
26867 <member name="F:log4net.Util.ThreadContextProperties.s_threadLocalSlot">
\r
26869 The thread local data slot to use to store a PropertiesDictionary.
\r
26872 <member name="M:log4net.Util.ThreadContextProperties.#ctor">
\r
26874 Internal constructor
\r
26878 Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextProperties"/> class.
\r
26882 <member name="M:log4net.Util.ThreadContextProperties.Remove(System.String)">
\r
26884 Remove a property
\r
26886 <param name="key">the key for the entry to remove</param>
\r
26889 Remove a property
\r
26893 <member name="M:log4net.Util.ThreadContextProperties.Clear">
\r
26895 Clear all properties
\r
26899 Clear all properties
\r
26903 <member name="M:log4net.Util.ThreadContextProperties.GetProperties(System.Boolean)">
\r
26905 Get the <c>PropertiesDictionary</c> for this thread.
\r
26907 <param name="create">create the dictionary if it does not exist, otherwise return null if is does not exist</param>
\r
26908 <returns>the properties for this thread</returns>
\r
26911 The collection returned is only to be used on the calling thread. If the
\r
26912 caller needs to share the collection between different threads then the
\r
26913 caller must clone the collection before doing so.
\r
26917 <member name="P:log4net.Util.ThreadContextProperties.Item(System.String)">
\r
26919 Gets or sets the value of a property
\r
26922 The value for the property with the specified key
\r
26926 Gets or sets the value of a property
\r
26930 <member name="T:log4net.Util.ThreadContextStack">
\r
26932 Implementation of Stack for the <see cref="T:log4net.ThreadContext"/>
\r
26936 Implementation of Stack for the <see cref="T:log4net.ThreadContext"/>
\r
26939 <author>Nicko Cadell</author>
\r
26941 <member name="F:log4net.Util.ThreadContextStack.m_stack">
\r
26946 <member name="M:log4net.Util.ThreadContextStack.#ctor">
\r
26948 Internal constructor
\r
26952 Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStack"/> class.
\r
26956 <member name="M:log4net.Util.ThreadContextStack.Clear">
\r
26958 Clears all the contextual information held in this stack.
\r
26962 Clears all the contextual information held in this stack.
\r
26963 Only call this if you think that this tread is being reused after
\r
26964 a previous call execution which may not have completed correctly.
\r
26965 You do not need to use this method if you always guarantee to call
\r
26966 the <see cref="M:System.IDisposable.Dispose"/> method of the <see cref="T:System.IDisposable"/>
\r
26967 returned from <see cref="M:log4net.Util.ThreadContextStack.Push(System.String)"/> even in exceptional circumstances,
\r
26968 for example by using the <c>using(log4net.ThreadContext.Stacks["NDC"].Push("Stack_Message"))</c>
\r
26973 <member name="M:log4net.Util.ThreadContextStack.Pop">
\r
26975 Removes the top context from this stack.
\r
26977 <returns>The message in the context that was removed from the top of this stack.</returns>
\r
26980 Remove the top context from this stack, and return
\r
26981 it to the caller. If this stack is empty then an
\r
26982 empty string (not <see langword="null"/>) is returned.
\r
26986 <member name="M:log4net.Util.ThreadContextStack.Push(System.String)">
\r
26988 Pushes a new context message into this stack.
\r
26990 <param name="message">The new context message.</param>
\r
26992 An <see cref="T:System.IDisposable"/> that can be used to clean up the context stack.
\r
26996 Pushes a new context onto this stack. An <see cref="T:System.IDisposable"/>
\r
26997 is returned that can be used to clean up this stack. This
\r
26998 can be easily combined with the <c>using</c> keyword to scope the
\r
27002 <example>Simple example of using the <c>Push</c> method with the <c>using</c> keyword.
\r
27004 using(log4net.ThreadContext.Stacks["NDC"].Push("Stack_Message"))
\r
27006 log.Warn("This should have an ThreadContext Stack message");
\r
27011 <member name="M:log4net.Util.ThreadContextStack.GetFullMessage">
\r
27013 Gets the current context information for this stack.
\r
27015 <returns>The current context information.</returns>
\r
27017 <member name="M:log4net.Util.ThreadContextStack.ToString">
\r
27019 Gets the current context information for this stack.
\r
27021 <returns>Gets the current context information</returns>
\r
27024 Gets the current context information for this stack.
\r
27028 <member name="M:log4net.Util.ThreadContextStack.log4net#Core#IFixingRequired#GetFixedObject">
\r
27030 Get a portable version of this object
\r
27032 <returns>the portable instance of this object</returns>
\r
27035 Get a cross thread portable version of this object
\r
27039 <member name="P:log4net.Util.ThreadContextStack.Count">
\r
27041 The number of messages in the stack
\r
27044 The current number of messages in the stack
\r
27048 The current number of messages in the stack. That is
\r
27049 the number of times <see cref="M:log4net.Util.ThreadContextStack.Push(System.String)"/> has been called
\r
27050 minus the number of times <see cref="M:log4net.Util.ThreadContextStack.Pop"/> has been called.
\r
27054 <member name="P:log4net.Util.ThreadContextStack.InternalStack">
\r
27056 Gets and sets the internal stack used by this <see cref="T:log4net.Util.ThreadContextStack"/>
\r
27058 <value>The internal storage stack</value>
\r
27061 This property is provided only to support backward compatability
\r
27062 of the <see cref="T:log4net.NDC"/>. Tytpically the internal stack should not
\r
27067 <member name="T:log4net.Util.ThreadContextStack.StackFrame">
\r
27069 Inner class used to represent a single context frame in the stack.
\r
27073 Inner class used to represent a single context frame in the stack.
\r
27077 <member name="M:log4net.Util.ThreadContextStack.StackFrame.#ctor(System.String,log4net.Util.ThreadContextStack.StackFrame)">
\r
27081 <param name="message">The message for this context.</param>
\r
27082 <param name="parent">The parent context in the chain.</param>
\r
27085 Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStack.StackFrame"/> class
\r
27086 with the specified message and parent context.
\r
27090 <member name="P:log4net.Util.ThreadContextStack.StackFrame.Message">
\r
27094 <value>The message.</value>
\r
27101 <member name="P:log4net.Util.ThreadContextStack.StackFrame.FullMessage">
\r
27103 Gets the full text of the context down to the root level.
\r
27106 The full text of the context down to the root level.
\r
27110 Gets the full text of the context down to the root level.
\r
27114 <member name="T:log4net.Util.ThreadContextStack.AutoPopStackFrame">
\r
27116 Struct returned from the <see cref="M:log4net.Util.ThreadContextStack.Push(System.String)"/> method.
\r
27120 This struct implements the <see cref="T:System.IDisposable"/> and is designed to be used
\r
27121 with the <see langword="using"/> pattern to remove the stack frame at the end of the scope.
\r
27125 <member name="F:log4net.Util.ThreadContextStack.AutoPopStackFrame.m_frameStack">
\r
27127 The ThreadContextStack internal stack
\r
27130 <member name="F:log4net.Util.ThreadContextStack.AutoPopStackFrame.m_frameDepth">
\r
27132 The depth to trim the stack to when this instance is disposed
\r
27135 <member name="M:log4net.Util.ThreadContextStack.AutoPopStackFrame.#ctor(System.Collections.Stack,System.Int32)">
\r
27139 <param name="frameStack">The internal stack used by the ThreadContextStack.</param>
\r
27140 <param name="frameDepth">The depth to return the stack to when this object is disposed.</param>
\r
27143 Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStack.AutoPopStackFrame"/> class with
\r
27144 the specified stack and return depth.
\r
27148 <member name="M:log4net.Util.ThreadContextStack.AutoPopStackFrame.Dispose">
\r
27150 Returns the stack to the correct depth.
\r
27154 Returns the stack to the correct depth.
\r
27158 <member name="T:log4net.Util.ThreadContextStacks">
\r
27160 Implementation of Stacks collection for the <see cref="T:log4net.ThreadContext"/>
\r
27164 Implementation of Stacks collection for the <see cref="T:log4net.ThreadContext"/>
\r
27167 <author>Nicko Cadell</author>
\r
27169 <member name="M:log4net.Util.ThreadContextStacks.#ctor(log4net.Util.ContextPropertiesBase)">
\r
27171 Internal constructor
\r
27175 Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStacks"/> class.
\r
27179 <member name="P:log4net.Util.ThreadContextStacks.Item(System.String)">
\r
27181 Gets the named thread context stack
\r
27188 Gets the named thread context stack
\r
27192 <member name="T:log4net.Util.Transform">
\r
27194 Utility class for transforming strings.
\r
27198 Utility class for transforming strings.
\r
27201 <author>Nicko Cadell</author>
\r
27202 <author>Gert Driesen</author>
\r
27204 <member name="M:log4net.Util.Transform.#ctor">
\r
27206 Initializes a new instance of the <see cref="T:log4net.Util.Transform"/> class.
\r
27210 Uses a private access modifier to prevent instantiation of this class.
\r
27214 <member name="M:log4net.Util.Transform.WriteEscapedXmlString(System.Xml.XmlWriter,System.String,System.String)">
\r
27216 Write a string to an <see cref="T:System.Xml.XmlWriter"/>
\r
27218 <param name="writer">the writer to write to</param>
\r
27219 <param name="textData">the string to write</param>
\r
27220 <param name="invalidCharReplacement">The string to replace non XML compliant chars with</param>
\r
27223 The test is escaped either using XML escape entities
\r
27224 or using CDATA sections.
\r
27228 <member name="M:log4net.Util.Transform.MaskXmlInvalidCharacters(System.String,System.String)">
\r
27230 Replace invalid XML characters in text string
\r
27232 <param name="textData">the XML text input string</param>
\r
27233 <param name="mask">the string to use in place of invalid characters</param>
\r
27234 <returns>A string that does not contain invalid XML characters.</returns>
\r
27237 Certain Unicode code points are not allowed in the XML InfoSet, for
\r
27238 details see: <a href="http://www.w3.org/TR/REC-xml/#charsets">http://www.w3.org/TR/REC-xml/#charsets</a>.
\r
27241 This method replaces any illegal characters in the input string
\r
27242 with the mask string specified.
\r
27246 <member name="M:log4net.Util.Transform.CountSubstrings(System.String,System.String)">
\r
27248 Count the number of times that the substring occurs in the text
\r
27250 <param name="text">the text to search</param>
\r
27251 <param name="substring">the substring to find</param>
\r
27252 <returns>the number of times the substring occurs in the text</returns>
\r
27255 The substring is assumed to be non repeating within itself.
\r
27259 <member name="T:log4net.Util.WindowsSecurityContext">
\r
27261 Impersonate a Windows Account
\r
27265 This <see cref="T:log4net.Core.SecurityContext"/> impersonates a Windows account.
\r
27268 How the impersonation is done depends on the value of <see cref="M:log4net.Util.WindowsSecurityContext.Impersonate(System.Object)"/>.
\r
27269 This allows the context to either impersonate a set of user credentials specified
\r
27270 using username, domain name and password or to revert to the process credentials.
\r
27274 <member name="M:log4net.Util.WindowsSecurityContext.#ctor">
\r
27276 Default constructor
\r
27280 Default constructor
\r
27284 <member name="M:log4net.Util.WindowsSecurityContext.ActivateOptions">
\r
27286 Initialize the SecurityContext based on the options set.
\r
27290 This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
\r
27291 activation scheme. The <see cref="M:log4net.Util.WindowsSecurityContext.ActivateOptions"/> method must
\r
27292 be called on this object after the configuration properties have
\r
27293 been set. Until <see cref="M:log4net.Util.WindowsSecurityContext.ActivateOptions"/> is called this
\r
27294 object is in an undefined state and must not be used.
\r
27297 If any of the configuration properties are modified then
\r
27298 <see cref="M:log4net.Util.WindowsSecurityContext.ActivateOptions"/> must be called again.
\r
27301 The security context will try to Logon the specified user account and
\r
27302 capture a primary token for impersonation.
\r
27305 <exception cref="T:System.ArgumentNullException">The required <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/>,
\r
27306 <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> or <see cref="P:log4net.Util.WindowsSecurityContext.Password"/> properties were not specified.</exception>
\r
27308 <member name="M:log4net.Util.WindowsSecurityContext.Impersonate(System.Object)">
\r
27310 Impersonate the Windows account specified by the <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> properties.
\r
27312 <param name="state">caller provided state</param>
\r
27314 An <see cref="T:System.IDisposable"/> instance that will revoke the impersonation of this SecurityContext
\r
27318 Depending on the <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/> property either
\r
27319 impersonate a user using credentials supplied or revert
\r
27320 to the process credentials.
\r
27324 <member name="M:log4net.Util.WindowsSecurityContext.LogonUser(System.String,System.String,System.String)">
\r
27326 Create a <see cref="T:System.Security.Principal.WindowsIdentity"/> given the userName, domainName and password.
\r
27328 <param name="userName">the user name</param>
\r
27329 <param name="domainName">the domain name</param>
\r
27330 <param name="password">the password</param>
\r
27331 <returns>the <see cref="T:System.Security.Principal.WindowsIdentity"/> for the account specified</returns>
\r
27334 Uses the Windows API call LogonUser to get a principal token for the account. This
\r
27335 token is used to initialize the WindowsIdentity.
\r
27339 <member name="P:log4net.Util.WindowsSecurityContext.Credentials">
\r
27341 Gets or sets the impersonation mode for this security context
\r
27344 The impersonation mode for this security context
\r
27348 Impersonate either a user with user credentials or
\r
27349 revert this thread to the credentials of the process.
\r
27350 The value is one of the <see cref="T:log4net.Util.WindowsSecurityContext.ImpersonationMode"/>
\r
27354 The default value is <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/>
\r
27357 When the mode is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/>
\r
27358 the user's credentials are established using the
\r
27359 <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/>, <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.Password"/>
\r
27363 When the mode is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.Process"/>
\r
27364 no other properties need to be set. If the calling thread is
\r
27365 impersonating then it will be reverted back to the process credentials.
\r
27369 <member name="P:log4net.Util.WindowsSecurityContext.UserName">
\r
27371 Gets or sets the Windows username for this security context
\r
27374 The Windows username for this security context
\r
27378 This property must be set if <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/>
\r
27379 is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/> (the default setting).
\r
27383 <member name="P:log4net.Util.WindowsSecurityContext.DomainName">
\r
27385 Gets or sets the Windows domain name for this security context
\r
27388 The Windows domain name for this security context
\r
27392 The default value for <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> is the local machine name
\r
27393 taken from the <see cref="P:System.Environment.MachineName"/> property.
\r
27396 This property must be set if <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/>
\r
27397 is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/> (the default setting).
\r
27401 <member name="P:log4net.Util.WindowsSecurityContext.Password">
\r
27403 Sets the password for the Windows account specified by the <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> properties.
\r
27406 The password for the Windows account specified by the <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> properties.
\r
27410 This property must be set if <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/>
\r
27411 is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/> (the default setting).
\r
27415 <member name="T:log4net.Util.WindowsSecurityContext.ImpersonationMode">
\r
27417 The impersonation modes for the <see cref="T:log4net.Util.WindowsSecurityContext"/>
\r
27421 See the <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/> property for
\r
27426 <member name="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User">
\r
27428 Impersonate a user using the credentials supplied
\r
27431 <member name="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.Process">
\r
27433 Revert this the thread to the credentials of the process
\r
27436 <member name="T:log4net.Util.WindowsSecurityContext.DisposableImpersonationContext">
\r
27438 Adds <see cref="T:System.IDisposable"/> to <see cref="T:System.Security.Principal.WindowsImpersonationContext"/>
\r
27442 Helper class to expose the <see cref="T:System.Security.Principal.WindowsImpersonationContext"/>
\r
27443 through the <see cref="T:System.IDisposable"/> interface.
\r
27447 <member name="M:log4net.Util.WindowsSecurityContext.DisposableImpersonationContext.#ctor(System.Security.Principal.WindowsImpersonationContext)">
\r
27451 <param name="impersonationContext">the impersonation context being wrapped</param>
\r
27458 <member name="M:log4net.Util.WindowsSecurityContext.DisposableImpersonationContext.Dispose">
\r
27460 Revert the impersonation
\r
27464 Revert the impersonation
\r
27468 <member name="T:log4net.GlobalContext">
\r
27470 The log4net Global Context.
\r
27474 The <c>GlobalContext</c> provides a location for global debugging
\r
27475 information to be stored.
\r
27478 The global context has a properties map and these properties can
\r
27479 be included in the output of log messages. The <see cref="T:log4net.Layout.PatternLayout"/>
\r
27480 supports selecting and outputing these properties.
\r
27483 By default the <c>log4net:HostName</c> property is set to the name of
\r
27484 the current machine.
\r
27489 GlobalContext.Properties["hostname"] = Environment.MachineName;
\r
27492 <threadsafety static="true" instance="true"/>
\r
27493 <author>Nicko Cadell</author>
\r
27495 <member name="M:log4net.GlobalContext.#ctor">
\r
27497 Private Constructor.
\r
27500 Uses a private access modifier to prevent instantiation of this class.
\r
27503 <member name="F:log4net.GlobalContext.s_properties">
\r
27505 The global context properties instance
\r
27508 <member name="P:log4net.GlobalContext.Properties">
\r
27510 The global properties map.
\r
27513 The global properties map.
\r
27517 The global properties map.
\r
27521 <member name="T:log4net.LogicalThreadContext">
\r
27523 The log4net Logical Thread Context.
\r
27527 The <c>LogicalThreadContext</c> provides a location for <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> specific debugging
\r
27528 information to be stored.
\r
27529 The <c>LogicalThreadContext</c> properties override any <see cref="T:log4net.ThreadContext"/> or <see cref="T:log4net.GlobalContext"/>
\r
27530 properties with the same name.
\r
27533 The Logical Thread Context has a properties map and a stack.
\r
27534 The properties and stack can
\r
27535 be included in the output of log messages. The <see cref="T:log4net.Layout.PatternLayout"/>
\r
27536 supports selecting and outputting these properties.
\r
27539 The Logical Thread Context provides a diagnostic context for the current call context.
\r
27540 This is an instrument for distinguishing interleaved log
\r
27541 output from different sources. Log output is typically interleaved
\r
27542 when a server handles multiple clients near-simultaneously.
\r
27545 The Logical Thread Context is managed on a per <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> basis.
\r
27548 <example>Example of using the thread context properties to store a username.
\r
27550 LogicalThreadContext.Properties["user"] = userName;
\r
27551 log.Info("This log message has a LogicalThreadContext Property called 'user'");
\r
27554 <example>Example of how to push a message into the context stack
\r
27556 using(LogicalThreadContext.Stacks["LDC"].Push("my context message"))
\r
27558 log.Info("This log message has a LogicalThreadContext Stack message that includes 'my context message'");
\r
27560 } // at the end of the using block the message is automatically popped
\r
27563 <threadsafety static="true" instance="true"/>
\r
27564 <author>Nicko Cadell</author>
\r
27566 <member name="M:log4net.LogicalThreadContext.#ctor">
\r
27568 Private Constructor.
\r
27572 Uses a private access modifier to prevent instantiation of this class.
\r
27576 <member name="F:log4net.LogicalThreadContext.s_properties">
\r
27578 The thread context properties instance
\r
27581 <member name="F:log4net.LogicalThreadContext.s_stacks">
\r
27583 The thread context stacks instance
\r
27586 <member name="P:log4net.LogicalThreadContext.Properties">
\r
27588 The thread properties map
\r
27591 The thread properties map
\r
27595 The <c>LogicalThreadContext</c> properties override any <see cref="T:log4net.ThreadContext"/>
\r
27596 or <see cref="T:log4net.GlobalContext"/> properties with the same name.
\r
27600 <member name="P:log4net.LogicalThreadContext.Stacks">
\r
27602 The thread stacks
\r
27609 The logical thread stacks.
\r
27613 <member name="T:log4net.LogManager">
\r
27615 This class is used by client applications to request logger instances.
\r
27619 This class has static methods that are used by a client to request
\r
27620 a logger instance. The <see cref="M:log4net.LogManager.GetLogger(System.String)"/> method is
\r
27621 used to retrieve a logger.
\r
27624 See the <see cref="T:log4net.ILog"/> interface for more details.
\r
27627 <example>Simple example of logging messages
\r
27629 ILog log = LogManager.GetLogger("application-log");
\r
27631 log.Info("Application Start");
\r
27632 log.Debug("This is a debug message");
\r
27634 if (log.IsDebugEnabled)
\r
27636 log.Debug("This is another debug message");
\r
27640 <threadsafety static="true" instance="true"/>
\r
27641 <seealso cref="T:log4net.ILog"/>
\r
27642 <author>Nicko Cadell</author>
\r
27643 <author>Gert Driesen</author>
\r
27645 <member name="M:log4net.LogManager.#ctor">
\r
27647 Initializes a new instance of the <see cref="T:log4net.LogManager"/> class.
\r
27650 Uses a private access modifier to prevent instantiation of this class.
\r
27653 <member name="M:log4net.LogManager.Exists(System.String)">
\r
27654 <overloads>Returns the named logger if it exists.</overloads>
\r
27656 Returns the named logger if it exists.
\r
27660 If the named logger exists (in the default repository) then it
\r
27661 returns a reference to the logger, otherwise it returns <c>null</c>.
\r
27664 <param name="name">The fully qualified logger name to look for.</param>
\r
27665 <returns>The logger found, or <c>null</c> if no logger could be found.</returns>
\r
27667 <member name="M:log4net.LogManager.Exists(System.String,System.String)">
\r
27669 Returns the named logger if it exists.
\r
27673 If the named logger exists (in the specified repository) then it
\r
27674 returns a reference to the logger, otherwise it returns
\r
27678 <param name="repository">The repository to lookup in.</param>
\r
27679 <param name="name">The fully qualified logger name to look for.</param>
\r
27681 The logger found, or <c>null</c> if the logger doesn't exist in the specified
\r
27685 <member name="M:log4net.LogManager.Exists(System.Reflection.Assembly,System.String)">
\r
27687 Returns the named logger if it exists.
\r
27691 If the named logger exists (in the repository for the specified assembly) then it
\r
27692 returns a reference to the logger, otherwise it returns
\r
27696 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
27697 <param name="name">The fully qualified logger name to look for.</param>
\r
27699 The logger, or <c>null</c> if the logger doesn't exist in the specified
\r
27700 assembly's repository.
\r
27703 <member name="M:log4net.LogManager.GetCurrentLoggers">
\r
27704 <overloads>Get the currently defined loggers.</overloads>
\r
27706 Returns all the currently defined loggers in the default repository.
\r
27709 <para>The root logger is <b>not</b> included in the returned array.</para>
\r
27711 <returns>All the defined loggers.</returns>
\r
27713 <member name="M:log4net.LogManager.GetCurrentLoggers(System.String)">
\r
27715 Returns all the currently defined loggers in the specified repository.
\r
27717 <param name="repository">The repository to lookup in.</param>
\r
27719 The root logger is <b>not</b> included in the returned array.
\r
27721 <returns>All the defined loggers.</returns>
\r
27723 <member name="M:log4net.LogManager.GetCurrentLoggers(System.Reflection.Assembly)">
\r
27725 Returns all the currently defined loggers in the specified assembly's repository.
\r
27727 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
27729 The root logger is <b>not</b> included in the returned array.
\r
27731 <returns>All the defined loggers.</returns>
\r
27733 <member name="M:log4net.LogManager.GetLogger(System.String)">
\r
27734 <overloads>Get or create a logger.</overloads>
\r
27736 Retrieves or creates a named logger.
\r
27740 Retrieves a logger named as the <paramref name="name"/>
\r
27741 parameter. If the named logger already exists, then the
\r
27742 existing instance will be returned. Otherwise, a new instance is
\r
27745 <para>By default, loggers do not have a set level but inherit
\r
27746 it from the hierarchy. This is one of the central features of
\r
27750 <param name="name">The name of the logger to retrieve.</param>
\r
27751 <returns>The logger with the name specified.</returns>
\r
27753 <member name="M:log4net.LogManager.GetLogger(System.String,System.String)">
\r
27755 Retrieves or creates a named logger.
\r
27759 Retrieve a logger named as the <paramref name="name"/>
\r
27760 parameter. If the named logger already exists, then the
\r
27761 existing instance will be returned. Otherwise, a new instance is
\r
27765 By default, loggers do not have a set level but inherit
\r
27766 it from the hierarchy. This is one of the central features of
\r
27770 <param name="repository">The repository to lookup in.</param>
\r
27771 <param name="name">The name of the logger to retrieve.</param>
\r
27772 <returns>The logger with the name specified.</returns>
\r
27774 <member name="M:log4net.LogManager.GetLogger(System.Reflection.Assembly,System.String)">
\r
27776 Retrieves or creates a named logger.
\r
27780 Retrieve a logger named as the <paramref name="name"/>
\r
27781 parameter. If the named logger already exists, then the
\r
27782 existing instance will be returned. Otherwise, a new instance is
\r
27786 By default, loggers do not have a set level but inherit
\r
27787 it from the hierarchy. This is one of the central features of
\r
27791 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
27792 <param name="name">The name of the logger to retrieve.</param>
\r
27793 <returns>The logger with the name specified.</returns>
\r
27795 <member name="M:log4net.LogManager.GetLogger(System.Type)">
\r
27797 Shorthand for <see cref="M:log4net.LogManager.GetLogger(System.String)"/>.
\r
27800 Get the logger for the fully qualified name of the type specified.
\r
27802 <param name="type">The full name of <paramref name="type"/> will be used as the name of the logger to retrieve.</param>
\r
27803 <returns>The logger with the name specified.</returns>
\r
27805 <member name="M:log4net.LogManager.GetLogger(System.String,System.Type)">
\r
27807 Shorthand for <see cref="M:log4net.LogManager.GetLogger(System.String)"/>.
\r
27810 Gets the logger for the fully qualified name of the type specified.
\r
27812 <param name="repository">The repository to lookup in.</param>
\r
27813 <param name="type">The full name of <paramref name="type"/> will be used as the name of the logger to retrieve.</param>
\r
27814 <returns>The logger with the name specified.</returns>
\r
27816 <member name="M:log4net.LogManager.GetLogger(System.Reflection.Assembly,System.Type)">
\r
27818 Shorthand for <see cref="M:log4net.LogManager.GetLogger(System.String)"/>.
\r
27821 Gets the logger for the fully qualified name of the type specified.
\r
27823 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
27824 <param name="type">The full name of <paramref name="type"/> will be used as the name of the logger to retrieve.</param>
\r
27825 <returns>The logger with the name specified.</returns>
\r
27827 <member name="M:log4net.LogManager.Shutdown">
\r
27829 Shuts down the log4net system.
\r
27833 Calling this method will <b>safely</b> close and remove all
\r
27834 appenders in all the loggers including root contained in all the
\r
27835 default repositories.
\r
27838 Some appenders need to be closed before the application exists.
\r
27839 Otherwise, pending logging events might be lost.
\r
27841 <para>The <c>shutdown</c> method is careful to close nested
\r
27842 appenders before closing regular appenders. This is allows
\r
27843 configurations where a regular appender is attached to a logger
\r
27844 and again to a nested appender.
\r
27848 <member name="M:log4net.LogManager.ShutdownRepository">
\r
27849 <overloads>Shutdown a logger repository.</overloads>
\r
27851 Shuts down the default repository.
\r
27855 Calling this method will <b>safely</b> close and remove all
\r
27856 appenders in all the loggers including root contained in the
\r
27857 default repository.
\r
27859 <para>Some appenders need to be closed before the application exists.
\r
27860 Otherwise, pending logging events might be lost.
\r
27862 <para>The <c>shutdown</c> method is careful to close nested
\r
27863 appenders before closing regular appenders. This is allows
\r
27864 configurations where a regular appender is attached to a logger
\r
27865 and again to a nested appender.
\r
27869 <member name="M:log4net.LogManager.ShutdownRepository(System.String)">
\r
27871 Shuts down the repository for the repository specified.
\r
27875 Calling this method will <b>safely</b> close and remove all
\r
27876 appenders in all the loggers including root contained in the
\r
27877 <paramref name="repository"/> specified.
\r
27880 Some appenders need to be closed before the application exists.
\r
27881 Otherwise, pending logging events might be lost.
\r
27883 <para>The <c>shutdown</c> method is careful to close nested
\r
27884 appenders before closing regular appenders. This is allows
\r
27885 configurations where a regular appender is attached to a logger
\r
27886 and again to a nested appender.
\r
27889 <param name="repository">The repository to shutdown.</param>
\r
27891 <member name="M:log4net.LogManager.ShutdownRepository(System.Reflection.Assembly)">
\r
27893 Shuts down the repository specified.
\r
27897 Calling this method will <b>safely</b> close and remove all
\r
27898 appenders in all the loggers including root contained in the
\r
27899 repository. The repository is looked up using
\r
27900 the <paramref name="repositoryAssembly"/> specified.
\r
27903 Some appenders need to be closed before the application exists.
\r
27904 Otherwise, pending logging events might be lost.
\r
27907 The <c>shutdown</c> method is careful to close nested
\r
27908 appenders before closing regular appenders. This is allows
\r
27909 configurations where a regular appender is attached to a logger
\r
27910 and again to a nested appender.
\r
27913 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
27915 <member name="M:log4net.LogManager.ResetConfiguration">
\r
27916 <overloads>Reset the configuration of a repository</overloads>
\r
27918 Resets all values contained in this repository instance to their defaults.
\r
27922 Resets all values contained in the repository instance to their
\r
27923 defaults. This removes all appenders from all loggers, sets
\r
27924 the level of all non-root loggers to <c>null</c>,
\r
27925 sets their additivity flag to <c>true</c> and sets the level
\r
27926 of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
\r
27927 message disabling is set to its default "off" value.
\r
27931 <member name="M:log4net.LogManager.ResetConfiguration(System.String)">
\r
27933 Resets all values contained in this repository instance to their defaults.
\r
27937 Reset all values contained in the repository instance to their
\r
27938 defaults. This removes all appenders from all loggers, sets
\r
27939 the level of all non-root loggers to <c>null</c>,
\r
27940 sets their additivity flag to <c>true</c> and sets the level
\r
27941 of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
\r
27942 message disabling is set to its default "off" value.
\r
27945 <param name="repository">The repository to reset.</param>
\r
27947 <member name="M:log4net.LogManager.ResetConfiguration(System.Reflection.Assembly)">
\r
27949 Resets all values contained in this repository instance to their defaults.
\r
27953 Reset all values contained in the repository instance to their
\r
27954 defaults. This removes all appenders from all loggers, sets
\r
27955 the level of all non-root loggers to <c>null</c>,
\r
27956 sets their additivity flag to <c>true</c> and sets the level
\r
27957 of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
\r
27958 message disabling is set to its default "off" value.
\r
27961 <param name="repositoryAssembly">The assembly to use to lookup the repository to reset.</param>
\r
27963 <member name="M:log4net.LogManager.GetLoggerRepository">
\r
27964 <overloads>Get the logger repository.</overloads>
\r
27966 Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
\r
27970 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
\r
27971 by the callers assembly (<see cref="M:System.Reflection.Assembly.GetCallingAssembly"/>).
\r
27974 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> instance for the default repository.</returns>
\r
27976 <member name="M:log4net.LogManager.GetLoggerRepository(System.String)">
\r
27978 Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
\r
27980 <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
\r
27983 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
\r
27984 by the <paramref name="repository"/> argument.
\r
27987 <param name="repository">The repository to lookup in.</param>
\r
27989 <member name="M:log4net.LogManager.GetLoggerRepository(System.Reflection.Assembly)">
\r
27991 Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
\r
27993 <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
\r
27996 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
\r
27997 by the <paramref name="repositoryAssembly"/> argument.
\r
28000 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
28002 <member name="M:log4net.LogManager.GetRepository">
\r
28003 <overloads>Get a logger repository.</overloads>
\r
28005 Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
\r
28009 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
\r
28010 by the callers assembly (<see cref="M:System.Reflection.Assembly.GetCallingAssembly"/>).
\r
28013 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> instance for the default repository.</returns>
\r
28015 <member name="M:log4net.LogManager.GetRepository(System.String)">
\r
28017 Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
\r
28019 <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
\r
28022 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
\r
28023 by the <paramref name="repository"/> argument.
\r
28026 <param name="repository">The repository to lookup in.</param>
\r
28028 <member name="M:log4net.LogManager.GetRepository(System.Reflection.Assembly)">
\r
28030 Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
\r
28032 <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
\r
28035 Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
\r
28036 by the <paramref name="repositoryAssembly"/> argument.
\r
28039 <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
\r
28041 <member name="M:log4net.LogManager.CreateDomain(System.Type)">
\r
28042 <overloads>Create a domain</overloads>
\r
28044 Creates a repository with the specified repository type.
\r
28048 <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
\r
28051 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
\r
28052 specified such that a call to <see cref="M:log4net.LogManager.GetRepository"/> will return
\r
28053 the same repository instance.
\r
28056 <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
28057 and has a no arg constructor. An instance of this type will be created to act
\r
28058 as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
\r
28059 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
28061 <member name="M:log4net.LogManager.CreateRepository(System.Type)">
\r
28062 <overloads>Create a logger repository.</overloads>
\r
28064 Creates a repository with the specified repository type.
\r
28066 <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
28067 and has a no arg constructor. An instance of this type will be created to act
\r
28068 as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
\r
28069 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
28072 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
\r
28073 specified such that a call to <see cref="M:log4net.LogManager.GetRepository"/> will return
\r
28074 the same repository instance.
\r
28078 <member name="M:log4net.LogManager.CreateDomain(System.String)">
\r
28080 Creates a repository with the specified name.
\r
28084 <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
\r
28087 Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
\r
28088 <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
\r
28091 The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
\r
28092 An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
\r
28095 <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
\r
28096 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
28097 <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
\r
28099 <member name="M:log4net.LogManager.CreateRepository(System.String)">
\r
28101 Creates a repository with the specified name.
\r
28105 Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
\r
28106 <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
\r
28109 The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
\r
28110 An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
\r
28113 <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
\r
28114 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
28115 <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
\r
28117 <member name="M:log4net.LogManager.CreateDomain(System.String,System.Type)">
\r
28119 Creates a repository with the specified name and repository type.
\r
28123 <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
\r
28126 The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
\r
28127 An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
\r
28130 <param name="repository">The name of the repository, this must be unique to the repository.</param>
\r
28131 <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
28132 and has a no arg constructor. An instance of this type will be created to act
\r
28133 as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
\r
28134 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
28135 <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
\r
28137 <member name="M:log4net.LogManager.CreateRepository(System.String,System.Type)">
\r
28139 Creates a repository with the specified name and repository type.
\r
28143 The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
\r
28144 An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
\r
28147 <param name="repository">The name of the repository, this must be unique to the repository.</param>
\r
28148 <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
28149 and has a no arg constructor. An instance of this type will be created to act
\r
28150 as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
\r
28151 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
28152 <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
\r
28154 <member name="M:log4net.LogManager.CreateDomain(System.Reflection.Assembly,System.Type)">
\r
28156 Creates a repository for the specified assembly and repository type.
\r
28160 <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
\r
28163 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
\r
28164 specified such that a call to <see cref="M:log4net.LogManager.GetRepository(System.Reflection.Assembly)"/> with the
\r
28165 same assembly specified will return the same repository instance.
\r
28168 <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
\r
28169 <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
28170 and has a no arg constructor. An instance of this type will be created to act
\r
28171 as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
\r
28172 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
28174 <member name="M:log4net.LogManager.CreateRepository(System.Reflection.Assembly,System.Type)">
\r
28176 Creates a repository for the specified assembly and repository type.
\r
28180 The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
\r
28181 specified such that a call to <see cref="M:log4net.LogManager.GetRepository(System.Reflection.Assembly)"/> with the
\r
28182 same assembly specified will return the same repository instance.
\r
28185 <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
\r
28186 <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
\r
28187 and has a no arg constructor. An instance of this type will be created to act
\r
28188 as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
\r
28189 <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
\r
28191 <member name="M:log4net.LogManager.GetAllRepositories">
\r
28193 Gets the list of currently defined repositories.
\r
28197 Get an array of all the <see cref="T:log4net.Repository.ILoggerRepository"/> objects that have been created.
\r
28200 <returns>An array of all the known <see cref="T:log4net.Repository.ILoggerRepository"/> objects.</returns>
\r
28202 <member name="M:log4net.LogManager.WrapLogger(log4net.Core.ILogger)">
\r
28204 Looks up the wrapper object for the logger specified.
\r
28206 <param name="logger">The logger to get the wrapper for.</param>
\r
28207 <returns>The wrapper for the logger specified.</returns>
\r
28209 <member name="M:log4net.LogManager.WrapLoggers(log4net.Core.ILogger[])">
\r
28211 Looks up the wrapper objects for the loggers specified.
\r
28213 <param name="loggers">The loggers to get the wrappers for.</param>
\r
28214 <returns>The wrapper objects for the loggers specified.</returns>
\r
28216 <member name="M:log4net.LogManager.WrapperCreationHandler(log4net.Core.ILogger)">
\r
28218 Create the <see cref="T:log4net.Core.ILoggerWrapper"/> objects used by
\r
28221 <param name="logger">The logger to wrap.</param>
\r
28222 <returns>The wrapper for the logger specified.</returns>
\r
28224 <member name="F:log4net.LogManager.s_wrapperMap">
\r
28226 The wrapper map to use to hold the <see cref="T:log4net.Core.LogImpl"/> objects.
\r
28229 <member name="T:log4net.MDC">
\r
28231 Implementation of Mapped Diagnostic Contexts.
\r
28236 The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
\r
28237 The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
\r
28241 The MDC class is similar to the <see cref="T:log4net.NDC"/> class except that it is
\r
28242 based on a map instead of a stack. It provides <i>mapped
\r
28243 diagnostic contexts</i>. A <i>Mapped Diagnostic Context</i>, or
\r
28244 MDC in short, is an instrument for distinguishing interleaved log
\r
28245 output from different sources. Log output is typically interleaved
\r
28246 when a server handles multiple clients near-simultaneously.
\r
28249 The MDC is managed on a per thread basis.
\r
28252 <threadsafety static="true" instance="true"/>
\r
28253 <author>Nicko Cadell</author>
\r
28254 <author>Gert Driesen</author>
\r
28256 <member name="M:log4net.MDC.#ctor">
\r
28258 Initializes a new instance of the <see cref="T:log4net.MDC"/> class.
\r
28261 Uses a private access modifier to prevent instantiation of this class.
\r
28264 <member name="M:log4net.MDC.Get(System.String)">
\r
28266 Gets the context value identified by the <paramref name="key"/> parameter.
\r
28268 <param name="key">The key to lookup in the MDC.</param>
\r
28269 <returns>The string value held for the key, or a <c>null</c> reference if no corresponding value is found.</returns>
\r
28273 The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
\r
28274 The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
\r
28278 If the <paramref name="key"/> parameter does not look up to a
\r
28279 previously defined context then <c>null</c> will be returned.
\r
28283 <member name="M:log4net.MDC.Set(System.String,System.String)">
\r
28285 Add an entry to the MDC
\r
28287 <param name="key">The key to store the value under.</param>
\r
28288 <param name="value">The value to store.</param>
\r
28292 The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
\r
28293 The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
\r
28297 Puts a context value (the <paramref name="val"/> parameter) as identified
\r
28298 with the <paramref name="key"/> parameter into the current thread's
\r
28302 If a value is already defined for the <paramref name="key"/>
\r
28303 specified then the value will be replaced. If the <paramref name="val"/>
\r
28304 is specified as <c>null</c> then the key value mapping will be removed.
\r
28308 <member name="M:log4net.MDC.Remove(System.String)">
\r
28310 Removes the key value mapping for the key specified.
\r
28312 <param name="key">The key to remove.</param>
\r
28316 The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
\r
28317 The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
\r
28321 Remove the specified entry from this thread's MDC
\r
28325 <member name="M:log4net.MDC.Clear">
\r
28327 Clear all entries in the MDC
\r
28332 The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
\r
28333 The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
\r
28337 Remove all the entries from this thread's MDC
\r
28341 <member name="T:log4net.NDC">
\r
28343 Implementation of Nested Diagnostic Contexts.
\r
28348 The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
\r
28349 The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
\r
28353 A Nested Diagnostic Context, or NDC in short, is an instrument
\r
28354 to distinguish interleaved log output from different sources. Log
\r
28355 output is typically interleaved when a server handles multiple
\r
28356 clients near-simultaneously.
\r
28359 Interleaved log output can still be meaningful if each log entry
\r
28360 from different contexts had a distinctive stamp. This is where NDCs
\r
28364 Note that NDCs are managed on a per thread basis. The NDC class
\r
28365 is made up of static methods that operate on the context of the
\r
28369 <example>How to push a message into the context
\r
28371 using(NDC.Push("my context message"))
\r
28373 ... all log calls will have 'my context message' included ...
\r
28375 } // at the end of the using block the message is automatically removed
\r
28378 <threadsafety static="true" instance="true"/>
\r
28379 <author>Nicko Cadell</author>
\r
28380 <author>Gert Driesen</author>
\r
28382 <member name="M:log4net.NDC.#ctor">
\r
28384 Initializes a new instance of the <see cref="T:log4net.NDC"/> class.
\r
28387 Uses a private access modifier to prevent instantiation of this class.
\r
28390 <member name="M:log4net.NDC.Clear">
\r
28392 Clears all the contextual information held on the current thread.
\r
28397 The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
\r
28398 The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
\r
28402 Clears the stack of NDC data held on the current thread.
\r
28406 <member name="M:log4net.NDC.CloneStack">
\r
28408 Creates a clone of the stack of context information.
\r
28410 <returns>A clone of the context info for this thread.</returns>
\r
28414 The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
\r
28415 The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
\r
28419 The results of this method can be passed to the <see cref="M:log4net.NDC.Inherit(System.Collections.Stack)"/>
\r
28420 method to allow child threads to inherit the context of their
\r
28425 <member name="M:log4net.NDC.Inherit(System.Collections.Stack)">
\r
28427 Inherits the contextual information from another thread.
\r
28429 <param name="stack">The context stack to inherit.</param>
\r
28433 The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
\r
28434 The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
\r
28438 This thread will use the context information from the stack
\r
28439 supplied. This can be used to initialize child threads with
\r
28440 the same contextual information as their parent threads. These
\r
28441 contexts will <b>NOT</b> be shared. Any further contexts that
\r
28442 are pushed onto the stack will not be visible to the other.
\r
28443 Call <see cref="M:log4net.NDC.CloneStack"/> to obtain a stack to pass to
\r
28448 <member name="M:log4net.NDC.Pop">
\r
28450 Removes the top context from the stack.
\r
28453 The message in the context that was removed from the top
\r
28459 The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
\r
28460 The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
\r
28464 Remove the top context from the stack, and return
\r
28465 it to the caller. If the stack is empty then an
\r
28466 empty string (not <c>null</c>) is returned.
\r
28470 <member name="M:log4net.NDC.Push(System.String)">
\r
28472 Pushes a new context message.
\r
28474 <param name="message">The new context message.</param>
\r
28476 An <see cref="T:System.IDisposable"/> that can be used to clean up
\r
28477 the context stack.
\r
28482 The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
\r
28483 The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
\r
28487 Pushes a new context onto the context stack. An <see cref="T:System.IDisposable"/>
\r
28488 is returned that can be used to clean up the context stack. This
\r
28489 can be easily combined with the <c>using</c> keyword to scope the
\r
28493 <example>Simple example of using the <c>Push</c> method with the <c>using</c> keyword.
\r
28495 using(log4net.NDC.Push("NDC_Message"))
\r
28497 log.Warn("This should have an NDC message");
\r
28502 <member name="M:log4net.NDC.Remove">
\r
28504 Removes the context information for this thread. It is
\r
28505 not required to call this method.
\r
28510 The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
\r
28511 The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
\r
28515 This method is not implemented.
\r
28519 <member name="M:log4net.NDC.SetMaxDepth(System.Int32)">
\r
28521 Forces the stack depth to be at most <paramref name="maxDepth"/>.
\r
28523 <param name="maxDepth">The maximum depth of the stack</param>
\r
28527 The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
\r
28528 The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
\r
28532 Forces the stack depth to be at most <paramref name="maxDepth"/>.
\r
28533 This may truncate the head of the stack. This only affects the
\r
28534 stack in the current thread. Also it does not prevent it from
\r
28535 growing, it only sets the maximum depth at the time of the
\r
28536 call. This can be used to return to a known context depth.
\r
28540 <member name="P:log4net.NDC.Depth">
\r
28542 Gets the current context depth.
\r
28544 <value>The current context depth.</value>
\r
28548 The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
\r
28549 The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
\r
28553 The number of context values pushed onto the context stack.
\r
28556 Used to record the current depth of the context. This can then
\r
28557 be restored using the <see cref="M:log4net.NDC.SetMaxDepth(System.Int32)"/> method.
\r
28560 <seealso cref="M:log4net.NDC.SetMaxDepth(System.Int32)"/>
\r
28562 <member name="T:log4net.ThreadContext">
\r
28564 The log4net Thread Context.
\r
28568 The <c>ThreadContext</c> provides a location for thread specific debugging
\r
28569 information to be stored.
\r
28570 The <c>ThreadContext</c> properties override any <see cref="T:log4net.GlobalContext"/>
\r
28571 properties with the same name.
\r
28574 The thread context has a properties map and a stack.
\r
28575 The properties and stack can
\r
28576 be included in the output of log messages. The <see cref="T:log4net.Layout.PatternLayout"/>
\r
28577 supports selecting and outputting these properties.
\r
28580 The Thread Context provides a diagnostic context for the current thread.
\r
28581 This is an instrument for distinguishing interleaved log
\r
28582 output from different sources. Log output is typically interleaved
\r
28583 when a server handles multiple clients near-simultaneously.
\r
28586 The Thread Context is managed on a per thread basis.
\r
28589 <example>Example of using the thread context properties to store a username.
\r
28591 ThreadContext.Properties["user"] = userName;
\r
28592 log.Info("This log message has a ThreadContext Property called 'user'");
\r
28595 <example>Example of how to push a message into the context stack
\r
28597 using(ThreadContext.Stacks["NDC"].Push("my context message"))
\r
28599 log.Info("This log message has a ThreadContext Stack message that includes 'my context message'");
\r
28601 } // at the end of the using block the message is automatically popped
\r
28604 <threadsafety static="true" instance="true"/>
\r
28605 <author>Nicko Cadell</author>
\r
28607 <member name="M:log4net.ThreadContext.#ctor">
\r
28609 Private Constructor.
\r
28613 Uses a private access modifier to prevent instantiation of this class.
\r
28617 <member name="F:log4net.ThreadContext.s_properties">
\r
28619 The thread context properties instance
\r
28622 <member name="F:log4net.ThreadContext.s_stacks">
\r
28624 The thread context stacks instance
\r
28627 <member name="P:log4net.ThreadContext.Properties">
\r
28629 The thread properties map
\r
28632 The thread properties map
\r
28636 The <c>ThreadContext</c> properties override any <see cref="T:log4net.GlobalContext"/>
\r
28637 properties with the same name.
\r
28641 <member name="P:log4net.ThreadContext.Stacks">
\r
28643 The thread stacks
\r
28650 The thread local stacks.
\r