金豪看板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31966 lines
1.4 MiB

2 years ago
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>log4net</name>
  5. </assembly>
  6. <members>
  7. <member name="T:log4net.Appender.AdoNetAppender">
  8. <summary>
  9. Appender that logs to a database.
  10. </summary>
  11. <remarks>
  12. <para>
  13. <see cref="T:log4net.Appender.AdoNetAppender"/> appends logging events to a table within a
  14. database. The appender can be configured to specify the connection
  15. string by setting the <see cref="P:log4net.Appender.AdoNetAppender.ConnectionString"/> property.
  16. The connection type (provider) can be specified by setting the <see cref="P:log4net.Appender.AdoNetAppender.ConnectionType"/>
  17. property. For more information on database connection strings for
  18. your specific database see <a href="http://www.connectionstrings.com/">http://www.connectionstrings.com/</a>.
  19. </para>
  20. <para>
  21. Records are written into the database either using a prepared
  22. statement or a stored procedure. The <see cref="P:log4net.Appender.AdoNetAppender.CommandType"/> property
  23. is set to <see cref="F:System.Data.CommandType.Text"/> (<c>System.Data.CommandType.Text</c>) to specify a prepared statement
  24. or to <see cref="F:System.Data.CommandType.StoredProcedure"/> (<c>System.Data.CommandType.StoredProcedure</c>) to specify a stored
  25. procedure.
  26. </para>
  27. <para>
  28. The prepared statement text or the name of the stored procedure
  29. must be set in the <see cref="P:log4net.Appender.AdoNetAppender.CommandText"/> property.
  30. </para>
  31. <para>
  32. The prepared statement or stored procedure can take a number
  33. of parameters. Parameters are added using the <see cref="M:log4net.Appender.AdoNetAppender.AddParameter(log4net.Appender.AdoNetAppenderParameter)"/>
  34. method. This adds a single <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> to the
  35. ordered list of parameters. The <see cref="T:log4net.Appender.AdoNetAppenderParameter"/>
  36. type may be subclassed if required to provide database specific
  37. functionality. The <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> specifies
  38. the parameter name, database type, size, and how the value should
  39. be generated using a <see cref="T:log4net.Layout.ILayout"/>.
  40. </para>
  41. </remarks>
  42. <example>
  43. An example of a SQL Server table that could be logged to:
  44. <code lang="SQL">
  45. CREATE TABLE [dbo].[Log] (
  46. [ID] [int] IDENTITY (1, 1) NOT NULL ,
  47. [Date] [datetime] NOT NULL ,
  48. [Thread] [varchar] (255) NOT NULL ,
  49. [Level] [varchar] (20) NOT NULL ,
  50. [Logger] [varchar] (255) NOT NULL ,
  51. [Message] [varchar] (4000) NOT NULL
  52. ) ON [PRIMARY]
  53. </code>
  54. </example>
  55. <example>
  56. An example configuration to log to the above table:
  57. <code lang="XML" escaped="true">
  58. <appender name="AdoNetAppender_SqlServer" type="log4net.Appender.AdoNetAppender">
  59. <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
  60. <connectionString value="data source=SQLSVR;initial catalog=test_log4net;integrated security=false;persist security info=True;User ID=sa;Password=sa"/>
  61. <commandText value="INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message]) VALUES (@log_date, @thread, @log_level, @logger, @message)"/>
  62. <parameter>
  63. <parameterName value="@log_date"/>
  64. <dbType value="DateTime"/>
  65. <layout type="log4net.Layout.PatternLayout" value="%date{yyyy'-'MM'-'dd HH':'mm':'ss'.'fff}"/>
  66. </parameter>
  67. <parameter>
  68. <parameterName value="@thread"/>
  69. <dbType value="String"/>
  70. <size value="255"/>
  71. <layout type="log4net.Layout.PatternLayout" value="%thread"/>
  72. </parameter>
  73. <parameter>
  74. <parameterName value="@log_level"/>
  75. <dbType value="String"/>
  76. <size value="50"/>
  77. <layout type="log4net.Layout.PatternLayout" value="%level"/>
  78. </parameter>
  79. <parameter>
  80. <parameterName value="@logger"/>
  81. <dbType value="String"/>
  82. <size value="255"/>
  83. <layout type="log4net.Layout.PatternLayout" value="%logger"/>
  84. </parameter>
  85. <parameter>
  86. <parameterName value="@message"/>
  87. <dbType value="String"/>
  88. <size value="4000"/>
  89. <layout type="log4net.Layout.PatternLayout" value="%message"/>
  90. </parameter>
  91. </appender>
  92. </code>
  93. </example>
  94. <author>Julian Biddle</author>
  95. <author>Nicko Cadell</author>
  96. <author>Gert Driesen</author>
  97. <author>Lance Nehring</author>
  98. </member>
  99. <member name="T:log4net.Appender.BufferingAppenderSkeleton">
  100. <summary>
  101. Abstract base class implementation of <see cref="T:log4net.Appender.IAppender"/> that
  102. buffers events in a fixed size buffer.
  103. </summary>
  104. <remarks>
  105. <para>
  106. This base class should be used by appenders that need to buffer a
  107. number of events before logging them. For example the <see cref="T:log4net.Appender.AdoNetAppender"/>
  108. buffers events and then submits the entire contents of the buffer to
  109. the underlying database in one go.
  110. </para>
  111. <para>
  112. Subclasses should override the <see cref="M:SendBuffer(LoggingEvent[])"/>
  113. method to deliver the buffered events.
  114. </para>
  115. <para>The BufferingAppenderSkeleton maintains a fixed size cyclic
  116. buffer of events. The size of the buffer is set using
  117. the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> property.
  118. </para>
  119. <para>A <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> is used to inspect
  120. each event as it arrives in the appender. If the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/>
  121. triggers, then the current buffer is sent immediately
  122. (see <see cref="M:SendBuffer(LoggingEvent[])"/>). Otherwise the event
  123. is stored in the buffer. For example, an evaluator can be used to
  124. deliver the events immediately when an ERROR event arrives.
  125. </para>
  126. <para>
  127. The buffering appender can be configured in a <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> mode.
  128. By default the appender is NOT lossy. When the buffer is full all
  129. the buffered events are sent with <see cref="M:SendBuffer(LoggingEvent[])"/>.
  130. If the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> property is set to <c>true</c> then the
  131. buffer will not be sent when it is full, and new events arriving
  132. in the appender will overwrite the oldest event in the buffer.
  133. In lossy mode the buffer will only be sent when the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/>
  134. triggers. This can be useful behavior when you need to know about
  135. ERROR events but not about events with a lower level, configure an
  136. evaluator that will trigger when an ERROR event arrives, the whole
  137. buffer will be sent which gives a history of events leading up to
  138. the ERROR event.
  139. </para>
  140. </remarks>
  141. <author>Nicko Cadell</author>
  142. <author>Gert Driesen</author>
  143. </member>
  144. <member name="T:log4net.Appender.AppenderSkeleton">
  145. <summary>
  146. Abstract base class implementation of <see cref="T:log4net.Appender.IAppender"/>.
  147. </summary>
  148. <remarks>
  149. <para>
  150. This class provides the code for common functionality, such
  151. as support for threshold filtering and support for general filters.
  152. </para>
  153. <para>
  154. Appenders can also implement the <see cref="T:log4net.Core.IOptionHandler"/> interface. Therefore
  155. they would require that the <see cref="M:IOptionHandler.ActivateOptions()"/> method
  156. be called after the appenders properties have been configured.
  157. </para>
  158. </remarks>
  159. <author>Nicko Cadell</author>
  160. <author>Gert Driesen</author>
  161. </member>
  162. <member name="T:log4net.Appender.IAppender">
  163. <summary>
  164. Implement this interface for your own strategies for printing log statements.
  165. </summary>
  166. <remarks>
  167. <para>
  168. Implementors should consider extending the <see cref="T:log4net.Appender.AppenderSkeleton"/>
  169. class which provides a default implementation of this interface.
  170. </para>
  171. <para>
  172. Appenders can also implement the <see cref="T:log4net.Core.IOptionHandler"/> interface. Therefore
  173. they would require that the <see cref="M:IOptionHandler.ActivateOptions()"/> method
  174. be called after the appenders properties have been configured.
  175. </para>
  176. </remarks>
  177. <author>Nicko Cadell</author>
  178. <author>Gert Driesen</author>
  179. </member>
  180. <member name="M:log4net.Appender.IAppender.Close">
  181. <summary>
  182. Closes the appender and releases resources.
  183. </summary>
  184. <remarks>
  185. <para>
  186. Releases any resources allocated within the appender such as file handles,
  187. network connections, etc.
  188. </para>
  189. <para>
  190. It is a programming error to append to a closed appender.
  191. </para>
  192. </remarks>
  193. </member>
  194. <member name="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)">
  195. <summary>
  196. Log the logging event in Appender specific way.
  197. </summary>
  198. <param name="loggingEvent">The event to log</param>
  199. <remarks>
  200. <para>
  201. This method is called to log a message into this appender.
  202. </para>
  203. </remarks>
  204. </member>
  205. <member name="P:log4net.Appender.IAppender.Name">
  206. <summary>
  207. Gets or sets the name of this appender.
  208. </summary>
  209. <value>The name of the appender.</value>
  210. <remarks>
  211. <para>The name uniquely identifies the appender.</para>
  212. </remarks>
  213. </member>
  214. <member name="T:log4net.Appender.IBulkAppender">
  215. <summary>
  216. Interface for appenders that support bulk logging.
  217. </summary>
  218. <remarks>
  219. <para>
  220. This interface extends the <see cref="T:log4net.Appender.IAppender"/> interface to
  221. support bulk logging of <see cref="T:log4net.Core.LoggingEvent"/> objects. Appenders
  222. should only implement this interface if they can bulk log efficiently.
  223. </para>
  224. </remarks>
  225. <author>Nicko Cadell</author>
  226. </member>
  227. <member name="M:log4net.Appender.IBulkAppender.DoAppend(log4net.Core.LoggingEvent[])">
  228. <summary>
  229. Log the array of logging events in Appender specific way.
  230. </summary>
  231. <param name="loggingEvents">The events to log</param>
  232. <remarks>
  233. <para>
  234. This method is called to log an array of events into this appender.
  235. </para>
  236. </remarks>
  237. </member>
  238. <member name="T:log4net.Core.IOptionHandler">
  239. <summary>
  240. Interface used to delay activate a configured object.
  241. </summary>
  242. <remarks>
  243. <para>
  244. This allows an object to defer activation of its options until all
  245. options have been set. This is required for components which have
  246. related options that remain ambiguous until all are set.
  247. </para>
  248. <para>
  249. If a component implements this interface then the <see cref="M:log4net.Core.IOptionHandler.ActivateOptions"/> method
  250. must be called by the container after its all the configured properties have been set
  251. and before the component can be used.
  252. </para>
  253. </remarks>
  254. <author>Nicko Cadell</author>
  255. </member>
  256. <member name="M:log4net.Core.IOptionHandler.ActivateOptions">
  257. <summary>
  258. Activate the options that were previously set with calls to properties.
  259. </summary>
  260. <remarks>
  261. <para>
  262. This allows an object to defer activation of its options until all
  263. options have been set. This is required for components which have
  264. related options that remain ambiguous until all are set.
  265. </para>
  266. <para>
  267. If a component implements this interface then this method must be called
  268. after its properties have been set before the component can be used.
  269. </para>
  270. </remarks>
  271. </member>
  272. <member name="F:log4net.Appender.AppenderSkeleton.c_renderBufferSize">
  273. <summary>
  274. Initial buffer size
  275. </summary>
  276. </member>
  277. <member name="F:log4net.Appender.AppenderSkeleton.c_renderBufferMaxCapacity">
  278. <summary>
  279. Maximum buffer size before it is recycled
  280. </summary>
  281. </member>
  282. <member name="M:log4net.Appender.AppenderSkeleton.#ctor">
  283. <summary>
  284. Default constructor
  285. </summary>
  286. <remarks>
  287. <para>Empty default constructor</para>
  288. </remarks>
  289. </member>
  290. <member name="M:log4net.Appender.AppenderSkeleton.Finalize">
  291. <summary>
  292. Finalizes this appender by calling the implementation's
  293. <see cref="M:log4net.Appender.AppenderSkeleton.Close"/> method.
  294. </summary>
  295. <remarks>
  296. <para>
  297. If this appender has not been closed then the <c>Finalize</c> method
  298. will call <see cref="M:log4net.Appender.AppenderSkeleton.Close"/>.
  299. </para>
  300. </remarks>
  301. </member>
  302. <member name="M:log4net.Appender.AppenderSkeleton.ActivateOptions">
  303. <summary>
  304. Initialize the appender based on the options set
  305. </summary>
  306. <remarks>
  307. <para>
  308. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  309. activation scheme. The <see cref="M:log4net.Appender.AppenderSkeleton.ActivateOptions"/> method must
  310. be called on this object after the configuration properties have
  311. been set. Until <see cref="M:log4net.Appender.AppenderSkeleton.ActivateOptions"/> is called this
  312. object is in an undefined state and must not be used.
  313. </para>
  314. <para>
  315. If any of the configuration properties are modified then
  316. <see cref="M:log4net.Appender.AppenderSkeleton.ActivateOptions"/> must be called again.
  317. </para>
  318. </remarks>
  319. </member>
  320. <member name="M:log4net.Appender.AppenderSkeleton.Close">
  321. <summary>
  322. Closes the appender and release resources.
  323. </summary>
  324. <remarks>
  325. <para>
  326. Release any resources allocated within the appender such as file handles,
  327. network connections, etc.
  328. </para>
  329. <para>
  330. It is a programming error to append to a closed appender.
  331. </para>
  332. <para>
  333. This method cannot be overridden by subclasses. This method
  334. delegates the closing of the appender to the <see cref="M:log4net.Appender.AppenderSkeleton.OnClose"/>
  335. method which must be overridden in the subclass.
  336. </para>
  337. </remarks>
  338. </member>
  339. <member name="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)">
  340. <summary>
  341. Performs threshold checks and invokes filters before
  342. delegating actual logging to the subclasses specific
  343. <see cref="M:Append(LoggingEvent)"/> method.
  344. </summary>
  345. <param name="loggingEvent">The event to log.</param>
  346. <remarks>
  347. <para>
  348. This method cannot be overridden by derived classes. A
  349. derived class should override the <see cref="M:Append(LoggingEvent)"/> method
  350. which is called by this method.
  351. </para>
  352. <para>
  353. The implementation of this method is as follows:
  354. </para>
  355. <para>
  356. <list type="bullet">
  357. <item>
  358. <description>
  359. Checks that the severity of the <paramref name="loggingEvent"/>
  360. is greater than or equal to the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> of this
  361. appender.</description>
  362. </item>
  363. <item>
  364. <description>
  365. Checks that the <see cref="T:log4net.Filter.IFilter"/> chain accepts the
  366. <paramref name="loggingEvent"/>.
  367. </description>
  368. </item>
  369. <item>
  370. <description>
  371. Calls <see cref="M:PreAppendCheck()"/> and checks that
  372. it returns <c>true</c>.</description>
  373. </item>
  374. </list>
  375. </para>
  376. <para>
  377. If all of the above steps succeed then the <paramref name="loggingEvent"/>
  378. will be passed to the abstract <see cref="M:Append(LoggingEvent)"/> method.
  379. </para>
  380. </remarks>
  381. </member>
  382. <member name="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent[])">
  383. <summary>
  384. Performs threshold checks and invokes filters before
  385. delegating actual logging to the subclasses specific
  386. <see cref="M:Append(LoggingEvent[])"/> method.
  387. </summary>
  388. <param name="loggingEvents">The array of events to log.</param>
  389. <remarks>
  390. <para>
  391. This method cannot be overridden by derived classes. A
  392. derived class should override the <see cref="M:Append(LoggingEvent[])"/> method
  393. which is called by this method.
  394. </para>
  395. <para>
  396. The implementation of this method is as follows:
  397. </para>
  398. <para>
  399. <list type="bullet">
  400. <item>
  401. <description>
  402. Checks that the severity of the <paramref name="loggingEvents"/>
  403. is greater than or equal to the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> of this
  404. appender.</description>
  405. </item>
  406. <item>
  407. <description>
  408. Checks that the <see cref="T:log4net.Filter.IFilter"/> chain accepts the
  409. <paramref name="loggingEvents"/>.
  410. </description>
  411. </item>
  412. <item>
  413. <description>
  414. Calls <see cref="M:PreAppendCheck()"/> and checks that
  415. it returns <c>true</c>.</description>
  416. </item>
  417. </list>
  418. </para>
  419. <para>
  420. If all of the above steps succeed then the <paramref name="loggingEvents"/>
  421. will be passed to the <see cref="M:Append(LoggingEvent[])"/> method.
  422. </para>
  423. </remarks>
  424. </member>
  425. <member name="M:log4net.Appender.AppenderSkeleton.FilterEvent(log4net.Core.LoggingEvent)">
  426. <summary>
  427. Test if the logging event should we output by this appender
  428. </summary>
  429. <param name="loggingEvent">the event to test</param>
  430. <returns><c>true</c> if the event should be output, <c>false</c> if the event should be ignored</returns>
  431. <remarks>
  432. <para>
  433. This method checks the logging event against the threshold level set
  434. on this appender and also against the filters specified on this
  435. appender.
  436. </para>
  437. <para>
  438. The implementation of this method is as follows:
  439. </para>
  440. <para>
  441. <list type="bullet">
  442. <item>
  443. <description>
  444. Checks that the severity of the <paramref name="loggingEvent"/>
  445. is greater than or equal to the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> of this
  446. appender.</description>
  447. </item>
  448. <item>
  449. <description>
  450. Checks that the <see cref="T:log4net.Filter.IFilter"/> chain accepts the
  451. <paramref name="loggingEvent"/>.
  452. </description>
  453. </item>
  454. </list>
  455. </para>
  456. </remarks>
  457. </member>
  458. <member name="M:log4net.Appender.AppenderSkeleton.AddFilter(log4net.Filter.IFilter)">
  459. <summary>
  460. Adds a filter to the end of the filter chain.
  461. </summary>
  462. <param name="filter">the filter to add to this appender</param>
  463. <remarks>
  464. <para>
  465. The Filters are organized in a linked list.
  466. </para>
  467. <para>
  468. Setting this property causes the new filter to be pushed onto the
  469. back of the filter chain.
  470. </para>
  471. </remarks>
  472. </member>
  473. <member name="M:log4net.Appender.AppenderSkeleton.ClearFilters">
  474. <summary>
  475. Clears the filter list for this appender.
  476. </summary>
  477. <remarks>
  478. <para>
  479. Clears the filter list for this appender.
  480. </para>
  481. </remarks>
  482. </member>
  483. <member name="M:log4net.Appender.AppenderSkeleton.IsAsSevereAsThreshold(log4net.Core.Level)">
  484. <summary>
  485. Checks if the message level is below this appender's threshold.
  486. </summary>
  487. <param name="level"><see cref="T:log4net.Core.Level"/> to test against.</param>
  488. <remarks>
  489. <para>
  490. If there is no threshold set, then the return value is always <c>true</c>.
  491. </para>
  492. </remarks>
  493. <returns>
  494. <c>true</c> if the <paramref name="level"/> meets the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/>
  495. requirements of this appender.
  496. </returns>
  497. </member>
  498. <member name="M:log4net.Appender.AppenderSkeleton.OnClose">
  499. <summary>
  500. Is called when the appender is closed. Derived classes should override
  501. this method if resources need to be released.
  502. </summary>
  503. <remarks>
  504. <para>
  505. Releases any resources allocated within the appender such as file handles,
  506. network connections, etc.
  507. </para>
  508. <para>
  509. It is a programming error to append to a closed appender.
  510. </para>
  511. </remarks>
  512. </member>
  513. <member name="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)">
  514. <summary>
  515. Subclasses of <see cref="T:log4net.Appender.AppenderSkeleton"/> should implement this method
  516. to perform actual logging.
  517. </summary>
  518. <param name="loggingEvent">The event to append.</param>
  519. <remarks>
  520. <para>
  521. A subclass must implement this method to perform
  522. logging of the <paramref name="loggingEvent"/>.
  523. </para>
  524. <para>This method will be called by <see cref="M:DoAppend(LoggingEvent)"/>
  525. if all the conditions listed for that method are met.
  526. </para>
  527. <para>
  528. To restrict the logging of events in the appender
  529. override the <see cref="M:PreAppendCheck()"/> method.
  530. </para>
  531. </remarks>
  532. </member>
  533. <member name="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent[])">
  534. <summary>
  535. Append a bulk array of logging events.
  536. </summary>
  537. <param name="loggingEvents">the array of logging events</param>
  538. <remarks>
  539. <para>
  540. This base class implementation calls the <see cref="M:Append(LoggingEvent)"/>
  541. method for each element in the bulk array.
  542. </para>
  543. <para>
  544. A sub class that can better process a bulk array of events should
  545. override this method in addition to <see cref="M:Append(LoggingEvent)"/>.
  546. </para>
  547. </remarks>
  548. </member>
  549. <member name="M:log4net.Appender.AppenderSkeleton.PreAppendCheck">
  550. <summary>
  551. Called before <see cref="M:Append(LoggingEvent)"/> as a precondition.
  552. </summary>
  553. <remarks>
  554. <para>
  555. This method is called by <see cref="M:DoAppend(LoggingEvent)"/>
  556. before the call to the abstract <see cref="M:Append(LoggingEvent)"/> method.
  557. </para>
  558. <para>
  559. This method can be overridden in a subclass to extend the checks
  560. made before the event is passed to the <see cref="M:Append(LoggingEvent)"/> method.
  561. </para>
  562. <para>
  563. A subclass should ensure that they delegate this call to
  564. this base class if it is overridden.
  565. </para>
  566. </remarks>
  567. <returns><c>true</c> if the call to <see cref="M:Append(LoggingEvent)"/> should proceed.</returns>
  568. </member>
  569. <member name="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(log4net.Core.LoggingEvent)">
  570. <summary>
  571. Renders the <see cref="T:log4net.Core.LoggingEvent"/> to a string.
  572. </summary>
  573. <param name="loggingEvent">The event to render.</param>
  574. <returns>The event rendered as a string.</returns>
  575. <remarks>
  576. <para>
  577. Helper method to render a <see cref="T:log4net.Core.LoggingEvent"/> to
  578. a string. This appender must have a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/>
  579. set to render the <paramref name="loggingEvent"/> to
  580. a string.
  581. </para>
  582. <para>If there is exception data in the logging event and
  583. the layout does not process the exception, this method
  584. will append the exception text to the rendered string.
  585. </para>
  586. <para>
  587. Where possible use the alternative version of this method
  588. <see cref="M:RenderLoggingEvent(TextWriter,LoggingEvent)"/>.
  589. That method streams the rendering onto an existing Writer
  590. which can give better performance if the caller already has
  591. a <see cref="T:System.IO.TextWriter"/> open and ready for writing.
  592. </para>
  593. </remarks>
  594. </member>
  595. <member name="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  596. <summary>
  597. Renders the <see cref="T:log4net.Core.LoggingEvent"/> to a string.
  598. </summary>
  599. <param name="loggingEvent">The event to render.</param>
  600. <param name="writer">The TextWriter to write the formatted event to</param>
  601. <remarks>
  602. <para>
  603. Helper method to render a <see cref="T:log4net.Core.LoggingEvent"/> to
  604. a string. This appender must have a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/>
  605. set to render the <paramref name="loggingEvent"/> to
  606. a string.
  607. </para>
  608. <para>If there is exception data in the logging event and
  609. the layout does not process the exception, this method
  610. will append the exception text to the rendered string.
  611. </para>
  612. <para>
  613. Use this method in preference to <see cref="M:RenderLoggingEvent(LoggingEvent)"/>
  614. where possible. If, however, the caller needs to render the event
  615. to a string then <see cref="M:RenderLoggingEvent(LoggingEvent)"/> does
  616. provide an efficient mechanism for doing so.
  617. </para>
  618. </remarks>
  619. </member>
  620. <member name="F:log4net.Appender.AppenderSkeleton.m_layout">
  621. <summary>
  622. The layout of this appender.
  623. </summary>
  624. <remarks>
  625. See <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> for more information.
  626. </remarks>
  627. </member>
  628. <member name="F:log4net.Appender.AppenderSkeleton.m_name">
  629. <summary>
  630. The name of this appender.
  631. </summary>
  632. <remarks>
  633. See <see cref="P:log4net.Appender.AppenderSkeleton.Name"/> for more information.
  634. </remarks>
  635. </member>
  636. <member name="F:log4net.Appender.AppenderSkeleton.m_threshold">
  637. <summary>
  638. The level threshold of this appender.
  639. </summary>
  640. <remarks>
  641. <para>
  642. There is no level threshold filtering by default.
  643. </para>
  644. <para>
  645. See <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> for more information.
  646. </para>
  647. </remarks>
  648. </member>
  649. <member name="F:log4net.Appender.AppenderSkeleton.m_errorHandler">
  650. <summary>
  651. It is assumed and enforced that errorHandler is never null.
  652. </summary>
  653. <remarks>
  654. <para>
  655. It is assumed and enforced that errorHandler is never null.
  656. </para>
  657. <para>
  658. See <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/> for more information.
  659. </para>
  660. </remarks>
  661. </member>
  662. <member name="F:log4net.Appender.AppenderSkeleton.m_headFilter">
  663. <summary>
  664. The first filter in the filter chain.
  665. </summary>
  666. <remarks>
  667. <para>
  668. Set to <c>null</c> initially.
  669. </para>
  670. <para>
  671. See <see cref="T:log4net.Filter.IFilter"/> for more information.
  672. </para>
  673. </remarks>
  674. </member>
  675. <member name="F:log4net.Appender.AppenderSkeleton.m_tailFilter">
  676. <summary>
  677. The last filter in the filter chain.
  678. </summary>
  679. <remarks>
  680. See <see cref="T:log4net.Filter.IFilter"/> for more information.
  681. </remarks>
  682. </member>
  683. <member name="F:log4net.Appender.AppenderSkeleton.m_closed">
  684. <summary>
  685. Flag indicating if this appender is closed.
  686. </summary>
  687. <remarks>
  688. See <see cref="M:log4net.Appender.AppenderSkeleton.Close"/> for more information.
  689. </remarks>
  690. </member>
  691. <member name="F:log4net.Appender.AppenderSkeleton.m_recursiveGuard">
  692. <summary>
  693. The guard prevents an appender from repeatedly calling its own DoAppend method
  694. </summary>
  695. </member>
  696. <member name="F:log4net.Appender.AppenderSkeleton.m_renderWriter">
  697. <summary>
  698. StringWriter used to render events
  699. </summary>
  700. </member>
  701. <member name="F:log4net.Appender.AppenderSkeleton.declaringType">
  702. <summary>
  703. The fully qualified type of the AppenderSkeleton class.
  704. </summary>
  705. <remarks>
  706. Used by the internal logger to record the Type of the
  707. log message.
  708. </remarks>
  709. </member>
  710. <member name="P:log4net.Appender.AppenderSkeleton.Threshold">
  711. <summary>
  712. Gets or sets the threshold <see cref="T:log4net.Core.Level"/> of this appender.
  713. </summary>
  714. <value>
  715. The threshold <see cref="T:log4net.Core.Level"/> of the appender.
  716. </value>
  717. <remarks>
  718. <para>
  719. All log events with lower level than the threshold level are ignored
  720. by the appender.
  721. </para>
  722. <para>
  723. In configuration files this option is specified by setting the
  724. value of the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> option to a level
  725. string, such as "DEBUG", "INFO" and so on.
  726. </para>
  727. </remarks>
  728. </member>
  729. <member name="P:log4net.Appender.AppenderSkeleton.ErrorHandler">
  730. <summary>
  731. Gets or sets the <see cref="T:log4net.Core.IErrorHandler"/> for this appender.
  732. </summary>
  733. <value>The <see cref="T:log4net.Core.IErrorHandler"/> of the appender</value>
  734. <remarks>
  735. <para>
  736. The <see cref="T:log4net.Appender.AppenderSkeleton"/> provides a default
  737. implementation for the <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/> property.
  738. </para>
  739. </remarks>
  740. </member>
  741. <member name="P:log4net.Appender.AppenderSkeleton.FilterHead">
  742. <summary>
  743. The filter chain.
  744. </summary>
  745. <value>The head of the filter chain filter chain.</value>
  746. <remarks>
  747. <para>
  748. Returns the head Filter. The Filters are organized in a linked list
  749. and so all Filters on this Appender are available through the result.
  750. </para>
  751. </remarks>
  752. </member>
  753. <member name="P:log4net.Appender.AppenderSkeleton.Layout">
  754. <summary>
  755. Gets or sets the <see cref="T:log4net.Layout.ILayout"/> for this appender.
  756. </summary>
  757. <value>The layout of the appender.</value>
  758. <remarks>
  759. <para>
  760. See <see cref="P:log4net.Appender.AppenderSkeleton.RequiresLayout"/> for more information.
  761. </para>
  762. </remarks>
  763. <seealso cref="P:log4net.Appender.AppenderSkeleton.RequiresLayout"/>
  764. </member>
  765. <member name="P:log4net.Appender.AppenderSkeleton.Name">
  766. <summary>
  767. Gets or sets the name of this appender.
  768. </summary>
  769. <value>The name of the appender.</value>
  770. <remarks>
  771. <para>
  772. The name uniquely identifies the appender.
  773. </para>
  774. </remarks>
  775. </member>
  776. <member name="P:log4net.Appender.AppenderSkeleton.RequiresLayout">
  777. <summary>
  778. Tests if this appender requires a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> to be set.
  779. </summary>
  780. <remarks>
  781. <para>
  782. In the rather exceptional case, where the appender
  783. implementation admits a layout but can also work without it,
  784. then the appender should return <c>true</c>.
  785. </para>
  786. <para>
  787. This default implementation always returns <c>false</c>.
  788. </para>
  789. </remarks>
  790. <returns>
  791. <c>true</c> if the appender requires a layout object, otherwise <c>false</c>.
  792. </returns>
  793. </member>
  794. <member name="F:log4net.Appender.BufferingAppenderSkeleton.DEFAULT_BUFFER_SIZE">
  795. <summary>
  796. The default buffer size.
  797. </summary>
  798. <remarks>
  799. The default size of the cyclic buffer used to store events.
  800. This is set to 512 by default.
  801. </remarks>
  802. </member>
  803. <member name="M:log4net.Appender.BufferingAppenderSkeleton.#ctor">
  804. <summary>
  805. Initializes a new instance of the <see cref="T:log4net.Appender.BufferingAppenderSkeleton"/> class.
  806. </summary>
  807. <remarks>
  808. <para>
  809. Protected default constructor to allow subclassing.
  810. </para>
  811. </remarks>
  812. </member>
  813. <member name="M:log4net.Appender.BufferingAppenderSkeleton.#ctor(System.Boolean)">
  814. <summary>
  815. Initializes a new instance of the <see cref="T:log4net.Appender.BufferingAppenderSkeleton"/> class.
  816. </summary>
  817. <param name="eventMustBeFixed">the events passed through this appender must be
  818. fixed by the time that they arrive in the derived class' <c>SendBuffer</c> method.</param>
  819. <remarks>
  820. <para>
  821. Protected constructor to allow subclassing.
  822. </para>
  823. <para>
  824. The <paramref name="eventMustBeFixed"/> should be set if the subclass
  825. expects the events delivered to be fixed even if the
  826. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> is set to zero, i.e. when no buffering occurs.
  827. </para>
  828. </remarks>
  829. </member>
  830. <member name="M:log4net.Appender.BufferingAppenderSkeleton.Flush">
  831. <summary>
  832. Flush the currently buffered events
  833. </summary>
  834. <remarks>
  835. <para>
  836. Flushes any events that have been buffered.
  837. </para>
  838. <para>
  839. If the appender is buffering in <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> mode then the contents
  840. of the buffer will NOT be flushed to the appender.
  841. </para>
  842. </remarks>
  843. </member>
  844. <member name="M:log4net.Appender.BufferingAppenderSkeleton.Flush(System.Boolean)">
  845. <summary>
  846. Flush the currently buffered events
  847. </summary>
  848. <param name="flushLossyBuffer">set to <c>true</c> to flush the buffer of lossy events</param>
  849. <remarks>
  850. <para>
  851. Flushes events that have been buffered. If <paramref name="flushLossyBuffer"/> is
  852. <c>false</c> then events will only be flushed if this buffer is non-lossy mode.
  853. </para>
  854. <para>
  855. If the appender is buffering in <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> mode then the contents
  856. of the buffer will only be flushed if <paramref name="flushLossyBuffer"/> is <c>true</c>.
  857. In this case the contents of the buffer will be tested against the
  858. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.LossyEvaluator"/> and if triggering will be output. All other buffered
  859. events will be discarded.
  860. </para>
  861. <para>
  862. If <paramref name="flushLossyBuffer"/> is <c>true</c> then the buffer will always
  863. be emptied by calling this method.
  864. </para>
  865. </remarks>
  866. </member>
  867. <member name="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions">
  868. <summary>
  869. Initialize the appender based on the options set
  870. </summary>
  871. <remarks>
  872. <para>
  873. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  874. activation scheme. The <see cref="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions"/> method must
  875. be called on this object after the configuration properties have
  876. been set. Until <see cref="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions"/> is called this
  877. object is in an undefined state and must not be used.
  878. </para>
  879. <para>
  880. If any of the configuration properties are modified then
  881. <see cref="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions"/> must be called again.
  882. </para>
  883. </remarks>
  884. </member>
  885. <member name="M:log4net.Appender.BufferingAppenderSkeleton.OnClose">
  886. <summary>
  887. Close this appender instance.
  888. </summary>
  889. <remarks>
  890. <para>
  891. Close this appender instance. If this appender is marked
  892. as not <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> then the remaining events in
  893. the buffer must be sent when the appender is closed.
  894. </para>
  895. </remarks>
  896. </member>
  897. <member name="M:log4net.Appender.BufferingAppenderSkeleton.Append(log4net.Core.LoggingEvent)">
  898. <summary>
  899. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  900. </summary>
  901. <param name="loggingEvent">the event to log</param>
  902. <remarks>
  903. <para>
  904. Stores the <paramref name="loggingEvent"/> in the cyclic buffer.
  905. </para>
  906. <para>
  907. The buffer will be sent (i.e. passed to the <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>
  908. method) if one of the following conditions is met:
  909. </para>
  910. <list type="bullet">
  911. <item>
  912. <description>The cyclic buffer is full and this appender is
  913. marked as not lossy (see <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/>)</description>
  914. </item>
  915. <item>
  916. <description>An <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> is set and
  917. it is triggered for the <paramref name="loggingEvent"/>
  918. specified.</description>
  919. </item>
  920. </list>
  921. <para>
  922. Before the event is stored in the buffer it is fixed
  923. (see <see cref="M:LoggingEvent.FixVolatileData(FixFlags)"/>) to ensure that
  924. any data referenced by the event will be valid when the buffer
  925. is processed.
  926. </para>
  927. </remarks>
  928. </member>
  929. <member name="M:log4net.Appender.BufferingAppenderSkeleton.SendFromBuffer(log4net.Core.LoggingEvent,log4net.Util.CyclicBuffer)">
  930. <summary>
  931. Sends the contents of the buffer.
  932. </summary>
  933. <param name="firstLoggingEvent">The first logging event.</param>
  934. <param name="buffer">The buffer containing the events that need to be send.</param>
  935. <remarks>
  936. <para>
  937. The subclass must override <see cref="M:SendBuffer(LoggingEvent[])"/>.
  938. </para>
  939. </remarks>
  940. </member>
  941. <member name="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])">
  942. <summary>
  943. Sends the events.
  944. </summary>
  945. <param name="events">The events that need to be send.</param>
  946. <remarks>
  947. <para>
  948. The subclass must override this method to process the buffered events.
  949. </para>
  950. </remarks>
  951. </member>
  952. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_bufferSize">
  953. <summary>
  954. The size of the cyclic buffer used to hold the logging events.
  955. </summary>
  956. <remarks>
  957. Set to <see cref="F:log4net.Appender.BufferingAppenderSkeleton.DEFAULT_BUFFER_SIZE"/> by default.
  958. </remarks>
  959. </member>
  960. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_cb">
  961. <summary>
  962. The cyclic buffer used to store the logging events.
  963. </summary>
  964. </member>
  965. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_evaluator">
  966. <summary>
  967. The triggering event evaluator that causes the buffer to be sent immediately.
  968. </summary>
  969. <remarks>
  970. The object that is used to determine if an event causes the entire
  971. buffer to be sent immediately. This field can be <c>null</c>, which
  972. indicates that event triggering is not to be done. The evaluator
  973. can be set using the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> property. If this appender
  974. has the <see cref="F:log4net.Appender.BufferingAppenderSkeleton.m_lossy"/> (<see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> property) set to
  975. <c>true</c> then an <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must be set.
  976. </remarks>
  977. </member>
  978. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_lossy">
  979. <summary>
  980. Indicates if the appender should overwrite events in the cyclic buffer
  981. when it becomes full, or if the buffer should be flushed when the
  982. buffer is full.
  983. </summary>
  984. <remarks>
  985. If this field is set to <c>true</c> then an <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must
  986. be set.
  987. </remarks>
  988. </member>
  989. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_lossyEvaluator">
  990. <summary>
  991. The triggering event evaluator filters discarded events.
  992. </summary>
  993. <remarks>
  994. The object that is used to determine if an event that is discarded should
  995. really be discarded or if it should be sent to the appenders.
  996. This field can be <c>null</c>, which indicates that all discarded events will
  997. be discarded.
  998. </remarks>
  999. </member>
  1000. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_fixFlags">
  1001. <summary>
  1002. Value indicating which fields in the event should be fixed
  1003. </summary>
  1004. <remarks>
  1005. By default all fields are fixed
  1006. </remarks>
  1007. </member>
  1008. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_eventMustBeFixed">
  1009. <summary>
  1010. The events delivered to the subclass must be fixed.
  1011. </summary>
  1012. </member>
  1013. <member name="P:log4net.Appender.BufferingAppenderSkeleton.Lossy">
  1014. <summary>
  1015. Gets or sets a value that indicates whether the appender is lossy.
  1016. </summary>
  1017. <value>
  1018. <c>true</c> if the appender is lossy, otherwise <c>false</c>. The default is <c>false</c>.
  1019. </value>
  1020. <remarks>
  1021. <para>
  1022. This appender uses a buffer to store logging events before
  1023. delivering them. A triggering event causes the whole buffer
  1024. to be send to the remote sink. If the buffer overruns before
  1025. a triggering event then logging events could be lost. Set
  1026. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> to <c>false</c> to prevent logging events
  1027. from being lost.
  1028. </para>
  1029. <para>If <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> is set to <c>true</c> then an
  1030. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must be specified.</para>
  1031. </remarks>
  1032. </member>
  1033. <member name="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize">
  1034. <summary>
  1035. Gets or sets the size of the cyclic buffer used to hold the
  1036. logging events.
  1037. </summary>
  1038. <value>
  1039. The size of the cyclic buffer used to hold the logging events.
  1040. </value>
  1041. <remarks>
  1042. <para>
  1043. The <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> option takes a positive integer
  1044. representing the maximum number of logging events to collect in
  1045. a cyclic buffer. When the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> is reached,
  1046. oldest events are deleted as new events are added to the
  1047. buffer. By default the size of the cyclic buffer is 512 events.
  1048. </para>
  1049. <para>
  1050. If the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> is set to a value less than
  1051. or equal to 1 then no buffering will occur. The logging event
  1052. will be delivered synchronously (depending on the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/>
  1053. and <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> properties). Otherwise the event will
  1054. be buffered.
  1055. </para>
  1056. </remarks>
  1057. </member>
  1058. <member name="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator">
  1059. <summary>
  1060. Gets or sets the <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> that causes the
  1061. buffer to be sent immediately.
  1062. </summary>
  1063. <value>
  1064. The <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> that causes the buffer to be
  1065. sent immediately.
  1066. </value>
  1067. <remarks>
  1068. <para>
  1069. The evaluator will be called for each event that is appended to this
  1070. appender. If the evaluator triggers then the current buffer will
  1071. immediately be sent (see <see cref="M:SendBuffer(LoggingEvent[])"/>).
  1072. </para>
  1073. <para>If <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> is set to <c>true</c> then an
  1074. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must be specified.</para>
  1075. </remarks>
  1076. </member>
  1077. <member name="P:log4net.Appender.BufferingAppenderSkeleton.LossyEvaluator">
  1078. <summary>
  1079. Gets or sets the value of the <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> to use.
  1080. </summary>
  1081. <value>
  1082. The value of the <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> to use.
  1083. </value>
  1084. <remarks>
  1085. <para>
  1086. The evaluator will be called for each event that is discarded from this
  1087. appender. If the evaluator triggers then the current buffer will immediately
  1088. be sent (see <see cref="M:SendBuffer(LoggingEvent[])"/>).
  1089. </para>
  1090. </remarks>
  1091. </member>
  1092. <member name="P:log4net.Appender.BufferingAppenderSkeleton.OnlyFixPartialEventData">
  1093. <summary>
  1094. Gets or sets a value indicating if only part of the logging event data
  1095. should be fixed.
  1096. </summary>
  1097. <value>
  1098. <c>true</c> if the appender should only fix part of the logging event
  1099. data, otherwise <c>false</c>. The default is <c>false</c>.
  1100. </value>
  1101. <remarks>
  1102. <para>
  1103. Setting this property to <c>true</c> will cause only part of the
  1104. event data to be fixed and serialized. This will improve performance.
  1105. </para>
  1106. <para>
  1107. See <see cref="M:LoggingEvent.FixVolatileData(FixFlags)"/> for more information.
  1108. </para>
  1109. </remarks>
  1110. </member>
  1111. <member name="P:log4net.Appender.BufferingAppenderSkeleton.Fix">
  1112. <summary>
  1113. Gets or sets a the fields that will be fixed in the event
  1114. </summary>
  1115. <value>
  1116. The event fields that will be fixed before the event is buffered
  1117. </value>
  1118. <remarks>
  1119. <para>
  1120. The logging event needs to have certain thread specific values
  1121. captured before it can be buffered. See <see cref="P:log4net.Core.LoggingEvent.Fix"/>
  1122. for details.
  1123. </para>
  1124. </remarks>
  1125. <seealso cref="P:log4net.Core.LoggingEvent.Fix"/>
  1126. </member>
  1127. <member name="M:log4net.Appender.AdoNetAppender.#ctor">
  1128. <summary>
  1129. Initializes a new instance of the <see cref="T:log4net.Appender.AdoNetAppender"/> class.
  1130. </summary>
  1131. <remarks>
  1132. Public default constructor to initialize a new instance of this class.
  1133. </remarks>
  1134. </member>
  1135. <member name="M:log4net.Appender.AdoNetAppender.ActivateOptions">
  1136. <summary>
  1137. Initialize the appender based on the options set
  1138. </summary>
  1139. <remarks>
  1140. <para>
  1141. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  1142. activation scheme. The <see cref="M:log4net.Appender.AdoNetAppender.ActivateOptions"/> method must
  1143. be called on this object after the configuration properties have
  1144. been set. Until <see cref="M:log4net.Appender.AdoNetAppender.ActivateOptions"/> is called this
  1145. object is in an undefined state and must not be used.
  1146. </para>
  1147. <para>
  1148. If any of the configuration properties are modified then
  1149. <see cref="M:log4net.Appender.AdoNetAppender.ActivateOptions"/> must be called again.
  1150. </para>
  1151. </remarks>
  1152. </member>
  1153. <member name="M:log4net.Appender.AdoNetAppender.OnClose">
  1154. <summary>
  1155. Override the parent method to close the database
  1156. </summary>
  1157. <remarks>
  1158. <para>
  1159. Closes the database command and database connection.
  1160. </para>
  1161. </remarks>
  1162. </member>
  1163. <member name="M:log4net.Appender.AdoNetAppender.SendBuffer(log4net.Core.LoggingEvent[])">
  1164. <summary>
  1165. Inserts the events into the database.
  1166. </summary>
  1167. <param name="events">The events to insert into the database.</param>
  1168. <remarks>
  1169. <para>
  1170. Insert all the events specified in the <paramref name="events"/>
  1171. array into the database.
  1172. </para>
  1173. </remarks>
  1174. </member>
  1175. <member name="M:log4net.Appender.AdoNetAppender.AddParameter(log4net.Appender.AdoNetAppenderParameter)">
  1176. <summary>
  1177. Adds a parameter to the command.
  1178. </summary>
  1179. <param name="parameter">The parameter to add to the command.</param>
  1180. <remarks>
  1181. <para>
  1182. Adds a parameter to the ordered list of command parameters.
  1183. </para>
  1184. </remarks>
  1185. </member>
  1186. <member name="M:log4net.Appender.AdoNetAppender.SendBuffer(System.Data.IDbTransaction,log4net.Core.LoggingEvent[])">
  1187. <summary>
  1188. Writes the events to the database using the transaction specified.
  1189. </summary>
  1190. <param name="dbTran">The transaction that the events will be executed under.</param>
  1191. <param name="events">The array of events to insert into the database.</param>
  1192. <remarks>
  1193. <para>
  1194. The transaction argument can be <c>null</c> if the appender has been
  1195. configured not to use transactions. See <see cref="P:log4net.Appender.AdoNetAppender.UseTransactions"/>
  1196. property for more information.
  1197. </para>
  1198. </remarks>
  1199. </member>
  1200. <member name="M:log4net.Appender.AdoNetAppender.GetLogStatement(log4net.Core.LoggingEvent)">
  1201. <summary>
  1202. Formats the log message into database statement text.
  1203. </summary>
  1204. <param name="logEvent">The event being logged.</param>
  1205. <remarks>
  1206. This method can be overridden by subclasses to provide
  1207. more control over the format of the database statement.
  1208. </remarks>
  1209. <returns>
  1210. Text that can be passed to a <see cref="T:System.Data.IDbCommand"/>.
  1211. </returns>
  1212. </member>
  1213. <member name="M:log4net.Appender.AdoNetAppender.CreateConnection(System.Type,System.String)">
  1214. <summary>
  1215. Creates an <see cref="T:System.Data.IDbConnection"/> instance used to connect to the database.
  1216. </summary>
  1217. <remarks>
  1218. This method is called whenever a new IDbConnection is needed (i.e. when a reconnect is necessary).
  1219. </remarks>
  1220. <param name="connectionType">The <see cref="T:System.Type"/> of the <see cref="T:System.Data.IDbConnection"/> object.</param>
  1221. <param name="connectionString">The connectionString output from the ResolveConnectionString method.</param>
  1222. <returns>An <see cref="T:System.Data.IDbConnection"/> instance with a valid connection string.</returns>
  1223. </member>
  1224. <member name="M:log4net.Appender.AdoNetAppender.ResolveConnectionString(System.String@)">
  1225. <summary>
  1226. Resolves the connection string from the ConnectionString, ConnectionStringName, or AppSettingsKey
  1227. property.
  1228. </summary>
  1229. <remarks>
  1230. ConnectiongStringName is only supported on .NET 2.0 and higher.
  1231. </remarks>
  1232. <param name="connectionStringContext">Additional information describing the connection string.</param>
  1233. <returns>A connection string used to connect to the database.</returns>
  1234. </member>
  1235. <member name="M:log4net.Appender.AdoNetAppender.ResolveConnectionType">
  1236. <summary>
  1237. Retrieves the class type of the ADO.NET provider.
  1238. </summary>
  1239. <remarks>
  1240. <para>
  1241. Gets the Type of the ADO.NET provider to use to connect to the
  1242. database. This method resolves the type specified in the
  1243. <see cref="P:log4net.Appender.AdoNetAppender.ConnectionType"/> property.
  1244. </para>
  1245. <para>
  1246. Subclasses can override this method to return a different type
  1247. if necessary.
  1248. </para>
  1249. </remarks>
  1250. <returns>The <see cref="T:System.Type"/> of the ADO.NET provider</returns>
  1251. </member>
  1252. <member name="M:log4net.Appender.AdoNetAppender.InitializeDatabaseConnection">
  1253. <summary>
  1254. Connects to the database.
  1255. </summary>
  1256. </member>
  1257. <member name="M:log4net.Appender.AdoNetAppender.DiposeConnection">
  1258. <summary>
  1259. Cleanup the existing connection.
  1260. </summary>
  1261. <remarks>
  1262. Calls the IDbConnection's <see cref="M:System.Data.IDbConnection.Close"/> method.
  1263. </remarks>
  1264. </member>
  1265. <member name="F:log4net.Appender.AdoNetAppender.m_parameters">
  1266. <summary>
  1267. The list of <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> objects.
  1268. </summary>
  1269. <remarks>
  1270. <para>
  1271. The list of <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> objects.
  1272. </para>
  1273. </remarks>
  1274. </member>
  1275. <member name="F:log4net.Appender.AdoNetAppender.m_securityContext">
  1276. <summary>
  1277. The security context to use for privileged calls
  1278. </summary>
  1279. </member>
  1280. <member name="F:log4net.Appender.AdoNetAppender.m_dbConnection">
  1281. <summary>
  1282. The <see cref="T:System.Data.IDbConnection"/> that will be used
  1283. to insert logging events into a database.
  1284. </summary>
  1285. </member>
  1286. <member name="F:log4net.Appender.AdoNetAppender.m_connectionString">
  1287. <summary>
  1288. Database connection string.
  1289. </summary>
  1290. </member>
  1291. <member name="F:log4net.Appender.AdoNetAppender.m_appSettingsKey">
  1292. <summary>
  1293. The appSettings key from App.Config that contains the connection string.
  1294. </summary>
  1295. </member>
  1296. <member name="F:log4net.Appender.AdoNetAppender.m_connectionStringName">
  1297. <summary>
  1298. The connectionStrings key from App.Config that contains the connection string.
  1299. </summary>
  1300. </member>
  1301. <member name="F:log4net.Appender.AdoNetAppender.m_connectionType">
  1302. <summary>
  1303. String type name of the <see cref="T:System.Data.IDbConnection"/> type name.
  1304. </summary>
  1305. </member>
  1306. <member name="F:log4net.Appender.AdoNetAppender.m_commandText">
  1307. <summary>
  1308. The text of the command.
  1309. </summary>
  1310. </member>
  1311. <member name="F:log4net.Appender.AdoNetAppender.m_commandType">
  1312. <summary>
  1313. The command type.
  1314. </summary>
  1315. </member>
  1316. <member name="F:log4net.Appender.AdoNetAppender.m_useTransactions">
  1317. <summary>
  1318. Indicates whether to use transactions when writing to the database.
  1319. </summary>
  1320. </member>
  1321. <member name="F:log4net.Appender.AdoNetAppender.m_reconnectOnError">
  1322. <summary>
  1323. Indicates whether to reconnect when a connection is lost.
  1324. </summary>
  1325. </member>
  1326. <member name="F:log4net.Appender.AdoNetAppender.declaringType">
  1327. <summary>
  1328. The fully qualified type of the AdoNetAppender class.
  1329. </summary>
  1330. <remarks>
  1331. Used by the internal logger to record the Type of the
  1332. log message.
  1333. </remarks>
  1334. </member>
  1335. <member name="P:log4net.Appender.AdoNetAppender.ConnectionString">
  1336. <summary>
  1337. Gets or sets the database connection string that is used to connect to
  1338. the database.
  1339. </summary>
  1340. <value>
  1341. The database connection string used to connect to the database.
  1342. </value>
  1343. <remarks>
  1344. <para>
  1345. The connections string is specific to the connection type.
  1346. See <see cref="P:log4net.Appender.AdoNetAppender.ConnectionType"/> for more information.
  1347. </para>
  1348. </remarks>
  1349. <example>Connection string for MS Access via ODBC:
  1350. <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>
  1351. </example>
  1352. <example>Another connection string for MS Access via ODBC:
  1353. <code>"Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\Work\cvs_root\log4net-1.2\access.mdb;UID=;PWD=;"</code>
  1354. </example>
  1355. <example>Connection string for MS Access via OLE DB:
  1356. <code>"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Work\cvs_root\log4net-1.2\access.mdb;User Id=;Password=;"</code>
  1357. </example>
  1358. </member>
  1359. <member name="P:log4net.Appender.AdoNetAppender.AppSettingsKey">
  1360. <summary>
  1361. The appSettings key from App.Config that contains the connection string.
  1362. </summary>
  1363. </member>
  1364. <member name="P:log4net.Appender.AdoNetAppender.ConnectionStringName">
  1365. <summary>
  1366. The connectionStrings key from App.Config that contains the connection string.
  1367. </summary>
  1368. <remarks>
  1369. This property requires at least .NET 2.0.
  1370. </remarks>
  1371. </member>
  1372. <member name="P:log4net.Appender.AdoNetAppender.ConnectionType">
  1373. <summary>
  1374. Gets or sets the type name of the <see cref="T:System.Data.IDbConnection"/> connection
  1375. that should be created.
  1376. </summary>
  1377. <value>
  1378. The type name of the <see cref="T:System.Data.IDbConnection"/> connection.
  1379. </value>
  1380. <remarks>
  1381. <para>
  1382. The type name of the ADO.NET provider to use.
  1383. </para>
  1384. <para>
  1385. The default is to use the OLE DB provider.
  1386. </para>
  1387. </remarks>
  1388. <example>Use the OLE DB Provider. This is the default value.
  1389. <code>System.Data.OleDb.OleDbConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</code>
  1390. </example>
  1391. <example>Use the MS SQL Server Provider.
  1392. <code>System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</code>
  1393. </example>
  1394. <example>Use the ODBC Provider.
  1395. <code>Microsoft.Data.Odbc.OdbcConnection,Microsoft.Data.Odbc,version=1.0.3300.0,publicKeyToken=b77a5c561934e089,culture=neutral</code>
  1396. This is an optional package that you can download from
  1397. <a href="http://msdn.microsoft.com/downloads">http://msdn.microsoft.com/downloads</a>
  1398. search for <b>ODBC .NET Data Provider</b>.
  1399. </example>
  1400. <example>Use the Oracle Provider.
  1401. <code>System.Data.OracleClient.OracleConnection, System.Data.OracleClient, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</code>
  1402. This is an optional package that you can download from
  1403. <a href="http://msdn.microsoft.com/downloads">http://msdn.microsoft.com/downloads</a>
  1404. search for <b>.NET Managed Provider for Oracle</b>.
  1405. </example>
  1406. </member>
  1407. <member name="P:log4net.Appender.AdoNetAppender.CommandText">
  1408. <summary>
  1409. Gets or sets the command text that is used to insert logging events
  1410. into the database.
  1411. </summary>
  1412. <value>
  1413. The command text used to insert logging events into the database.
  1414. </value>
  1415. <remarks>
  1416. <para>
  1417. Either the text of the prepared statement or the
  1418. name of the stored procedure to execute to write into
  1419. the database.
  1420. </para>
  1421. <para>
  1422. The <see cref="P:log4net.Appender.AdoNetAppender.CommandType"/> property determines if
  1423. this text is a prepared statement or a stored procedure.
  1424. </para>
  1425. <para>
  1426. If this property is not set, the command text is retrieved by invoking
  1427. <see cref="M:log4net.Appender.AdoNetAppender.GetLogStatement(log4net.Core.LoggingEvent)"/>.
  1428. </para>
  1429. </remarks>
  1430. </member>
  1431. <member name="P:log4net.Appender.AdoNetAppender.CommandType">
  1432. <summary>
  1433. Gets or sets the command type to execute.
  1434. </summary>
  1435. <value>
  1436. The command type to execute.
  1437. </value>
  1438. <remarks>
  1439. <para>
  1440. This value may be either <see cref="F:System.Data.CommandType.Text"/> (<c>System.Data.CommandType.Text</c>) to specify
  1441. that the <see cref="P:log4net.Appender.AdoNetAppender.CommandText"/> is a prepared statement to execute,
  1442. or <see cref="F:System.Data.CommandType.StoredProcedure"/> (<c>System.Data.CommandType.StoredProcedure</c>) to specify that the
  1443. <see cref="P:log4net.Appender.AdoNetAppender.CommandText"/> property is the name of a stored procedure
  1444. to execute.
  1445. </para>
  1446. <para>
  1447. The default value is <see cref="F:System.Data.CommandType.Text"/> (<c>System.Data.CommandType.Text</c>).
  1448. </para>
  1449. </remarks>
  1450. </member>
  1451. <member name="P:log4net.Appender.AdoNetAppender.UseTransactions">
  1452. <summary>
  1453. Should transactions be used to insert logging events in the database.
  1454. </summary>
  1455. <value>
  1456. <c>true</c> if transactions should be used to insert logging events in
  1457. the database, otherwise <c>false</c>. The default value is <c>true</c>.
  1458. </value>
  1459. <remarks>
  1460. <para>
  1461. Gets or sets a value that indicates whether transactions should be used
  1462. to insert logging events in the database.
  1463. </para>
  1464. <para>
  1465. When set a single transaction will be used to insert the buffered events
  1466. into the database. Otherwise each event will be inserted without using
  1467. an explicit transaction.
  1468. </para>
  1469. </remarks>
  1470. </member>
  1471. <member name="P:log4net.Appender.AdoNetAppender.SecurityContext">
  1472. <summary>
  1473. Gets or sets the <see cref="P:log4net.Appender.AdoNetAppender.SecurityContext"/> used to call the NetSend method.
  1474. </summary>
  1475. <value>
  1476. The <see cref="P:log4net.Appender.AdoNetAppender.SecurityContext"/> used to call the NetSend method.
  1477. </value>
  1478. <remarks>
  1479. <para>
  1480. Unless a <see cref="P:log4net.Appender.AdoNetAppender.SecurityContext"/> specified here for this appender
  1481. the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
  1482. security context to use. The default behavior is to use the security context
  1483. of the current thread.
  1484. </para>
  1485. </remarks>
  1486. </member>
  1487. <member name="P:log4net.Appender.AdoNetAppender.ReconnectOnError">
  1488. <summary>
  1489. Should this appender try to reconnect to the database on error.
  1490. </summary>
  1491. <value>
  1492. <c>true</c> if the appender should try to reconnect to the database after an
  1493. error has occurred, otherwise <c>false</c>. The default value is <c>false</c>,
  1494. i.e. not to try to reconnect.
  1495. </value>
  1496. <remarks>
  1497. <para>
  1498. The default behaviour is for the appender not to try to reconnect to the
  1499. database if an error occurs. Subsequent logging events are discarded.
  1500. </para>
  1501. <para>
  1502. To force the appender to attempt to reconnect to the database set this
  1503. property to <c>true</c>.
  1504. </para>
  1505. <note>
  1506. When the appender attempts to connect to the database there may be a
  1507. delay of up to the connection timeout specified in the connection string.
  1508. This delay will block the calling application's thread.
  1509. Until the connection can be reestablished this potential delay may occur multiple times.
  1510. </note>
  1511. </remarks>
  1512. </member>
  1513. <member name="P:log4net.Appender.AdoNetAppender.Connection">
  1514. <summary>
  1515. Gets or sets the underlying <see cref="T:System.Data.IDbConnection"/>.
  1516. </summary>
  1517. <value>
  1518. The underlying <see cref="T:System.Data.IDbConnection"/>.
  1519. </value>
  1520. <remarks>
  1521. <see cref="T:log4net.Appender.AdoNetAppender"/> creates a <see cref="T:System.Data.IDbConnection"/> to insert
  1522. logging events into a database. Classes deriving from <see cref="T:log4net.Appender.AdoNetAppender"/>
  1523. can use this property to get or set this <see cref="T:System.Data.IDbConnection"/>. Use the
  1524. underlying <see cref="T:System.Data.IDbConnection"/> returned from <see cref="P:log4net.Appender.AdoNetAppender.Connection"/> if
  1525. you require access beyond that which <see cref="T:log4net.Appender.AdoNetAppender"/> provides.
  1526. </remarks>
  1527. </member>
  1528. <member name="T:log4net.Appender.AdoNetAppenderParameter">
  1529. <summary>
  1530. Parameter type used by the <see cref="T:log4net.Appender.AdoNetAppender"/>.
  1531. </summary>
  1532. <remarks>
  1533. <para>
  1534. This class provides the basic database parameter properties
  1535. as defined by the <see cref="T:System.Data.IDbDataParameter"/> interface.
  1536. </para>
  1537. <para>This type can be subclassed to provide database specific
  1538. functionality. The two methods that are called externally are
  1539. <see cref="M:log4net.Appender.AdoNetAppenderParameter.Prepare(System.Data.IDbCommand)"/> and <see cref="M:log4net.Appender.AdoNetAppenderParameter.FormatValue(System.Data.IDbCommand,log4net.Core.LoggingEvent)"/>.
  1540. </para>
  1541. </remarks>
  1542. </member>
  1543. <member name="M:log4net.Appender.AdoNetAppenderParameter.#ctor">
  1544. <summary>
  1545. Initializes a new instance of the <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> class.
  1546. </summary>
  1547. <remarks>
  1548. Default constructor for the AdoNetAppenderParameter class.
  1549. </remarks>
  1550. </member>
  1551. <member name="M:log4net.Appender.AdoNetAppenderParameter.Prepare(System.Data.IDbCommand)">
  1552. <summary>
  1553. Prepare the specified database command object.
  1554. </summary>
  1555. <param name="command">The command to prepare.</param>
  1556. <remarks>
  1557. <para>
  1558. Prepares the database command object by adding
  1559. this parameter to its collection of parameters.
  1560. </para>
  1561. </remarks>
  1562. </member>
  1563. <member name="M:log4net.Appender.AdoNetAppenderParameter.FormatValue(System.Data.IDbCommand,log4net.Core.LoggingEvent)">
  1564. <summary>
  1565. Renders the logging event and set the parameter value in the command.
  1566. </summary>
  1567. <param name="command">The command containing the parameter.</param>
  1568. <param name="loggingEvent">The event to be rendered.</param>
  1569. <remarks>
  1570. <para>
  1571. Renders the logging event using this parameters layout
  1572. object. Sets the value of the parameter on the command object.
  1573. </para>
  1574. </remarks>
  1575. </member>
  1576. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_parameterName">
  1577. <summary>
  1578. The name of this parameter.
  1579. </summary>
  1580. </member>
  1581. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_dbType">
  1582. <summary>
  1583. The database type for this parameter.
  1584. </summary>
  1585. </member>
  1586. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_inferType">
  1587. <summary>
  1588. Flag to infer type rather than use the DbType
  1589. </summary>
  1590. </member>
  1591. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_precision">
  1592. <summary>
  1593. The precision for this parameter.
  1594. </summary>
  1595. </member>
  1596. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_scale">
  1597. <summary>
  1598. The scale for this parameter.
  1599. </summary>
  1600. </member>
  1601. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_size">
  1602. <summary>
  1603. The size for this parameter.
  1604. </summary>
  1605. </member>
  1606. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_layout">
  1607. <summary>
  1608. The <see cref="T:log4net.Layout.IRawLayout"/> to use to render the
  1609. logging event into an object for this parameter.
  1610. </summary>
  1611. </member>
  1612. <member name="P:log4net.Appender.AdoNetAppenderParameter.ParameterName">
  1613. <summary>
  1614. Gets or sets the name of this parameter.
  1615. </summary>
  1616. <value>
  1617. The name of this parameter.
  1618. </value>
  1619. <remarks>
  1620. <para>
  1621. The name of this parameter. The parameter name
  1622. must match up to a named parameter to the SQL stored procedure
  1623. or prepared statement.
  1624. </para>
  1625. </remarks>
  1626. </member>
  1627. <member name="P:log4net.Appender.AdoNetAppenderParameter.DbType">
  1628. <summary>
  1629. Gets or sets the database type for this parameter.
  1630. </summary>
  1631. <value>
  1632. The database type for this parameter.
  1633. </value>
  1634. <remarks>
  1635. <para>
  1636. The database type for this parameter. This property should
  1637. be set to the database type from the <see cref="P:log4net.Appender.AdoNetAppenderParameter.DbType"/>
  1638. enumeration. See <see cref="P:System.Data.IDataParameter.DbType"/>.
  1639. </para>
  1640. <para>
  1641. This property is optional. If not specified the ADO.NET provider
  1642. will attempt to infer the type from the value.
  1643. </para>
  1644. </remarks>
  1645. <seealso cref="P:System.Data.IDataParameter.DbType"/>
  1646. </member>
  1647. <member name="P:log4net.Appender.AdoNetAppenderParameter.Precision">
  1648. <summary>
  1649. Gets or sets the precision for this parameter.
  1650. </summary>
  1651. <value>
  1652. The precision for this parameter.
  1653. </value>
  1654. <remarks>
  1655. <para>
  1656. The maximum number of digits used to represent the Value.
  1657. </para>
  1658. <para>
  1659. This property is optional. If not specified the ADO.NET provider
  1660. will attempt to infer the precision from the value.
  1661. </para>
  1662. </remarks>
  1663. <seealso cref="P:System.Data.IDbDataParameter.Precision"/>
  1664. </member>
  1665. <member name="P:log4net.Appender.AdoNetAppenderParameter.Scale">
  1666. <summary>
  1667. Gets or sets the scale for this parameter.
  1668. </summary>
  1669. <value>
  1670. The scale for this parameter.
  1671. </value>
  1672. <remarks>
  1673. <para>
  1674. The number of decimal places to which Value is resolved.
  1675. </para>
  1676. <para>
  1677. This property is optional. If not specified the ADO.NET provider
  1678. will attempt to infer the scale from the value.
  1679. </para>
  1680. </remarks>
  1681. <seealso cref="P:System.Data.IDbDataParameter.Scale"/>
  1682. </member>
  1683. <member name="P:log4net.Appender.AdoNetAppenderParameter.Size">
  1684. <summary>
  1685. Gets or sets the size for this parameter.
  1686. </summary>
  1687. <value>
  1688. The size for this parameter.
  1689. </value>
  1690. <remarks>
  1691. <para>
  1692. The maximum size, in bytes, of the data within the column.
  1693. </para>
  1694. <para>
  1695. This property is optional. If not specified the ADO.NET provider
  1696. will attempt to infer the size from the value.
  1697. </para>
  1698. <para>
  1699. For BLOB data types like VARCHAR(max) it may be impossible to infer the value automatically, use -1 as the size in this case.
  1700. </para>
  1701. </remarks>
  1702. <seealso cref="P:System.Data.IDbDataParameter.Size"/>
  1703. </member>
  1704. <member name="P:log4net.Appender.AdoNetAppenderParameter.Layout">
  1705. <summary>
  1706. Gets or sets the <see cref="T:log4net.Layout.IRawLayout"/> to use to
  1707. render the logging event into an object for this
  1708. parameter.
  1709. </summary>
  1710. <value>
  1711. The <see cref="T:log4net.Layout.IRawLayout"/> used to render the
  1712. logging event into an object for this parameter.
  1713. </value>
  1714. <remarks>
  1715. <para>
  1716. The <see cref="T:log4net.Layout.IRawLayout"/> that renders the value for this
  1717. parameter.
  1718. </para>
  1719. <para>
  1720. The <see cref="T:log4net.Layout.RawLayoutConverter"/> can be used to adapt
  1721. any <see cref="T:log4net.Layout.ILayout"/> into a <see cref="T:log4net.Layout.IRawLayout"/>
  1722. for use in the property.
  1723. </para>
  1724. </remarks>
  1725. </member>
  1726. <member name="T:log4net.Appender.AnsiColorTerminalAppender">
  1727. <summary>
  1728. Appends logging events to the terminal using ANSI color escape sequences.
  1729. </summary>
  1730. <remarks>
  1731. <para>
  1732. AnsiColorTerminalAppender appends log events to the standard output stream
  1733. or the error output stream using a layout specified by the
  1734. user. It also allows the color of a specific level of message to be set.
  1735. </para>
  1736. <note>
  1737. This appender expects the terminal to understand the VT100 control set
  1738. in order to interpret the color codes. If the terminal or console does not
  1739. understand the control codes the behavior is not defined.
  1740. </note>
  1741. <para>
  1742. By default, all output is written to the console's standard output stream.
  1743. The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> property can be set to direct the output to the
  1744. error stream.
  1745. </para>
  1746. <para>
  1747. NOTE: This appender writes each message to the <c>System.Console.Out</c> or
  1748. <c>System.Console.Error</c> that is set at the time the event is appended.
  1749. Therefore it is possible to programmatically redirect the output of this appender
  1750. (for example NUnit does this to capture program output). While this is the desired
  1751. behavior of this appender it may have security implications in your application.
  1752. </para>
  1753. <para>
  1754. When configuring the ANSI colored terminal appender, a mapping should be
  1755. specified to map a logging level to a color. For example:
  1756. </para>
  1757. <code lang="XML" escaped="true">
  1758. <mapping>
  1759. <level value="ERROR"/>
  1760. <foreColor value="White"/>
  1761. <backColor value="Red"/>
  1762. <attributes value="Bright,Underscore"/>
  1763. </mapping>
  1764. <mapping>
  1765. <level value="DEBUG"/>
  1766. <backColor value="Green"/>
  1767. </mapping>
  1768. </code>
  1769. <para>
  1770. The Level is the standard log4net logging level and ForeColor and BackColor can be any
  1771. of the following values:
  1772. <list type="bullet">
  1773. <item><term>Blue</term><description></description></item>
  1774. <item><term>Green</term><description></description></item>
  1775. <item><term>Red</term><description></description></item>
  1776. <item><term>White</term><description></description></item>
  1777. <item><term>Yellow</term><description></description></item>
  1778. <item><term>Purple</term><description></description></item>
  1779. <item><term>Cyan</term><description></description></item>
  1780. </list>
  1781. These color values cannot be combined together to make new colors.
  1782. </para>
  1783. <para>
  1784. The attributes can be any combination of the following:
  1785. <list type="bullet">
  1786. <item><term>Bright</term><description>foreground is brighter</description></item>
  1787. <item><term>Dim</term><description>foreground is dimmer</description></item>
  1788. <item><term>Underscore</term><description>message is underlined</description></item>
  1789. <item><term>Blink</term><description>foreground is blinking (does not work on all terminals)</description></item>
  1790. <item><term>Reverse</term><description>foreground and background are reversed</description></item>
  1791. <item><term>Hidden</term><description>output is hidden</description></item>
  1792. <item><term>Strikethrough</term><description>message has a line through it</description></item>
  1793. </list>
  1794. While any of these attributes may be combined together not all combinations
  1795. work well together, for example setting both <i>Bright</i> and <i>Dim</i> attributes makes
  1796. no sense.
  1797. </para>
  1798. </remarks>
  1799. <author>Patrick Wagstrom</author>
  1800. <author>Nicko Cadell</author>
  1801. </member>
  1802. <member name="F:log4net.Appender.AnsiColorTerminalAppender.ConsoleOut">
  1803. <summary>
  1804. The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console
  1805. standard output stream.
  1806. </summary>
  1807. <remarks>
  1808. <para>
  1809. The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console
  1810. standard output stream.
  1811. </para>
  1812. </remarks>
  1813. </member>
  1814. <member name="F:log4net.Appender.AnsiColorTerminalAppender.ConsoleError">
  1815. <summary>
  1816. The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console
  1817. standard error output stream.
  1818. </summary>
  1819. <remarks>
  1820. <para>
  1821. The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console
  1822. standard error output stream.
  1823. </para>
  1824. </remarks>
  1825. </member>
  1826. <member name="F:log4net.Appender.AnsiColorTerminalAppender.PostEventCodes">
  1827. <summary>
  1828. Ansi code to reset terminal
  1829. </summary>
  1830. </member>
  1831. <member name="M:log4net.Appender.AnsiColorTerminalAppender.#ctor">
  1832. <summary>
  1833. Initializes a new instance of the <see cref="T:log4net.Appender.AnsiColorTerminalAppender"/> class.
  1834. </summary>
  1835. <remarks>
  1836. The instance of the <see cref="T:log4net.Appender.AnsiColorTerminalAppender"/> class is set up to write
  1837. to the standard output stream.
  1838. </remarks>
  1839. </member>
  1840. <member name="M:log4net.Appender.AnsiColorTerminalAppender.AddMapping(log4net.Appender.AnsiColorTerminalAppender.LevelColors)">
  1841. <summary>
  1842. Add a mapping of level to color
  1843. </summary>
  1844. <param name="mapping">The mapping to add</param>
  1845. <remarks>
  1846. <para>
  1847. Add a <see cref="T:log4net.Appender.AnsiColorTerminalAppender.LevelColors"/> mapping to this appender.
  1848. Each mapping defines the foreground and background colours
  1849. for a level.
  1850. </para>
  1851. </remarks>
  1852. </member>
  1853. <member name="M:log4net.Appender.AnsiColorTerminalAppender.Append(log4net.Core.LoggingEvent)">
  1854. <summary>
  1855. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  1856. </summary>
  1857. <param name="loggingEvent">The event to log.</param>
  1858. <remarks>
  1859. <para>
  1860. Writes the event to the console.
  1861. </para>
  1862. <para>
  1863. The format of the output will depend on the appender's layout.
  1864. </para>
  1865. </remarks>
  1866. </member>
  1867. <member name="M:log4net.Appender.AnsiColorTerminalAppender.ActivateOptions">
  1868. <summary>
  1869. Initialize the options for this appender
  1870. </summary>
  1871. <remarks>
  1872. <para>
  1873. Initialize the level to color mappings set on this appender.
  1874. </para>
  1875. </remarks>
  1876. </member>
  1877. <member name="F:log4net.Appender.AnsiColorTerminalAppender.m_writeToErrorStream">
  1878. <summary>
  1879. Flag to write output to the error stream rather than the standard output stream
  1880. </summary>
  1881. </member>
  1882. <member name="F:log4net.Appender.AnsiColorTerminalAppender.m_levelMapping">
  1883. <summary>
  1884. Mapping from level object to color value
  1885. </summary>
  1886. </member>
  1887. <member name="P:log4net.Appender.AnsiColorTerminalAppender.Target">
  1888. <summary>
  1889. Target is the value of the console output stream.
  1890. </summary>
  1891. <value>
  1892. Target is the value of the console output stream.
  1893. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  1894. </value>
  1895. <remarks>
  1896. <para>
  1897. Target is the value of the console output stream.
  1898. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  1899. </para>
  1900. </remarks>
  1901. </member>
  1902. <member name="P:log4net.Appender.AnsiColorTerminalAppender.RequiresLayout">
  1903. <summary>
  1904. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  1905. </summary>
  1906. <value><c>true</c></value>
  1907. <remarks>
  1908. <para>
  1909. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  1910. </para>
  1911. </remarks>
  1912. </member>
  1913. <member name="T:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes">
  1914. <summary>
  1915. The enum of possible display attributes
  1916. </summary>
  1917. <remarks>
  1918. <para>
  1919. The following flags can be combined together to
  1920. form the ANSI color attributes.
  1921. </para>
  1922. </remarks>
  1923. <seealso cref="T:log4net.Appender.AnsiColorTerminalAppender"/>
  1924. </member>
  1925. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Bright">
  1926. <summary>
  1927. text is bright
  1928. </summary>
  1929. </member>
  1930. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Dim">
  1931. <summary>
  1932. text is dim
  1933. </summary>
  1934. </member>
  1935. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Underscore">
  1936. <summary>
  1937. text is underlined
  1938. </summary>
  1939. </member>
  1940. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Blink">
  1941. <summary>
  1942. text is blinking
  1943. </summary>
  1944. <remarks>
  1945. Not all terminals support this attribute
  1946. </remarks>
  1947. </member>
  1948. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Reverse">
  1949. <summary>
  1950. text and background colors are reversed
  1951. </summary>
  1952. </member>
  1953. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Hidden">
  1954. <summary>
  1955. text is hidden
  1956. </summary>
  1957. </member>
  1958. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Strikethrough">
  1959. <summary>
  1960. text is displayed with a strikethrough
  1961. </summary>
  1962. </member>
  1963. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Light">
  1964. <summary>
  1965. text color is light
  1966. </summary>
  1967. </member>
  1968. <member name="T:log4net.Appender.AnsiColorTerminalAppender.AnsiColor">
  1969. <summary>
  1970. The enum of possible foreground or background color values for
  1971. use with the color mapping method
  1972. </summary>
  1973. <remarks>
  1974. <para>
  1975. The output can be in one for the following ANSI colors.
  1976. </para>
  1977. </remarks>
  1978. <seealso cref="T:log4net.Appender.AnsiColorTerminalAppender"/>
  1979. </member>
  1980. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Black">
  1981. <summary>
  1982. color is black
  1983. </summary>
  1984. </member>
  1985. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Red">
  1986. <summary>
  1987. color is red
  1988. </summary>
  1989. </member>
  1990. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Green">
  1991. <summary>
  1992. color is green
  1993. </summary>
  1994. </member>
  1995. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Yellow">
  1996. <summary>
  1997. color is yellow
  1998. </summary>
  1999. </member>
  2000. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Blue">
  2001. <summary>
  2002. color is blue
  2003. </summary>
  2004. </member>
  2005. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Magenta">
  2006. <summary>
  2007. color is magenta
  2008. </summary>
  2009. </member>
  2010. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Cyan">
  2011. <summary>
  2012. color is cyan
  2013. </summary>
  2014. </member>
  2015. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.White">
  2016. <summary>
  2017. color is white
  2018. </summary>
  2019. </member>
  2020. <member name="T:log4net.Appender.AnsiColorTerminalAppender.LevelColors">
  2021. <summary>
  2022. A class to act as a mapping between the level that a logging call is made at and
  2023. the color it should be displayed as.
  2024. </summary>
  2025. <remarks>
  2026. <para>
  2027. Defines the mapping between a level and the color it should be displayed in.
  2028. </para>
  2029. </remarks>
  2030. </member>
  2031. <member name="T:log4net.Util.LevelMappingEntry">
  2032. <summary>
  2033. An entry in the <see cref="T:log4net.Util.LevelMapping"/>
  2034. </summary>
  2035. <remarks>
  2036. <para>
  2037. This is an abstract base class for types that are stored in the
  2038. <see cref="T:log4net.Util.LevelMapping"/> object.
  2039. </para>
  2040. </remarks>
  2041. <author>Nicko Cadell</author>
  2042. </member>
  2043. <member name="M:log4net.Util.LevelMappingEntry.#ctor">
  2044. <summary>
  2045. Default protected constructor
  2046. </summary>
  2047. <remarks>
  2048. <para>
  2049. Default protected constructor
  2050. </para>
  2051. </remarks>
  2052. </member>
  2053. <member name="M:log4net.Util.LevelMappingEntry.ActivateOptions">
  2054. <summary>
  2055. Initialize any options defined on this entry
  2056. </summary>
  2057. <remarks>
  2058. <para>
  2059. Should be overridden by any classes that need to initialise based on their options
  2060. </para>
  2061. </remarks>
  2062. </member>
  2063. <member name="P:log4net.Util.LevelMappingEntry.Level">
  2064. <summary>
  2065. The level that is the key for this mapping
  2066. </summary>
  2067. <value>
  2068. The <see cref="P:log4net.Util.LevelMappingEntry.Level"/> that is the key for this mapping
  2069. </value>
  2070. <remarks>
  2071. <para>
  2072. Get or set the <see cref="P:log4net.Util.LevelMappingEntry.Level"/> that is the key for this
  2073. mapping subclass.
  2074. </para>
  2075. </remarks>
  2076. </member>
  2077. <member name="M:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ActivateOptions">
  2078. <summary>
  2079. Initialize the options for the object
  2080. </summary>
  2081. <remarks>
  2082. <para>
  2083. Combine the <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor"/> and <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor"/> together
  2084. and append the attributes.
  2085. </para>
  2086. </remarks>
  2087. </member>
  2088. <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor">
  2089. <summary>
  2090. The mapped foreground color for the specified level
  2091. </summary>
  2092. <remarks>
  2093. <para>
  2094. Required property.
  2095. The mapped foreground color for the specified level
  2096. </para>
  2097. </remarks>
  2098. </member>
  2099. <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor">
  2100. <summary>
  2101. The mapped background color for the specified level
  2102. </summary>
  2103. <remarks>
  2104. <para>
  2105. Required property.
  2106. The mapped background color for the specified level
  2107. </para>
  2108. </remarks>
  2109. </member>
  2110. <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.Attributes">
  2111. <summary>
  2112. The color attributes for the specified level
  2113. </summary>
  2114. <remarks>
  2115. <para>
  2116. Required property.
  2117. The color attributes for the specified level
  2118. </para>
  2119. </remarks>
  2120. </member>
  2121. <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.CombinedColor">
  2122. <summary>
  2123. The combined <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor"/>, <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor"/> and
  2124. <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.Attributes"/> suitable for setting the ansi terminal color.
  2125. </summary>
  2126. </member>
  2127. <member name="T:log4net.Appender.AppenderCollection">
  2128. <summary>
  2129. A strongly-typed collection of <see cref="T:log4net.Appender.IAppender"/> objects.
  2130. </summary>
  2131. <author>Nicko Cadell</author>
  2132. </member>
  2133. <member name="M:log4net.Appender.AppenderCollection.ReadOnly(log4net.Appender.AppenderCollection)">
  2134. <summary>
  2135. Creates a read-only wrapper for a <c>AppenderCollection</c> instance.
  2136. </summary>
  2137. <param name="list">list to create a readonly wrapper arround</param>
  2138. <returns>
  2139. An <c>AppenderCollection</c> wrapper that is read-only.
  2140. </returns>
  2141. </member>
  2142. <member name="F:log4net.Appender.AppenderCollection.EmptyCollection">
  2143. <summary>
  2144. An empty readonly static AppenderCollection
  2145. </summary>
  2146. </member>
  2147. <member name="M:log4net.Appender.AppenderCollection.#ctor">
  2148. <summary>
  2149. Initializes a new instance of the <c>AppenderCollection</c> class
  2150. that is empty and has the default initial capacity.
  2151. </summary>
  2152. </member>
  2153. <member name="M:log4net.Appender.AppenderCollection.#ctor(System.Int32)">
  2154. <summary>
  2155. Initializes a new instance of the <c>AppenderCollection</c> class
  2156. that has the specified initial capacity.
  2157. </summary>
  2158. <param name="capacity">
  2159. The number of elements that the new <c>AppenderCollection</c> is initially capable of storing.
  2160. </param>
  2161. </member>
  2162. <member name="M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.AppenderCollection)">
  2163. <summary>
  2164. Initializes a new instance of the <c>AppenderCollection</c> class
  2165. that contains elements copied from the specified <c>AppenderCollection</c>.
  2166. </summary>
  2167. <param name="c">The <c>AppenderCollection</c> whose elements are copied to the new collection.</param>
  2168. </member>
  2169. <member name="M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.IAppender[])">
  2170. <summary>
  2171. Initializes a new instance of the <c>AppenderCollection</c> class
  2172. that contains elements copied from the specified <see cref="T:log4net.Appender.IAppender"/> array.
  2173. </summary>
  2174. <param name="a">The <see cref="T:log4net.Appender.IAppender"/> array whose elements are copied to the new list.</param>
  2175. </member>
  2176. <member name="M:log4net.Appender.AppenderCollection.#ctor(System.Collections.ICollection)">
  2177. <summary>
  2178. Initializes a new instance of the <c>AppenderCollection</c> class
  2179. that contains elements copied from the specified <see cref="T:log4net.Appender.IAppender"/> collection.
  2180. </summary>
  2181. <param name="col">The <see cref="T:log4net.Appender.IAppender"/> collection whose elements are copied to the new list.</param>
  2182. </member>
  2183. <member name="M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.AppenderCollection.Tag)">
  2184. <summary>
  2185. Allow subclasses to avoid our default constructors
  2186. </summary>
  2187. <param name="tag"></param>
  2188. <exclude/>
  2189. </member>
  2190. <member name="M:log4net.Appender.AppenderCollection.CopyTo(log4net.Appender.IAppender[])">
  2191. <summary>
  2192. Copies the entire <c>AppenderCollection</c> to a one-dimensional
  2193. <see cref="T:log4net.Appender.IAppender"/> array.
  2194. </summary>
  2195. <param name="array">The one-dimensional <see cref="T:log4net.Appender.IAppender"/> array to copy to.</param>
  2196. </member>
  2197. <member name="M:log4net.Appender.AppenderCollection.CopyTo(log4net.Appender.IAppender[],System.Int32)">
  2198. <summary>
  2199. Copies the entire <c>AppenderCollection</c> to a one-dimensional
  2200. <see cref="T:log4net.Appender.IAppender"/> array, starting at the specified index of the target array.
  2201. </summary>
  2202. <param name="array">The one-dimensional <see cref="T:log4net.Appender.IAppender"/> array to copy to.</param>
  2203. <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param>
  2204. </member>
  2205. <member name="M:log4net.Appender.AppenderCollection.Add(log4net.Appender.IAppender)">
  2206. <summary>
  2207. Adds a <see cref="T:log4net.Appender.IAppender"/> to the end of the <c>AppenderCollection</c>.
  2208. </summary>
  2209. <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to be added to the end of the <c>AppenderCollection</c>.</param>
  2210. <returns>The index at which the value has been added.</returns>
  2211. </member>
  2212. <member name="M:log4net.Appender.AppenderCollection.Clear">
  2213. <summary>
  2214. Removes all elements from the <c>AppenderCollection</c>.
  2215. </summary>
  2216. </member>
  2217. <member name="M:log4net.Appender.AppenderCollection.Clone">
  2218. <summary>
  2219. Creates a shallow copy of the <see cref="T:log4net.Appender.AppenderCollection"/>.
  2220. </summary>
  2221. <returns>A new <see cref="T:log4net.Appender.AppenderCollection"/> with a shallow copy of the collection data.</returns>
  2222. </member>
  2223. <member name="M:log4net.Appender.AppenderCollection.Contains(log4net.Appender.IAppender)">
  2224. <summary>
  2225. Determines whether a given <see cref="T:log4net.Appender.IAppender"/> is in the <c>AppenderCollection</c>.
  2226. </summary>
  2227. <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to check for.</param>
  2228. <returns><c>true</c> if <paramref name="item"/> is found in the <c>AppenderCollection</c>; otherwise, <c>false</c>.</returns>
  2229. </member>
  2230. <member name="M:log4net.Appender.AppenderCollection.IndexOf(log4net.Appender.IAppender)">
  2231. <summary>
  2232. Returns the zero-based index of the first occurrence of a <see cref="T:log4net.Appender.IAppender"/>
  2233. in the <c>AppenderCollection</c>.
  2234. </summary>
  2235. <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to locate in the <c>AppenderCollection</c>.</param>
  2236. <returns>
  2237. The zero-based index of the first occurrence of <paramref name="item"/>
  2238. in the entire <c>AppenderCollection</c>, if found; otherwise, -1.
  2239. </returns>
  2240. </member>
  2241. <member name="M:log4net.Appender.AppenderCollection.Insert(System.Int32,log4net.Appender.IAppender)">
  2242. <summary>
  2243. Inserts an element into the <c>AppenderCollection</c> at the specified index.
  2244. </summary>
  2245. <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
  2246. <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to insert.</param>
  2247. <exception cref="T:System.ArgumentOutOfRangeException">
  2248. <para><paramref name="index"/> is less than zero</para>
  2249. <para>-or-</para>
  2250. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
  2251. </exception>
  2252. </member>
  2253. <member name="M:log4net.Appender.AppenderCollection.Remove(log4net.Appender.IAppender)">
  2254. <summary>
  2255. Removes the first occurrence of a specific <see cref="T:log4net.Appender.IAppender"/> from the <c>AppenderCollection</c>.
  2256. </summary>
  2257. <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to remove from the <c>AppenderCollection</c>.</param>
  2258. <exception cref="T:System.ArgumentException">
  2259. The specified <see cref="T:log4net.Appender.IAppender"/> was not found in the <c>AppenderCollection</c>.
  2260. </exception>
  2261. </member>
  2262. <member name="M:log4net.Appender.AppenderCollection.RemoveAt(System.Int32)">
  2263. <summary>
  2264. Removes the element at the specified index of the <c>AppenderCollection</c>.
  2265. </summary>
  2266. <param name="index">The zero-based index of the element to remove.</param>
  2267. <exception cref="T:System.ArgumentOutOfRangeException">
  2268. <para><paramref name="index"/> is less than zero</para>
  2269. <para>-or-</para>
  2270. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
  2271. </exception>
  2272. </member>
  2273. <member name="M:log4net.Appender.AppenderCollection.GetEnumerator">
  2274. <summary>
  2275. Returns an enumerator that can iterate through the <c>AppenderCollection</c>.
  2276. </summary>
  2277. <returns>An <see cref="T:log4net.Appender.AppenderCollection.Enumerator"/> for the entire <c>AppenderCollection</c>.</returns>
  2278. </member>
  2279. <member name="M:log4net.Appender.AppenderCollection.AddRange(log4net.Appender.AppenderCollection)">
  2280. <summary>
  2281. Adds the elements of another <c>AppenderCollection</c> to the current <c>AppenderCollection</c>.
  2282. </summary>
  2283. <param name="x">The <c>AppenderCollection</c> whose elements should be added to the end of the current <c>AppenderCollection</c>.</param>
  2284. <returns>The new <see cref="P:log4net.Appender.AppenderCollection.Count"/> of the <c>AppenderCollection</c>.</returns>
  2285. </member>
  2286. <member name="M:log4net.Appender.AppenderCollection.AddRange(log4net.Appender.IAppender[])">
  2287. <summary>
  2288. Adds the elements of a <see cref="T:log4net.Appender.IAppender"/> array to the current <c>AppenderCollection</c>.
  2289. </summary>
  2290. <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>
  2291. <returns>The new <see cref="P:log4net.Appender.AppenderCollection.Count"/> of the <c>AppenderCollection</c>.</returns>
  2292. </member>
  2293. <member name="M:log4net.Appender.AppenderCollection.AddRange(System.Collections.ICollection)">
  2294. <summary>
  2295. Adds the elements of a <see cref="T:log4net.Appender.IAppender"/> collection to the current <c>AppenderCollection</c>.
  2296. </summary>
  2297. <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>
  2298. <returns>The new <see cref="P:log4net.Appender.AppenderCollection.Count"/> of the <c>AppenderCollection</c>.</returns>
  2299. </member>
  2300. <member name="M:log4net.Appender.AppenderCollection.TrimToSize">
  2301. <summary>
  2302. Sets the capacity to the actual number of elements.
  2303. </summary>
  2304. </member>
  2305. <member name="M:log4net.Appender.AppenderCollection.ToArray">
  2306. <summary>
  2307. Return the collection elements as an array
  2308. </summary>
  2309. <returns>the array</returns>
  2310. </member>
  2311. <member name="M:log4net.Appender.AppenderCollection.ValidateIndex(System.Int32)">
  2312. <exception cref="T:System.ArgumentOutOfRangeException">
  2313. <para><paramref name="i"/> is less than zero</para>
  2314. <para>-or-</para>
  2315. <para><paramref name="i"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
  2316. </exception>
  2317. </member>
  2318. <member name="M:log4net.Appender.AppenderCollection.ValidateIndex(System.Int32,System.Boolean)">
  2319. <exception cref="T:System.ArgumentOutOfRangeException">
  2320. <para><paramref name="i"/> is less than zero</para>
  2321. <para>-or-</para>
  2322. <para><paramref name="i"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
  2323. </exception>
  2324. </member>
  2325. <member name="P:log4net.Appender.AppenderCollection.Count">
  2326. <summary>
  2327. Gets the number of elements actually contained in the <c>AppenderCollection</c>.
  2328. </summary>
  2329. </member>
  2330. <member name="P:log4net.Appender.AppenderCollection.IsSynchronized">
  2331. <summary>
  2332. Gets a value indicating whether access to the collection is synchronized (thread-safe).
  2333. </summary>
  2334. <returns>true if access to the ICollection is synchronized (thread-safe); otherwise, false.</returns>
  2335. </member>
  2336. <member name="P:log4net.Appender.AppenderCollection.SyncRoot">
  2337. <summary>
  2338. Gets an object that can be used to synchronize access to the collection.
  2339. </summary>
  2340. </member>
  2341. <member name="P:log4net.Appender.AppenderCollection.Item(System.Int32)">
  2342. <summary>
  2343. Gets or sets the <see cref="T:log4net.Appender.IAppender"/> at the specified index.
  2344. </summary>
  2345. <param name="index">The zero-based index of the element to get or set.</param>
  2346. <exception cref="T:System.ArgumentOutOfRangeException">
  2347. <para><paramref name="index"/> is less than zero</para>
  2348. <para>-or-</para>
  2349. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
  2350. </exception>
  2351. </member>
  2352. <member name="P:log4net.Appender.AppenderCollection.IsFixedSize">
  2353. <summary>
  2354. Gets a value indicating whether the collection has a fixed size.
  2355. </summary>
  2356. <value>true if the collection has a fixed size; otherwise, false. The default is false</value>
  2357. </member>
  2358. <member name="P:log4net.Appender.AppenderCollection.IsReadOnly">
  2359. <summary>
  2360. Gets a value indicating whether the IList is read-only.
  2361. </summary>
  2362. <value>true if the collection is read-only; otherwise, false. The default is false</value>
  2363. </member>
  2364. <member name="P:log4net.Appender.AppenderCollection.Capacity">
  2365. <summary>
  2366. Gets or sets the number of elements the <c>AppenderCollection</c> can contain.
  2367. </summary>
  2368. </member>
  2369. <member name="T:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator">
  2370. <summary>
  2371. Supports type-safe iteration over a <see cref="T:log4net.Appender.AppenderCollection"/>.
  2372. </summary>
  2373. <exclude/>
  2374. </member>
  2375. <member name="M:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator.MoveNext">
  2376. <summary>
  2377. Advances the enumerator to the next element in the collection.
  2378. </summary>
  2379. <returns>
  2380. <c>true</c> if the enumerator was successfully advanced to the next element;
  2381. <c>false</c> if the enumerator has passed the end of the collection.
  2382. </returns>
  2383. <exception cref="T:System.InvalidOperationException">
  2384. The collection was modified after the enumerator was created.
  2385. </exception>
  2386. </member>
  2387. <member name="M:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator.Reset">
  2388. <summary>
  2389. Sets the enumerator to its initial position, before the first element in the collection.
  2390. </summary>
  2391. </member>
  2392. <member name="P:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator.Current">
  2393. <summary>
  2394. Gets the current element in the collection.
  2395. </summary>
  2396. </member>
  2397. <member name="T:log4net.Appender.AppenderCollection.Tag">
  2398. <summary>
  2399. Type visible only to our subclasses
  2400. Used to access protected constructor
  2401. </summary>
  2402. <exclude/>
  2403. </member>
  2404. <member name="F:log4net.Appender.AppenderCollection.Tag.Default">
  2405. <summary>
  2406. A value
  2407. </summary>
  2408. </member>
  2409. <member name="T:log4net.Appender.AppenderCollection.Enumerator">
  2410. <summary>
  2411. Supports simple iteration over a <see cref="T:log4net.Appender.AppenderCollection"/>.
  2412. </summary>
  2413. <exclude/>
  2414. </member>
  2415. <member name="M:log4net.Appender.AppenderCollection.Enumerator.#ctor(log4net.Appender.AppenderCollection)">
  2416. <summary>
  2417. Initializes a new instance of the <c>Enumerator</c> class.
  2418. </summary>
  2419. <param name="tc"></param>
  2420. </member>
  2421. <member name="M:log4net.Appender.AppenderCollection.Enumerator.MoveNext">
  2422. <summary>
  2423. Advances the enumerator to the next element in the collection.
  2424. </summary>
  2425. <returns>
  2426. <c>true</c> if the enumerator was successfully advanced to the next element;
  2427. <c>false</c> if the enumerator has passed the end of the collection.
  2428. </returns>
  2429. <exception cref="T:System.InvalidOperationException">
  2430. The collection was modified after the enumerator was created.
  2431. </exception>
  2432. </member>
  2433. <member name="M:log4net.Appender.AppenderCollection.Enumerator.Reset">
  2434. <summary>
  2435. Sets the enumerator to its initial position, before the first element in the collection.
  2436. </summary>
  2437. </member>
  2438. <member name="P:log4net.Appender.AppenderCollection.Enumerator.Current">
  2439. <summary>
  2440. Gets the current element in the collection.
  2441. </summary>
  2442. </member>
  2443. <member name="T:log4net.Appender.AppenderCollection.ReadOnlyAppenderCollection">
  2444. <exclude/>
  2445. </member>
  2446. <member name="T:log4net.Appender.BufferingForwardingAppender">
  2447. <summary>
  2448. Buffers events and then forwards them to attached appenders.
  2449. </summary>
  2450. <remarks>
  2451. <para>
  2452. The events are buffered in this appender until conditions are
  2453. met to allow the appender to deliver the events to the attached
  2454. appenders. See <see cref="T:log4net.Appender.BufferingAppenderSkeleton"/> for the
  2455. conditions that cause the buffer to be sent.
  2456. </para>
  2457. <para>The forwarding appender can be used to specify different
  2458. thresholds and filters for the same appender at different locations
  2459. within the hierarchy.
  2460. </para>
  2461. </remarks>
  2462. <author>Nicko Cadell</author>
  2463. <author>Gert Driesen</author>
  2464. </member>
  2465. <member name="T:log4net.Core.IAppenderAttachable">
  2466. <summary>
  2467. Interface for attaching appenders to objects.
  2468. </summary>
  2469. <remarks>
  2470. <para>
  2471. Interface for attaching, removing and retrieving appenders.
  2472. </para>
  2473. </remarks>
  2474. <author>Nicko Cadell</author>
  2475. <author>Gert Driesen</author>
  2476. </member>
  2477. <member name="M:log4net.Core.IAppenderAttachable.AddAppender(log4net.Appender.IAppender)">
  2478. <summary>
  2479. Attaches an appender.
  2480. </summary>
  2481. <param name="appender">The appender to add.</param>
  2482. <remarks>
  2483. <para>
  2484. Add the specified appender. The implementation may
  2485. choose to allow or deny duplicate appenders.
  2486. </para>
  2487. </remarks>
  2488. </member>
  2489. <member name="M:log4net.Core.IAppenderAttachable.GetAppender(System.String)">
  2490. <summary>
  2491. Gets an attached appender with the specified name.
  2492. </summary>
  2493. <param name="name">The name of the appender to get.</param>
  2494. <returns>
  2495. The appender with the name specified, or <c>null</c> if no appender with the
  2496. specified name is found.
  2497. </returns>
  2498. <remarks>
  2499. <para>
  2500. Returns an attached appender with the <paramref name="name"/> specified.
  2501. If no appender with the specified name is found <c>null</c> will be
  2502. returned.
  2503. </para>
  2504. </remarks>
  2505. </member>
  2506. <member name="M:log4net.Core.IAppenderAttachable.RemoveAllAppenders">
  2507. <summary>
  2508. Removes all attached appenders.
  2509. </summary>
  2510. <remarks>
  2511. <para>
  2512. Removes and closes all attached appenders
  2513. </para>
  2514. </remarks>
  2515. </member>
  2516. <member name="M:log4net.Core.IAppenderAttachable.RemoveAppender(log4net.Appender.IAppender)">
  2517. <summary>
  2518. Removes the specified appender from the list of attached appenders.
  2519. </summary>
  2520. <param name="appender">The appender to remove.</param>
  2521. <returns>The appender removed from the list</returns>
  2522. <remarks>
  2523. <para>
  2524. The appender removed is not closed.
  2525. If you are discarding the appender you must call
  2526. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  2527. </para>
  2528. </remarks>
  2529. </member>
  2530. <member name="M:log4net.Core.IAppenderAttachable.RemoveAppender(System.String)">
  2531. <summary>
  2532. Removes the appender with the specified name from the list of appenders.
  2533. </summary>
  2534. <param name="name">The name of the appender to remove.</param>
  2535. <returns>The appender removed from the list</returns>
  2536. <remarks>
  2537. <para>
  2538. The appender removed is not closed.
  2539. If you are discarding the appender you must call
  2540. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  2541. </para>
  2542. </remarks>
  2543. </member>
  2544. <member name="P:log4net.Core.IAppenderAttachable.Appenders">
  2545. <summary>
  2546. Gets all attached appenders.
  2547. </summary>
  2548. <value>
  2549. A collection of attached appenders.
  2550. </value>
  2551. <remarks>
  2552. <para>
  2553. Gets a collection of attached appenders.
  2554. If there are no attached appenders the
  2555. implementation should return an empty
  2556. collection rather than <c>null</c>.
  2557. </para>
  2558. </remarks>
  2559. </member>
  2560. <member name="M:log4net.Appender.BufferingForwardingAppender.#ctor">
  2561. <summary>
  2562. Initializes a new instance of the <see cref="T:log4net.Appender.BufferingForwardingAppender"/> class.
  2563. </summary>
  2564. <remarks>
  2565. <para>
  2566. Default constructor.
  2567. </para>
  2568. </remarks>
  2569. </member>
  2570. <member name="M:log4net.Appender.BufferingForwardingAppender.OnClose">
  2571. <summary>
  2572. Closes the appender and releases resources.
  2573. </summary>
  2574. <remarks>
  2575. <para>
  2576. Releases any resources allocated within the appender such as file handles,
  2577. network connections, etc.
  2578. </para>
  2579. <para>
  2580. It is a programming error to append to a closed appender.
  2581. </para>
  2582. </remarks>
  2583. </member>
  2584. <member name="M:log4net.Appender.BufferingForwardingAppender.SendBuffer(log4net.Core.LoggingEvent[])">
  2585. <summary>
  2586. Send the events.
  2587. </summary>
  2588. <param name="events">The events that need to be send.</param>
  2589. <remarks>
  2590. <para>
  2591. Forwards the events to the attached appenders.
  2592. </para>
  2593. </remarks>
  2594. </member>
  2595. <member name="M:log4net.Appender.BufferingForwardingAppender.AddAppender(log4net.Appender.IAppender)">
  2596. <summary>
  2597. Adds an <see cref="T:log4net.Appender.IAppender"/> to the list of appenders of this
  2598. instance.
  2599. </summary>
  2600. <param name="newAppender">The <see cref="T:log4net.Appender.IAppender"/> to add to this appender.</param>
  2601. <remarks>
  2602. <para>
  2603. If the specified <see cref="T:log4net.Appender.IAppender"/> is already in the list of
  2604. appenders, then it won't be added again.
  2605. </para>
  2606. </remarks>
  2607. </member>
  2608. <member name="M:log4net.Appender.BufferingForwardingAppender.GetAppender(System.String)">
  2609. <summary>
  2610. Looks for the appender with the specified name.
  2611. </summary>
  2612. <param name="name">The name of the appender to lookup.</param>
  2613. <returns>
  2614. The appender with the specified name, or <c>null</c>.
  2615. </returns>
  2616. <remarks>
  2617. <para>
  2618. Get the named appender attached to this buffering appender.
  2619. </para>
  2620. </remarks>
  2621. </member>
  2622. <member name="M:log4net.Appender.BufferingForwardingAppender.RemoveAllAppenders">
  2623. <summary>
  2624. Removes all previously added appenders from this appender.
  2625. </summary>
  2626. <remarks>
  2627. <para>
  2628. This is useful when re-reading configuration information.
  2629. </para>
  2630. </remarks>
  2631. </member>
  2632. <member name="M:log4net.Appender.BufferingForwardingAppender.RemoveAppender(log4net.Appender.IAppender)">
  2633. <summary>
  2634. Removes the specified appender from the list of appenders.
  2635. </summary>
  2636. <param name="appender">The appender to remove.</param>
  2637. <returns>The appender removed from the list</returns>
  2638. <remarks>
  2639. The appender removed is not closed.
  2640. If you are discarding the appender you must call
  2641. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  2642. </remarks>
  2643. </member>
  2644. <member name="M:log4net.Appender.BufferingForwardingAppender.RemoveAppender(System.String)">
  2645. <summary>
  2646. Removes the appender with the specified name from the list of appenders.
  2647. </summary>
  2648. <param name="name">The name of the appender to remove.</param>
  2649. <returns>The appender removed from the list</returns>
  2650. <remarks>
  2651. The appender removed is not closed.
  2652. If you are discarding the appender you must call
  2653. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  2654. </remarks>
  2655. </member>
  2656. <member name="F:log4net.Appender.BufferingForwardingAppender.m_appenderAttachedImpl">
  2657. <summary>
  2658. Implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
  2659. </summary>
  2660. </member>
  2661. <member name="P:log4net.Appender.BufferingForwardingAppender.Appenders">
  2662. <summary>
  2663. Gets the appenders contained in this appender as an
  2664. <see cref="T:System.Collections.ICollection"/>.
  2665. </summary>
  2666. <remarks>
  2667. If no appenders can be found, then an <see cref="T:log4net.Util.EmptyCollection"/>
  2668. is returned.
  2669. </remarks>
  2670. <returns>
  2671. A collection of the appenders in this appender.
  2672. </returns>
  2673. </member>
  2674. <member name="T:log4net.Appender.ColoredConsoleAppender">
  2675. <summary>
  2676. Appends logging events to the console.
  2677. </summary>
  2678. <remarks>
  2679. <para>
  2680. ColoredConsoleAppender appends log events to the standard output stream
  2681. or the error output stream using a layout specified by the
  2682. user. It also allows the color of a specific type of message to be set.
  2683. </para>
  2684. <para>
  2685. By default, all output is written to the console's standard output stream.
  2686. The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> property can be set to direct the output to the
  2687. error stream.
  2688. </para>
  2689. <para>
  2690. NOTE: This appender writes directly to the application's attached console
  2691. not to the <c>System.Console.Out</c> or <c>System.Console.Error</c> <c>TextWriter</c>.
  2692. The <c>System.Console.Out</c> and <c>System.Console.Error</c> streams can be
  2693. programmatically redirected (for example NUnit does this to capture program output).
  2694. This appender will ignore these redirections because it needs to use Win32
  2695. API calls to colorize the output. To respect these redirections the <see cref="T:log4net.Appender.ConsoleAppender"/>
  2696. must be used.
  2697. </para>
  2698. <para>
  2699. When configuring the colored console appender, mapping should be
  2700. specified to map a logging level to a color. For example:
  2701. </para>
  2702. <code lang="XML" escaped="true">
  2703. <mapping>
  2704. <level value="ERROR"/>
  2705. <foreColor value="White"/>
  2706. <backColor value="Red, HighIntensity"/>
  2707. </mapping>
  2708. <mapping>
  2709. <level value="DEBUG"/>
  2710. <backColor value="Green"/>
  2711. </mapping>
  2712. </code>
  2713. <para>
  2714. The Level is the standard log4net logging level and ForeColor and BackColor can be any
  2715. combination of the following values:
  2716. <list type="bullet">
  2717. <item><term>Blue</term><description></description></item>
  2718. <item><term>Green</term><description></description></item>
  2719. <item><term>Red</term><description></description></item>
  2720. <item><term>White</term><description></description></item>
  2721. <item><term>Yellow</term><description></description></item>
  2722. <item><term>Purple</term><description></description></item>
  2723. <item><term>Cyan</term><description></description></item>
  2724. <item><term>HighIntensity</term><description></description></item>
  2725. </list>
  2726. </para>
  2727. </remarks>
  2728. <author>Rick Hobbs</author>
  2729. <author>Nicko Cadell</author>
  2730. </member>
  2731. <member name="F:log4net.Appender.ColoredConsoleAppender.ConsoleOut">
  2732. <summary>
  2733. The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console
  2734. standard output stream.
  2735. </summary>
  2736. <remarks>
  2737. <para>
  2738. The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console
  2739. standard output stream.
  2740. </para>
  2741. </remarks>
  2742. </member>
  2743. <member name="F:log4net.Appender.ColoredConsoleAppender.ConsoleError">
  2744. <summary>
  2745. The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console
  2746. standard error output stream.
  2747. </summary>
  2748. <remarks>
  2749. <para>
  2750. The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console
  2751. standard error output stream.
  2752. </para>
  2753. </remarks>
  2754. </member>
  2755. <member name="M:log4net.Appender.ColoredConsoleAppender.#ctor">
  2756. <summary>
  2757. Initializes a new instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class.
  2758. </summary>
  2759. <remarks>
  2760. The instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class is set up to write
  2761. to the standard output stream.
  2762. </remarks>
  2763. </member>
  2764. <member name="M:log4net.Appender.ColoredConsoleAppender.#ctor(log4net.Layout.ILayout)">
  2765. <summary>
  2766. Initializes a new instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class
  2767. with the specified layout.
  2768. </summary>
  2769. <param name="layout">the layout to use for this appender</param>
  2770. <remarks>
  2771. The instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class is set up to write
  2772. to the standard output stream.
  2773. </remarks>
  2774. </member>
  2775. <member name="M:log4net.Appender.ColoredConsoleAppender.#ctor(log4net.Layout.ILayout,System.Boolean)">
  2776. <summary>
  2777. Initializes a new instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class
  2778. with the specified layout.
  2779. </summary>
  2780. <param name="layout">the layout to use for this appender</param>
  2781. <param name="writeToErrorStream">flag set to <c>true</c> to write to the console error stream</param>
  2782. <remarks>
  2783. When <paramref name="writeToErrorStream"/> is set to <c>true</c>, output is written to
  2784. the standard error output stream. Otherwise, output is written to the standard
  2785. output stream.
  2786. </remarks>
  2787. </member>
  2788. <member name="M:log4net.Appender.ColoredConsoleAppender.AddMapping(log4net.Appender.ColoredConsoleAppender.LevelColors)">
  2789. <summary>
  2790. Add a mapping of level to color - done by the config file
  2791. </summary>
  2792. <param name="mapping">The mapping to add</param>
  2793. <remarks>
  2794. <para>
  2795. Add a <see cref="T:log4net.Appender.ColoredConsoleAppender.LevelColors"/> mapping to this appender.
  2796. Each mapping defines the foreground and background colors
  2797. for a level.
  2798. </para>
  2799. </remarks>
  2800. </member>
  2801. <member name="M:log4net.Appender.ColoredConsoleAppender.Append(log4net.Core.LoggingEvent)">
  2802. <summary>
  2803. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
  2804. </summary>
  2805. <param name="loggingEvent">The event to log.</param>
  2806. <remarks>
  2807. <para>
  2808. Writes the event to the console.
  2809. </para>
  2810. <para>
  2811. The format of the output will depend on the appender's layout.
  2812. </para>
  2813. </remarks>
  2814. </member>
  2815. <member name="M:log4net.Appender.ColoredConsoleAppender.ActivateOptions">
  2816. <summary>
  2817. Initialize the options for this appender
  2818. </summary>
  2819. <remarks>
  2820. <para>
  2821. Initialize the level to color mappings set on this appender.
  2822. </para>
  2823. </remarks>
  2824. </member>
  2825. <member name="F:log4net.Appender.ColoredConsoleAppender.m_writeToErrorStream">
  2826. <summary>
  2827. Flag to write output to the error stream rather than the standard output stream
  2828. </summary>
  2829. </member>
  2830. <member name="F:log4net.Appender.ColoredConsoleAppender.m_levelMapping">
  2831. <summary>
  2832. Mapping from level object to color value
  2833. </summary>
  2834. </member>
  2835. <member name="F:log4net.Appender.ColoredConsoleAppender.m_consoleOutputWriter">
  2836. <summary>
  2837. The console output stream writer to write to
  2838. </summary>
  2839. <remarks>
  2840. <para>
  2841. This writer is not thread safe.
  2842. </para>
  2843. </remarks>
  2844. </member>
  2845. <member name="P:log4net.Appender.ColoredConsoleAppender.Target">
  2846. <summary>
  2847. Target is the value of the console output stream.
  2848. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  2849. </summary>
  2850. <value>
  2851. Target is the value of the console output stream.
  2852. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  2853. </value>
  2854. <remarks>
  2855. <para>
  2856. Target is the value of the console output stream.
  2857. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  2858. </para>
  2859. </remarks>
  2860. </member>
  2861. <member name="P:log4net.Appender.ColoredConsoleAppender.RequiresLayout">
  2862. <summary>
  2863. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  2864. </summary>
  2865. <value><c>true</c></value>
  2866. <remarks>
  2867. <para>
  2868. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  2869. </para>
  2870. </remarks>
  2871. </member>
  2872. <member name="T:log4net.Appender.ColoredConsoleAppender.Colors">
  2873. <summary>
  2874. The enum of possible color values for use with the color mapping method
  2875. </summary>
  2876. <remarks>
  2877. <para>
  2878. The following flags can be combined together to
  2879. form the colors.
  2880. </para>
  2881. </remarks>
  2882. <seealso cref="T:log4net.Appender.ColoredConsoleAppender"/>
  2883. </member>
  2884. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Blue">
  2885. <summary>
  2886. color is blue
  2887. </summary>
  2888. </member>
  2889. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Green">
  2890. <summary>
  2891. color is green
  2892. </summary>
  2893. </member>
  2894. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Red">
  2895. <summary>
  2896. color is red
  2897. </summary>
  2898. </member>
  2899. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.White">
  2900. <summary>
  2901. color is white
  2902. </summary>
  2903. </member>
  2904. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Yellow">
  2905. <summary>
  2906. color is yellow
  2907. </summary>
  2908. </member>
  2909. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Purple">
  2910. <summary>
  2911. color is purple
  2912. </summary>
  2913. </member>
  2914. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Cyan">
  2915. <summary>
  2916. color is cyan
  2917. </summary>
  2918. </member>
  2919. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.HighIntensity">
  2920. <summary>
  2921. color is intensified
  2922. </summary>
  2923. </member>
  2924. <member name="T:log4net.Appender.ColoredConsoleAppender.LevelColors">
  2925. <summary>
  2926. A class to act as a mapping between the level that a logging call is made at and
  2927. the color it should be displayed as.
  2928. </summary>
  2929. <remarks>
  2930. <para>
  2931. Defines the mapping between a level and the color it should be displayed in.
  2932. </para>
  2933. </remarks>
  2934. </member>
  2935. <member name="M:log4net.Appender.ColoredConsoleAppender.LevelColors.ActivateOptions">
  2936. <summary>
  2937. Initialize the options for the object
  2938. </summary>
  2939. <remarks>
  2940. <para>
  2941. Combine the <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor"/> and <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor"/> together.
  2942. </para>
  2943. </remarks>
  2944. </member>
  2945. <member name="P:log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor">
  2946. <summary>
  2947. The mapped foreground color for the specified level
  2948. </summary>
  2949. <remarks>
  2950. <para>
  2951. Required property.
  2952. The mapped foreground color for the specified level.
  2953. </para>
  2954. </remarks>
  2955. </member>
  2956. <member name="P:log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor">
  2957. <summary>
  2958. The mapped background color for the specified level
  2959. </summary>
  2960. <remarks>
  2961. <para>
  2962. Required property.
  2963. The mapped background color for the specified level.
  2964. </para>
  2965. </remarks>
  2966. </member>
  2967. <member name="P:log4net.Appender.ColoredConsoleAppender.LevelColors.CombinedColor">
  2968. <summary>
  2969. The combined <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor"/> and <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor"/> suitable for
  2970. setting the console color.
  2971. </summary>
  2972. </member>
  2973. <member name="T:log4net.Appender.ConsoleAppender">
  2974. <summary>
  2975. Appends logging events to the console.
  2976. </summary>
  2977. <remarks>
  2978. <para>
  2979. ConsoleAppender appends log events to the standard output stream
  2980. or the error output stream using a layout specified by the
  2981. user.
  2982. </para>
  2983. <para>
  2984. By default, all output is written to the console's standard output stream.
  2985. The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> property can be set to direct the output to the
  2986. error stream.
  2987. </para>
  2988. <para>
  2989. NOTE: This appender writes each message to the <c>System.Console.Out</c> or
  2990. <c>System.Console.Error</c> that is set at the time the event is appended.
  2991. Therefore it is possible to programmatically redirect the output of this appender
  2992. (for example NUnit does this to capture program output). While this is the desired
  2993. behavior of this appender it may have security implications in your application.
  2994. </para>
  2995. </remarks>
  2996. <author>Nicko Cadell</author>
  2997. <author>Gert Driesen</author>
  2998. </member>
  2999. <member name="F:log4net.Appender.ConsoleAppender.ConsoleOut">
  3000. <summary>
  3001. The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console
  3002. standard output stream.
  3003. </summary>
  3004. <remarks>
  3005. <para>
  3006. The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console
  3007. standard output stream.
  3008. </para>
  3009. </remarks>
  3010. </member>
  3011. <member name="F:log4net.Appender.ConsoleAppender.ConsoleError">
  3012. <summary>
  3013. The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console
  3014. standard error output stream.
  3015. </summary>
  3016. <remarks>
  3017. <para>
  3018. The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console
  3019. standard error output stream.
  3020. </para>
  3021. </remarks>
  3022. </member>
  3023. <member name="M:log4net.Appender.ConsoleAppender.#ctor">
  3024. <summary>
  3025. Initializes a new instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class.
  3026. </summary>
  3027. <remarks>
  3028. The instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class is set up to write
  3029. to the standard output stream.
  3030. </remarks>
  3031. </member>
  3032. <member name="M:log4net.Appender.ConsoleAppender.#ctor(log4net.Layout.ILayout)">
  3033. <summary>
  3034. Initializes a new instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class
  3035. with the specified layout.
  3036. </summary>
  3037. <param name="layout">the layout to use for this appender</param>
  3038. <remarks>
  3039. The instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class is set up to write
  3040. to the standard output stream.
  3041. </remarks>
  3042. </member>
  3043. <member name="M:log4net.Appender.ConsoleAppender.#ctor(log4net.Layout.ILayout,System.Boolean)">
  3044. <summary>
  3045. Initializes a new instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class
  3046. with the specified layout.
  3047. </summary>
  3048. <param name="layout">the layout to use for this appender</param>
  3049. <param name="writeToErrorStream">flag set to <c>true</c> to write to the console error stream</param>
  3050. <remarks>
  3051. When <paramref name="writeToErrorStream"/> is set to <c>true</c>, output is written to
  3052. the standard error output stream. Otherwise, output is written to the standard
  3053. output stream.
  3054. </remarks>
  3055. </member>
  3056. <member name="M:log4net.Appender.ConsoleAppender.Append(log4net.Core.LoggingEvent)">
  3057. <summary>
  3058. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  3059. </summary>
  3060. <param name="loggingEvent">The event to log.</param>
  3061. <remarks>
  3062. <para>
  3063. Writes the event to the console.
  3064. </para>
  3065. <para>
  3066. The format of the output will depend on the appender's layout.
  3067. </para>
  3068. </remarks>
  3069. </member>
  3070. <member name="P:log4net.Appender.ConsoleAppender.Target">
  3071. <summary>
  3072. Target is the value of the console output stream.
  3073. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  3074. </summary>
  3075. <value>
  3076. Target is the value of the console output stream.
  3077. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  3078. </value>
  3079. <remarks>
  3080. <para>
  3081. Target is the value of the console output stream.
  3082. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  3083. </para>
  3084. </remarks>
  3085. </member>
  3086. <member name="P:log4net.Appender.ConsoleAppender.RequiresLayout">
  3087. <summary>
  3088. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3089. </summary>
  3090. <value><c>true</c></value>
  3091. <remarks>
  3092. <para>
  3093. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3094. </para>
  3095. </remarks>
  3096. </member>
  3097. <member name="T:log4net.Appender.DebugAppender">
  3098. <summary>
  3099. Appends log events to the <see cref="T:System.Diagnostics.Debug"/> system.
  3100. </summary>
  3101. <remarks>
  3102. <para>
  3103. The application configuration file can be used to control what listeners
  3104. are actually used. See the MSDN documentation for the
  3105. <see cref="T:System.Diagnostics.Debug"/> class for details on configuring the
  3106. debug system.
  3107. </para>
  3108. <para>
  3109. Events are written using the <see cref="M:System.Diagnostics.Debug.Write(string,string)"/>
  3110. method. The event's logger name is passed as the value for the category name to the Write method.
  3111. </para>
  3112. </remarks>
  3113. <author>Nicko Cadell</author>
  3114. </member>
  3115. <member name="M:log4net.Appender.DebugAppender.#ctor">
  3116. <summary>
  3117. Initializes a new instance of the <see cref="T:log4net.Appender.DebugAppender"/>.
  3118. </summary>
  3119. <remarks>
  3120. <para>
  3121. Default constructor.
  3122. </para>
  3123. </remarks>
  3124. </member>
  3125. <member name="M:log4net.Appender.DebugAppender.#ctor(log4net.Layout.ILayout)">
  3126. <summary>
  3127. Initializes a new instance of the <see cref="T:log4net.Appender.DebugAppender"/>
  3128. with a specified layout.
  3129. </summary>
  3130. <param name="layout">The layout to use with this appender.</param>
  3131. <remarks>
  3132. <para>
  3133. Obsolete constructor.
  3134. </para>
  3135. </remarks>
  3136. </member>
  3137. <member name="M:log4net.Appender.DebugAppender.Append(log4net.Core.LoggingEvent)">
  3138. <summary>
  3139. Writes the logging event to the <see cref="T:System.Diagnostics.Debug"/> system.
  3140. </summary>
  3141. <param name="loggingEvent">The event to log.</param>
  3142. <remarks>
  3143. <para>
  3144. Writes the logging event to the <see cref="T:System.Diagnostics.Debug"/> system.
  3145. If <see cref="P:log4net.Appender.DebugAppender.ImmediateFlush"/> is <c>true</c> then the <see cref="M:System.Diagnostics.Debug.Flush"/>
  3146. is called.
  3147. </para>
  3148. </remarks>
  3149. </member>
  3150. <member name="F:log4net.Appender.DebugAppender.m_immediateFlush">
  3151. <summary>
  3152. Immediate flush means that the underlying writer or output stream
  3153. will be flushed at the end of each append operation.
  3154. </summary>
  3155. <remarks>
  3156. <para>
  3157. Immediate flush is slower but ensures that each append request is
  3158. actually written. If <see cref="P:log4net.Appender.DebugAppender.ImmediateFlush"/> is set to
  3159. <c>false</c>, then there is a good chance that the last few
  3160. logs events are not actually written to persistent media if and
  3161. when the application crashes.
  3162. </para>
  3163. <para>
  3164. The default value is <c>true</c>.</para>
  3165. </remarks>
  3166. </member>
  3167. <member name="P:log4net.Appender.DebugAppender.ImmediateFlush">
  3168. <summary>
  3169. Gets or sets a value that indicates whether the appender will
  3170. flush at the end of each write.
  3171. </summary>
  3172. <remarks>
  3173. <para>The default behavior is to flush at the end of each
  3174. write. If the option is set to<c>false</c>, then the underlying
  3175. stream can defer writing to physical medium to a later time.
  3176. </para>
  3177. <para>
  3178. Avoiding the flush operation at the end of each append results
  3179. in a performance gain of 10 to 20 percent. However, there is safety
  3180. trade-off involved in skipping flushing. Indeed, when flushing is
  3181. skipped, then it is likely that the last few log events will not
  3182. be recorded on disk when the application exits. This is a high
  3183. price to pay even for a 20% performance gain.
  3184. </para>
  3185. </remarks>
  3186. </member>
  3187. <member name="P:log4net.Appender.DebugAppender.RequiresLayout">
  3188. <summary>
  3189. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3190. </summary>
  3191. <value><c>true</c></value>
  3192. <remarks>
  3193. <para>
  3194. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3195. </para>
  3196. </remarks>
  3197. </member>
  3198. <member name="T:log4net.Appender.EventLogAppender">
  3199. <summary>
  3200. Writes events to the system event log.
  3201. </summary>
  3202. <remarks>
  3203. <para>
  3204. The appender will fail if you try to write using an event source that doesn't exist unless it is running with local administrator privileges.
  3205. See also http://logging.apache.org/log4net/release/faq.html#trouble-EventLog
  3206. </para>
  3207. <para>
  3208. The <c>EventID</c> of the event log entry can be
  3209. set using the <c>EventID</c> property (<see cref="P:log4net.Core.LoggingEvent.Properties"/>)
  3210. on the <see cref="T:log4net.Core.LoggingEvent"/>.
  3211. </para>
  3212. <para>
  3213. The <c>Category</c> of the event log entry can be
  3214. set using the <c>Category</c> property (<see cref="P:log4net.Core.LoggingEvent.Properties"/>)
  3215. on the <see cref="T:log4net.Core.LoggingEvent"/>.
  3216. </para>
  3217. <para>
  3218. There is a limit of 32K characters for an event log message
  3219. </para>
  3220. <para>
  3221. When configuring the EventLogAppender a mapping can be
  3222. specified to map a logging level to an event log entry type. For example:
  3223. </para>
  3224. <code lang="XML">
  3225. &lt;mapping&gt;
  3226. &lt;level value="ERROR" /&gt;
  3227. &lt;eventLogEntryType value="Error" /&gt;
  3228. &lt;/mapping&gt;
  3229. &lt;mapping&gt;
  3230. &lt;level value="DEBUG" /&gt;
  3231. &lt;eventLogEntryType value="Information" /&gt;
  3232. &lt;/mapping&gt;
  3233. </code>
  3234. <para>
  3235. The Level is the standard log4net logging level and eventLogEntryType can be any value
  3236. from the <see cref="T:System.Diagnostics.EventLogEntryType"/> enum, i.e.:
  3237. <list type="bullet">
  3238. <item><term>Error</term><description>an error event</description></item>
  3239. <item><term>Warning</term><description>a warning event</description></item>
  3240. <item><term>Information</term><description>an informational event</description></item>
  3241. </list>
  3242. </para>
  3243. </remarks>
  3244. <author>Aspi Havewala</author>
  3245. <author>Douglas de la Torre</author>
  3246. <author>Nicko Cadell</author>
  3247. <author>Gert Driesen</author>
  3248. <author>Thomas Voss</author>
  3249. </member>
  3250. <member name="M:log4net.Appender.EventLogAppender.#ctor">
  3251. <summary>
  3252. Initializes a new instance of the <see cref="T:log4net.Appender.EventLogAppender"/> class.
  3253. </summary>
  3254. <remarks>
  3255. <para>
  3256. Default constructor.
  3257. </para>
  3258. </remarks>
  3259. </member>
  3260. <member name="M:log4net.Appender.EventLogAppender.#ctor(log4net.Layout.ILayout)">
  3261. <summary>
  3262. Initializes a new instance of the <see cref="T:log4net.Appender.EventLogAppender"/> class
  3263. with the specified <see cref="T:log4net.Layout.ILayout"/>.
  3264. </summary>
  3265. <param name="layout">The <see cref="T:log4net.Layout.ILayout"/> to use with this appender.</param>
  3266. <remarks>
  3267. <para>
  3268. Obsolete constructor.
  3269. </para>
  3270. </remarks>
  3271. </member>
  3272. <member name="M:log4net.Appender.EventLogAppender.AddMapping(log4net.Appender.EventLogAppender.Level2EventLogEntryType)">
  3273. <summary>
  3274. Add a mapping of level to <see cref="T:System.Diagnostics.EventLogEntryType"/> - done by the config file
  3275. </summary>
  3276. <param name="mapping">The mapping to add</param>
  3277. <remarks>
  3278. <para>
  3279. Add a <see cref="T:log4net.Appender.EventLogAppender.Level2EventLogEntryType"/> mapping to this appender.
  3280. Each mapping defines the event log entry type for a level.
  3281. </para>
  3282. </remarks>
  3283. </member>
  3284. <member name="M:log4net.Appender.EventLogAppender.ActivateOptions">
  3285. <summary>
  3286. Initialize the appender based on the options set
  3287. </summary>
  3288. <remarks>
  3289. <para>
  3290. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  3291. activation scheme. The <see cref="M:log4net.Appender.EventLogAppender.ActivateOptions"/> method must
  3292. be called on this object after the configuration properties have
  3293. been set. Until <see cref="M:log4net.Appender.EventLogAppender.ActivateOptions"/> is called this
  3294. object is in an undefined state and must not be used.
  3295. </para>
  3296. <para>
  3297. If any of the configuration properties are modified then
  3298. <see cref="M:log4net.Appender.EventLogAppender.ActivateOptions"/> must be called again.
  3299. </para>
  3300. </remarks>
  3301. </member>
  3302. <member name="M:log4net.Appender.EventLogAppender.CreateEventSource(System.String,System.String,System.String)">
  3303. <summary>
  3304. Create an event log source
  3305. </summary>
  3306. <remarks>
  3307. Uses different API calls under NET_2_0
  3308. </remarks>
  3309. </member>
  3310. <member name="M:log4net.Appender.EventLogAppender.Append(log4net.Core.LoggingEvent)">
  3311. <summary>
  3312. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/>
  3313. method.
  3314. </summary>
  3315. <param name="loggingEvent">the event to log</param>
  3316. <remarks>
  3317. <para>Writes the event to the system event log using the
  3318. <see cref="P:log4net.Appender.EventLogAppender.ApplicationName"/>.</para>
  3319. <para>If the event has an <c>EventID</c> property (see <see cref="P:log4net.Core.LoggingEvent.Properties"/>)
  3320. set then this integer will be used as the event log event id.</para>
  3321. <para>
  3322. There is a limit of 32K characters for an event log message
  3323. </para>
  3324. </remarks>
  3325. </member>
  3326. <member name="M:log4net.Appender.EventLogAppender.GetEntryType(log4net.Core.Level)">
  3327. <summary>
  3328. Get the equivalent <see cref="T:System.Diagnostics.EventLogEntryType"/> for a <see cref="T:log4net.Core.Level"/> <paramref name="level"/>
  3329. </summary>
  3330. <param name="level">the Level to convert to an EventLogEntryType</param>
  3331. <returns>The equivalent <see cref="T:System.Diagnostics.EventLogEntryType"/> for a <see cref="T:log4net.Core.Level"/> <paramref name="level"/></returns>
  3332. <remarks>
  3333. Because there are fewer applicable <see cref="T:System.Diagnostics.EventLogEntryType"/>
  3334. values to use in logging levels than there are in the
  3335. <see cref="T:log4net.Core.Level"/> this is a one way mapping. There is
  3336. a loss of information during the conversion.
  3337. </remarks>
  3338. </member>
  3339. <member name="F:log4net.Appender.EventLogAppender.m_logName">
  3340. <summary>
  3341. The log name is the section in the event logs where the messages
  3342. are stored.
  3343. </summary>
  3344. </member>
  3345. <member name="F:log4net.Appender.EventLogAppender.m_applicationName">
  3346. <summary>
  3347. Name of the application to use when logging. This appears in the
  3348. application column of the event log named by <see cref="F:log4net.Appender.EventLogAppender.m_logName"/>.
  3349. </summary>
  3350. </member>
  3351. <member name="F:log4net.Appender.EventLogAppender.m_machineName">
  3352. <summary>
  3353. The name of the machine which holds the event log. This is
  3354. currently only allowed to be '.' i.e. the current machine.
  3355. </summary>
  3356. </member>
  3357. <member name="F:log4net.Appender.EventLogAppender.m_levelMapping">
  3358. <summary>
  3359. Mapping from level object to EventLogEntryType
  3360. </summary>
  3361. </member>
  3362. <member name="F:log4net.Appender.EventLogAppender.m_securityContext">
  3363. <summary>
  3364. The security context to use for privileged calls
  3365. </summary>
  3366. </member>
  3367. <member name="F:log4net.Appender.EventLogAppender.m_eventId">
  3368. <summary>
  3369. The event ID to use unless one is explicitly specified via the <c>LoggingEvent</c>'s properties.
  3370. </summary>
  3371. </member>
  3372. <member name="F:log4net.Appender.EventLogAppender.m_category">
  3373. <summary>
  3374. The event category to use unless one is explicitly specified via the <c>LoggingEvent</c>'s properties.
  3375. </summary>
  3376. </member>
  3377. <member name="F:log4net.Appender.EventLogAppender.declaringType">
  3378. <summary>
  3379. The fully qualified type of the EventLogAppender class.
  3380. </summary>
  3381. <remarks>
  3382. Used by the internal logger to record the Type of the
  3383. log message.
  3384. </remarks>
  3385. </member>
  3386. <member name="F:log4net.Appender.EventLogAppender.MAX_EVENTLOG_MESSAGE_SIZE_DEFAULT">
  3387. <summary>
  3388. The maximum size supported by default.
  3389. </summary>
  3390. <remarks>
  3391. http://msdn.microsoft.com/en-us/library/xzwc042w(v=vs.100).aspx
  3392. The 32766 documented max size is two bytes shy of 32K (I'm assuming 32766
  3393. may leave space for a two byte null terminator of #0#0). The 32766 max
  3394. length is what the .NET 4.0 source code checks for, but this is WRONG!
  3395. Strings with a length > 31839 on Windows Vista or higher can CORRUPT
  3396. the event log! See: System.Diagnostics.EventLogInternal.InternalWriteEvent()
  3397. for the use of the 32766 max size.
  3398. </remarks>
  3399. </member>
  3400. <member name="F:log4net.Appender.EventLogAppender.MAX_EVENTLOG_MESSAGE_SIZE_VISTA_OR_NEWER">
  3401. <summary>
  3402. The maximum size supported by a windows operating system that is vista
  3403. or newer.
  3404. </summary>
  3405. <remarks>
  3406. See ReportEvent API:
  3407. http://msdn.microsoft.com/en-us/library/aa363679(VS.85).aspx
  3408. ReportEvent's lpStrings parameter:
  3409. "A pointer to a buffer containing an array of
  3410. null-terminated strings that are merged into the message before Event Viewer
  3411. displays the string to the user. This parameter must be a valid pointer
  3412. (or NULL), even if wNumStrings is zero. Each string is limited to 31,839 characters."
  3413. Going beyond the size of 31839 will (at some point) corrupt the event log on Windows
  3414. Vista or higher! It may succeed for a while...but you will eventually run into the
  3415. error: "System.ComponentModel.Win32Exception : A device attached to the system is
  3416. not functioning", and the event log will then be corrupt (I was able to corrupt
  3417. an event log using a length of 31877 on Windows 7).
  3418. The max size for Windows Vista or higher is documented here:
  3419. http://msdn.microsoft.com/en-us/library/xzwc042w(v=vs.100).aspx.
  3420. Going over this size may succeed a few times but the buffer will overrun and
  3421. eventually corrupt the log (based on testing).
  3422. The maxEventMsgSize size is based on the max buffer size of the lpStrings parameter of the ReportEvent API.
  3423. The documented max size for EventLog.WriteEntry for Windows Vista and higher is 31839, but I'm leaving room for a
  3424. terminator of #0#0, as we cannot see the source of ReportEvent (though we could use an API monitor to examine the
  3425. buffer, given enough time).
  3426. </remarks>
  3427. </member>
  3428. <member name="F:log4net.Appender.EventLogAppender.MAX_EVENTLOG_MESSAGE_SIZE">
  3429. <summary>
  3430. The maximum size that the operating system supports for
  3431. a event log message.
  3432. </summary>
  3433. <remarks>
  3434. Used to determine the maximum string length that can be written
  3435. to the operating system event log and eventually truncate a string
  3436. that exceeds the limits.
  3437. </remarks>
  3438. </member>
  3439. <member name="M:log4net.Appender.EventLogAppender.GetMaxEventLogMessageSize">
  3440. <summary>
  3441. This method determines the maximum event log message size allowed for
  3442. the current environment.
  3443. </summary>
  3444. <returns></returns>
  3445. </member>
  3446. <member name="P:log4net.Appender.EventLogAppender.LogName">
  3447. <summary>
  3448. The name of the log where messages will be stored.
  3449. </summary>
  3450. <value>
  3451. The string name of the log where messages will be stored.
  3452. </value>
  3453. <remarks>
  3454. <para>This is the name of the log as it appears in the Event Viewer
  3455. tree. The default value is to log into the <c>Application</c>
  3456. log, this is where most applications write their events. However
  3457. if you need a separate log for your application (or applications)
  3458. then you should set the <see cref="P:log4net.Appender.EventLogAppender.LogName"/> appropriately.</para>
  3459. <para>This should not be used to distinguish your event log messages
  3460. from those of other applications, the <see cref="P:log4net.Appender.EventLogAppender.ApplicationName"/>
  3461. property should be used to distinguish events. This property should be
  3462. used to group together events into a single log.
  3463. </para>
  3464. </remarks>
  3465. </member>
  3466. <member name="P:log4net.Appender.EventLogAppender.ApplicationName">
  3467. <summary>
  3468. Property used to set the Application name. This appears in the
  3469. event logs when logging.
  3470. </summary>
  3471. <value>
  3472. The string used to distinguish events from different sources.
  3473. </value>
  3474. <remarks>
  3475. Sets the event log source property.
  3476. </remarks>
  3477. </member>
  3478. <member name="P:log4net.Appender.EventLogAppender.MachineName">
  3479. <summary>
  3480. This property is used to return the name of the computer to use
  3481. when accessing the event logs. Currently, this is the current
  3482. computer, denoted by a dot "."
  3483. </summary>
  3484. <value>
  3485. The string name of the machine holding the event log that
  3486. will be logged into.
  3487. </value>
  3488. <remarks>
  3489. This property cannot be changed. It is currently set to '.'
  3490. i.e. the local machine. This may be changed in future.
  3491. </remarks>
  3492. </member>
  3493. <member name="P:log4net.Appender.EventLogAppender.SecurityContext">
  3494. <summary>
  3495. Gets or sets the <see cref="P:log4net.Appender.EventLogAppender.SecurityContext"/> used to write to the EventLog.
  3496. </summary>
  3497. <value>
  3498. The <see cref="P:log4net.Appender.EventLogAppender.SecurityContext"/> used to write to the EventLog.
  3499. </value>
  3500. <remarks>
  3501. <para>
  3502. The system security context used to write to the EventLog.
  3503. </para>
  3504. <para>
  3505. Unless a <see cref="P:log4net.Appender.EventLogAppender.SecurityContext"/> specified here for this appender
  3506. the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
  3507. security context to use. The default behavior is to use the security context
  3508. of the current thread.
  3509. </para>
  3510. </remarks>
  3511. </member>
  3512. <member name="P:log4net.Appender.EventLogAppender.EventId">
  3513. <summary>
  3514. Gets or sets the <c>EventId</c> to use unless one is explicitly specified via the <c>LoggingEvent</c>'s properties.
  3515. </summary>
  3516. <remarks>
  3517. <para>
  3518. The <c>EventID</c> of the event log entry will normally be
  3519. set using the <c>EventID</c> property (<see cref="P:log4net.Core.LoggingEvent.Properties"/>)
  3520. on the <see cref="T:log4net.Core.LoggingEvent"/>.
  3521. This property provides the fallback value which defaults to 0.
  3522. </para>
  3523. </remarks>
  3524. </member>
  3525. <member name="P:log4net.Appender.EventLogAppender.Category">
  3526. <summary>
  3527. Gets or sets the <c>Category</c> to use unless one is explicitly specified via the <c>LoggingEvent</c>'s properties.
  3528. </summary>
  3529. <remarks>
  3530. <para>
  3531. The <c>Category</c> of the event log entry will normally be
  3532. set using the <c>Category</c> property (<see cref="P:log4net.Core.LoggingEvent.Properties"/>)
  3533. on the <see cref="T:log4net.Core.LoggingEvent"/>.
  3534. This property provides the fallback value which defaults to 0.
  3535. </para>
  3536. </remarks>
  3537. </member>
  3538. <member name="P:log4net.Appender.EventLogAppender.RequiresLayout">
  3539. <summary>
  3540. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3541. </summary>
  3542. <value><c>true</c></value>
  3543. <remarks>
  3544. <para>
  3545. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3546. </para>
  3547. </remarks>
  3548. </member>
  3549. <member name="T:log4net.Appender.EventLogAppender.Level2EventLogEntryType">
  3550. <summary>
  3551. A class to act as a mapping between the level that a logging call is made at and
  3552. the color it should be displayed as.
  3553. </summary>
  3554. <remarks>
  3555. <para>
  3556. Defines the mapping between a level and its event log entry type.
  3557. </para>
  3558. </remarks>
  3559. </member>
  3560. <member name="P:log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType">
  3561. <summary>
  3562. The <see cref="P:log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType"/> for this entry
  3563. </summary>
  3564. <remarks>
  3565. <para>
  3566. Required property.
  3567. The <see cref="P:log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType"/> for this entry
  3568. </para>
  3569. </remarks>
  3570. </member>
  3571. <member name="T:log4net.Appender.FileAppender">
  3572. <summary>
  3573. Appends logging events to a file.
  3574. </summary>
  3575. <remarks>
  3576. <para>
  3577. Logging events are sent to the file specified by
  3578. the <see cref="P:log4net.Appender.FileAppender.File"/> property.
  3579. </para>
  3580. <para>
  3581. The file can be opened in either append or overwrite mode
  3582. by specifying the <see cref="P:log4net.Appender.FileAppender.AppendToFile"/> property.
  3583. If the file path is relative it is taken as relative from
  3584. the application base directory. The file encoding can be
  3585. specified by setting the <see cref="P:log4net.Appender.FileAppender.Encoding"/> property.
  3586. </para>
  3587. <para>
  3588. The layout's <see cref="P:log4net.Layout.ILayout.Header"/> and <see cref="P:log4net.Layout.ILayout.Footer"/>
  3589. values will be written each time the file is opened and closed
  3590. respectively. If the <see cref="P:log4net.Appender.FileAppender.AppendToFile"/> property is <see langword="true"/>
  3591. then the file may contain multiple copies of the header and footer.
  3592. </para>
  3593. <para>
  3594. This appender will first try to open the file for writing when <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/>
  3595. is called. This will typically be during configuration.
  3596. If the file cannot be opened for writing the appender will attempt
  3597. to open the file again each time a message is logged to the appender.
  3598. If the file cannot be opened for writing when a message is logged then
  3599. the message will be discarded by this appender.
  3600. </para>
  3601. <para>
  3602. The <see cref="T:log4net.Appender.FileAppender"/> supports pluggable file locking models via
  3603. the <see cref="P:log4net.Appender.FileAppender.LockingModel"/> property.
  3604. The default behavior, implemented by <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/>
  3605. is to obtain an exclusive write lock on the file until this appender is closed.
  3606. The alternative models only hold a
  3607. write lock while the appender is writing a logging event (<see cref="T:log4net.Appender.FileAppender.MinimalLock"/>)
  3608. or synchronize by using a named system wide Mutex (<see cref="T:log4net.Appender.FileAppender.InterProcessLock"/>).
  3609. </para>
  3610. <para>
  3611. All locking strategies have issues and you should seriously consider using a different strategy that
  3612. avoids having multiple processes logging to the same file.
  3613. </para>
  3614. </remarks>
  3615. <author>Nicko Cadell</author>
  3616. <author>Gert Driesen</author>
  3617. <author>Rodrigo B. de Oliveira</author>
  3618. <author>Douglas de la Torre</author>
  3619. <author>Niall Daley</author>
  3620. </member>
  3621. <member name="T:log4net.Appender.TextWriterAppender">
  3622. <summary>
  3623. Sends logging events to a <see cref="T:System.IO.TextWriter"/>.
  3624. </summary>
  3625. <remarks>
  3626. <para>
  3627. An Appender that writes to a <see cref="T:System.IO.TextWriter"/>.
  3628. </para>
  3629. <para>
  3630. This appender may be used stand alone if initialized with an appropriate
  3631. writer, however it is typically used as a base class for an appender that
  3632. can open a <see cref="T:System.IO.TextWriter"/> to write to.
  3633. </para>
  3634. </remarks>
  3635. <author>Nicko Cadell</author>
  3636. <author>Gert Driesen</author>
  3637. <author>Douglas de la Torre</author>
  3638. </member>
  3639. <member name="M:log4net.Appender.TextWriterAppender.#ctor">
  3640. <summary>
  3641. Initializes a new instance of the <see cref="T:log4net.Appender.TextWriterAppender"/> class.
  3642. </summary>
  3643. <remarks>
  3644. <para>
  3645. Default constructor.
  3646. </para>
  3647. </remarks>
  3648. </member>
  3649. <member name="M:log4net.Appender.TextWriterAppender.#ctor(log4net.Layout.ILayout,System.IO.Stream)">
  3650. <summary>
  3651. Initializes a new instance of the <see cref="T:log4net.Appender.TextWriterAppender"/> class and
  3652. sets the output destination to a new <see cref="T:System.IO.StreamWriter"/> initialized
  3653. with the specified <see cref="T:System.IO.Stream"/>.
  3654. </summary>
  3655. <param name="layout">The layout to use with this appender.</param>
  3656. <param name="os">The <see cref="T:System.IO.Stream"/> to output to.</param>
  3657. <remarks>
  3658. <para>
  3659. Obsolete constructor.
  3660. </para>
  3661. </remarks>
  3662. </member>
  3663. <member name="M:log4net.Appender.TextWriterAppender.#ctor(log4net.Layout.ILayout,System.IO.TextWriter)">
  3664. <summary>
  3665. Initializes a new instance of the <see cref="T:log4net.Appender.TextWriterAppender"/> class and sets
  3666. the output destination to the specified <see cref="T:System.IO.StreamWriter"/>.
  3667. </summary>
  3668. <param name="layout">The layout to use with this appender</param>
  3669. <param name="writer">The <see cref="T:System.IO.TextWriter"/> to output to</param>
  3670. <remarks>
  3671. The <see cref="T:System.IO.TextWriter"/> must have been previously opened.
  3672. </remarks>
  3673. <remarks>
  3674. <para>
  3675. Obsolete constructor.
  3676. </para>
  3677. </remarks>
  3678. </member>
  3679. <member name="M:log4net.Appender.TextWriterAppender.PreAppendCheck">
  3680. <summary>
  3681. This method determines if there is a sense in attempting to append.
  3682. </summary>
  3683. <remarks>
  3684. <para>
  3685. This method checks if an output target has been set and if a
  3686. layout has been set.
  3687. </para>
  3688. </remarks>
  3689. <returns><c>false</c> if any of the preconditions fail.</returns>
  3690. </member>
  3691. <member name="M:log4net.Appender.TextWriterAppender.Append(log4net.Core.LoggingEvent)">
  3692. <summary>
  3693. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/>
  3694. method.
  3695. </summary>
  3696. <param name="loggingEvent">The event to log.</param>
  3697. <remarks>
  3698. <para>
  3699. Writes a log statement to the output stream if the output stream exists
  3700. and is writable.
  3701. </para>
  3702. <para>
  3703. The format of the output will depend on the appender's layout.
  3704. </para>
  3705. </remarks>
  3706. </member>
  3707. <member name="M:log4net.Appender.TextWriterAppender.Append(log4net.Core.LoggingEvent[])">
  3708. <summary>
  3709. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent[])"/>
  3710. method.
  3711. </summary>
  3712. <param name="loggingEvents">The array of events to log.</param>
  3713. <remarks>
  3714. <para>
  3715. This method writes all the bulk logged events to the output writer
  3716. before flushing the stream.
  3717. </para>
  3718. </remarks>
  3719. </member>
  3720. <member name="M:log4net.Appender.TextWriterAppender.OnClose">
  3721. <summary>
  3722. Close this appender instance. The underlying stream or writer is also closed.
  3723. </summary>
  3724. <remarks>
  3725. Closed appenders cannot be reused.
  3726. </remarks>
  3727. </member>
  3728. <member name="M:log4net.Appender.TextWriterAppender.WriteFooterAndCloseWriter">
  3729. <summary>
  3730. Writes the footer and closes the underlying <see cref="T:System.IO.TextWriter"/>.
  3731. </summary>
  3732. <remarks>
  3733. <para>
  3734. Writes the footer and closes the underlying <see cref="T:System.IO.TextWriter"/>.
  3735. </para>
  3736. </remarks>
  3737. </member>
  3738. <member name="M:log4net.Appender.TextWriterAppender.CloseWriter">
  3739. <summary>
  3740. Closes the underlying <see cref="T:System.IO.TextWriter"/>.
  3741. </summary>
  3742. <remarks>
  3743. <para>
  3744. Closes the underlying <see cref="T:System.IO.TextWriter"/>.
  3745. </para>
  3746. </remarks>
  3747. </member>
  3748. <member name="M:log4net.Appender.TextWriterAppender.Reset">
  3749. <summary>
  3750. Clears internal references to the underlying <see cref="T:System.IO.TextWriter"/>
  3751. and other variables.
  3752. </summary>
  3753. <remarks>
  3754. <para>
  3755. Subclasses can override this method for an alternate closing behavior.
  3756. </para>
  3757. </remarks>
  3758. </member>
  3759. <member name="M:log4net.Appender.TextWriterAppender.WriteFooter">
  3760. <summary>
  3761. Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
  3762. </summary>
  3763. <remarks>
  3764. <para>
  3765. Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
  3766. </para>
  3767. </remarks>
  3768. </member>
  3769. <member name="M:log4net.Appender.TextWriterAppender.WriteHeader">
  3770. <summary>
  3771. Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
  3772. </summary>
  3773. <remarks>
  3774. <para>
  3775. Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
  3776. </para>
  3777. </remarks>
  3778. </member>
  3779. <member name="M:log4net.Appender.TextWriterAppender.PrepareWriter">
  3780. <summary>
  3781. Called to allow a subclass to lazily initialize the writer
  3782. </summary>
  3783. <remarks>
  3784. <para>
  3785. This method is called when an event is logged and the <see cref="P:log4net.Appender.TextWriterAppender.Writer"/> or
  3786. <see cref="P:log4net.Appender.TextWriterAppender.QuietWriter"/> have not been set. This allows a subclass to
  3787. attempt to initialize the writer multiple times.
  3788. </para>
  3789. </remarks>
  3790. </member>
  3791. <member name="F:log4net.Appender.TextWriterAppender.m_qtw">
  3792. <summary>
  3793. This is the <see cref="T:log4net.Util.QuietTextWriter"/> where logging events
  3794. will be written to.
  3795. </summary>
  3796. </member>
  3797. <member name="F:log4net.Appender.TextWriterAppender.m_immediateFlush">
  3798. <summary>
  3799. Immediate flush means that the underlying <see cref="T:System.IO.TextWriter"/>
  3800. or output stream will be flushed at the end of each append operation.
  3801. </summary>
  3802. <remarks>
  3803. <para>
  3804. Immediate flush is slower but ensures that each append request is
  3805. actually written. If <see cref="P:log4net.Appender.TextWriterAppender.ImmediateFlush"/> is set to
  3806. <c>false</c>, then there is a good chance that the last few
  3807. logging events are not actually persisted if and when the application
  3808. crashes.
  3809. </para>
  3810. <para>
  3811. The default value is <c>true</c>.
  3812. </para>
  3813. </remarks>
  3814. </member>
  3815. <member name="F:log4net.Appender.TextWriterAppender.declaringType">
  3816. <summary>
  3817. The fully qualified type of the TextWriterAppender class.
  3818. </summary>
  3819. <remarks>
  3820. Used by the internal logger to record the Type of the
  3821. log message.
  3822. </remarks>
  3823. </member>
  3824. <member name="P:log4net.Appender.TextWriterAppender.ImmediateFlush">
  3825. <summary>
  3826. Gets or set whether the appender will flush at the end
  3827. of each append operation.
  3828. </summary>
  3829. <value>
  3830. <para>
  3831. The default behavior is to flush at the end of each
  3832. append operation.
  3833. </para>
  3834. <para>
  3835. If this option is set to <c>false</c>, then the underlying
  3836. stream can defer persisting the logging event to a later
  3837. time.
  3838. </para>
  3839. </value>
  3840. <remarks>
  3841. Avoiding the flush operation at the end of each append results in
  3842. a performance gain of 10 to 20 percent. However, there is safety
  3843. trade-off involved in skipping flushing. Indeed, when flushing is
  3844. skipped, then it is likely that the last few log events will not
  3845. be recorded on disk when the application exits. This is a high
  3846. price to pay even for a 20% performance gain.
  3847. </remarks>
  3848. </member>
  3849. <member name="P:log4net.Appender.TextWriterAppender.Writer">
  3850. <summary>
  3851. Sets the <see cref="T:System.IO.TextWriter"/> where the log output will go.
  3852. </summary>
  3853. <remarks>
  3854. <para>
  3855. The specified <see cref="T:System.IO.TextWriter"/> must be open and writable.
  3856. </para>
  3857. <para>
  3858. The <see cref="T:System.IO.TextWriter"/> will be closed when the appender
  3859. instance is closed.
  3860. </para>
  3861. <para>
  3862. <b>Note:</b> Logging to an unopened <see cref="T:System.IO.TextWriter"/> will fail.
  3863. </para>
  3864. </remarks>
  3865. </member>
  3866. <member name="P:log4net.Appender.TextWriterAppender.ErrorHandler">
  3867. <summary>
  3868. Gets or set the <see cref="T:log4net.Core.IErrorHandler"/> and the underlying
  3869. <see cref="T:log4net.Util.QuietTextWriter"/>, if any, for this appender.
  3870. </summary>
  3871. <value>
  3872. The <see cref="T:log4net.Core.IErrorHandler"/> for this appender.
  3873. </value>
  3874. </member>
  3875. <member name="P:log4net.Appender.TextWriterAppender.RequiresLayout">
  3876. <summary>
  3877. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3878. </summary>
  3879. <value><c>true</c></value>
  3880. <remarks>
  3881. <para>
  3882. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3883. </para>
  3884. </remarks>
  3885. </member>
  3886. <member name="P:log4net.Appender.TextWriterAppender.QuietWriter">
  3887. <summary>
  3888. Gets or sets the <see cref="T:log4net.Util.QuietTextWriter"/> where logging events
  3889. will be written to.
  3890. </summary>
  3891. <value>
  3892. The <see cref="T:log4net.Util.QuietTextWriter"/> where logging events are written.
  3893. </value>
  3894. <remarks>
  3895. <para>
  3896. This is the <see cref="T:log4net.Util.QuietTextWriter"/> where logging events
  3897. will be written to.
  3898. </para>
  3899. </remarks>
  3900. </member>
  3901. <member name="M:log4net.Appender.FileAppender.#ctor">
  3902. <summary>
  3903. Default constructor
  3904. </summary>
  3905. <remarks>
  3906. <para>
  3907. Default constructor
  3908. </para>
  3909. </remarks>
  3910. </member>
  3911. <member name="M:log4net.Appender.FileAppender.#ctor(log4net.Layout.ILayout,System.String,System.Boolean)">
  3912. <summary>
  3913. Construct a new appender using the layout, file and append mode.
  3914. </summary>
  3915. <param name="layout">the layout to use with this appender</param>
  3916. <param name="filename">the full path to the file to write to</param>
  3917. <param name="append">flag to indicate if the file should be appended to</param>
  3918. <remarks>
  3919. <para>
  3920. Obsolete constructor.
  3921. </para>
  3922. </remarks>
  3923. </member>
  3924. <member name="M:log4net.Appender.FileAppender.#ctor(log4net.Layout.ILayout,System.String)">
  3925. <summary>
  3926. Construct a new appender using the layout and file specified.
  3927. The file will be appended to.
  3928. </summary>
  3929. <param name="layout">the layout to use with this appender</param>
  3930. <param name="filename">the full path to the file to write to</param>
  3931. <remarks>
  3932. <para>
  3933. Obsolete constructor.
  3934. </para>
  3935. </remarks>
  3936. </member>
  3937. <member name="M:log4net.Appender.FileAppender.ActivateOptions">
  3938. <summary>
  3939. Activate the options on the file appender.
  3940. </summary>
  3941. <remarks>
  3942. <para>
  3943. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  3944. activation scheme. The <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/> method must
  3945. be called on this object after the configuration properties have
  3946. been set. Until <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/> is called this
  3947. object is in an undefined state and must not be used.
  3948. </para>
  3949. <para>
  3950. If any of the configuration properties are modified then
  3951. <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/> must be called again.
  3952. </para>
  3953. <para>
  3954. This will cause the file to be opened.
  3955. </para>
  3956. </remarks>
  3957. </member>
  3958. <member name="M:log4net.Appender.FileAppender.Reset">
  3959. <summary>
  3960. Closes any previously opened file and calls the parent's <see cref="M:log4net.Appender.TextWriterAppender.Reset"/>.
  3961. </summary>
  3962. <remarks>
  3963. <para>
  3964. Resets the filename and the file stream.
  3965. </para>
  3966. </remarks>
  3967. </member>
  3968. <member name="M:log4net.Appender.FileAppender.OnClose">
  3969. <summary>
  3970. Close this appender instance. The underlying stream or writer is also closed.
  3971. </summary>
  3972. </member>
  3973. <member name="M:log4net.Appender.FileAppender.PrepareWriter">
  3974. <summary>
  3975. Called to initialize the file writer
  3976. </summary>
  3977. <remarks>
  3978. <para>
  3979. Will be called for each logged message until the file is
  3980. successfully opened.
  3981. </para>
  3982. </remarks>
  3983. </member>
  3984. <member name="M:log4net.Appender.FileAppender.Append(log4net.Core.LoggingEvent)">
  3985. <summary>
  3986. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/>
  3987. method.
  3988. </summary>
  3989. <param name="loggingEvent">The event to log.</param>
  3990. <remarks>
  3991. <para>
  3992. Writes a log statement to the output stream if the output stream exists
  3993. and is writable.
  3994. </para>
  3995. <para>
  3996. The format of the output will depend on the appender's layout.
  3997. </para>
  3998. </remarks>
  3999. </member>
  4000. <member name="M:log4net.Appender.FileAppender.Append(log4net.Core.LoggingEvent[])">
  4001. <summary>
  4002. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent[])"/>
  4003. method.
  4004. </summary>
  4005. <param name="loggingEvents">The array of events to log.</param>
  4006. <remarks>
  4007. <para>
  4008. Acquires the output file locks once before writing all the events to
  4009. the stream.
  4010. </para>
  4011. </remarks>
  4012. </member>
  4013. <member name="M:log4net.Appender.FileAppender.WriteFooter">
  4014. <summary>
  4015. Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
  4016. </summary>
  4017. <remarks>
  4018. <para>
  4019. Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
  4020. </para>
  4021. </remarks>
  4022. </member>
  4023. <member name="M:log4net.Appender.FileAppender.WriteHeader">
  4024. <summary>
  4025. Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
  4026. </summary>
  4027. <remarks>
  4028. <para>
  4029. Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
  4030. </para>
  4031. </remarks>
  4032. </member>
  4033. <member name="M:log4net.Appender.FileAppender.CloseWriter">
  4034. <summary>
  4035. Closes the underlying <see cref="T:System.IO.TextWriter"/>.
  4036. </summary>
  4037. <remarks>
  4038. <para>
  4039. Closes the underlying <see cref="T:System.IO.TextWriter"/>.
  4040. </para>
  4041. </remarks>
  4042. </member>
  4043. <member name="M:log4net.Appender.FileAppender.CloseFile">
  4044. <summary>
  4045. Closes the previously opened file.
  4046. </summary>
  4047. <remarks>
  4048. <para>
  4049. Writes the <see cref="P:log4net.Layout.ILayout.Footer"/> to the file and then
  4050. closes the file.
  4051. </para>
  4052. </remarks>
  4053. </member>
  4054. <member name="M:log4net.Appender.FileAppender.SafeOpenFile(System.String,System.Boolean)">
  4055. <summary>
  4056. Sets and <i>opens</i> the file where the log output will go. The specified file must be writable.
  4057. </summary>
  4058. <param name="fileName">The path to the log file. Must be a fully qualified path.</param>
  4059. <param name="append">If true will append to fileName. Otherwise will truncate fileName</param>
  4060. <remarks>
  4061. <para>
  4062. Calls <see cref="M:log4net.Appender.FileAppender.OpenFile(System.String,System.Boolean)"/> but guarantees not to throw an exception.
  4063. Errors are passed to the <see cref="P:log4net.Appender.TextWriterAppender.ErrorHandler"/>.
  4064. </para>
  4065. </remarks>
  4066. </member>
  4067. <member name="M:log4net.Appender.FileAppender.OpenFile(System.String,System.Boolean)">
  4068. <summary>
  4069. Sets and <i>opens</i> the file where the log output will go. The specified file must be writable.
  4070. </summary>
  4071. <param name="fileName">The path to the log file. Must be a fully qualified path.</param>
  4072. <param name="append">If true will append to fileName. Otherwise will truncate fileName</param>
  4073. <remarks>
  4074. <para>
  4075. If there was already an opened file, then the previous file
  4076. is closed first.
  4077. </para>
  4078. <para>
  4079. This method will ensure that the directory structure
  4080. for the <paramref name="fileName"/> specified exists.
  4081. </para>
  4082. </remarks>
  4083. </member>
  4084. <member name="M:log4net.Appender.FileAppender.SetQWForFiles(System.IO.Stream)">
  4085. <summary>
  4086. Sets the quiet writer used for file output
  4087. </summary>
  4088. <param name="fileStream">the file stream that has been opened for writing</param>
  4089. <remarks>
  4090. <para>
  4091. This implementation of <see cref="M:SetQWForFiles(Stream)"/> creates a <see cref="T:System.IO.StreamWriter"/>
  4092. over the <paramref name="fileStream"/> and passes it to the
  4093. <see cref="M:SetQWForFiles(TextWriter)"/> method.
  4094. </para>
  4095. <para>
  4096. This method can be overridden by sub classes that want to wrap the
  4097. <see cref="T:System.IO.Stream"/> in some way, for example to encrypt the output
  4098. data using a <c>System.Security.Cryptography.CryptoStream</c>.
  4099. </para>
  4100. </remarks>
  4101. </member>
  4102. <member name="M:log4net.Appender.FileAppender.SetQWForFiles(System.IO.TextWriter)">
  4103. <summary>
  4104. Sets the quiet writer being used.
  4105. </summary>
  4106. <param name="writer">the writer over the file stream that has been opened for writing</param>
  4107. <remarks>
  4108. <para>
  4109. This method can be overridden by sub classes that want to
  4110. wrap the <see cref="T:System.IO.TextWriter"/> in some way.
  4111. </para>
  4112. </remarks>
  4113. </member>
  4114. <member name="M:log4net.Appender.FileAppender.ConvertToFullPath(System.String)">
  4115. <summary>
  4116. Convert a path into a fully qualified path.
  4117. </summary>
  4118. <param name="path">The path to convert.</param>
  4119. <returns>The fully qualified path.</returns>
  4120. <remarks>
  4121. <para>
  4122. Converts the path specified to a fully
  4123. qualified path. If the path is relative it is
  4124. taken as relative from the application base
  4125. directory.
  4126. </para>
  4127. </remarks>
  4128. </member>
  4129. <member name="F:log4net.Appender.FileAppender.m_appendToFile">
  4130. <summary>
  4131. Flag to indicate if we should append to the file
  4132. or overwrite the file. The default is to append.
  4133. </summary>
  4134. </member>
  4135. <member name="F:log4net.Appender.FileAppender.m_fileName">
  4136. <summary>
  4137. The name of the log file.
  4138. </summary>
  4139. </member>
  4140. <member name="F:log4net.Appender.FileAppender.m_encoding">
  4141. <summary>
  4142. The encoding to use for the file stream.
  4143. </summary>
  4144. </member>
  4145. <member name="F:log4net.Appender.FileAppender.m_securityContext">
  4146. <summary>
  4147. The security context to use for privileged calls
  4148. </summary>
  4149. </member>
  4150. <member name="F:log4net.Appender.FileAppender.m_stream">
  4151. <summary>
  4152. The stream to log to. Has added locking semantics
  4153. </summary>
  4154. </member>
  4155. <member name="F:log4net.Appender.FileAppender.m_lockingModel">
  4156. <summary>
  4157. The locking model to use
  4158. </summary>
  4159. </member>
  4160. <member name="F:log4net.Appender.FileAppender.declaringType">
  4161. <summary>
  4162. The fully qualified type of the FileAppender class.
  4163. </summary>
  4164. <remarks>
  4165. Used by the internal logger to record the Type of the
  4166. log message.
  4167. </remarks>
  4168. </member>
  4169. <member name="P:log4net.Appender.FileAppender.File">
  4170. <summary>
  4171. Gets or sets the path to the file that logging will be written to.
  4172. </summary>
  4173. <value>
  4174. The path to the file that logging will be written to.
  4175. </value>
  4176. <remarks>
  4177. <para>
  4178. If the path is relative it is taken as relative from
  4179. the application base directory.
  4180. </para>
  4181. </remarks>
  4182. </member>
  4183. <member name="P:log4net.Appender.FileAppender.AppendToFile">
  4184. <summary>
  4185. Gets or sets a flag that indicates whether the file should be
  4186. appended to or overwritten.
  4187. </summary>
  4188. <value>
  4189. Indicates whether the file should be appended to or overwritten.
  4190. </value>
  4191. <remarks>
  4192. <para>
  4193. If the value is set to false then the file will be overwritten, if
  4194. it is set to true then the file will be appended to.
  4195. </para>
  4196. The default value is true.
  4197. </remarks>
  4198. </member>
  4199. <member name="P:log4net.Appender.FileAppender.Encoding">
  4200. <summary>
  4201. Gets or sets <see cref="P:log4net.Appender.FileAppender.Encoding"/> used to write to the file.
  4202. </summary>
  4203. <value>
  4204. The <see cref="P:log4net.Appender.FileAppender.Encoding"/> used to write to the file.
  4205. </value>
  4206. <remarks>
  4207. <para>
  4208. The default encoding set is <see cref="P:System.Text.Encoding.Default"/>
  4209. which is the encoding for the system's current ANSI code page.
  4210. </para>
  4211. </remarks>
  4212. </member>
  4213. <member name="P:log4net.Appender.FileAppender.SecurityContext">
  4214. <summary>
  4215. Gets or sets the <see cref="P:log4net.Appender.FileAppender.SecurityContext"/> used to write to the file.
  4216. </summary>
  4217. <value>
  4218. The <see cref="P:log4net.Appender.FileAppender.SecurityContext"/> used to write to the file.
  4219. </value>
  4220. <remarks>
  4221. <para>
  4222. Unless a <see cref="P:log4net.Appender.FileAppender.SecurityContext"/> specified here for this appender
  4223. the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
  4224. security context to use. The default behavior is to use the security context
  4225. of the current thread.
  4226. </para>
  4227. </remarks>
  4228. </member>
  4229. <member name="P:log4net.Appender.FileAppender.LockingModel">
  4230. <summary>
  4231. Gets or sets the <see cref="P:log4net.Appender.FileAppender.LockingModel"/> used to handle locking of the file.
  4232. </summary>
  4233. <value>
  4234. The <see cref="P:log4net.Appender.FileAppender.LockingModel"/> used to lock the file.
  4235. </value>
  4236. <remarks>
  4237. <para>
  4238. Gets or sets the <see cref="P:log4net.Appender.FileAppender.LockingModel"/> used to handle locking of the file.
  4239. </para>
  4240. <para>
  4241. There are three built in locking models, <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/>, <see cref="T:log4net.Appender.FileAppender.MinimalLock"/> and <see cref="T:log4net.Appender.FileAppender.InterProcessLock"/> .
  4242. The first locks the file from the start of logging to the end, the
  4243. second locks only for the minimal amount of time when logging each message
  4244. and the last synchronizes processes using a named system wide Mutex.
  4245. </para>
  4246. <para>
  4247. The default locking model is the <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/>.
  4248. </para>
  4249. </remarks>
  4250. </member>
  4251. <member name="T:log4net.Appender.FileAppender.LockingStream">
  4252. <summary>
  4253. Write only <see cref="T:System.IO.Stream"/> that uses the <see cref="T:log4net.Appender.FileAppender.LockingModelBase"/>
  4254. to manage access to an underlying resource.
  4255. </summary>
  4256. </member>
  4257. <member name="M:log4net.Appender.FileAppender.LockingStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)">
  4258. <summary>
  4259. True asynchronous writes are not supported, the implementation forces a synchronous write.
  4260. </summary>
  4261. </member>
  4262. <member name="T:log4net.Core.LogException">
  4263. <summary>
  4264. Exception base type for log4net.
  4265. </summary>
  4266. <remarks>
  4267. <para>
  4268. This type extends <see cref="T:System.ApplicationException"/>. It
  4269. does not add any new functionality but does differentiate the
  4270. type of exception being thrown.
  4271. </para>
  4272. </remarks>
  4273. <author>Nicko Cadell</author>
  4274. <author>Gert Driesen</author>
  4275. </member>
  4276. <member name="M:log4net.Core.LogException.#ctor">
  4277. <summary>
  4278. Constructor
  4279. </summary>
  4280. <remarks>
  4281. <para>
  4282. Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class.
  4283. </para>
  4284. </remarks>
  4285. </member>
  4286. <member name="M:log4net.Core.LogException.#ctor(System.String)">
  4287. <summary>
  4288. Constructor
  4289. </summary>
  4290. <param name="message">A message to include with the exception.</param>
  4291. <remarks>
  4292. <para>
  4293. Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class with
  4294. the specified message.
  4295. </para>
  4296. </remarks>
  4297. </member>
  4298. <member name="M:log4net.Core.LogException.#ctor(System.String,System.Exception)">
  4299. <summary>
  4300. Constructor
  4301. </summary>
  4302. <param name="message">A message to include with the exception.</param>
  4303. <param name="innerException">A nested exception to include.</param>
  4304. <remarks>
  4305. <para>
  4306. Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class
  4307. with the specified message and inner exception.
  4308. </para>
  4309. </remarks>
  4310. </member>
  4311. <member name="M:log4net.Core.LogException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  4312. <summary>
  4313. Serialization constructor
  4314. </summary>
  4315. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
  4316. <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  4317. <remarks>
  4318. <para>
  4319. Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class
  4320. with serialized data.
  4321. </para>
  4322. </remarks>
  4323. </member>
  4324. <member name="T:log4net.Appender.FileAppender.LockingModelBase">
  4325. <summary>
  4326. Locking model base class
  4327. </summary>
  4328. <remarks>
  4329. <para>
  4330. Base class for the locking models available to the <see cref="T:log4net.Appender.FileAppender"/> derived loggers.
  4331. </para>
  4332. </remarks>
  4333. </member>
  4334. <member name="M:log4net.Appender.FileAppender.LockingModelBase.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
  4335. <summary>
  4336. Open the output file
  4337. </summary>
  4338. <param name="filename">The filename to use</param>
  4339. <param name="append">Whether to append to the file, or overwrite</param>
  4340. <param name="encoding">The encoding to use</param>
  4341. <remarks>
  4342. <para>
  4343. Open the file specified and prepare for logging.
  4344. No writes will be made until <see cref="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock"/> is called.
  4345. Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock"/>,
  4346. <see cref="M:log4net.Appender.FileAppender.LockingModelBase.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.LockingModelBase.CloseFile"/>.
  4347. </para>
  4348. </remarks>
  4349. </member>
  4350. <member name="M:log4net.Appender.FileAppender.LockingModelBase.CloseFile">
  4351. <summary>
  4352. Close the file
  4353. </summary>
  4354. <remarks>
  4355. <para>
  4356. Close the file. No further writes will be made.
  4357. </para>
  4358. </remarks>
  4359. </member>
  4360. <member name="M:log4net.Appender.FileAppender.LockingModelBase.ActivateOptions">
  4361. <summary>
  4362. Initializes all resources used by this locking model.
  4363. </summary>
  4364. </member>
  4365. <member name="M:log4net.Appender.FileAppender.LockingModelBase.OnClose">
  4366. <summary>
  4367. Disposes all resources that were initialized by this locking model.
  4368. </summary>
  4369. </member>
  4370. <member name="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock">
  4371. <summary>
  4372. Acquire the lock on the file
  4373. </summary>
  4374. <returns>A stream that is ready to be written to.</returns>
  4375. <remarks>
  4376. <para>
  4377. Acquire the lock on the file in preparation for writing to it.
  4378. Return a stream pointing to the file. <see cref="M:log4net.Appender.FileAppender.LockingModelBase.ReleaseLock"/>
  4379. must be called to release the lock on the output file.
  4380. </para>
  4381. </remarks>
  4382. </member>
  4383. <member name="M:log4net.Appender.FileAppender.LockingModelBase.ReleaseLock">
  4384. <summary>
  4385. Release the lock on the file
  4386. </summary>
  4387. <remarks>
  4388. <para>
  4389. Release the lock on the file. No further writes will be made to the
  4390. stream until <see cref="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock"/> is called again.
  4391. </para>
  4392. </remarks>
  4393. </member>
  4394. <member name="M:log4net.Appender.FileAppender.LockingModelBase.CreateStream(System.String,System.Boolean,System.IO.FileShare)">
  4395. <summary>
  4396. Helper method that creates a FileStream under CurrentAppender's SecurityContext.
  4397. </summary>
  4398. <remarks>
  4399. <para>
  4400. Typically called during OpenFile or AcquireLock.
  4401. </para>
  4402. <para>
  4403. If the directory portion of the <paramref name="filename"/> does not exist, it is created
  4404. via Directory.CreateDirecctory.
  4405. </para>
  4406. </remarks>
  4407. <param name="filename"></param>
  4408. <param name="append"></param>
  4409. <param name="fileShare"></param>
  4410. <returns></returns>
  4411. </member>
  4412. <member name="M:log4net.Appender.FileAppender.LockingModelBase.CloseStream(System.IO.Stream)">
  4413. <summary>
  4414. Helper method to close <paramref name="stream"/> under CurrentAppender's SecurityContext.
  4415. </summary>
  4416. <remarks>
  4417. Does not set <paramref name="stream"/> to null.
  4418. </remarks>
  4419. <param name="stream"></param>
  4420. </member>
  4421. <member name="P:log4net.Appender.FileAppender.LockingModelBase.CurrentAppender">
  4422. <summary>
  4423. Gets or sets the <see cref="T:log4net.Appender.FileAppender"/> for this LockingModel
  4424. </summary>
  4425. <value>
  4426. The <see cref="T:log4net.Appender.FileAppender"/> for this LockingModel
  4427. </value>
  4428. <remarks>
  4429. <para>
  4430. The file appender this locking model is attached to and working on
  4431. behalf of.
  4432. </para>
  4433. <para>
  4434. The file appender is used to locate the security context and the error handler to use.
  4435. </para>
  4436. <para>
  4437. 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
  4438. called.
  4439. </para>
  4440. </remarks>
  4441. </member>
  4442. <member name="T:log4net.Appender.FileAppender.ExclusiveLock">
  4443. <summary>
  4444. Hold an exclusive lock on the output file
  4445. </summary>
  4446. <remarks>
  4447. <para>
  4448. Open the file once for writing and hold it open until <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.CloseFile"/> is called.
  4449. Maintains an exclusive lock on the file during this time.
  4450. </para>
  4451. </remarks>
  4452. </member>
  4453. <member name="M:log4net.Appender.FileAppender.ExclusiveLock.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
  4454. <summary>
  4455. Open the file specified and prepare for logging.
  4456. </summary>
  4457. <param name="filename">The filename to use</param>
  4458. <param name="append">Whether to append to the file, or overwrite</param>
  4459. <param name="encoding">The encoding to use</param>
  4460. <remarks>
  4461. <para>
  4462. Open the file specified and prepare for logging.
  4463. No writes will be made until <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.AcquireLock"/> is called.
  4464. Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.AcquireLock"/>,
  4465. <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.CloseFile"/>.
  4466. </para>
  4467. </remarks>
  4468. </member>
  4469. <member name="M:log4net.Appender.FileAppender.ExclusiveLock.CloseFile">
  4470. <summary>
  4471. Close the file
  4472. </summary>
  4473. <remarks>
  4474. <para>
  4475. Close the file. No further writes will be made.
  4476. </para>
  4477. </remarks>
  4478. </member>
  4479. <member name="M:log4net.Appender.FileAppender.ExclusiveLock.AcquireLock">
  4480. <summary>
  4481. Acquire the lock on the file
  4482. </summary>
  4483. <returns>A stream that is ready to be written to.</returns>
  4484. <remarks>
  4485. <para>
  4486. Does nothing. The lock is already taken
  4487. </para>
  4488. </remarks>
  4489. </member>
  4490. <member name="M:log4net.Appender.FileAppender.ExclusiveLock.ReleaseLock">
  4491. <summary>
  4492. Release the lock on the file
  4493. </summary>
  4494. <remarks>
  4495. <para>
  4496. Does nothing. The lock will be released when the file is closed.
  4497. </para>
  4498. </remarks>
  4499. </member>
  4500. <member name="M:log4net.Appender.FileAppender.ExclusiveLock.ActivateOptions">
  4501. <summary>
  4502. Initializes all resources used by this locking model.
  4503. </summary>
  4504. </member>
  4505. <member name="M:log4net.Appender.FileAppender.ExclusiveLock.OnClose">
  4506. <summary>
  4507. Disposes all resources that were initialized by this locking model.
  4508. </summary>
  4509. </member>
  4510. <member name="T:log4net.Appender.FileAppender.MinimalLock">
  4511. <summary>
  4512. Acquires the file lock for each write
  4513. </summary>
  4514. <remarks>
  4515. <para>
  4516. Opens the file once for each <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/>/<see cref="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock"/> cycle,
  4517. thus holding the lock for the minimal amount of time. This method of locking
  4518. is considerably slower than <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/> but allows
  4519. other processes to move/delete the log file whilst logging continues.
  4520. </para>
  4521. </remarks>
  4522. </member>
  4523. <member name="M:log4net.Appender.FileAppender.MinimalLock.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
  4524. <summary>
  4525. Prepares to open the file when the first message is logged.
  4526. </summary>
  4527. <param name="filename">The filename to use</param>
  4528. <param name="append">Whether to append to the file, or overwrite</param>
  4529. <param name="encoding">The encoding to use</param>
  4530. <remarks>
  4531. <para>
  4532. Open the file specified and prepare for logging.
  4533. No writes will be made until <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/> is called.
  4534. Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/>,
  4535. <see cref="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.MinimalLock.CloseFile"/>.
  4536. </para>
  4537. </remarks>
  4538. </member>
  4539. <member name="M:log4net.Appender.FileAppender.MinimalLock.CloseFile">
  4540. <summary>
  4541. Close the file
  4542. </summary>
  4543. <remarks>
  4544. <para>
  4545. Close the file. No further writes will be made.
  4546. </para>
  4547. </remarks>
  4548. </member>
  4549. <member name="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock">
  4550. <summary>
  4551. Acquire the lock on the file
  4552. </summary>
  4553. <returns>A stream that is ready to be written to.</returns>
  4554. <remarks>
  4555. <para>
  4556. Acquire the lock on the file in preparation for writing to it.
  4557. Return a stream pointing to the file. <see cref="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock"/>
  4558. must be called to release the lock on the output file.
  4559. </para>
  4560. </remarks>
  4561. </member>
  4562. <member name="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock">
  4563. <summary>
  4564. Release the lock on the file
  4565. </summary>
  4566. <remarks>
  4567. <para>
  4568. Release the lock on the file. No further writes will be made to the
  4569. stream until <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/> is called again.
  4570. </para>
  4571. </remarks>
  4572. </member>
  4573. <member name="M:log4net.Appender.FileAppender.MinimalLock.ActivateOptions">
  4574. <summary>
  4575. Initializes all resources used by this locking model.
  4576. </summary>
  4577. </member>
  4578. <member name="M:log4net.Appender.FileAppender.MinimalLock.OnClose">
  4579. <summary>
  4580. Disposes all resources that were initialized by this locking model.
  4581. </summary>
  4582. </member>
  4583. <member name="T:log4net.Appender.FileAppender.InterProcessLock">
  4584. <summary>
  4585. Provides cross-process file locking.
  4586. </summary>
  4587. <author>Ron Grabowski</author>
  4588. <author>Steve Wranovsky</author>
  4589. </member>
  4590. <member name="M:log4net.Appender.FileAppender.InterProcessLock.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
  4591. <summary>
  4592. Open the file specified and prepare for logging.
  4593. </summary>
  4594. <param name="filename">The filename to use</param>
  4595. <param name="append">Whether to append to the file, or overwrite</param>
  4596. <param name="encoding">The encoding to use</param>
  4597. <remarks>
  4598. <para>
  4599. Open the file specified and prepare for logging.
  4600. No writes will be made until <see cref="M:log4net.Appender.FileAppender.InterProcessLock.AcquireLock"/> is called.
  4601. Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.InterProcessLock.AcquireLock"/>,
  4602. -<see cref="M:log4net.Appender.FileAppender.InterProcessLock.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.InterProcessLock.CloseFile"/>.
  4603. </para>
  4604. </remarks>
  4605. </member>
  4606. <member name="M:log4net.Appender.FileAppender.InterProcessLock.CloseFile">
  4607. <summary>
  4608. Close the file
  4609. </summary>
  4610. <remarks>
  4611. <para>
  4612. Close the file. No further writes will be made.
  4613. </para>
  4614. </remarks>
  4615. </member>
  4616. <member name="M:log4net.Appender.FileAppender.InterProcessLock.AcquireLock">
  4617. <summary>
  4618. Acquire the lock on the file
  4619. </summary>
  4620. <returns>A stream that is ready to be written to.</returns>
  4621. <remarks>
  4622. <para>
  4623. Does nothing. The lock is already taken
  4624. </para>
  4625. </remarks>
  4626. </member>
  4627. <member name="M:log4net.Appender.FileAppender.InterProcessLock.ReleaseLock">
  4628. <summary>
  4629. Releases the lock and allows others to acquire a lock.
  4630. </summary>
  4631. </member>
  4632. <member name="M:log4net.Appender.FileAppender.InterProcessLock.ActivateOptions">
  4633. <summary>
  4634. Initializes all resources used by this locking model.
  4635. </summary>
  4636. </member>
  4637. <member name="M:log4net.Appender.FileAppender.InterProcessLock.OnClose">
  4638. <summary>
  4639. Disposes all resources that were initialized by this locking model.
  4640. </summary>
  4641. </member>
  4642. <member name="T:log4net.Appender.ForwardingAppender">
  4643. <summary>
  4644. This appender forwards logging events to attached appenders.
  4645. </summary>
  4646. <remarks>
  4647. <para>
  4648. The forwarding appender can be used to specify different thresholds
  4649. and filters for the same appender at different locations within the hierarchy.
  4650. </para>
  4651. </remarks>
  4652. <author>Nicko Cadell</author>
  4653. <author>Gert Driesen</author>
  4654. </member>
  4655. <member name="M:log4net.Appender.ForwardingAppender.#ctor">
  4656. <summary>
  4657. Initializes a new instance of the <see cref="T:log4net.Appender.ForwardingAppender"/> class.
  4658. </summary>
  4659. <remarks>
  4660. <para>
  4661. Default constructor.
  4662. </para>
  4663. </remarks>
  4664. </member>
  4665. <member name="M:log4net.Appender.ForwardingAppender.OnClose">
  4666. <summary>
  4667. Closes the appender and releases resources.
  4668. </summary>
  4669. <remarks>
  4670. <para>
  4671. Releases any resources allocated within the appender such as file handles,
  4672. network connections, etc.
  4673. </para>
  4674. <para>
  4675. It is a programming error to append to a closed appender.
  4676. </para>
  4677. </remarks>
  4678. </member>
  4679. <member name="M:log4net.Appender.ForwardingAppender.Append(log4net.Core.LoggingEvent)">
  4680. <summary>
  4681. Forward the logging event to the attached appenders
  4682. </summary>
  4683. <param name="loggingEvent">The event to log.</param>
  4684. <remarks>
  4685. <para>
  4686. Delivers the logging event to all the attached appenders.
  4687. </para>
  4688. </remarks>
  4689. </member>
  4690. <member name="M:log4net.Appender.ForwardingAppender.Append(log4net.Core.LoggingEvent[])">
  4691. <summary>
  4692. Forward the logging events to the attached appenders
  4693. </summary>
  4694. <param name="loggingEvents">The array of events to log.</param>
  4695. <remarks>
  4696. <para>
  4697. Delivers the logging events to all the attached appenders.
  4698. </para>
  4699. </remarks>
  4700. </member>
  4701. <member name="M:log4net.Appender.ForwardingAppender.AddAppender(log4net.Appender.IAppender)">
  4702. <summary>
  4703. Adds an <see cref="T:log4net.Appender.IAppender"/> to the list of appenders of this
  4704. instance.
  4705. </summary>
  4706. <param name="newAppender">The <see cref="T:log4net.Appender.IAppender"/> to add to this appender.</param>
  4707. <remarks>
  4708. <para>
  4709. If the specified <see cref="T:log4net.Appender.IAppender"/> is already in the list of
  4710. appenders, then it won't be added again.
  4711. </para>
  4712. </remarks>
  4713. </member>
  4714. <member name="M:log4net.Appender.ForwardingAppender.GetAppender(System.String)">
  4715. <summary>
  4716. Looks for the appender with the specified name.
  4717. </summary>
  4718. <param name="name">The name of the appender to lookup.</param>
  4719. <returns>
  4720. The appender with the specified name, or <c>null</c>.
  4721. </returns>
  4722. <remarks>
  4723. <para>
  4724. Get the named appender attached to this appender.
  4725. </para>
  4726. </remarks>
  4727. </member>
  4728. <member name="M:log4net.Appender.ForwardingAppender.RemoveAllAppenders">
  4729. <summary>
  4730. Removes all previously added appenders from this appender.
  4731. </summary>
  4732. <remarks>
  4733. <para>
  4734. This is useful when re-reading configuration information.
  4735. </para>
  4736. </remarks>
  4737. </member>
  4738. <member name="M:log4net.Appender.ForwardingAppender.RemoveAppender(log4net.Appender.IAppender)">
  4739. <summary>
  4740. Removes the specified appender from the list of appenders.
  4741. </summary>
  4742. <param name="appender">The appender to remove.</param>
  4743. <returns>The appender removed from the list</returns>
  4744. <remarks>
  4745. The appender removed is not closed.
  4746. If you are discarding the appender you must call
  4747. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  4748. </remarks>
  4749. </member>
  4750. <member name="M:log4net.Appender.ForwardingAppender.RemoveAppender(System.String)">
  4751. <summary>
  4752. Removes the appender with the specified name from the list of appenders.
  4753. </summary>
  4754. <param name="name">The name of the appender to remove.</param>
  4755. <returns>The appender removed from the list</returns>
  4756. <remarks>
  4757. The appender removed is not closed.
  4758. If you are discarding the appender you must call
  4759. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  4760. </remarks>
  4761. </member>
  4762. <member name="F:log4net.Appender.ForwardingAppender.m_appenderAttachedImpl">
  4763. <summary>
  4764. Implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
  4765. </summary>
  4766. </member>
  4767. <member name="P:log4net.Appender.ForwardingAppender.Appenders">
  4768. <summary>
  4769. Gets the appenders contained in this appender as an
  4770. <see cref="T:System.Collections.ICollection"/>.
  4771. </summary>
  4772. <remarks>
  4773. If no appenders can be found, then an <see cref="T:log4net.Util.EmptyCollection"/>
  4774. is returned.
  4775. </remarks>
  4776. <returns>
  4777. A collection of the appenders in this appender.
  4778. </returns>
  4779. </member>
  4780. <member name="T:log4net.Appender.LocalSyslogAppender">
  4781. <summary>
  4782. Logs events to a local syslog service.
  4783. </summary>
  4784. <remarks>
  4785. <note>
  4786. This appender uses the POSIX libc library functions <c>openlog</c>, <c>syslog</c>, and <c>closelog</c>.
  4787. If these functions are not available on the local system then this appender will not work!
  4788. </note>
  4789. <para>
  4790. The functions <c>openlog</c>, <c>syslog</c>, and <c>closelog</c> are specified in SUSv2 and
  4791. POSIX 1003.1-2001 standards. These are used to log messages to the local syslog service.
  4792. </para>
  4793. <para>
  4794. This appender talks to a local syslog service. If you need to log to a remote syslog
  4795. daemon and you cannot configure your local syslog service to do this you may be
  4796. able to use the <see cref="T:log4net.Appender.RemoteSyslogAppender"/> to log via UDP.
  4797. </para>
  4798. <para>
  4799. Syslog messages must have a facility and and a severity. The severity
  4800. is derived from the Level of the logging event.
  4801. The facility must be chosen from the set of defined syslog
  4802. <see cref="T:log4net.Appender.LocalSyslogAppender.SyslogFacility"/> values. The facilities list is predefined
  4803. and cannot be extended.
  4804. </para>
  4805. <para>
  4806. An identifier is specified with each log message. This can be specified
  4807. by setting the <see cref="P:log4net.Appender.LocalSyslogAppender.Identity"/> property. The identity (also know
  4808. as the tag) must not contain white space. The default value for the
  4809. identity is the application name (from <see cref="P:log4net.Util.SystemInfo.ApplicationFriendlyName"/>).
  4810. </para>
  4811. </remarks>
  4812. <author>Rob Lyon</author>
  4813. <author>Nicko Cadell</author>
  4814. </member>
  4815. <member name="M:log4net.Appender.LocalSyslogAppender.#ctor">
  4816. <summary>
  4817. Initializes a new instance of the <see cref="T:log4net.Appender.LocalSyslogAppender"/> class.
  4818. </summary>
  4819. <remarks>
  4820. This instance of the <see cref="T:log4net.Appender.LocalSyslogAppender"/> class is set up to write
  4821. to a local syslog service.
  4822. </remarks>
  4823. </member>
  4824. <member name="M:log4net.Appender.LocalSyslogAppender.AddMapping(log4net.Appender.LocalSyslogAppender.LevelSeverity)">
  4825. <summary>
  4826. Add a mapping of level to severity
  4827. </summary>
  4828. <param name="mapping">The mapping to add</param>
  4829. <remarks>
  4830. <para>
  4831. Adds a <see cref="T:log4net.Appender.LocalSyslogAppender.LevelSeverity"/> to this appender.
  4832. </para>
  4833. </remarks>
  4834. </member>
  4835. <member name="M:log4net.Appender.LocalSyslogAppender.ActivateOptions">
  4836. <summary>
  4837. Initialize the appender based on the options set.
  4838. </summary>
  4839. <remarks>
  4840. <para>
  4841. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  4842. activation scheme. The <see cref="M:log4net.Appender.LocalSyslogAppender.ActivateOptions"/> method must
  4843. be called on this object after the configuration properties have
  4844. been set. Until <see cref="M:log4net.Appender.LocalSyslogAppender.ActivateOptions"/> is called this
  4845. object is in an undefined state and must not be used.
  4846. </para>
  4847. <para>
  4848. If any of the configuration properties are modified then
  4849. <see cref="M:log4net.Appender.LocalSyslogAppender.ActivateOptions"/> must be called again.
  4850. </para>
  4851. </remarks>
  4852. </member>
  4853. <member name="M:log4net.Appender.LocalSyslogAppender.Append(log4net.Core.LoggingEvent)">
  4854. <summary>
  4855. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  4856. </summary>
  4857. <param name="loggingEvent">The event to log.</param>
  4858. <remarks>
  4859. <para>
  4860. Writes the event to a remote syslog daemon.
  4861. </para>
  4862. <para>
  4863. The format of the output will depend on the appender's layout.
  4864. </para>
  4865. </remarks>
  4866. </member>
  4867. <member name="M:log4net.Appender.LocalSyslogAppender.OnClose">
  4868. <summary>
  4869. Close the syslog when the appender is closed
  4870. </summary>
  4871. <remarks>
  4872. <para>
  4873. Close the syslog when the appender is closed
  4874. </para>
  4875. </remarks>
  4876. </member>
  4877. <member name="M:log4net.Appender.LocalSyslogAppender.GetSeverity(log4net.Core.Level)">
  4878. <summary>
  4879. Translates a log4net level to a syslog severity.
  4880. </summary>
  4881. <param name="level">A log4net level.</param>
  4882. <returns>A syslog severity.</returns>
  4883. <remarks>
  4884. <para>
  4885. Translates a log4net level to a syslog severity.
  4886. </para>
  4887. </remarks>
  4888. </member>
  4889. <member name="M:log4net.Appender.LocalSyslogAppender.GeneratePriority(log4net.Appender.LocalSyslogAppender.SyslogFacility,log4net.Appender.LocalSyslogAppender.SyslogSeverity)">
  4890. <summary>
  4891. Generate a syslog priority.
  4892. </summary>
  4893. <param name="facility">The syslog facility.</param>
  4894. <param name="severity">The syslog severity.</param>
  4895. <returns>A syslog priority.</returns>
  4896. </member>
  4897. <member name="F:log4net.Appender.LocalSyslogAppender.m_facility">
  4898. <summary>
  4899. The facility. The default facility is <see cref="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.User"/>.
  4900. </summary>
  4901. </member>
  4902. <member name="F:log4net.Appender.LocalSyslogAppender.m_identity">
  4903. <summary>
  4904. The message identity
  4905. </summary>
  4906. </member>
  4907. <member name="F:log4net.Appender.LocalSyslogAppender.m_handleToIdentity">
  4908. <summary>
  4909. Marshaled handle to the identity string. We have to hold on to the
  4910. string as the <c>openlog</c> and <c>syslog</c> APIs just hold the
  4911. pointer to the ident and dereference it for each log message.
  4912. </summary>
  4913. </member>
  4914. <member name="F:log4net.Appender.LocalSyslogAppender.m_levelMapping">
  4915. <summary>
  4916. Mapping from level object to syslog severity
  4917. </summary>
  4918. </member>
  4919. <member name="M:log4net.Appender.LocalSyslogAppender.openlog(System.IntPtr,System.Int32,log4net.Appender.LocalSyslogAppender.SyslogFacility)">
  4920. <summary>
  4921. Open connection to system logger.
  4922. </summary>
  4923. </member>
  4924. <member name="M:log4net.Appender.LocalSyslogAppender.syslog(System.Int32,System.String,System.String)">
  4925. <summary>
  4926. Generate a log message.
  4927. </summary>
  4928. <remarks>
  4929. <para>
  4930. The libc syslog method takes a format string and a variable argument list similar
  4931. to the classic printf function. As this type of vararg list is not supported
  4932. by C# we need to specify the arguments explicitly. Here we have specified the
  4933. format string with a single message argument. The caller must set the format
  4934. string to <c>"%s"</c>.
  4935. </para>
  4936. </remarks>
  4937. </member>
  4938. <member name="M:log4net.Appender.LocalSyslogAppender.closelog">
  4939. <summary>
  4940. Close descriptor used to write to system logger.
  4941. </summary>
  4942. </member>
  4943. <member name="P:log4net.Appender.LocalSyslogAppender.Identity">
  4944. <summary>
  4945. Message identity
  4946. </summary>
  4947. <remarks>
  4948. <para>
  4949. An identifier is specified with each log message. This can be specified
  4950. by setting the <see cref="P:log4net.Appender.LocalSyslogAppender.Identity"/> property. The identity (also know
  4951. as the tag) must not contain white space. The default value for the
  4952. identity is the application name (from <see cref="P:log4net.Util.SystemInfo.ApplicationFriendlyName"/>).
  4953. </para>
  4954. </remarks>
  4955. </member>
  4956. <member name="P:log4net.Appender.LocalSyslogAppender.Facility">
  4957. <summary>
  4958. Syslog facility
  4959. </summary>
  4960. <remarks>
  4961. Set to one of the <see cref="T:log4net.Appender.LocalSyslogAppender.SyslogFacility"/> values. The list of
  4962. facilities is predefined and cannot be extended. The default value
  4963. is <see cref="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.User"/>.
  4964. </remarks>
  4965. </member>
  4966. <member name="P:log4net.Appender.LocalSyslogAppender.RequiresLayout">
  4967. <summary>
  4968. This appender requires a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> to be set.
  4969. </summary>
  4970. <value><c>true</c></value>
  4971. <remarks>
  4972. <para>
  4973. This appender requires a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> to be set.
  4974. </para>
  4975. </remarks>
  4976. </member>
  4977. <member name="T:log4net.Appender.LocalSyslogAppender.SyslogSeverity">
  4978. <summary>
  4979. syslog severities
  4980. </summary>
  4981. <remarks>
  4982. <para>
  4983. The log4net Level maps to a syslog severity using the
  4984. <see cref="M:log4net.Appender.LocalSyslogAppender.AddMapping(log4net.Appender.LocalSyslogAppender.LevelSeverity)"/> method and the <see cref="T:log4net.Appender.LocalSyslogAppender.LevelSeverity"/>
  4985. class. The severity is set on <see cref="P:log4net.Appender.LocalSyslogAppender.LevelSeverity.Severity"/>.
  4986. </para>
  4987. </remarks>
  4988. </member>
  4989. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Emergency">
  4990. <summary>
  4991. system is unusable
  4992. </summary>
  4993. </member>
  4994. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Alert">
  4995. <summary>
  4996. action must be taken immediately
  4997. </summary>
  4998. </member>
  4999. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Critical">
  5000. <summary>
  5001. critical conditions
  5002. </summary>
  5003. </member>
  5004. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Error">
  5005. <summary>
  5006. error conditions
  5007. </summary>
  5008. </member>
  5009. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Warning">
  5010. <summary>
  5011. warning conditions
  5012. </summary>
  5013. </member>
  5014. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Notice">
  5015. <summary>
  5016. normal but significant condition
  5017. </summary>
  5018. </member>
  5019. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Informational">
  5020. <summary>
  5021. informational
  5022. </summary>
  5023. </member>
  5024. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Debug">
  5025. <summary>
  5026. debug-level messages
  5027. </summary>
  5028. </member>
  5029. <member name="T:log4net.Appender.LocalSyslogAppender.SyslogFacility">
  5030. <summary>
  5031. syslog facilities
  5032. </summary>
  5033. <remarks>
  5034. <para>
  5035. The syslog facility defines which subsystem the logging comes from.
  5036. This is set on the <see cref="P:log4net.Appender.LocalSyslogAppender.Facility"/> property.
  5037. </para>
  5038. </remarks>
  5039. </member>
  5040. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Kernel">
  5041. <summary>
  5042. kernel messages
  5043. </summary>
  5044. </member>
  5045. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.User">
  5046. <summary>
  5047. random user-level messages
  5048. </summary>
  5049. </member>
  5050. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Mail">
  5051. <summary>
  5052. mail system
  5053. </summary>
  5054. </member>
  5055. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Daemons">
  5056. <summary>
  5057. system daemons
  5058. </summary>
  5059. </member>
  5060. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Authorization">
  5061. <summary>
  5062. security/authorization messages
  5063. </summary>
  5064. </member>
  5065. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Syslog">
  5066. <summary>
  5067. messages generated internally by syslogd
  5068. </summary>
  5069. </member>
  5070. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Printer">
  5071. <summary>
  5072. line printer subsystem
  5073. </summary>
  5074. </member>
  5075. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.News">
  5076. <summary>
  5077. network news subsystem
  5078. </summary>
  5079. </member>
  5080. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Uucp">
  5081. <summary>
  5082. UUCP subsystem
  5083. </summary>
  5084. </member>
  5085. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Clock">
  5086. <summary>
  5087. clock (cron/at) daemon
  5088. </summary>
  5089. </member>
  5090. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Authorization2">
  5091. <summary>
  5092. security/authorization messages (private)
  5093. </summary>
  5094. </member>
  5095. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Ftp">
  5096. <summary>
  5097. ftp daemon
  5098. </summary>
  5099. </member>
  5100. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Ntp">
  5101. <summary>
  5102. NTP subsystem
  5103. </summary>
  5104. </member>
  5105. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Audit">
  5106. <summary>
  5107. log audit
  5108. </summary>
  5109. </member>
  5110. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Alert">
  5111. <summary>
  5112. log alert
  5113. </summary>
  5114. </member>
  5115. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Clock2">
  5116. <summary>
  5117. clock daemon
  5118. </summary>
  5119. </member>
  5120. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local0">
  5121. <summary>
  5122. reserved for local use
  5123. </summary>
  5124. </member>
  5125. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local1">
  5126. <summary>
  5127. reserved for local use
  5128. </summary>
  5129. </member>
  5130. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local2">
  5131. <summary>
  5132. reserved for local use
  5133. </summary>
  5134. </member>
  5135. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local3">
  5136. <summary>
  5137. reserved for local use
  5138. </summary>
  5139. </member>
  5140. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local4">
  5141. <summary>
  5142. reserved for local use
  5143. </summary>
  5144. </member>
  5145. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local5">
  5146. <summary>
  5147. reserved for local use
  5148. </summary>
  5149. </member>
  5150. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local6">
  5151. <summary>
  5152. reserved for local use
  5153. </summary>
  5154. </member>
  5155. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local7">
  5156. <summary>
  5157. reserved for local use
  5158. </summary>
  5159. </member>
  5160. <member name="T:log4net.Appender.LocalSyslogAppender.LevelSeverity">
  5161. <summary>
  5162. A class to act as a mapping between the level that a logging call is made at and
  5163. the syslog severity that is should be logged at.
  5164. </summary>
  5165. <remarks>
  5166. <para>
  5167. A class to act as a mapping between the level that a logging call is made at and
  5168. the syslog severity that is should be logged at.
  5169. </para>
  5170. </remarks>
  5171. </member>
  5172. <member name="P:log4net.Appender.LocalSyslogAppender.LevelSeverity.Severity">
  5173. <summary>
  5174. The mapped syslog severity for the specified level
  5175. </summary>
  5176. <remarks>
  5177. <para>
  5178. Required property.
  5179. The mapped syslog severity for the specified level
  5180. </para>
  5181. </remarks>
  5182. </member>
  5183. <member name="T:log4net.Appender.ManagedColoredConsoleAppender">
  5184. <summary>
  5185. Appends colorful logging events to the console, using the .NET 2
  5186. built-in capabilities.
  5187. </summary>
  5188. <remarks>
  5189. <para>
  5190. ManagedColoredConsoleAppender appends log events to the standard output stream
  5191. or the error output stream using a layout specified by the
  5192. user. It also allows the color of a specific type of message to be set.
  5193. </para>
  5194. <para>
  5195. By default, all output is written to the console's standard output stream.
  5196. The <see cref="P:log4net.Appender.ManagedColoredConsoleAppender.Target"/> property can be set to direct the output to the
  5197. error stream.
  5198. </para>
  5199. <para>
  5200. When configuring the colored console appender, mappings should be
  5201. specified to map logging levels to colors. For example:
  5202. </para>
  5203. <code lang="XML" escaped="true">
  5204. <mapping>
  5205. <level value="ERROR"/>
  5206. <foreColor value="DarkRed"/>
  5207. <backColor value="White"/>
  5208. </mapping>
  5209. <mapping>
  5210. <level value="WARN"/>
  5211. <foreColor value="Yellow"/>
  5212. </mapping>
  5213. <mapping>
  5214. <level value="INFO"/>
  5215. <foreColor value="White"/>
  5216. </mapping>
  5217. <mapping>
  5218. <level value="DEBUG"/>
  5219. <foreColor value="Blue"/>
  5220. </mapping>
  5221. </code>
  5222. <para>
  5223. The Level is the standard log4net logging level while
  5224. ForeColor and BackColor are the values of <see cref="T:System.ConsoleColor"/>
  5225. enumeration.
  5226. </para>
  5227. <para>
  5228. Based on the ColoredConsoleAppender
  5229. </para>
  5230. </remarks>
  5231. <author>Rick Hobbs</author>
  5232. <author>Nicko Cadell</author>
  5233. <author>Pavlos Touboulidis</author>
  5234. </member>
  5235. <member name="F:log4net.Appender.ManagedColoredConsoleAppender.ConsoleOut">
  5236. <summary>
  5237. The <see cref="P:log4net.Appender.ManagedColoredConsoleAppender.Target"/> to use when writing to the Console
  5238. standard output stream.
  5239. </summary>
  5240. <remarks>
  5241. <para>
  5242. The <see cref="P:log4net.Appender.ManagedColoredConsoleAppender.Target"/> to use when writing to the Console
  5243. standard output stream.
  5244. </para>
  5245. </remarks>
  5246. </member>
  5247. <member name="F:log4net.Appender.ManagedColoredConsoleAppender.ConsoleError">
  5248. <summary>
  5249. The <see cref="P:log4net.Appender.ManagedColoredConsoleAppender.Target"/> to use when writing to the Console
  5250. standard error output stream.
  5251. </summary>
  5252. <remarks>
  5253. <para>
  5254. The <see cref="P:log4net.Appender.ManagedColoredConsoleAppender.Target"/> to use when writing to the Console
  5255. standard error output stream.
  5256. </para>
  5257. </remarks>
  5258. </member>
  5259. <member name="M:log4net.Appender.ManagedColoredConsoleAppender.#ctor">
  5260. <summary>
  5261. Initializes a new instance of the <see cref="T:log4net.Appender.ManagedColoredConsoleAppender"/> class.
  5262. </summary>
  5263. <remarks>
  5264. The instance of the <see cref="T:log4net.Appender.ManagedColoredConsoleAppender"/> class is set up to write
  5265. to the standard output stream.
  5266. </remarks>
  5267. </member>
  5268. <member name="M:log4net.Appender.ManagedColoredConsoleAppender.AddMapping(log4net.Appender.ManagedColoredConsoleAppender.LevelColors)">
  5269. <summary>
  5270. Add a mapping of level to color - done by the config file
  5271. </summary>
  5272. <param name="mapping">The mapping to add</param>
  5273. <remarks>
  5274. <para>
  5275. Add a <see cref="T:log4net.Appender.ManagedColoredConsoleAppender.LevelColors"/> mapping to this appender.
  5276. Each mapping defines the foreground and background colors
  5277. for a level.
  5278. </para>
  5279. </remarks>
  5280. </member>
  5281. <member name="M:log4net.Appender.ManagedColoredConsoleAppender.Append(log4net.Core.LoggingEvent)">
  5282. <summary>
  5283. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
  5284. </summary>
  5285. <param name="loggingEvent">The event to log.</param>
  5286. <remarks>
  5287. <para>
  5288. Writes the event to the console.
  5289. </para>
  5290. <para>
  5291. The format of the output will depend on the appender's layout.
  5292. </para>
  5293. </remarks>
  5294. </member>
  5295. <member name="M:log4net.Appender.ManagedColoredConsoleAppender.ActivateOptions">
  5296. <summary>
  5297. Initialize the options for this appender
  5298. </summary>
  5299. <remarks>
  5300. <para>
  5301. Initialize the level to color mappings set on this appender.
  5302. </para>
  5303. </remarks>
  5304. </member>
  5305. <member name="F:log4net.Appender.ManagedColoredConsoleAppender.m_writeToErrorStream">
  5306. <summary>
  5307. Flag to write output to the error stream rather than the standard output stream
  5308. </summary>
  5309. </member>
  5310. <member name="F:log4net.Appender.ManagedColoredConsoleAppender.m_levelMapping">
  5311. <summary>
  5312. Mapping from level object to color value
  5313. </summary>
  5314. </member>
  5315. <member name="P:log4net.Appender.ManagedColoredConsoleAppender.Target">
  5316. <summary>
  5317. Target is the value of the console output stream.
  5318. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  5319. </summary>
  5320. <value>
  5321. Target is the value of the console output stream.
  5322. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  5323. </value>
  5324. <remarks>
  5325. <para>
  5326. Target is the value of the console output stream.
  5327. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  5328. </para>
  5329. </remarks>
  5330. </member>
  5331. <member name="P:log4net.Appender.ManagedColoredConsoleAppender.RequiresLayout">
  5332. <summary>
  5333. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  5334. </summary>
  5335. <value><c>true</c></value>
  5336. <remarks>
  5337. <para>
  5338. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  5339. </para>
  5340. </remarks>
  5341. </member>
  5342. <member name="T:log4net.Appender.ManagedColoredConsoleAppender.LevelColors">
  5343. <summary>
  5344. A class to act as a mapping between the level that a logging call is made at and
  5345. the color it should be displayed as.
  5346. </summary>
  5347. <remarks>
  5348. <para>
  5349. Defines the mapping between a level and the color it should be displayed in.
  5350. </para>
  5351. </remarks>
  5352. </member>
  5353. <member name="P:log4net.Appender.ManagedColoredConsoleAppender.LevelColors.ForeColor">
  5354. <summary>
  5355. The mapped foreground color for the specified level
  5356. </summary>
  5357. <remarks>
  5358. <para>
  5359. Required property.
  5360. The mapped foreground color for the specified level.
  5361. </para>
  5362. </remarks>
  5363. </member>
  5364. <member name="P:log4net.Appender.ManagedColoredConsoleAppender.LevelColors.BackColor">
  5365. <summary>
  5366. The mapped background color for the specified level
  5367. </summary>
  5368. <remarks>
  5369. <para>
  5370. Required property.
  5371. The mapped background color for the specified level.
  5372. </para>
  5373. </remarks>
  5374. </member>
  5375. <member name="T:log4net.Appender.MemoryAppender">
  5376. <summary>
  5377. Stores logging events in an array.
  5378. </summary>
  5379. <remarks>
  5380. <para>
  5381. The memory appender stores all the logging events
  5382. that are appended in an in-memory array.
  5383. </para>
  5384. <para>
  5385. Use the <see cref="M:PopAllEvents()"/> method to get
  5386. and clear the current list of events that have been appended.
  5387. </para>
  5388. <para>
  5389. Use the <see cref="M:GetEvents()"/> method to get the current
  5390. list of events that have been appended. Note there is a
  5391. race-condition when calling <see cref="M:GetEvents()"/> and
  5392. <see cref="M:Clear()"/> in pairs, you better use <see
  5393. mref="M:PopAllEvents()"/> in that case.
  5394. </para>
  5395. <para>
  5396. Use the <see cref="M:Clear()"/> method to clear the
  5397. current list of events. Note there is a
  5398. race-condition when calling <see cref="M:GetEvents()"/> and
  5399. <see cref="M:Clear()"/> in pairs, you better use <see
  5400. mref="M:PopAllEvents()"/> in that case.
  5401. </para>
  5402. </remarks>
  5403. <author>Julian Biddle</author>
  5404. <author>Nicko Cadell</author>
  5405. <author>Gert Driesen</author>
  5406. </member>
  5407. <member name="M:log4net.Appender.MemoryAppender.#ctor">
  5408. <summary>
  5409. Initializes a new instance of the <see cref="T:log4net.Appender.MemoryAppender"/> class.
  5410. </summary>
  5411. <remarks>
  5412. <para>
  5413. Default constructor.
  5414. </para>
  5415. </remarks>
  5416. </member>
  5417. <member name="M:log4net.Appender.MemoryAppender.GetEvents">
  5418. <summary>
  5419. Gets the events that have been logged.
  5420. </summary>
  5421. <returns>The events that have been logged</returns>
  5422. <remarks>
  5423. <para>
  5424. Gets the events that have been logged.
  5425. </para>
  5426. </remarks>
  5427. </member>
  5428. <member name="M:log4net.Appender.MemoryAppender.Append(log4net.Core.LoggingEvent)">
  5429. <summary>
  5430. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  5431. </summary>
  5432. <param name="loggingEvent">the event to log</param>
  5433. <remarks>
  5434. <para>Stores the <paramref name="loggingEvent"/> in the events list.</para>
  5435. </remarks>
  5436. </member>
  5437. <member name="M:log4net.Appender.MemoryAppender.Clear">
  5438. <summary>
  5439. Clear the list of events
  5440. </summary>
  5441. <remarks>
  5442. Clear the list of events
  5443. </remarks>
  5444. </member>
  5445. <member name="M:log4net.Appender.MemoryAppender.PopAllEvents">
  5446. <summary>
  5447. Gets the events that have been logged and clears the list of events.
  5448. </summary>
  5449. <returns>The events that have been logged</returns>
  5450. <remarks>
  5451. <para>
  5452. Gets the events that have been logged and clears the list of events.
  5453. </para>
  5454. </remarks>
  5455. </member>
  5456. <member name="F:log4net.Appender.MemoryAppender.m_eventsList">
  5457. <summary>
  5458. The list of events that have been appended.
  5459. </summary>
  5460. </member>
  5461. <member name="F:log4net.Appender.MemoryAppender.m_fixFlags">
  5462. <summary>
  5463. Value indicating which fields in the event should be fixed
  5464. </summary>
  5465. <remarks>
  5466. By default all fields are fixed
  5467. </remarks>
  5468. </member>
  5469. <member name="P:log4net.Appender.MemoryAppender.OnlyFixPartialEventData">
  5470. <summary>
  5471. Gets or sets a value indicating whether only part of the logging event
  5472. data should be fixed.
  5473. </summary>
  5474. <value>
  5475. <c>true</c> if the appender should only fix part of the logging event
  5476. data, otherwise <c>false</c>. The default is <c>false</c>.
  5477. </value>
  5478. <remarks>
  5479. <para>
  5480. Setting this property to <c>true</c> will cause only part of the event
  5481. data to be fixed and stored in the appender, hereby improving performance.
  5482. </para>
  5483. <para>
  5484. See <see cref="M:LoggingEvent.FixVolatileData(bool)"/> for more information.
  5485. </para>
  5486. </remarks>
  5487. </member>
  5488. <member name="P:log4net.Appender.MemoryAppender.Fix">
  5489. <summary>
  5490. Gets or sets the fields that will be fixed in the event
  5491. </summary>
  5492. <remarks>
  5493. <para>
  5494. The logging event needs to have certain thread specific values
  5495. captured before it can be buffered. See <see cref="P:log4net.Core.LoggingEvent.Fix"/>
  5496. for details.
  5497. </para>
  5498. </remarks>
  5499. </member>
  5500. <member name="T:log4net.Appender.NetSendAppender">
  5501. <summary>
  5502. Logs entries by sending network messages using the
  5503. <see cref="M:log4net.Appender.NetSendAppender.NetMessageBufferSend(System.String,System.String,System.String,System.String,System.Int32)"/> native function.
  5504. </summary>
  5505. <remarks>
  5506. <para>
  5507. You can send messages only to names that are active
  5508. on the network. If you send the message to a user name,
  5509. that user must be logged on and running the Messenger
  5510. service to receive the message.
  5511. </para>
  5512. <para>
  5513. The receiver will get a top most window displaying the
  5514. messages one at a time, therefore this appender should
  5515. not be used to deliver a high volume of messages.
  5516. </para>
  5517. <para>
  5518. The following table lists some possible uses for this appender :
  5519. </para>
  5520. <para>
  5521. <list type="table">
  5522. <listheader>
  5523. <term>Action</term>
  5524. <description>Property Value(s)</description>
  5525. </listheader>
  5526. <item>
  5527. <term>Send a message to a user account on the local machine</term>
  5528. <description>
  5529. <para>
  5530. <see cref="P:log4net.Appender.NetSendAppender.Server"/> = &lt;name of the local machine&gt;
  5531. </para>
  5532. <para>
  5533. <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> = &lt;user name&gt;
  5534. </para>
  5535. </description>
  5536. </item>
  5537. <item>
  5538. <term>Send a message to a user account on a remote machine</term>
  5539. <description>
  5540. <para>
  5541. <see cref="P:log4net.Appender.NetSendAppender.Server"/> = &lt;name of the remote machine&gt;
  5542. </para>
  5543. <para>
  5544. <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> = &lt;user name&gt;
  5545. </para>
  5546. </description>
  5547. </item>
  5548. <item>
  5549. <term>Send a message to a domain user account</term>
  5550. <description>
  5551. <para>
  5552. <see cref="P:log4net.Appender.NetSendAppender.Server"/> = &lt;name of a domain controller | uninitialized&gt;
  5553. </para>
  5554. <para>
  5555. <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> = &lt;user name&gt;
  5556. </para>
  5557. </description>
  5558. </item>
  5559. <item>
  5560. <term>Send a message to all the names in a workgroup or domain</term>
  5561. <description>
  5562. <para>
  5563. <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> = &lt;workgroup name | domain name&gt;*
  5564. </para>
  5565. </description>
  5566. </item>
  5567. <item>
  5568. <term>Send a message from the local machine to a remote machine</term>
  5569. <description>
  5570. <para>
  5571. <see cref="P:log4net.Appender.NetSendAppender.Server"/> = &lt;name of the local machine | uninitialized&gt;
  5572. </para>
  5573. <para>
  5574. <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> = &lt;name of the remote machine&gt;
  5575. </para>
  5576. </description>
  5577. </item>
  5578. </list>
  5579. </para>
  5580. <para>
  5581. <b>Note :</b> security restrictions apply for sending
  5582. network messages, see <see cref="M:log4net.Appender.NetSendAppender.NetMessageBufferSend(System.String,System.String,System.String,System.String,System.Int32)"/>
  5583. for more information.
  5584. </para>
  5585. </remarks>
  5586. <example>
  5587. <para>
  5588. An example configuration section to log information
  5589. using this appender from the local machine, named
  5590. LOCAL_PC, to machine OPERATOR_PC :
  5591. </para>
  5592. <code lang="XML" escaped="true">
  5593. <appender name="NetSendAppender_Operator" type="log4net.Appender.NetSendAppender">
  5594. <server value="LOCAL_PC"/>
  5595. <recipient value="OPERATOR_PC"/>
  5596. <layout type="log4net.Layout.PatternLayout" value="%-5p %c [%x] - %m%n"/>
  5597. </appender>
  5598. </code>
  5599. </example>
  5600. <author>Nicko Cadell</author>
  5601. <author>Gert Driesen</author>
  5602. </member>
  5603. <member name="F:log4net.Appender.NetSendAppender.m_server">
  5604. <summary>
  5605. The DNS or NetBIOS name of the server on which the function is to execute.
  5606. </summary>
  5607. </member>
  5608. <member name="F:log4net.Appender.NetSendAppender.m_sender">
  5609. <summary>
  5610. The sender of the network message.
  5611. </summary>
  5612. </member>
  5613. <member name="F:log4net.Appender.NetSendAppender.m_recipient">
  5614. <summary>
  5615. The message alias to which the message should be sent.
  5616. </summary>
  5617. </member>
  5618. <member name="F:log4net.Appender.NetSendAppender.m_securityContext">
  5619. <summary>
  5620. The security context to use for privileged calls
  5621. </summary>
  5622. </member>
  5623. <member name="M:log4net.Appender.NetSendAppender.#ctor">
  5624. <summary>
  5625. Initializes the appender.
  5626. </summary>
  5627. <remarks>
  5628. The default constructor initializes all fields to their default values.
  5629. </remarks>
  5630. </member>
  5631. <member name="M:log4net.Appender.NetSendAppender.ActivateOptions">
  5632. <summary>
  5633. Initialize the appender based on the options set.
  5634. </summary>
  5635. <remarks>
  5636. <para>
  5637. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  5638. activation scheme. The <see cref="M:log4net.Appender.NetSendAppender.ActivateOptions"/> method must
  5639. be called on this object after the configuration properties have
  5640. been set. Until <see cref="M:log4net.Appender.NetSendAppender.ActivateOptions"/> is called this
  5641. object is in an undefined state and must not be used.
  5642. </para>
  5643. <para>
  5644. If any of the configuration properties are modified then
  5645. <see cref="M:log4net.Appender.NetSendAppender.ActivateOptions"/> must be called again.
  5646. </para>
  5647. <para>
  5648. The appender will be ignored if no <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> was specified.
  5649. </para>
  5650. </remarks>
  5651. <exception cref="T:System.ArgumentNullException">The required property <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> was not specified.</exception>
  5652. </member>
  5653. <member name="M:log4net.Appender.NetSendAppender.Append(log4net.Core.LoggingEvent)">
  5654. <summary>
  5655. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  5656. </summary>
  5657. <param name="loggingEvent">The event to log.</param>
  5658. <remarks>
  5659. <para>
  5660. Sends the event using a network message.
  5661. </para>
  5662. </remarks>
  5663. </member>
  5664. <member name="M:log4net.Appender.NetSendAppender.NetMessageBufferSend(System.String,System.String,System.String,System.String,System.Int32)">
  5665. <summary>
  5666. Sends a buffer of information to a registered message alias.
  5667. </summary>
  5668. <param name="serverName">The DNS or NetBIOS name of the server on which the function is to execute.</param>
  5669. <param name="msgName">The message alias to which the message buffer should be sent</param>
  5670. <param name="fromName">The originator of the message.</param>
  5671. <param name="buffer">The message text.</param>
  5672. <param name="bufferSize">The length, in bytes, of the message text.</param>
  5673. <remarks>
  5674. <para>
  5675. The following restrictions apply for sending network messages:
  5676. </para>
  5677. <para>
  5678. <list type="table">
  5679. <listheader>
  5680. <term>Platform</term>
  5681. <description>Requirements</description>
  5682. </listheader>
  5683. <item>
  5684. <term>Windows NT</term>
  5685. <description>
  5686. <para>
  5687. No special group membership is required to send a network message.
  5688. </para>
  5689. <para>
  5690. Admin, Accounts, Print, or Server Operator group membership is required to
  5691. successfully send a network message on a remote server.
  5692. </para>
  5693. </description>
  5694. </item>
  5695. <item>
  5696. <term>Windows 2000 or later</term>
  5697. <description>
  5698. <para>
  5699. If you send a message on a domain controller that is running Active Directory,
  5700. access is allowed or denied based on the access control list (ACL) for the securable
  5701. object. The default ACL permits only Domain Admins and Account Operators to send a network message.
  5702. </para>
  5703. <para>
  5704. On a member server or workstation, only Administrators and Server Operators can send a network message.
  5705. </para>
  5706. </description>
  5707. </item>
  5708. </list>
  5709. </para>
  5710. <para>
  5711. 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>.
  5712. </para>
  5713. </remarks>
  5714. <returns>
  5715. <para>
  5716. If the function succeeds, the return value is zero.
  5717. </para>
  5718. </returns>
  5719. </member>
  5720. <member name="P:log4net.Appender.NetSendAppender.Sender">
  5721. <summary>
  5722. Gets or sets the sender of the message.
  5723. </summary>
  5724. <value>
  5725. The sender of the message.
  5726. </value>
  5727. <remarks>
  5728. If this property is not specified, the message is sent from the local computer.
  5729. </remarks>
  5730. </member>
  5731. <member name="P:log4net.Appender.NetSendAppender.Recipient">
  5732. <summary>
  5733. Gets or sets the message alias to which the message should be sent.
  5734. </summary>
  5735. <value>
  5736. The recipient of the message.
  5737. </value>
  5738. <remarks>
  5739. This property should always be specified in order to send a message.
  5740. </remarks>
  5741. </member>
  5742. <member name="P:log4net.Appender.NetSendAppender.Server">
  5743. <summary>
  5744. Gets or sets the DNS or NetBIOS name of the remote server on which the function is to execute.
  5745. </summary>
  5746. <value>
  5747. DNS or NetBIOS name of the remote server on which the function is to execute.
  5748. </value>
  5749. <remarks>
  5750. <para>
  5751. For Windows NT 4.0 and earlier, the string should begin with \\.
  5752. </para>
  5753. <para>
  5754. If this property is not specified, the local computer is used.
  5755. </para>
  5756. </remarks>
  5757. </member>
  5758. <member name="P:log4net.Appender.NetSendAppender.SecurityContext">
  5759. <summary>
  5760. Gets or sets the <see cref="P:log4net.Appender.NetSendAppender.SecurityContext"/> used to call the NetSend method.
  5761. </summary>
  5762. <value>
  5763. The <see cref="P:log4net.Appender.NetSendAppender.SecurityContext"/> used to call the NetSend method.
  5764. </value>
  5765. <remarks>
  5766. <para>
  5767. Unless a <see cref="P:log4net.Appender.NetSendAppender.SecurityContext"/> specified here for this appender
  5768. the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
  5769. security context to use. The default behavior is to use the security context
  5770. of the current thread.
  5771. </para>
  5772. </remarks>
  5773. </member>
  5774. <member name="P:log4net.Appender.NetSendAppender.RequiresLayout">
  5775. <summary>
  5776. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  5777. </summary>
  5778. <value><c>true</c></value>
  5779. <remarks>
  5780. <para>
  5781. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  5782. </para>
  5783. </remarks>
  5784. </member>
  5785. <member name="T:log4net.Appender.OutputDebugStringAppender">
  5786. <summary>
  5787. Appends log events to the OutputDebugString system.
  5788. </summary>
  5789. <remarks>
  5790. <para>
  5791. OutputDebugStringAppender appends log events to the
  5792. OutputDebugString system.
  5793. </para>
  5794. <para>
  5795. The string is passed to the native <c>OutputDebugString</c>
  5796. function.
  5797. </para>
  5798. </remarks>
  5799. <author>Nicko Cadell</author>
  5800. <author>Gert Driesen</author>
  5801. </member>
  5802. <member name="M:log4net.Appender.OutputDebugStringAppender.#ctor">
  5803. <summary>
  5804. Initializes a new instance of the <see cref="T:log4net.Appender.OutputDebugStringAppender"/> class.
  5805. </summary>
  5806. <remarks>
  5807. <para>
  5808. Default constructor.
  5809. </para>
  5810. </remarks>
  5811. </member>
  5812. <member name="M:log4net.Appender.OutputDebugStringAppender.Append(log4net.Core.LoggingEvent)">
  5813. <summary>
  5814. Write the logging event to the output debug string API
  5815. </summary>
  5816. <param name="loggingEvent">the event to log</param>
  5817. <remarks>
  5818. <para>
  5819. Write the logging event to the output debug string API
  5820. </para>
  5821. </remarks>
  5822. </member>
  5823. <member name="M:log4net.Appender.OutputDebugStringAppender.OutputDebugString(System.String)">
  5824. <summary>
  5825. Stub for OutputDebugString native method
  5826. </summary>
  5827. <param name="message">the string to output</param>
  5828. <remarks>
  5829. <para>
  5830. Stub for OutputDebugString native method
  5831. </para>
  5832. </remarks>
  5833. </member>
  5834. <member name="P:log4net.Appender.OutputDebugStringAppender.RequiresLayout">
  5835. <summary>
  5836. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  5837. </summary>
  5838. <value><c>true</c></value>
  5839. <remarks>
  5840. <para>
  5841. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  5842. </para>
  5843. </remarks>
  5844. </member>
  5845. <member name="T:log4net.Appender.RemoteSyslogAppender">
  5846. <summary>
  5847. Logs events to a remote syslog daemon.
  5848. </summary>
  5849. <remarks>
  5850. <para>
  5851. The BSD syslog protocol is used to remotely log to
  5852. a syslog daemon. The syslogd listens for for messages
  5853. on UDP port 514.
  5854. </para>
  5855. <para>
  5856. The syslog UDP protocol is not authenticated. Most syslog daemons
  5857. do not accept remote log messages because of the security implications.
  5858. You may be able to use the LocalSyslogAppender to talk to a local
  5859. syslog service.
  5860. </para>
  5861. <para>
  5862. There is an RFC 3164 that claims to document the BSD Syslog Protocol.
  5863. This RFC can be seen here: http://www.faqs.org/rfcs/rfc3164.html.
  5864. This appender generates what the RFC calls an "Original Device Message",
  5865. i.e. does not include the TIMESTAMP or HOSTNAME fields. By observation
  5866. this format of message will be accepted by all current syslog daemon
  5867. implementations. The daemon will attach the current time and the source
  5868. hostname or IP address to any messages received.
  5869. </para>
  5870. <para>
  5871. Syslog messages must have a facility and and a severity. The severity
  5872. is derived from the Level of the logging event.
  5873. The facility must be chosen from the set of defined syslog
  5874. <see cref="T:log4net.Appender.RemoteSyslogAppender.SyslogFacility"/> values. The facilities list is predefined
  5875. and cannot be extended.
  5876. </para>
  5877. <para>
  5878. An identifier is specified with each log message. This can be specified
  5879. by setting the <see cref="P:log4net.Appender.RemoteSyslogAppender.Identity"/> property. The identity (also know
  5880. as the tag) must not contain white space. The default value for the
  5881. identity is the application name (from <see cref="P:log4net.Core.LoggingEvent.Domain"/>).
  5882. </para>
  5883. </remarks>
  5884. <author>Rob Lyon</author>
  5885. <author>Nicko Cadell</author>
  5886. </member>
  5887. <member name="T:log4net.Appender.UdpAppender">
  5888. <summary>
  5889. Sends logging events as connectionless UDP datagrams to a remote host or a
  5890. multicast group using an <see cref="T:System.Net.Sockets.UdpClient"/>.
  5891. </summary>
  5892. <remarks>
  5893. <para>
  5894. UDP guarantees neither that messages arrive, nor that they arrive in the correct order.
  5895. </para>
  5896. <para>
  5897. To view the logging results, a custom application can be developed that listens for logging
  5898. events.
  5899. </para>
  5900. <para>
  5901. When decoding events send via this appender remember to use the same encoding
  5902. to decode the events as was used to send the events. See the <see cref="P:log4net.Appender.UdpAppender.Encoding"/>
  5903. property to specify the encoding to use.
  5904. </para>
  5905. </remarks>
  5906. <example>
  5907. This example shows how to log receive logging events that are sent
  5908. on IP address 244.0.0.1 and port 8080 to the console. The event is
  5909. encoded in the packet as a unicode string and it is decoded as such.
  5910. <code lang="C#">
  5911. IPEndPoint remoteEndPoint = new IPEndPoint(IPAddress.Any, 0);
  5912. UdpClient udpClient;
  5913. byte[] buffer;
  5914. string loggingEvent;
  5915. try
  5916. {
  5917. udpClient = new UdpClient(8080);
  5918. while(true)
  5919. {
  5920. buffer = udpClient.Receive(ref remoteEndPoint);
  5921. loggingEvent = System.Text.Encoding.Unicode.GetString(buffer);
  5922. Console.WriteLine(loggingEvent);
  5923. }
  5924. }
  5925. catch(Exception e)
  5926. {
  5927. Console.WriteLine(e.ToString());
  5928. }
  5929. </code>
  5930. <code lang="Visual Basic">
  5931. Dim remoteEndPoint as IPEndPoint
  5932. Dim udpClient as UdpClient
  5933. Dim buffer as Byte()
  5934. Dim loggingEvent as String
  5935. Try
  5936. remoteEndPoint = new IPEndPoint(IPAddress.Any, 0)
  5937. udpClient = new UdpClient(8080)
  5938. While True
  5939. buffer = udpClient.Receive(ByRef remoteEndPoint)
  5940. loggingEvent = System.Text.Encoding.Unicode.GetString(buffer)
  5941. Console.WriteLine(loggingEvent)
  5942. Wend
  5943. Catch e As Exception
  5944. Console.WriteLine(e.ToString())
  5945. End Try
  5946. </code>
  5947. <para>
  5948. An example configuration section to log information using this appender to the
  5949. IP 224.0.0.1 on port 8080:
  5950. </para>
  5951. <code lang="XML" escaped="true">
  5952. <appender name="UdpAppender" type="log4net.Appender.UdpAppender">
  5953. <remoteAddress value="224.0.0.1"/>
  5954. <remotePort value="8080"/>
  5955. <layout type="log4net.Layout.PatternLayout" value="%-5level %logger [%ndc] - %message%newline"/>
  5956. </appender>
  5957. </code>
  5958. </example>
  5959. <author>Gert Driesen</author>
  5960. <author>Nicko Cadell</author>
  5961. </member>
  5962. <member name="M:log4net.Appender.UdpAppender.#ctor">
  5963. <summary>
  5964. Initializes a new instance of the <see cref="T:log4net.Appender.UdpAppender"/> class.
  5965. </summary>
  5966. <remarks>
  5967. The default constructor initializes all fields to their default values.
  5968. </remarks>
  5969. </member>
  5970. <member name="M:log4net.Appender.UdpAppender.ActivateOptions">
  5971. <summary>
  5972. Initialize the appender based on the options set.
  5973. </summary>
  5974. <remarks>
  5975. <para>
  5976. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  5977. activation scheme. The <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> method must
  5978. be called on this object after the configuration properties have
  5979. been set. Until <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> is called this
  5980. object is in an undefined state and must not be used.
  5981. </para>
  5982. <para>
  5983. If any of the configuration properties are modified then
  5984. <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> must be called again.
  5985. </para>
  5986. <para>
  5987. The appender will be ignored if no <see cref="P:log4net.Appender.UdpAppender.RemoteAddress"/> was specified or
  5988. an invalid remote or local TCP port number was specified.
  5989. </para>
  5990. </remarks>
  5991. <exception cref="T:System.ArgumentNullException">The required property <see cref="P:log4net.Appender.UdpAppender.RemoteAddress"/> was not specified.</exception>
  5992. <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>
  5993. </member>
  5994. <member name="M:log4net.Appender.UdpAppender.Append(log4net.Core.LoggingEvent)">
  5995. <summary>
  5996. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  5997. </summary>
  5998. <param name="loggingEvent">The event to log.</param>
  5999. <remarks>
  6000. <para>
  6001. Sends the event using an UDP datagram.
  6002. </para>
  6003. <para>
  6004. Exceptions are passed to the <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/>.
  6005. </para>
  6006. </remarks>
  6007. </member>
  6008. <member name="M:log4net.Appender.UdpAppender.OnClose">
  6009. <summary>
  6010. Closes the UDP connection and releases all resources associated with
  6011. this <see cref="T:log4net.Appender.UdpAppender"/> instance.
  6012. </summary>
  6013. <remarks>
  6014. <para>
  6015. Disables the underlying <see cref="T:System.Net.Sockets.UdpClient"/> and releases all managed
  6016. and unmanaged resources associated with the <see cref="T:log4net.Appender.UdpAppender"/>.
  6017. </para>
  6018. </remarks>
  6019. </member>
  6020. <member name="M:log4net.Appender.UdpAppender.InitializeClientConnection">
  6021. <summary>
  6022. Initializes the underlying <see cref="T:System.Net.Sockets.UdpClient"/> connection.
  6023. </summary>
  6024. <remarks>
  6025. <para>
  6026. The underlying <see cref="T:System.Net.Sockets.UdpClient"/> is initialized and binds to the
  6027. port number from which you intend to communicate.
  6028. </para>
  6029. <para>
  6030. Exceptions are passed to the <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/>.
  6031. </para>
  6032. </remarks>
  6033. </member>
  6034. <member name="F:log4net.Appender.UdpAppender.m_remoteAddress">
  6035. <summary>
  6036. The IP address of the remote host or multicast group to which
  6037. the logging event will be sent.
  6038. </summary>
  6039. </member>
  6040. <member name="F:log4net.Appender.UdpAppender.m_remotePort">
  6041. <summary>
  6042. The TCP port number of the remote host or multicast group to
  6043. which the logging event will be sent.
  6044. </summary>
  6045. </member>
  6046. <member name="F:log4net.Appender.UdpAppender.m_remoteEndPoint">
  6047. <summary>
  6048. The cached remote endpoint to which the logging events will be sent.
  6049. </summary>
  6050. </member>
  6051. <member name="F:log4net.Appender.UdpAppender.m_localPort">
  6052. <summary>
  6053. The TCP port number from which the <see cref="T:System.Net.Sockets.UdpClient"/> will communicate.
  6054. </summary>
  6055. </member>
  6056. <member name="F:log4net.Appender.UdpAppender.m_client">
  6057. <summary>
  6058. The <see cref="T:System.Net.Sockets.UdpClient"/> instance that will be used for sending the
  6059. logging events.
  6060. </summary>
  6061. </member>
  6062. <member name="F:log4net.Appender.UdpAppender.m_encoding">
  6063. <summary>
  6064. The encoding to use for the packet.
  6065. </summary>
  6066. </member>
  6067. <member name="P:log4net.Appender.UdpAppender.RemoteAddress">
  6068. <summary>
  6069. Gets or sets the IP address of the remote host or multicast group to which
  6070. the underlying <see cref="T:System.Net.Sockets.UdpClient"/> should sent the logging event.
  6071. </summary>
  6072. <value>
  6073. The IP address of the remote host or multicast group to which the logging event
  6074. will be sent.
  6075. </value>
  6076. <remarks>
  6077. <para>
  6078. Multicast addresses are identified by IP class <b>D</b> addresses (in the range 224.0.0.0 to
  6079. 239.255.255.255). Multicast packets can pass across different networks through routers, so
  6080. it is possible to use multicasts in an Internet scenario as long as your network provider
  6081. supports multicasting.
  6082. </para>
  6083. <para>
  6084. Hosts that want to receive particular multicast messages must register their interest by joining
  6085. the multicast group. Multicast messages are not sent to networks where no host has joined
  6086. the multicast group. Class <b>D</b> IP addresses are used for multicast groups, to differentiate
  6087. them from normal host addresses, allowing nodes to easily detect if a message is of interest.
  6088. </para>
  6089. <para>
  6090. Static multicast addresses that are needed globally are assigned by IANA. A few examples are listed in the table below:
  6091. </para>
  6092. <para>
  6093. <list type="table">
  6094. <listheader>
  6095. <term>IP Address</term>
  6096. <description>Description</description>
  6097. </listheader>
  6098. <item>
  6099. <term>224.0.0.1</term>
  6100. <description>
  6101. <para>
  6102. Sends a message to all system on the subnet.
  6103. </para>
  6104. </description>
  6105. </item>
  6106. <item>
  6107. <term>224.0.0.2</term>
  6108. <description>
  6109. <para>
  6110. Sends a message to all routers on the subnet.
  6111. </para>
  6112. </description>
  6113. </item>
  6114. <item>
  6115. <term>224.0.0.12</term>
  6116. <description>
  6117. <para>
  6118. The DHCP server answers messages on the IP address 224.0.0.12, but only on a subnet.
  6119. </para>
  6120. </description>
  6121. </item>
  6122. </list>
  6123. </para>
  6124. <para>
  6125. A complete list of actually reserved multicast addresses and their owners in the ranges
  6126. defined by RFC 3171 can be found at the <A href="http://www.iana.org/assignments/multicast-addresses">IANA web site</A>.
  6127. </para>
  6128. <para>
  6129. The address range 239.0.0.0 to 239.255.255.255 is reserved for administrative scope-relative
  6130. addresses. These addresses can be reused with other local groups. Routers are typically
  6131. configured with filters to prevent multicast traffic in this range from flowing outside
  6132. of the local network.
  6133. </para>
  6134. </remarks>
  6135. </member>
  6136. <member name="P:log4net.Appender.UdpAppender.RemotePort">
  6137. <summary>
  6138. Gets or sets the TCP port number of the remote host or multicast group to which
  6139. the underlying <see cref="T:System.Net.Sockets.UdpClient"/> should sent the logging event.
  6140. </summary>
  6141. <value>
  6142. An integer value in the range <see cref="F:System.Net.IPEndPoint.MinPort"/> to <see cref="F:System.Net.IPEndPoint.MaxPort"/>
  6143. indicating the TCP port number of the remote host or multicast group to which the logging event
  6144. will be sent.
  6145. </value>
  6146. <remarks>
  6147. The underlying <see cref="T:System.Net.Sockets.UdpClient"/> will send messages to this TCP port number
  6148. on the remote host or multicast group.
  6149. </remarks>
  6150. <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>
  6151. </member>
  6152. <member name="P:log4net.Appender.UdpAppender.LocalPort">
  6153. <summary>
  6154. Gets or sets the TCP port number from which the underlying <see cref="T:System.Net.Sockets.UdpClient"/> will communicate.
  6155. </summary>
  6156. <value>
  6157. An integer value in the range <see cref="F:System.Net.IPEndPoint.MinPort"/> to <see cref="F:System.Net.IPEndPoint.MaxPort"/>
  6158. indicating the TCP port number from which the underlying <see cref="T:System.Net.Sockets.UdpClient"/> will communicate.
  6159. </value>
  6160. <remarks>
  6161. <para>
  6162. The underlying <see cref="T:System.Net.Sockets.UdpClient"/> will bind to this port for sending messages.
  6163. </para>
  6164. <para>
  6165. Setting the value to 0 (the default) will cause the udp client not to bind to
  6166. a local port.
  6167. </para>
  6168. </remarks>
  6169. <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>
  6170. </member>
  6171. <member name="P:log4net.Appender.UdpAppender.Encoding">
  6172. <summary>
  6173. Gets or sets <see cref="P:log4net.Appender.UdpAppender.Encoding"/> used to write the packets.
  6174. </summary>
  6175. <value>
  6176. The <see cref="P:log4net.Appender.UdpAppender.Encoding"/> used to write the packets.
  6177. </value>
  6178. <remarks>
  6179. <para>
  6180. The <see cref="P:log4net.Appender.UdpAppender.Encoding"/> used to write the packets.
  6181. </para>
  6182. </remarks>
  6183. </member>
  6184. <member name="P:log4net.Appender.UdpAppender.Client">
  6185. <summary>
  6186. Gets or sets the underlying <see cref="T:System.Net.Sockets.UdpClient"/>.
  6187. </summary>
  6188. <value>
  6189. The underlying <see cref="T:System.Net.Sockets.UdpClient"/>.
  6190. </value>
  6191. <remarks>
  6192. <see cref="T:log4net.Appender.UdpAppender"/> creates a <see cref="T:System.Net.Sockets.UdpClient"/> to send logging events
  6193. over a network. Classes deriving from <see cref="T:log4net.Appender.UdpAppender"/> can use this
  6194. property to get or set this <see cref="T:System.Net.Sockets.UdpClient"/>. Use the underlying <see cref="T:System.Net.Sockets.UdpClient"/>
  6195. returned from <see cref="P:log4net.Appender.UdpAppender.Client"/> if you require access beyond that which
  6196. <see cref="T:log4net.Appender.UdpAppender"/> provides.
  6197. </remarks>
  6198. </member>
  6199. <member name="P:log4net.Appender.UdpAppender.RemoteEndPoint">
  6200. <summary>
  6201. Gets or sets the cached remote endpoint to which the logging events should be sent.
  6202. </summary>
  6203. <value>
  6204. The cached remote endpoint to which the logging events will be sent.
  6205. </value>
  6206. <remarks>
  6207. The <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> method will initialize the remote endpoint
  6208. with the values of the <see cref="P:log4net.Appender.UdpAppender.RemoteAddress"/> and <see cref="P:log4net.Appender.UdpAppender.RemotePort"/>
  6209. properties.
  6210. </remarks>
  6211. </member>
  6212. <member name="P:log4net.Appender.UdpAppender.RequiresLayout">
  6213. <summary>
  6214. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  6215. </summary>
  6216. <value><c>true</c></value>
  6217. <remarks>
  6218. <para>
  6219. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  6220. </para>
  6221. </remarks>
  6222. </member>
  6223. <member name="F:log4net.Appender.RemoteSyslogAppender.DefaultSyslogPort">
  6224. <summary>
  6225. Syslog port 514
  6226. </summary>
  6227. </member>
  6228. <member name="F:log4net.Appender.RemoteSyslogAppender.c_renderBufferSize">
  6229. <summary>
  6230. Initial buffer size
  6231. </summary>
  6232. </member>
  6233. <member name="F:log4net.Appender.RemoteSyslogAppender.c_renderBufferMaxCapacity">
  6234. <summary>
  6235. Maximum buffer size before it is recycled
  6236. </summary>
  6237. </member>
  6238. <member name="M:log4net.Appender.RemoteSyslogAppender.#ctor">
  6239. <summary>
  6240. Initializes a new instance of the <see cref="T:log4net.Appender.RemoteSyslogAppender"/> class.
  6241. </summary>
  6242. <remarks>
  6243. This instance of the <see cref="T:log4net.Appender.RemoteSyslogAppender"/> class is set up to write
  6244. to a remote syslog daemon.
  6245. </remarks>
  6246. </member>
  6247. <member name="M:log4net.Appender.RemoteSyslogAppender.AddMapping(log4net.Appender.RemoteSyslogAppender.LevelSeverity)">
  6248. <summary>
  6249. Add a mapping of level to severity
  6250. </summary>
  6251. <param name="mapping">The mapping to add</param>
  6252. <remarks>
  6253. <para>
  6254. Add a <see cref="T:log4net.Appender.RemoteSyslogAppender.LevelSeverity"/> mapping to this appender.
  6255. </para>
  6256. </remarks>
  6257. </member>
  6258. <member name="M:log4net.Appender.RemoteSyslogAppender.Append(log4net.Core.LoggingEvent)">
  6259. <summary>
  6260. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  6261. </summary>
  6262. <param name="loggingEvent">The event to log.</param>
  6263. <remarks>
  6264. <para>
  6265. Writes the event to a remote syslog daemon.
  6266. </para>
  6267. <para>
  6268. The format of the output will depend on the appender's layout.
  6269. </para>
  6270. </remarks>
  6271. </member>
  6272. <member name="M:log4net.Appender.RemoteSyslogAppender.ActivateOptions">
  6273. <summary>
  6274. Initialize the options for this appender
  6275. </summary>
  6276. <remarks>
  6277. <para>
  6278. Initialize the level to syslog severity mappings set on this appender.
  6279. </para>
  6280. </remarks>
  6281. </member>
  6282. <member name="M:log4net.Appender.RemoteSyslogAppender.GetSeverity(log4net.Core.Level)">
  6283. <summary>
  6284. Translates a log4net level to a syslog severity.
  6285. </summary>
  6286. <param name="level">A log4net level.</param>
  6287. <returns>A syslog severity.</returns>
  6288. <remarks>
  6289. <para>
  6290. Translates a log4net level to a syslog severity.
  6291. </para>
  6292. </remarks>
  6293. </member>
  6294. <member name="M:log4net.Appender.RemoteSyslogAppender.GeneratePriority(log4net.Appender.RemoteSyslogAppender.SyslogFacility,log4net.Appender.RemoteSyslogAppender.SyslogSeverity)">
  6295. <summary>
  6296. Generate a syslog priority.
  6297. </summary>
  6298. <param name="facility">The syslog facility.</param>
  6299. <param name="severity">The syslog severity.</param>
  6300. <returns>A syslog priority.</returns>
  6301. <remarks>
  6302. <para>
  6303. Generate a syslog priority.
  6304. </para>
  6305. </remarks>
  6306. </member>
  6307. <member name="F:log4net.Appender.RemoteSyslogAppender.m_facility">
  6308. <summary>
  6309. The facility. The default facility is <see cref="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.User"/>.
  6310. </summary>
  6311. </member>
  6312. <member name="F:log4net.Appender.RemoteSyslogAppender.m_identity">
  6313. <summary>
  6314. The message identity
  6315. </summary>
  6316. </member>
  6317. <member name="F:log4net.Appender.RemoteSyslogAppender.m_levelMapping">
  6318. <summary>
  6319. Mapping from level object to syslog severity
  6320. </summary>
  6321. </member>
  6322. <member name="P:log4net.Appender.RemoteSyslogAppender.Identity">
  6323. <summary>
  6324. Message identity
  6325. </summary>
  6326. <remarks>
  6327. <para>
  6328. An identifier is specified with each log message. This can be specified
  6329. by setting the <see cref="P:log4net.Appender.RemoteSyslogAppender.Identity"/> property. The identity (also know
  6330. as the tag) must not contain white space. The default value for the
  6331. identity is the application name (from <see cref="P:log4net.Core.LoggingEvent.Domain"/>).
  6332. </para>
  6333. </remarks>
  6334. </member>
  6335. <member name="P:log4net.Appender.RemoteSyslogAppender.Facility">
  6336. <summary>
  6337. Syslog facility
  6338. </summary>
  6339. <remarks>
  6340. Set to one of the <see cref="T:log4net.Appender.RemoteSyslogAppender.SyslogFacility"/> values. The list of
  6341. facilities is predefined and cannot be extended. The default value
  6342. is <see cref="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.User"/>.
  6343. </remarks>
  6344. </member>
  6345. <member name="T:log4net.Appender.RemoteSyslogAppender.SyslogSeverity">
  6346. <summary>
  6347. syslog severities
  6348. </summary>
  6349. <remarks>
  6350. <para>
  6351. The syslog severities.
  6352. </para>
  6353. </remarks>
  6354. </member>
  6355. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Emergency">
  6356. <summary>
  6357. system is unusable
  6358. </summary>
  6359. </member>
  6360. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Alert">
  6361. <summary>
  6362. action must be taken immediately
  6363. </summary>
  6364. </member>
  6365. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Critical">
  6366. <summary>
  6367. critical conditions
  6368. </summary>
  6369. </member>
  6370. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Error">
  6371. <summary>
  6372. error conditions
  6373. </summary>
  6374. </member>
  6375. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Warning">
  6376. <summary>
  6377. warning conditions
  6378. </summary>
  6379. </member>
  6380. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Notice">
  6381. <summary>
  6382. normal but significant condition
  6383. </summary>
  6384. </member>
  6385. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Informational">
  6386. <summary>
  6387. informational
  6388. </summary>
  6389. </member>
  6390. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Debug">
  6391. <summary>
  6392. debug-level messages
  6393. </summary>
  6394. </member>
  6395. <member name="T:log4net.Appender.RemoteSyslogAppender.SyslogFacility">
  6396. <summary>
  6397. syslog facilities
  6398. </summary>
  6399. <remarks>
  6400. <para>
  6401. The syslog facilities
  6402. </para>
  6403. </remarks>
  6404. </member>
  6405. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Kernel">
  6406. <summary>
  6407. kernel messages
  6408. </summary>
  6409. </member>
  6410. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.User">
  6411. <summary>
  6412. random user-level messages
  6413. </summary>
  6414. </member>
  6415. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Mail">
  6416. <summary>
  6417. mail system
  6418. </summary>
  6419. </member>
  6420. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Daemons">
  6421. <summary>
  6422. system daemons
  6423. </summary>
  6424. </member>
  6425. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Authorization">
  6426. <summary>
  6427. security/authorization messages
  6428. </summary>
  6429. </member>
  6430. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Syslog">
  6431. <summary>
  6432. messages generated internally by syslogd
  6433. </summary>
  6434. </member>
  6435. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Printer">
  6436. <summary>
  6437. line printer subsystem
  6438. </summary>
  6439. </member>
  6440. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.News">
  6441. <summary>
  6442. network news subsystem
  6443. </summary>
  6444. </member>
  6445. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Uucp">
  6446. <summary>
  6447. UUCP subsystem
  6448. </summary>
  6449. </member>
  6450. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Clock">
  6451. <summary>
  6452. clock (cron/at) daemon
  6453. </summary>
  6454. </member>
  6455. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Authorization2">
  6456. <summary>
  6457. security/authorization messages (private)
  6458. </summary>
  6459. </member>
  6460. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Ftp">
  6461. <summary>
  6462. ftp daemon
  6463. </summary>
  6464. </member>
  6465. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Ntp">
  6466. <summary>
  6467. NTP subsystem
  6468. </summary>
  6469. </member>
  6470. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Audit">
  6471. <summary>
  6472. log audit
  6473. </summary>
  6474. </member>
  6475. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Alert">
  6476. <summary>
  6477. log alert
  6478. </summary>
  6479. </member>
  6480. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Clock2">
  6481. <summary>
  6482. clock daemon
  6483. </summary>
  6484. </member>
  6485. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local0">
  6486. <summary>
  6487. reserved for local use
  6488. </summary>
  6489. </member>
  6490. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local1">
  6491. <summary>
  6492. reserved for local use
  6493. </summary>
  6494. </member>
  6495. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local2">
  6496. <summary>
  6497. reserved for local use
  6498. </summary>
  6499. </member>
  6500. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local3">
  6501. <summary>
  6502. reserved for local use
  6503. </summary>
  6504. </member>
  6505. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local4">
  6506. <summary>
  6507. reserved for local use
  6508. </summary>
  6509. </member>
  6510. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local5">
  6511. <summary>
  6512. reserved for local use
  6513. </summary>
  6514. </member>
  6515. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local6">
  6516. <summary>
  6517. reserved for local use
  6518. </summary>
  6519. </member>
  6520. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local7">
  6521. <summary>
  6522. reserved for local use
  6523. </summary>
  6524. </member>
  6525. <member name="T:log4net.Appender.RemoteSyslogAppender.LevelSeverity">
  6526. <summary>
  6527. A class to act as a mapping between the level that a logging call is made at and
  6528. the syslog severity that is should be logged at.
  6529. </summary>
  6530. <remarks>
  6531. <para>
  6532. A class to act as a mapping between the level that a logging call is made at and
  6533. the syslog severity that is should be logged at.
  6534. </para>
  6535. </remarks>
  6536. </member>
  6537. <member name="P:log4net.Appender.RemoteSyslogAppender.LevelSeverity.Severity">
  6538. <summary>
  6539. The mapped syslog severity for the specified level
  6540. </summary>
  6541. <remarks>
  6542. <para>
  6543. Required property.
  6544. The mapped syslog severity for the specified level
  6545. </para>
  6546. </remarks>
  6547. </member>
  6548. <member name="T:log4net.Appender.RemotingAppender">
  6549. <summary>
  6550. Delivers logging events to a remote logging sink.
  6551. </summary>
  6552. <remarks>
  6553. <para>
  6554. This Appender is designed to deliver events to a remote sink.
  6555. That is any object that implements the <see cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
  6556. interface. It delivers the events using .NET remoting. The
  6557. object to deliver events to is specified by setting the
  6558. appenders <see cref="P:log4net.Appender.RemotingAppender.Sink"/> property.</para>
  6559. <para>
  6560. The RemotingAppender buffers events before sending them. This allows it to
  6561. make more efficient use of the remoting infrastructure.</para>
  6562. <para>
  6563. Once the buffer is full the events are still not sent immediately.
  6564. They are scheduled to be sent using a pool thread. The effect is that
  6565. the send occurs asynchronously. This is very important for a
  6566. number of non obvious reasons. The remoting infrastructure will
  6567. flow thread local variables (stored in the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>),
  6568. if they are marked as <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>, across the
  6569. remoting boundary. If the server is not contactable then
  6570. the remoting infrastructure will clear the <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>
  6571. objects from the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>. To prevent a logging failure from
  6572. having side effects on the calling application the remoting call must be made
  6573. from a separate thread to the one used by the application. A <see cref="T:System.Threading.ThreadPool"/>
  6574. thread is used for this. If no <see cref="T:System.Threading.ThreadPool"/> thread is available then
  6575. the events will block in the thread pool manager until a thread is available.</para>
  6576. <para>
  6577. Because the events are sent asynchronously using pool threads it is possible to close
  6578. this appender before all the queued events have been sent.
  6579. When closing the appender attempts to wait until all the queued events have been sent, but
  6580. this will timeout after 30 seconds regardless.</para>
  6581. <para>
  6582. If this appender is being closed because the <see cref="E:System.AppDomain.ProcessExit"/>
  6583. event has fired it may not be possible to send all the queued events. During process
  6584. exit the runtime limits the time that a <see cref="E:System.AppDomain.ProcessExit"/>
  6585. event handler is allowed to run for. If the runtime terminates the threads before
  6586. the queued events have been sent then they will be lost. To ensure that all events
  6587. are sent the appender must be closed before the application exits. See
  6588. <see cref="M:log4net.Core.LoggerManager.Shutdown"/> for details on how to shutdown
  6589. log4net programmatically.</para>
  6590. </remarks>
  6591. <seealso cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
  6592. <author>Nicko Cadell</author>
  6593. <author>Gert Driesen</author>
  6594. <author>Daniel Cazzulino</author>
  6595. </member>
  6596. <member name="M:log4net.Appender.RemotingAppender.#ctor">
  6597. <summary>
  6598. Initializes a new instance of the <see cref="T:log4net.Appender.RemotingAppender"/> class.
  6599. </summary>
  6600. <remarks>
  6601. <para>
  6602. Default constructor.
  6603. </para>
  6604. </remarks>
  6605. </member>
  6606. <member name="M:log4net.Appender.RemotingAppender.ActivateOptions">
  6607. <summary>
  6608. Initialize the appender based on the options set
  6609. </summary>
  6610. <remarks>
  6611. <para>
  6612. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  6613. activation scheme. The <see cref="M:log4net.Appender.RemotingAppender.ActivateOptions"/> method must
  6614. be called on this object after the configuration properties have
  6615. been set. Until <see cref="M:log4net.Appender.RemotingAppender.ActivateOptions"/> is called this
  6616. object is in an undefined state and must not be used.
  6617. </para>
  6618. <para>
  6619. If any of the configuration properties are modified then
  6620. <see cref="M:log4net.Appender.RemotingAppender.ActivateOptions"/> must be called again.
  6621. </para>
  6622. </remarks>
  6623. </member>
  6624. <member name="M:log4net.Appender.RemotingAppender.SendBuffer(log4net.Core.LoggingEvent[])">
  6625. <summary>
  6626. Send the contents of the buffer to the remote sink.
  6627. </summary>
  6628. <remarks>
  6629. The events are not sent immediately. They are scheduled to be sent
  6630. using a pool thread. The effect is that the send occurs asynchronously.
  6631. This is very important for a number of non obvious reasons. The remoting
  6632. infrastructure will flow thread local variables (stored in the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>),
  6633. if they are marked as <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>, across the
  6634. remoting boundary. If the server is not contactable then
  6635. the remoting infrastructure will clear the <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>
  6636. objects from the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>. To prevent a logging failure from
  6637. having side effects on the calling application the remoting call must be made
  6638. from a separate thread to the one used by the application. A <see cref="T:System.Threading.ThreadPool"/>
  6639. thread is used for this. If no <see cref="T:System.Threading.ThreadPool"/> thread is available then
  6640. the events will block in the thread pool manager until a thread is available.
  6641. </remarks>
  6642. <param name="events">The events to send.</param>
  6643. </member>
  6644. <member name="M:log4net.Appender.RemotingAppender.OnClose">
  6645. <summary>
  6646. Override base class close.
  6647. </summary>
  6648. <remarks>
  6649. <para>
  6650. This method waits while there are queued work items. The events are
  6651. sent asynchronously using <see cref="T:System.Threading.ThreadPool"/> work items. These items
  6652. will be sent once a thread pool thread is available to send them, therefore
  6653. it is possible to close the appender before all the queued events have been
  6654. sent.</para>
  6655. <para>
  6656. This method attempts to wait until all the queued events have been sent, but this
  6657. method will timeout after 30 seconds regardless.</para>
  6658. <para>
  6659. If the appender is being closed because the <see cref="E:System.AppDomain.ProcessExit"/>
  6660. event has fired it may not be possible to send all the queued events. During process
  6661. exit the runtime limits the time that a <see cref="E:System.AppDomain.ProcessExit"/>
  6662. event handler is allowed to run for.</para>
  6663. </remarks>
  6664. </member>
  6665. <member name="M:log4net.Appender.RemotingAppender.BeginAsyncSend">
  6666. <summary>
  6667. A work item is being queued into the thread pool
  6668. </summary>
  6669. </member>
  6670. <member name="M:log4net.Appender.RemotingAppender.EndAsyncSend">
  6671. <summary>
  6672. A work item from the thread pool has completed
  6673. </summary>
  6674. </member>
  6675. <member name="M:log4net.Appender.RemotingAppender.SendBufferCallback(System.Object)">
  6676. <summary>
  6677. Send the contents of the buffer to the remote sink.
  6678. </summary>
  6679. <remarks>
  6680. This method is designed to be used with the <see cref="T:System.Threading.ThreadPool"/>.
  6681. This method expects to be passed an array of <see cref="T:log4net.Core.LoggingEvent"/>
  6682. objects in the state param.
  6683. </remarks>
  6684. <param name="state">the logging events to send</param>
  6685. </member>
  6686. <member name="F:log4net.Appender.RemotingAppender.m_sinkUrl">
  6687. <summary>
  6688. The URL of the remote sink.
  6689. </summary>
  6690. </member>
  6691. <member name="F:log4net.Appender.RemotingAppender.m_sinkObj">
  6692. <summary>
  6693. The local proxy (.NET remoting) for the remote logging sink.
  6694. </summary>
  6695. </member>
  6696. <member name="F:log4net.Appender.RemotingAppender.m_queuedCallbackCount">
  6697. <summary>
  6698. The number of queued callbacks currently waiting or executing
  6699. </summary>
  6700. </member>
  6701. <member name="F:log4net.Appender.RemotingAppender.m_workQueueEmptyEvent">
  6702. <summary>
  6703. Event used to signal when there are no queued work items
  6704. </summary>
  6705. <remarks>
  6706. This event is set when there are no queued work items. In this
  6707. state it is safe to close the appender.
  6708. </remarks>
  6709. </member>
  6710. <member name="P:log4net.Appender.RemotingAppender.Sink">
  6711. <summary>
  6712. Gets or sets the URL of the well-known object that will accept
  6713. the logging events.
  6714. </summary>
  6715. <value>
  6716. The well-known URL of the remote sink.
  6717. </value>
  6718. <remarks>
  6719. <para>
  6720. The URL of the remoting sink that will accept logging events.
  6721. The sink must implement the <see cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
  6722. interface.
  6723. </para>
  6724. </remarks>
  6725. </member>
  6726. <member name="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink">
  6727. <summary>
  6728. Interface used to deliver <see cref="T:log4net.Core.LoggingEvent"/> objects to a remote sink.
  6729. </summary>
  6730. <remarks>
  6731. This interface must be implemented by a remoting sink
  6732. if the <see cref="T:log4net.Appender.RemotingAppender"/> is to be used
  6733. to deliver logging events to the sink.
  6734. </remarks>
  6735. </member>
  6736. <member name="M:log4net.Appender.RemotingAppender.IRemoteLoggingSink.LogEvents(log4net.Core.LoggingEvent[])">
  6737. <summary>
  6738. Delivers logging events to the remote sink
  6739. </summary>
  6740. <param name="events">Array of events to log.</param>
  6741. <remarks>
  6742. <para>
  6743. Delivers logging events to the remote sink
  6744. </para>
  6745. </remarks>
  6746. </member>
  6747. <member name="T:log4net.Appender.RollingFileAppender">
  6748. <summary>
  6749. Appender that rolls log files based on size or date or both.
  6750. </summary>
  6751. <remarks>
  6752. <para>
  6753. RollingFileAppender can roll log files based on size or date or both
  6754. depending on the setting of the <see cref="P:log4net.Appender.RollingFileAppender.RollingStyle"/> property.
  6755. When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Size"/> the log file will be rolled
  6756. once its size exceeds the <see cref="P:log4net.Appender.RollingFileAppender.MaximumFileSize"/>.
  6757. When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Date"/> the log file will be rolled
  6758. once the date boundary specified in the <see cref="P:log4net.Appender.RollingFileAppender.DatePattern"/> property
  6759. is crossed.
  6760. When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Composite"/> the log file will be
  6761. rolled once the date boundary specified in the <see cref="P:log4net.Appender.RollingFileAppender.DatePattern"/> property
  6762. is crossed, but within a date boundary the file will also be rolled
  6763. once its size exceeds the <see cref="P:log4net.Appender.RollingFileAppender.MaximumFileSize"/>.
  6764. When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Once"/> the log file will be rolled when
  6765. the appender is configured. This effectively means that the log file can be
  6766. rolled once per program execution.
  6767. </para>
  6768. <para>
  6769. A of few additional optional features have been added:
  6770. <list type="bullet">
  6771. <item>Attach date pattern for current log file <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/></item>
  6772. <item>Backup number increments for newer files <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/></item>
  6773. <item>Infinite number of backups by file size <see cref="P:log4net.Appender.RollingFileAppender.MaxSizeRollBackups"/></item>
  6774. </list>
  6775. </para>
  6776. <note>
  6777. <para>
  6778. For large or infinite numbers of backup files a <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/>
  6779. greater than zero is highly recommended, otherwise all the backup files need
  6780. to be renamed each time a new backup is created.
  6781. </para>
  6782. <para>
  6783. When Date/Time based rolling is used setting <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/>
  6784. to <see langword="true"/> will reduce the number of file renamings to few or none.
  6785. </para>
  6786. </note>
  6787. <note type="caution">
  6788. <para>
  6789. Changing <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/> or <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> without clearing
  6790. the log file directory of backup files will cause unexpected and unwanted side effects.
  6791. </para>
  6792. </note>
  6793. <para>
  6794. If Date/Time based rolling is enabled this appender will attempt to roll existing files
  6795. in the directory without a Date/Time tag based on the last write date of the base log file.
  6796. The appender only rolls the log file when a message is logged. If Date/Time based rolling
  6797. is enabled then the appender will not roll the log file at the Date/Time boundary but
  6798. at the point when the next message is logged after the boundary has been crossed.
  6799. </para>
  6800. <para>
  6801. The <see cref="T:log4net.Appender.RollingFileAppender"/> extends the <see cref="T:log4net.Appender.FileAppender"/> and
  6802. has the same behavior when opening the log file.
  6803. The appender will first try to open the file for writing when <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/>
  6804. is called. This will typically be during configuration.
  6805. If the file cannot be opened for writing the appender will attempt
  6806. to open the file again each time a message is logged to the appender.
  6807. If the file cannot be opened for writing when a message is logged then
  6808. the message will be discarded by this appender.
  6809. </para>
  6810. <para>
  6811. When rolling a backup file necessitates deleting an older backup file the
  6812. file to be deleted is moved to a temporary name before being deleted.
  6813. </para>
  6814. <note type="caution">
  6815. <para>
  6816. A maximum number of backup files when rolling on date/time boundaries is not supported.
  6817. </para>
  6818. </note>
  6819. </remarks>
  6820. <author>Nicko Cadell</author>
  6821. <author>Gert Driesen</author>
  6822. <author>Aspi Havewala</author>
  6823. <author>Douglas de la Torre</author>
  6824. <author>Edward Smit</author>
  6825. </member>
  6826. <member name="M:log4net.Appender.RollingFileAppender.#ctor">
  6827. <summary>
  6828. Initializes a new instance of the <see cref="T:log4net.Appender.RollingFileAppender"/> class.
  6829. </summary>
  6830. <remarks>
  6831. <para>
  6832. Default constructor.
  6833. </para>
  6834. </remarks>
  6835. </member>
  6836. <member name="M:log4net.Appender.RollingFileAppender.Finalize">
  6837. <summary>
  6838. Cleans up all resources used by this appender.
  6839. </summary>
  6840. </member>
  6841. <member name="F:log4net.Appender.RollingFileAppender.declaringType">
  6842. <summary>
  6843. The fully qualified type of the RollingFileAppender class.
  6844. </summary>
  6845. <remarks>
  6846. Used by the internal logger to record the Type of the
  6847. log message.
  6848. </remarks>
  6849. </member>
  6850. <member name="M:log4net.Appender.RollingFileAppender.SetQWForFiles(System.IO.TextWriter)">
  6851. <summary>
  6852. Sets the quiet writer being used.
  6853. </summary>
  6854. <remarks>
  6855. This method can be overridden by sub classes.
  6856. </remarks>
  6857. <param name="writer">the writer to set</param>
  6858. </member>
  6859. <member name="M:log4net.Appender.RollingFileAppender.Append(log4net.Core.LoggingEvent)">
  6860. <summary>
  6861. Write out a logging event.
  6862. </summary>
  6863. <param name="loggingEvent">the event to write to file.</param>
  6864. <remarks>
  6865. <para>
  6866. Handles append time behavior for RollingFileAppender. This checks
  6867. if a roll over either by date (checked first) or time (checked second)
  6868. is need and then appends to the file last.
  6869. </para>
  6870. </remarks>
  6871. </member>
  6872. <member name="M:log4net.Appender.RollingFileAppender.Append(log4net.Core.LoggingEvent[])">
  6873. <summary>
  6874. Write out an array of logging events.
  6875. </summary>
  6876. <param name="loggingEvents">the events to write to file.</param>
  6877. <remarks>
  6878. <para>
  6879. Handles append time behavior for RollingFileAppender. This checks
  6880. if a roll over either by date (checked first) or time (checked second)
  6881. is need and then appends to the file last.
  6882. </para>
  6883. </remarks>
  6884. </member>
  6885. <member name="M:log4net.Appender.RollingFileAppender.AdjustFileBeforeAppend">
  6886. <summary>
  6887. Performs any required rolling before outputting the next event
  6888. </summary>
  6889. <remarks>
  6890. <para>
  6891. Handles append time behavior for RollingFileAppender. This checks
  6892. if a roll over either by date (checked first) or time (checked second)
  6893. is need and then appends to the file last.
  6894. </para>
  6895. </remarks>
  6896. </member>
  6897. <member name="M:log4net.Appender.RollingFileAppender.OpenFile(System.String,System.Boolean)">
  6898. <summary>
  6899. Creates and opens the file for logging. If <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/>
  6900. is false then the fully qualified name is determined and used.
  6901. </summary>
  6902. <param name="fileName">the name of the file to open</param>
  6903. <param name="append">true to append to existing file</param>
  6904. <remarks>
  6905. <para>This method will ensure that the directory structure
  6906. for the <paramref name="fileName"/> specified exists.</para>
  6907. </remarks>
  6908. </member>
  6909. <member name="M:log4net.Appender.RollingFileAppender.GetNextOutputFileName(System.String)">
  6910. <summary>
  6911. Get the current output file name
  6912. </summary>
  6913. <param name="fileName">the base file name</param>
  6914. <returns>the output file name</returns>
  6915. <remarks>
  6916. The output file name is based on the base fileName specified.
  6917. If <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/> is set then the output
  6918. file name is the same as the base file passed in. Otherwise
  6919. the output file depends on the date pattern, on the count
  6920. direction or both.
  6921. </remarks>
  6922. </member>
  6923. <member name="M:log4net.Appender.RollingFileAppender.DetermineCurSizeRollBackups">
  6924. <summary>
  6925. Determines curSizeRollBackups (only within the current roll point)
  6926. </summary>
  6927. </member>
  6928. <member name="M:log4net.Appender.RollingFileAppender.GetWildcardPatternForFile(System.String)">
  6929. <summary>
  6930. Generates a wildcard pattern that can be used to find all files
  6931. that are similar to the base file name.
  6932. </summary>
  6933. <param name="baseFileName"></param>
  6934. <returns></returns>
  6935. </member>
  6936. <member name="M:log4net.Appender.RollingFileAppender.GetExistingFiles(System.String)">
  6937. <summary>
  6938. Builds a list of filenames for all files matching the base filename plus a file
  6939. pattern.
  6940. </summary>
  6941. <param name="baseFilePath"></param>
  6942. <returns></returns>
  6943. </member>
  6944. <member name="M:log4net.Appender.RollingFileAppender.RollOverIfDateBoundaryCrossing">
  6945. <summary>
  6946. Initiates a roll over if needed for crossing a date boundary since the last run.
  6947. </summary>
  6948. </member>
  6949. <member name="M:log4net.Appender.RollingFileAppender.ExistingInit">
  6950. <summary>
  6951. Initializes based on existing conditions at time of <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/>.
  6952. </summary>
  6953. <remarks>
  6954. <para>
  6955. Initializes based on existing conditions at time of <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/>.
  6956. The following is done
  6957. <list type="bullet">
  6958. <item>determine curSizeRollBackups (only within the current roll point)</item>
  6959. <item>initiates a roll over if needed for crossing a date boundary since the last run.</item>
  6960. </list>
  6961. </para>
  6962. </remarks>
  6963. </member>
  6964. <member name="M:log4net.Appender.RollingFileAppender.InitializeFromOneFile(System.String,System.String)">
  6965. <summary>
  6966. Does the work of bumping the 'current' file counter higher
  6967. to the highest count when an incremental file name is seen.
  6968. The highest count is either the first file (when count direction
  6969. is greater than 0) or the last file (when count direction less than 0).
  6970. In either case, we want to know the highest count that is present.
  6971. </summary>
  6972. <param name="baseFile"></param>
  6973. <param name="curFileName"></param>
  6974. </member>
  6975. <member name="M:log4net.Appender.RollingFileAppender.GetBackUpIndex(System.String)">
  6976. <summary>
  6977. Attempts to extract a number from the end of the file name that indicates
  6978. the number of the times the file has been rolled over.
  6979. </summary>
  6980. <remarks>
  6981. Certain date pattern extensions like yyyyMMdd will be parsed as valid backup indexes.
  6982. </remarks>
  6983. <param name="curFileName"></param>
  6984. <returns></returns>
  6985. </member>
  6986. <member name="M:log4net.Appender.RollingFileAppender.InitializeRollBackups(System.String,System.Collections.ArrayList)">
  6987. <summary>
  6988. Takes a list of files and a base file name, and looks for
  6989. 'incremented' versions of the base file. Bumps the max
  6990. count up to the highest count seen.
  6991. </summary>
  6992. <param name="baseFile"></param>
  6993. <param name="arrayFiles"></param>
  6994. </member>
  6995. <member name="M:log4net.Appender.RollingFileAppender.ComputeCheckPeriod(System.String)">
  6996. <summary>
  6997. Calculates the RollPoint for the datePattern supplied.
  6998. </summary>
  6999. <param name="datePattern">the date pattern to calculate the check period for</param>
  7000. <returns>The RollPoint that is most accurate for the date pattern supplied</returns>
  7001. <remarks>
  7002. Essentially the date pattern is examined to determine what the
  7003. most suitable roll point is. The roll point chosen is the roll point
  7004. with the smallest period that can be detected using the date pattern
  7005. supplied. i.e. if the date pattern only outputs the year, month, day
  7006. and hour then the smallest roll point that can be detected would be
  7007. and hourly roll point as minutes could not be detected.
  7008. </remarks>
  7009. </member>
  7010. <member name="M:log4net.Appender.RollingFileAppender.ActivateOptions">
  7011. <summary>
  7012. Initialize the appender based on the options set
  7013. </summary>
  7014. <remarks>
  7015. <para>
  7016. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  7017. activation scheme. The <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/> method must
  7018. be called on this object after the configuration properties have
  7019. been set. Until <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/> is called this
  7020. object is in an undefined state and must not be used.
  7021. </para>
  7022. <para>
  7023. If any of the configuration properties are modified then
  7024. <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/> must be called again.
  7025. </para>
  7026. <para>
  7027. Sets initial conditions including date/time roll over information, first check,
  7028. scheduledFilename, and calls <see cref="M:log4net.Appender.RollingFileAppender.ExistingInit"/> to initialize
  7029. the current number of backups.
  7030. </para>
  7031. </remarks>
  7032. </member>
  7033. <member name="M:log4net.Appender.RollingFileAppender.CombinePath(System.String,System.String)">
  7034. <summary>
  7035. </summary>
  7036. <param name="path1"></param>
  7037. <param name="path2">.1, .2, .3, etc.</param>
  7038. <returns></returns>
  7039. </member>
  7040. <member name="M:log4net.Appender.RollingFileAppender.RollOverTime(System.Boolean)">
  7041. <summary>
  7042. Rollover the file(s) to date/time tagged file(s).
  7043. </summary>
  7044. <param name="fileIsOpen">set to true if the file to be rolled is currently open</param>
  7045. <remarks>
  7046. <para>
  7047. Rollover the file(s) to date/time tagged file(s).
  7048. Resets curSizeRollBackups.
  7049. If fileIsOpen is set then the new file is opened (through SafeOpenFile).
  7050. </para>
  7051. </remarks>
  7052. </member>
  7053. <member name="M:log4net.Appender.RollingFileAppender.RollFile(System.String,System.String)">
  7054. <summary>
  7055. Renames file <paramref name="fromFile"/> to file <paramref name="toFile"/>.
  7056. </summary>
  7057. <param name="fromFile">Name of existing file to roll.</param>
  7058. <param name="toFile">New name for file.</param>
  7059. <remarks>
  7060. <para>
  7061. Renames file <paramref name="fromFile"/> to file <paramref name="toFile"/>. It
  7062. also checks for existence of target file and deletes if it does.
  7063. </para>
  7064. </remarks>
  7065. </member>
  7066. <member name="M:log4net.Appender.RollingFileAppender.FileExists(System.String)">
  7067. <summary>
  7068. Test if a file exists at a specified path
  7069. </summary>
  7070. <param name="path">the path to the file</param>
  7071. <returns>true if the file exists</returns>
  7072. <remarks>
  7073. <para>
  7074. Test if a file exists at a specified path
  7075. </para>
  7076. </remarks>
  7077. </member>
  7078. <member name="M:log4net.Appender.RollingFileAppender.DeleteFile(System.String)">
  7079. <summary>
  7080. Deletes the specified file if it exists.
  7081. </summary>
  7082. <param name="fileName">The file to delete.</param>
  7083. <remarks>
  7084. <para>
  7085. Delete a file if is exists.
  7086. The file is first moved to a new filename then deleted.
  7087. This allows the file to be removed even when it cannot
  7088. be deleted, but it still can be moved.
  7089. </para>
  7090. </remarks>
  7091. </member>
  7092. <member name="M:log4net.Appender.RollingFileAppender.RollOverSize">
  7093. <summary>
  7094. Implements file roll base on file size.
  7095. </summary>
  7096. <remarks>
  7097. <para>
  7098. If the maximum number of size based backups is reached
  7099. (<c>curSizeRollBackups == maxSizeRollBackups</c>) then the oldest
  7100. file is deleted -- its index determined by the sign of countDirection.
  7101. If <c>countDirection</c> &lt; 0, then files
  7102. {<c>File.1</c>, ..., <c>File.curSizeRollBackups -1</c>}
  7103. are renamed to {<c>File.2</c>, ...,
  7104. <c>File.curSizeRollBackups</c>}. Moreover, <c>File</c> is
  7105. renamed <c>File.1</c> and closed.
  7106. </para>
  7107. <para>
  7108. A new file is created to receive further log output.
  7109. </para>
  7110. <para>
  7111. If <c>maxSizeRollBackups</c> is equal to zero, then the
  7112. <c>File</c> is truncated with no backup files created.
  7113. </para>
  7114. <para>
  7115. If <c>maxSizeRollBackups</c> &lt; 0, then <c>File</c> is
  7116. renamed if needed and no files are deleted.
  7117. </para>
  7118. </remarks>
  7119. </member>
  7120. <member name="M:log4net.Appender.RollingFileAppender.RollOverRenameFiles(System.String)">
  7121. <summary>
  7122. Implements file roll.
  7123. </summary>
  7124. <param name="baseFileName">the base name to rename</param>
  7125. <remarks>
  7126. <para>
  7127. If the maximum number of size based backups is reached
  7128. (<c>curSizeRollBackups == maxSizeRollBackups</c>) then the oldest
  7129. file is deleted -- its index determined by the sign of countDirection.
  7130. If <c>countDirection</c> &lt; 0, then files
  7131. {<c>File.1</c>, ..., <c>File.curSizeRollBackups -1</c>}
  7132. are renamed to {<c>File.2</c>, ...,
  7133. <c>File.curSizeRollBackups</c>}.
  7134. </para>
  7135. <para>
  7136. If <c>maxSizeRollBackups</c> is equal to zero, then the
  7137. <c>File</c> is truncated with no backup files created.
  7138. </para>
  7139. <para>
  7140. If <c>maxSizeRollBackups</c> &lt; 0, then <c>File</c> is
  7141. renamed if needed and no files are deleted.
  7142. </para>
  7143. <para>
  7144. This is called by <see cref="M:log4net.Appender.RollingFileAppender.RollOverSize"/> to rename the files.
  7145. </para>
  7146. </remarks>
  7147. </member>
  7148. <member name="M:log4net.Appender.RollingFileAppender.NextCheckDate(System.DateTime,log4net.Appender.RollingFileAppender.RollPoint)">
  7149. <summary>
  7150. Get the start time of the next window for the current rollpoint
  7151. </summary>
  7152. <param name="currentDateTime">the current date</param>
  7153. <param name="rollPoint">the type of roll point we are working with</param>
  7154. <returns>the start time for the next roll point an interval after the currentDateTime date</returns>
  7155. <remarks>
  7156. <para>
  7157. Returns the date of the next roll point after the currentDateTime date passed to the method.
  7158. </para>
  7159. <para>
  7160. The basic strategy is to subtract the time parts that are less significant
  7161. than the rollpoint from the current time. This should roll the time back to
  7162. the start of the time window for the current rollpoint. Then we add 1 window
  7163. worth of time and get the start time of the next window for the rollpoint.
  7164. </para>
  7165. </remarks>
  7166. </member>
  7167. <member name="F:log4net.Appender.RollingFileAppender.m_dateTime">
  7168. <summary>
  7169. This object supplies the current date/time. Allows test code to plug in
  7170. a method to control this class when testing date/time based rolling. The default
  7171. implementation uses the underlying value of DateTime.Now.
  7172. </summary>
  7173. </member>
  7174. <member name="F:log4net.Appender.RollingFileAppender.m_datePattern">
  7175. <summary>
  7176. The date pattern. By default, the pattern is set to <c>".yyyy-MM-dd"</c>
  7177. meaning daily rollover.
  7178. </summary>
  7179. </member>
  7180. <member name="F:log4net.Appender.RollingFileAppender.m_scheduledFilename">
  7181. <summary>
  7182. The actual formatted filename that is currently being written to
  7183. or will be the file transferred to on roll over
  7184. (based on staticLogFileName).
  7185. </summary>
  7186. </member>
  7187. <member name="F:log4net.Appender.RollingFileAppender.m_nextCheck">
  7188. <summary>
  7189. The timestamp when we shall next recompute the filename.
  7190. </summary>
  7191. </member>
  7192. <member name="F:log4net.Appender.RollingFileAppender.m_now">
  7193. <summary>
  7194. Holds date of last roll over
  7195. </summary>
  7196. </member>
  7197. <member name="F:log4net.Appender.RollingFileAppender.m_rollPoint">
  7198. <summary>
  7199. The type of rolling done
  7200. </summary>
  7201. </member>
  7202. <member name="F:log4net.Appender.RollingFileAppender.m_maxFileSize">
  7203. <summary>
  7204. The default maximum file size is 10MB
  7205. </summary>
  7206. </member>
  7207. <member name="F:log4net.Appender.RollingFileAppender.m_maxSizeRollBackups">
  7208. <summary>
  7209. There is zero backup files by default
  7210. </summary>
  7211. </member>
  7212. <member name="F:log4net.Appender.RollingFileAppender.m_curSizeRollBackups">
  7213. <summary>
  7214. How many sized based backups have been made so far
  7215. </summary>
  7216. </member>
  7217. <member name="F:log4net.Appender.RollingFileAppender.m_countDirection">
  7218. <summary>
  7219. The rolling file count direction.
  7220. </summary>
  7221. </member>
  7222. <member name="F:log4net.Appender.RollingFileAppender.m_rollingStyle">
  7223. <summary>
  7224. The rolling mode used in this appender.
  7225. </summary>
  7226. </member>
  7227. <member name="F:log4net.Appender.RollingFileAppender.m_rollDate">
  7228. <summary>
  7229. Cache flag set if we are rolling by date.
  7230. </summary>
  7231. </member>
  7232. <member name="F:log4net.Appender.RollingFileAppender.m_rollSize">
  7233. <summary>
  7234. Cache flag set if we are rolling by size.
  7235. </summary>
  7236. </member>
  7237. <member name="F:log4net.Appender.RollingFileAppender.m_staticLogFileName">
  7238. <summary>
  7239. Value indicating whether to always log to the same file.
  7240. </summary>
  7241. </member>
  7242. <member name="F:log4net.Appender.RollingFileAppender.m_preserveLogFileNameExtension">
  7243. <summary>
  7244. Value indicating whether to preserve the file name extension when rolling.
  7245. </summary>
  7246. </member>
  7247. <member name="F:log4net.Appender.RollingFileAppender.m_baseFileName">
  7248. <summary>
  7249. FileName provided in configuration. Used for rolling properly
  7250. </summary>
  7251. </member>
  7252. <member name="F:log4net.Appender.RollingFileAppender.m_mutexForRolling">
  7253. <summary>
  7254. A mutex that is used to lock rolling of files.
  7255. </summary>
  7256. </member>
  7257. <member name="F:log4net.Appender.RollingFileAppender.s_date1970">
  7258. <summary>
  7259. The 1st of January 1970 in UTC
  7260. </summary>
  7261. </member>
  7262. <member name="P:log4net.Appender.RollingFileAppender.DateTimeStrategy">
  7263. <summary>
  7264. Gets or sets the strategy for determining the current date and time. The default
  7265. implementation is to use LocalDateTime which internally calls through to DateTime.Now.
  7266. DateTime.UtcNow may be used on frameworks newer than .NET 1.0 by specifying
  7267. <see cref="T:log4net.Appender.RollingFileAppender.UniversalDateTime"/>.
  7268. </summary>
  7269. <value>
  7270. An implementation of the <see cref="T:log4net.Appender.RollingFileAppender.IDateTime"/> interface which returns the current date and time.
  7271. </value>
  7272. <remarks>
  7273. <para>
  7274. Gets or sets the <see cref="T:log4net.Appender.RollingFileAppender.IDateTime"/> used to return the current date and time.
  7275. </para>
  7276. <para>
  7277. There are two built strategies for determining the current date and time,
  7278. <see cref="T:log4net.Appender.RollingFileAppender.LocalDateTime"/>
  7279. and <see cref="T:log4net.Appender.RollingFileAppender.UniversalDateTime"/>.
  7280. </para>
  7281. <para>
  7282. The default strategy is <see cref="T:log4net.Appender.RollingFileAppender.LocalDateTime"/>.
  7283. </para>
  7284. </remarks>
  7285. </member>
  7286. <member name="P:log4net.Appender.RollingFileAppender.DatePattern">
  7287. <summary>
  7288. Gets or sets the date pattern to be used for generating file names
  7289. when rolling over on date.
  7290. </summary>
  7291. <value>
  7292. The date pattern to be used for generating file names when rolling
  7293. over on date.
  7294. </value>
  7295. <remarks>
  7296. <para>
  7297. Takes a string in the same format as expected by
  7298. <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/>.
  7299. </para>
  7300. <para>
  7301. This property determines the rollover schedule when rolling over
  7302. on date.
  7303. </para>
  7304. </remarks>
  7305. </member>
  7306. <member name="P:log4net.Appender.RollingFileAppender.MaxSizeRollBackups">
  7307. <summary>
  7308. Gets or sets the maximum number of backup files that are kept before
  7309. the oldest is erased.
  7310. </summary>
  7311. <value>
  7312. The maximum number of backup files that are kept before the oldest is
  7313. erased.
  7314. </value>
  7315. <remarks>
  7316. <para>
  7317. If set to zero, then there will be no backup files and the log file
  7318. will be truncated when it reaches <see cref="P:log4net.Appender.RollingFileAppender.MaxFileSize"/>.
  7319. </para>
  7320. <para>
  7321. If a negative number is supplied then no deletions will be made. Note
  7322. that this could result in very slow performance as a large number of
  7323. files are rolled over unless <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> is used.
  7324. </para>
  7325. <para>
  7326. The maximum applies to <b>each</b> time based group of files and
  7327. <b>not</b> the total.
  7328. </para>
  7329. </remarks>
  7330. </member>
  7331. <member name="P:log4net.Appender.RollingFileAppender.MaxFileSize">
  7332. <summary>
  7333. Gets or sets the maximum size that the output file is allowed to reach
  7334. before being rolled over to backup files.
  7335. </summary>
  7336. <value>
  7337. The maximum size in bytes that the output file is allowed to reach before being
  7338. rolled over to backup files.
  7339. </value>
  7340. <remarks>
  7341. <para>
  7342. This property is equivalent to <see cref="P:log4net.Appender.RollingFileAppender.MaximumFileSize"/> except
  7343. that it is required for differentiating the setter taking a
  7344. <see cref="T:System.Int64"/> argument from the setter taking a <see cref="T:System.String"/>
  7345. argument.
  7346. </para>
  7347. <para>
  7348. The default maximum file size is 10MB (10*1024*1024).
  7349. </para>
  7350. </remarks>
  7351. </member>
  7352. <member name="P:log4net.Appender.RollingFileAppender.MaximumFileSize">
  7353. <summary>
  7354. Gets or sets the maximum size that the output file is allowed to reach
  7355. before being rolled over to backup files.
  7356. </summary>
  7357. <value>
  7358. The maximum size that the output file is allowed to reach before being
  7359. rolled over to backup files.
  7360. </value>
  7361. <remarks>
  7362. <para>
  7363. This property allows you to specify the maximum size with the
  7364. suffixes "KB", "MB" or "GB" so that the size is interpreted being
  7365. expressed respectively in kilobytes, megabytes or gigabytes.
  7366. </para>
  7367. <para>
  7368. For example, the value "10KB" will be interpreted as 10240 bytes.
  7369. </para>
  7370. <para>
  7371. The default maximum file size is 10MB.
  7372. </para>
  7373. <para>
  7374. If you have the option to set the maximum file size programmatically
  7375. consider using the <see cref="P:log4net.Appender.RollingFileAppender.MaxFileSize"/> property instead as this
  7376. allows you to set the size in bytes as a <see cref="T:System.Int64"/>.
  7377. </para>
  7378. </remarks>
  7379. </member>
  7380. <member name="P:log4net.Appender.RollingFileAppender.CountDirection">
  7381. <summary>
  7382. Gets or sets the rolling file count direction.
  7383. </summary>
  7384. <value>
  7385. The rolling file count direction.
  7386. </value>
  7387. <remarks>
  7388. <para>
  7389. Indicates if the current file is the lowest numbered file or the
  7390. highest numbered file.
  7391. </para>
  7392. <para>
  7393. By default newer files have lower numbers (<see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> &lt; 0),
  7394. i.e. log.1 is most recent, log.5 is the 5th backup, etc...
  7395. </para>
  7396. <para>
  7397. <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> &gt;= 0 does the opposite i.e.
  7398. log.1 is the first backup made, log.5 is the 5th backup made, etc.
  7399. For infinite backups use <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> &gt;= 0 to reduce
  7400. rollover costs.
  7401. </para>
  7402. <para>The default file count direction is -1.</para>
  7403. </remarks>
  7404. </member>
  7405. <member name="P:log4net.Appender.RollingFileAppender.RollingStyle">
  7406. <summary>
  7407. Gets or sets the rolling style.
  7408. </summary>
  7409. <value>The rolling style.</value>
  7410. <remarks>
  7411. <para>
  7412. The default rolling style is <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Composite"/>.
  7413. </para>
  7414. <para>
  7415. When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Once"/> this appender's
  7416. <see cref="P:log4net.Appender.FileAppender.AppendToFile"/> property is set to <c>false</c>, otherwise
  7417. the appender would append to a single file rather than rolling
  7418. the file each time it is opened.
  7419. </para>
  7420. </remarks>
  7421. </member>
  7422. <member name="P:log4net.Appender.RollingFileAppender.PreserveLogFileNameExtension">
  7423. <summary>
  7424. Gets or sets a value indicating whether to preserve the file name extension when rolling.
  7425. </summary>
  7426. <value>
  7427. <c>true</c> if the file name extension should be preserved.
  7428. </value>
  7429. <remarks>
  7430. <para>
  7431. By default file.log is rolled to file.log.yyyy-MM-dd or file.log.curSizeRollBackup.
  7432. However, under Windows the new file name will loose any program associations as the
  7433. extension is changed. Optionally file.log can be renamed to file.yyyy-MM-dd.log or
  7434. file.curSizeRollBackup.log to maintain any program associations.
  7435. </para>
  7436. </remarks>
  7437. </member>
  7438. <member name="P:log4net.Appender.RollingFileAppender.StaticLogFileName">
  7439. <summary>
  7440. Gets or sets a value indicating whether to always log to
  7441. the same file.
  7442. </summary>
  7443. <value>
  7444. <c>true</c> if always should be logged to the same file, otherwise <c>false</c>.
  7445. </value>
  7446. <remarks>
  7447. <para>
  7448. By default file.log is always the current file. Optionally
  7449. file.log.yyyy-mm-dd for current formatted datePattern can by the currently
  7450. logging file (or file.log.curSizeRollBackup or even
  7451. file.log.yyyy-mm-dd.curSizeRollBackup).
  7452. </para>
  7453. <para>
  7454. This will make time based rollovers with a large number of backups
  7455. much faster as the appender it won't have to rename all the backups!
  7456. </para>
  7457. </remarks>
  7458. </member>
  7459. <member name="T:log4net.Appender.RollingFileAppender.RollingMode">
  7460. <summary>
  7461. Style of rolling to use
  7462. </summary>
  7463. <remarks>
  7464. <para>
  7465. Style of rolling to use
  7466. </para>
  7467. </remarks>
  7468. </member>
  7469. <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Once">
  7470. <summary>
  7471. Roll files once per program execution
  7472. </summary>
  7473. <remarks>
  7474. <para>
  7475. Roll files once per program execution.
  7476. Well really once each time this appender is
  7477. configured.
  7478. </para>
  7479. <para>
  7480. Setting this option also sets <c>AppendToFile</c> to
  7481. <c>false</c> on the <c>RollingFileAppender</c>, otherwise
  7482. this appender would just be a normal file appender.
  7483. </para>
  7484. </remarks>
  7485. </member>
  7486. <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Size">
  7487. <summary>
  7488. Roll files based only on the size of the file
  7489. </summary>
  7490. </member>
  7491. <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Date">
  7492. <summary>
  7493. Roll files based only on the date
  7494. </summary>
  7495. </member>
  7496. <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Composite">
  7497. <summary>
  7498. Roll files based on both the size and date of the file
  7499. </summary>
  7500. </member>
  7501. <member name="T:log4net.Appender.RollingFileAppender.RollPoint">
  7502. <summary>
  7503. The code assumes that the following 'time' constants are in a increasing sequence.
  7504. </summary>
  7505. <remarks>
  7506. <para>
  7507. The code assumes that the following 'time' constants are in a increasing sequence.
  7508. </para>
  7509. </remarks>
  7510. </member>
  7511. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.InvalidRollPoint">
  7512. <summary>
  7513. Roll the log not based on the date
  7514. </summary>
  7515. </member>
  7516. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfMinute">
  7517. <summary>
  7518. Roll the log for each minute
  7519. </summary>
  7520. </member>
  7521. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfHour">
  7522. <summary>
  7523. Roll the log for each hour
  7524. </summary>
  7525. </member>
  7526. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.HalfDay">
  7527. <summary>
  7528. Roll the log twice a day (midday and midnight)
  7529. </summary>
  7530. </member>
  7531. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfDay">
  7532. <summary>
  7533. Roll the log each day (midnight)
  7534. </summary>
  7535. </member>
  7536. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfWeek">
  7537. <summary>
  7538. Roll the log each week
  7539. </summary>
  7540. </member>
  7541. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfMonth">
  7542. <summary>
  7543. Roll the log each month
  7544. </summary>
  7545. </member>
  7546. <member name="T:log4net.Appender.RollingFileAppender.IDateTime">
  7547. <summary>
  7548. This interface is used to supply Date/Time information to the <see cref="T:log4net.Appender.RollingFileAppender"/>.
  7549. </summary>
  7550. <remarks>
  7551. This interface is used to supply Date/Time information to the <see cref="T:log4net.Appender.RollingFileAppender"/>.
  7552. Used primarily to allow test classes to plug themselves in so they can
  7553. supply test date/times.
  7554. </remarks>
  7555. </member>
  7556. <member name="P:log4net.Appender.RollingFileAppender.IDateTime.Now">
  7557. <summary>
  7558. Gets the <i>current</i> time.
  7559. </summary>
  7560. <value>The <i>current</i> time.</value>
  7561. <remarks>
  7562. <para>
  7563. Gets the <i>current</i> time.
  7564. </para>
  7565. </remarks>
  7566. </member>
  7567. <member name="T:log4net.Appender.RollingFileAppender.LocalDateTime">
  7568. <summary>
  7569. Default implementation of <see cref="T:log4net.Appender.RollingFileAppender.IDateTime"/> that returns the current time.
  7570. </summary>
  7571. </member>
  7572. <member name="P:log4net.Appender.RollingFileAppender.LocalDateTime.Now">
  7573. <summary>
  7574. Gets the <b>current</b> time.
  7575. </summary>
  7576. <value>The <b>current</b> time.</value>
  7577. <remarks>
  7578. <para>
  7579. Gets the <b>current</b> time.
  7580. </para>
  7581. </remarks>
  7582. </member>
  7583. <member name="T:log4net.Appender.RollingFileAppender.UniversalDateTime">
  7584. <summary>
  7585. Implementation of <see cref="T:log4net.Appender.RollingFileAppender.IDateTime"/> that returns the current time as the coordinated universal time (UTC).
  7586. </summary>
  7587. </member>
  7588. <member name="P:log4net.Appender.RollingFileAppender.UniversalDateTime.Now">
  7589. <summary>
  7590. Gets the <b>current</b> time.
  7591. </summary>
  7592. <value>The <b>current</b> time.</value>
  7593. <remarks>
  7594. <para>
  7595. Gets the <b>current</b> time.
  7596. </para>
  7597. </remarks>
  7598. </member>
  7599. <member name="T:log4net.Appender.SmtpAppender">
  7600. <summary>
  7601. Send an e-mail when a specific logging event occurs, typically on errors
  7602. or fatal errors.
  7603. </summary>
  7604. <remarks>
  7605. <para>
  7606. The number of logging events delivered in this e-mail depend on
  7607. the value of <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> option. The
  7608. <see cref="T:log4net.Appender.SmtpAppender"/> keeps only the last
  7609. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> logging events in its
  7610. cyclic buffer. This keeps memory requirements at a reasonable level while
  7611. still delivering useful application context.
  7612. </para>
  7613. <note type="caution">
  7614. Authentication and setting the server Port are only available on the MS .NET 1.1 runtime.
  7615. For these features to be enabled you need to ensure that you are using a version of
  7616. the log4net assembly that is built against the MS .NET 1.1 framework and that you are
  7617. running the your application on the MS .NET 1.1 runtime. On all other platforms only sending
  7618. unauthenticated messages to a server listening on port 25 (the default) is supported.
  7619. </note>
  7620. <para>
  7621. Authentication is supported by setting the <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> property to
  7622. either <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/> or <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm"/>.
  7623. If using <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/> authentication then the <see cref="P:log4net.Appender.SmtpAppender.Username"/>
  7624. and <see cref="P:log4net.Appender.SmtpAppender.Password"/> properties must also be set.
  7625. </para>
  7626. <para>
  7627. To set the SMTP server port use the <see cref="P:log4net.Appender.SmtpAppender.Port"/> property. The default port is 25.
  7628. </para>
  7629. </remarks>
  7630. <author>Nicko Cadell</author>
  7631. <author>Gert Driesen</author>
  7632. </member>
  7633. <member name="M:log4net.Appender.SmtpAppender.#ctor">
  7634. <summary>
  7635. Default constructor
  7636. </summary>
  7637. <remarks>
  7638. <para>
  7639. Default constructor
  7640. </para>
  7641. </remarks>
  7642. </member>
  7643. <member name="M:log4net.Appender.SmtpAppender.SendBuffer(log4net.Core.LoggingEvent[])">
  7644. <summary>
  7645. Sends the contents of the cyclic buffer as an e-mail message.
  7646. </summary>
  7647. <param name="events">The logging events to send.</param>
  7648. </member>
  7649. <member name="M:log4net.Appender.SmtpAppender.SendEmail(System.String)">
  7650. <summary>
  7651. Send the email message
  7652. </summary>
  7653. <param name="messageBody">the body text to include in the mail</param>
  7654. </member>
  7655. <member name="M:log4net.Appender.SmtpAppender.MaybeTrimSeparators(System.String)">
  7656. <summary>
  7657. trims leading and trailing commas or semicolons
  7658. </summary>
  7659. </member>
  7660. <member name="P:log4net.Appender.SmtpAppender.To">
  7661. <summary>
  7662. Gets or sets a comma- or semicolon-delimited list of recipient e-mail addresses (use semicolon on .NET 1.1 and comma for later versions).
  7663. </summary>
  7664. <value>
  7665. <para>
  7666. For .NET 1.1 (System.Web.Mail): A semicolon-delimited list of e-mail addresses.
  7667. </para>
  7668. <para>
  7669. For .NET 2.0 (System.Net.Mail): A comma-delimited list of e-mail addresses.
  7670. </para>
  7671. </value>
  7672. <remarks>
  7673. <para>
  7674. For .NET 1.1 (System.Web.Mail): A semicolon-delimited list of e-mail addresses.
  7675. </para>
  7676. <para>
  7677. For .NET 2.0 (System.Net.Mail): A comma-delimited list of e-mail addresses.
  7678. </para>
  7679. </remarks>
  7680. </member>
  7681. <member name="P:log4net.Appender.SmtpAppender.Cc">
  7682. <summary>
  7683. Gets or sets a comma- or semicolon-delimited list of recipient e-mail addresses
  7684. that will be carbon copied (use semicolon on .NET 1.1 and comma for later versions).
  7685. </summary>
  7686. <value>
  7687. <para>
  7688. For .NET 1.1 (System.Web.Mail): A semicolon-delimited list of e-mail addresses.
  7689. </para>
  7690. <para>
  7691. For .NET 2.0 (System.Net.Mail): A comma-delimited list of e-mail addresses.
  7692. </para>
  7693. </value>
  7694. <remarks>
  7695. <para>
  7696. For .NET 1.1 (System.Web.Mail): A semicolon-delimited list of e-mail addresses.
  7697. </para>
  7698. <para>
  7699. For .NET 2.0 (System.Net.Mail): A comma-delimited list of e-mail addresses.
  7700. </para>
  7701. </remarks>
  7702. </member>
  7703. <member name="P:log4net.Appender.SmtpAppender.Bcc">
  7704. <summary>
  7705. Gets or sets a semicolon-delimited list of recipient e-mail addresses
  7706. that will be blind carbon copied.
  7707. </summary>
  7708. <value>
  7709. A semicolon-delimited list of e-mail addresses.
  7710. </value>
  7711. <remarks>
  7712. <para>
  7713. A semicolon-delimited list of recipient e-mail addresses.
  7714. </para>
  7715. </remarks>
  7716. </member>
  7717. <member name="P:log4net.Appender.SmtpAppender.From">
  7718. <summary>
  7719. Gets or sets the e-mail address of the sender.
  7720. </summary>
  7721. <value>
  7722. The e-mail address of the sender.
  7723. </value>
  7724. <remarks>
  7725. <para>
  7726. The e-mail address of the sender.
  7727. </para>
  7728. </remarks>
  7729. </member>
  7730. <member name="P:log4net.Appender.SmtpAppender.Subject">
  7731. <summary>
  7732. Gets or sets the subject line of the e-mail message.
  7733. </summary>
  7734. <value>
  7735. The subject line of the e-mail message.
  7736. </value>
  7737. <remarks>
  7738. <para>
  7739. The subject line of the e-mail message.
  7740. </para>
  7741. </remarks>
  7742. </member>
  7743. <member name="P:log4net.Appender.SmtpAppender.SmtpHost">
  7744. <summary>
  7745. Gets or sets the name of the SMTP relay mail server to use to send
  7746. the e-mail messages.
  7747. </summary>
  7748. <value>
  7749. The name of the e-mail relay server. If SmtpServer is not set, the
  7750. name of the local SMTP server is used.
  7751. </value>
  7752. <remarks>
  7753. <para>
  7754. The name of the e-mail relay server. If SmtpServer is not set, the
  7755. name of the local SMTP server is used.
  7756. </para>
  7757. </remarks>
  7758. </member>
  7759. <member name="P:log4net.Appender.SmtpAppender.LocationInfo">
  7760. <summary>
  7761. Obsolete
  7762. </summary>
  7763. <remarks>
  7764. Use the BufferingAppenderSkeleton Fix methods instead
  7765. </remarks>
  7766. <remarks>
  7767. <para>
  7768. Obsolete property.
  7769. </para>
  7770. </remarks>
  7771. </member>
  7772. <member name="P:log4net.Appender.SmtpAppender.Authentication">
  7773. <summary>
  7774. The mode to use to authentication with the SMTP server
  7775. </summary>
  7776. <remarks>
  7777. <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
  7778. <para>
  7779. Valid Authentication mode values are: <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.None"/>,
  7780. <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/>, and <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm"/>.
  7781. The default value is <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.None"/>. When using
  7782. <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/> you must specify the <see cref="P:log4net.Appender.SmtpAppender.Username"/>
  7783. and <see cref="P:log4net.Appender.SmtpAppender.Password"/> to use to authenticate.
  7784. When using <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm"/> the Windows credentials for the current
  7785. thread, if impersonating, or the process will be used to authenticate.
  7786. </para>
  7787. </remarks>
  7788. </member>
  7789. <member name="P:log4net.Appender.SmtpAppender.Username">
  7790. <summary>
  7791. The username to use to authenticate with the SMTP server
  7792. </summary>
  7793. <remarks>
  7794. <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
  7795. <para>
  7796. A <see cref="P:log4net.Appender.SmtpAppender.Username"/> and <see cref="P:log4net.Appender.SmtpAppender.Password"/> must be specified when
  7797. <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> is set to <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/>,
  7798. otherwise the username will be ignored.
  7799. </para>
  7800. </remarks>
  7801. </member>
  7802. <member name="P:log4net.Appender.SmtpAppender.Password">
  7803. <summary>
  7804. The password to use to authenticate with the SMTP server
  7805. </summary>
  7806. <remarks>
  7807. <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
  7808. <para>
  7809. A <see cref="P:log4net.Appender.SmtpAppender.Username"/> and <see cref="P:log4net.Appender.SmtpAppender.Password"/> must be specified when
  7810. <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> is set to <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/>,
  7811. otherwise the password will be ignored.
  7812. </para>
  7813. </remarks>
  7814. </member>
  7815. <member name="P:log4net.Appender.SmtpAppender.Port">
  7816. <summary>
  7817. The port on which the SMTP server is listening
  7818. </summary>
  7819. <remarks>
  7820. <note type="caution">Server Port is only available on the MS .NET 1.1 runtime.</note>
  7821. <para>
  7822. The port on which the SMTP server is listening. The default
  7823. port is <c>25</c>. The Port can only be changed when running on
  7824. the MS .NET 1.1 runtime.
  7825. </para>
  7826. </remarks>
  7827. </member>
  7828. <member name="P:log4net.Appender.SmtpAppender.Priority">
  7829. <summary>
  7830. Gets or sets the priority of the e-mail message
  7831. </summary>
  7832. <value>
  7833. One of the <see cref="T:System.Net.Mail.MailPriority"/> values.
  7834. </value>
  7835. <remarks>
  7836. <para>
  7837. Sets the priority of the e-mails generated by this
  7838. appender. The default priority is <see cref="F:System.Net.Mail.MailPriority.Normal"/>.
  7839. </para>
  7840. <para>
  7841. If you are using this appender to report errors then
  7842. you may want to set the priority to <see cref="F:System.Net.Mail.MailPriority.High"/>.
  7843. </para>
  7844. </remarks>
  7845. </member>
  7846. <member name="P:log4net.Appender.SmtpAppender.EnableSsl">
  7847. <summary>
  7848. Enable or disable use of SSL when sending e-mail message
  7849. </summary>
  7850. <remarks>
  7851. This is available on MS .NET 2.0 runtime and higher
  7852. </remarks>
  7853. </member>
  7854. <member name="P:log4net.Appender.SmtpAppender.ReplyTo">
  7855. <summary>
  7856. Gets or sets the reply-to e-mail address.
  7857. </summary>
  7858. <remarks>
  7859. This is available on MS .NET 2.0 runtime and higher
  7860. </remarks>
  7861. </member>
  7862. <member name="P:log4net.Appender.SmtpAppender.SubjectEncoding">
  7863. <summary>
  7864. Gets or sets the subject encoding to be used.
  7865. </summary>
  7866. <remarks>
  7867. The default encoding is the operating system's current ANSI codepage.
  7868. </remarks>
  7869. </member>
  7870. <member name="P:log4net.Appender.SmtpAppender.BodyEncoding">
  7871. <summary>
  7872. Gets or sets the body encoding to be used.
  7873. </summary>
  7874. <remarks>
  7875. The default encoding is the operating system's current ANSI codepage.
  7876. </remarks>
  7877. </member>
  7878. <member name="P:log4net.Appender.SmtpAppender.RequiresLayout">
  7879. <summary>
  7880. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  7881. </summary>
  7882. <value><c>true</c></value>
  7883. <remarks>
  7884. <para>
  7885. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  7886. </para>
  7887. </remarks>
  7888. </member>
  7889. <member name="T:log4net.Appender.SmtpAppender.SmtpAuthentication">
  7890. <summary>
  7891. Values for the <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> property.
  7892. </summary>
  7893. <remarks>
  7894. <para>
  7895. SMTP authentication modes.
  7896. </para>
  7897. </remarks>
  7898. </member>
  7899. <member name="F:log4net.Appender.SmtpAppender.SmtpAuthentication.None">
  7900. <summary>
  7901. No authentication
  7902. </summary>
  7903. </member>
  7904. <member name="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic">
  7905. <summary>
  7906. Basic authentication.
  7907. </summary>
  7908. <remarks>
  7909. Requires a username and password to be supplied
  7910. </remarks>
  7911. </member>
  7912. <member name="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm">
  7913. <summary>
  7914. Integrated authentication
  7915. </summary>
  7916. <remarks>
  7917. Uses the Windows credentials from the current thread or process to authenticate.
  7918. </remarks>
  7919. </member>
  7920. <member name="T:log4net.Appender.SmtpPickupDirAppender">
  7921. <summary>
  7922. Send an email when a specific logging event occurs, typically on errors
  7923. or fatal errors. Rather than sending via smtp it writes a file into the
  7924. directory specified by <see cref="P:log4net.Appender.SmtpPickupDirAppender.PickupDir"/>. This allows services such
  7925. as the IIS SMTP agent to manage sending the messages.
  7926. </summary>
  7927. <remarks>
  7928. <para>
  7929. The configuration for this appender is identical to that of the <c>SMTPAppender</c>,
  7930. except that instead of specifying the <c>SMTPAppender.SMTPHost</c> you specify
  7931. <see cref="P:log4net.Appender.SmtpPickupDirAppender.PickupDir"/>.
  7932. </para>
  7933. <para>
  7934. The number of logging events delivered in this e-mail depend on
  7935. the value of <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> option. The
  7936. <see cref="T:log4net.Appender.SmtpPickupDirAppender"/> keeps only the last
  7937. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> logging events in its
  7938. cyclic buffer. This keeps memory requirements at a reasonable level while
  7939. still delivering useful application context.
  7940. </para>
  7941. </remarks>
  7942. <author>Niall Daley</author>
  7943. <author>Nicko Cadell</author>
  7944. </member>
  7945. <member name="M:log4net.Appender.SmtpPickupDirAppender.#ctor">
  7946. <summary>
  7947. Default constructor
  7948. </summary>
  7949. <remarks>
  7950. <para>
  7951. Default constructor
  7952. </para>
  7953. </remarks>
  7954. </member>
  7955. <member name="M:log4net.Appender.SmtpPickupDirAppender.SendBuffer(log4net.Core.LoggingEvent[])">
  7956. <summary>
  7957. Sends the contents of the cyclic buffer as an e-mail message.
  7958. </summary>
  7959. <param name="events">The logging events to send.</param>
  7960. <remarks>
  7961. <para>
  7962. Sends the contents of the cyclic buffer as an e-mail message.
  7963. </para>
  7964. </remarks>
  7965. </member>
  7966. <member name="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions">
  7967. <summary>
  7968. Activate the options on this appender.
  7969. </summary>
  7970. <remarks>
  7971. <para>
  7972. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  7973. activation scheme. The <see cref="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions"/> method must
  7974. be called on this object after the configuration properties have
  7975. been set. Until <see cref="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions"/> is called this
  7976. object is in an undefined state and must not be used.
  7977. </para>
  7978. <para>
  7979. If any of the configuration properties are modified then
  7980. <see cref="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions"/> must be called again.
  7981. </para>
  7982. </remarks>
  7983. </member>
  7984. <member name="M:log4net.Appender.SmtpPickupDirAppender.ConvertToFullPath(System.String)">
  7985. <summary>
  7986. Convert a path into a fully qualified path.
  7987. </summary>
  7988. <param name="path">The path to convert.</param>
  7989. <returns>The fully qualified path.</returns>
  7990. <remarks>
  7991. <para>
  7992. Converts the path specified to a fully
  7993. qualified path. If the path is relative it is
  7994. taken as relative from the application base
  7995. directory.
  7996. </para>
  7997. </remarks>
  7998. </member>
  7999. <member name="F:log4net.Appender.SmtpPickupDirAppender.m_securityContext">
  8000. <summary>
  8001. The security context to use for privileged calls
  8002. </summary>
  8003. </member>
  8004. <member name="P:log4net.Appender.SmtpPickupDirAppender.To">
  8005. <summary>
  8006. Gets or sets a semicolon-delimited list of recipient e-mail addresses.
  8007. </summary>
  8008. <value>
  8009. A semicolon-delimited list of e-mail addresses.
  8010. </value>
  8011. <remarks>
  8012. <para>
  8013. A semicolon-delimited list of e-mail addresses.
  8014. </para>
  8015. </remarks>
  8016. </member>
  8017. <member name="P:log4net.Appender.SmtpPickupDirAppender.From">
  8018. <summary>
  8019. Gets or sets the e-mail address of the sender.
  8020. </summary>
  8021. <value>
  8022. The e-mail address of the sender.
  8023. </value>
  8024. <remarks>
  8025. <para>
  8026. The e-mail address of the sender.
  8027. </para>
  8028. </remarks>
  8029. </member>
  8030. <member name="P:log4net.Appender.SmtpPickupDirAppender.Subject">
  8031. <summary>
  8032. Gets or sets the subject line of the e-mail message.
  8033. </summary>
  8034. <value>
  8035. The subject line of the e-mail message.
  8036. </value>
  8037. <remarks>
  8038. <para>
  8039. The subject line of the e-mail message.
  8040. </para>
  8041. </remarks>
  8042. </member>
  8043. <member name="P:log4net.Appender.SmtpPickupDirAppender.PickupDir">
  8044. <summary>
  8045. Gets or sets the path to write the messages to.
  8046. </summary>
  8047. <remarks>
  8048. <para>
  8049. Gets or sets the path to write the messages to. This should be the same
  8050. as that used by the agent sending the messages.
  8051. </para>
  8052. </remarks>
  8053. </member>
  8054. <member name="P:log4net.Appender.SmtpPickupDirAppender.FileExtension">
  8055. <summary>
  8056. Gets or sets the file extension for the generated files
  8057. </summary>
  8058. <value>
  8059. The file extension for the generated files
  8060. </value>
  8061. <remarks>
  8062. <para>
  8063. The file extension for the generated files
  8064. </para>
  8065. </remarks>
  8066. </member>
  8067. <member name="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext">
  8068. <summary>
  8069. Gets or sets the <see cref="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext"/> used to write to the pickup directory.
  8070. </summary>
  8071. <value>
  8072. The <see cref="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext"/> used to write to the pickup directory.
  8073. </value>
  8074. <remarks>
  8075. <para>
  8076. Unless a <see cref="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext"/> specified here for this appender
  8077. the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
  8078. security context to use. The default behavior is to use the security context
  8079. of the current thread.
  8080. </para>
  8081. </remarks>
  8082. </member>
  8083. <member name="P:log4net.Appender.SmtpPickupDirAppender.RequiresLayout">
  8084. <summary>
  8085. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  8086. </summary>
  8087. <value><c>true</c></value>
  8088. <remarks>
  8089. <para>
  8090. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  8091. </para>
  8092. </remarks>
  8093. </member>
  8094. <member name="T:log4net.Appender.TelnetAppender">
  8095. <summary>
  8096. Appender that allows clients to connect via Telnet to receive log messages
  8097. </summary>
  8098. <remarks>
  8099. <para>
  8100. The TelnetAppender accepts socket connections and streams logging messages
  8101. back to the client.
  8102. The output is provided in a telnet-friendly way so that a log can be monitored
  8103. over a TCP/IP socket.
  8104. This allows simple remote monitoring of application logging.
  8105. </para>
  8106. <para>
  8107. The default <see cref="P:log4net.Appender.TelnetAppender.Port"/> is 23 (the telnet port).
  8108. </para>
  8109. </remarks>
  8110. <author>Keith Long</author>
  8111. <author>Nicko Cadell</author>
  8112. </member>
  8113. <member name="M:log4net.Appender.TelnetAppender.#ctor">
  8114. <summary>
  8115. Default constructor
  8116. </summary>
  8117. <remarks>
  8118. <para>
  8119. Default constructor
  8120. </para>
  8121. </remarks>
  8122. </member>
  8123. <member name="F:log4net.Appender.TelnetAppender.declaringType">
  8124. <summary>
  8125. The fully qualified type of the TelnetAppender class.
  8126. </summary>
  8127. <remarks>
  8128. Used by the internal logger to record the Type of the
  8129. log message.
  8130. </remarks>
  8131. </member>
  8132. <member name="M:log4net.Appender.TelnetAppender.OnClose">
  8133. <summary>
  8134. Overrides the parent method to close the socket handler
  8135. </summary>
  8136. <remarks>
  8137. <para>
  8138. Closes all the outstanding connections.
  8139. </para>
  8140. </remarks>
  8141. </member>
  8142. <member name="M:log4net.Appender.TelnetAppender.ActivateOptions">
  8143. <summary>
  8144. Initialize the appender based on the options set.
  8145. </summary>
  8146. <remarks>
  8147. <para>
  8148. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  8149. activation scheme. The <see cref="M:log4net.Appender.TelnetAppender.ActivateOptions"/> method must
  8150. be called on this object after the configuration properties have
  8151. been set. Until <see cref="M:log4net.Appender.TelnetAppender.ActivateOptions"/> is called this
  8152. object is in an undefined state and must not be used.
  8153. </para>
  8154. <para>
  8155. If any of the configuration properties are modified then
  8156. <see cref="M:log4net.Appender.TelnetAppender.ActivateOptions"/> must be called again.
  8157. </para>
  8158. <para>
  8159. Create the socket handler and wait for connections
  8160. </para>
  8161. </remarks>
  8162. </member>
  8163. <member name="M:log4net.Appender.TelnetAppender.Append(log4net.Core.LoggingEvent)">
  8164. <summary>
  8165. Writes the logging event to each connected client.
  8166. </summary>
  8167. <param name="loggingEvent">The event to log.</param>
  8168. <remarks>
  8169. <para>
  8170. Writes the logging event to each connected client.
  8171. </para>
  8172. </remarks>
  8173. </member>
  8174. <member name="P:log4net.Appender.TelnetAppender.Port">
  8175. <summary>
  8176. Gets or sets the TCP port number on which this <see cref="T:log4net.Appender.TelnetAppender"/> will listen for connections.
  8177. </summary>
  8178. <value>
  8179. An integer value in the range <see cref="F:System.Net.IPEndPoint.MinPort"/> to <see cref="F:System.Net.IPEndPoint.MaxPort"/>
  8180. indicating the TCP port number on which this <see cref="T:log4net.Appender.TelnetAppender"/> will listen for connections.
  8181. </value>
  8182. <remarks>
  8183. <para>
  8184. The default value is 23 (the telnet port).
  8185. </para>
  8186. </remarks>
  8187. <exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than <see cref="F:System.Net.IPEndPoint.MinPort"/>
  8188. or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
  8189. </member>
  8190. <member name="P:log4net.Appender.TelnetAppender.RequiresLayout">
  8191. <summary>
  8192. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  8193. </summary>
  8194. <value><c>true</c></value>
  8195. <remarks>
  8196. <para>
  8197. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  8198. </para>
  8199. </remarks>
  8200. </member>
  8201. <member name="T:log4net.Appender.TelnetAppender.SocketHandler">
  8202. <summary>
  8203. Helper class to manage connected clients
  8204. </summary>
  8205. <remarks>
  8206. <para>
  8207. The SocketHandler class is used to accept connections from
  8208. clients. It is threaded so that clients can connect/disconnect
  8209. asynchronously.
  8210. </para>
  8211. </remarks>
  8212. </member>
  8213. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.#ctor(System.Int32)">
  8214. <summary>
  8215. Opens a new server port on <paramref ref="port"/>
  8216. </summary>
  8217. <param name="port">the local port to listen on for connections</param>
  8218. <remarks>
  8219. <para>
  8220. Creates a socket handler on the specified local server port.
  8221. </para>
  8222. </remarks>
  8223. </member>
  8224. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.Send(System.String)">
  8225. <summary>
  8226. Sends a string message to each of the connected clients
  8227. </summary>
  8228. <param name="message">the text to send</param>
  8229. <remarks>
  8230. <para>
  8231. Sends a string message to each of the connected clients
  8232. </para>
  8233. </remarks>
  8234. </member>
  8235. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.AddClient(log4net.Appender.TelnetAppender.SocketHandler.SocketClient)">
  8236. <summary>
  8237. Add a client to the internal clients list
  8238. </summary>
  8239. <param name="client">client to add</param>
  8240. </member>
  8241. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.RemoveClient(log4net.Appender.TelnetAppender.SocketHandler.SocketClient)">
  8242. <summary>
  8243. Remove a client from the internal clients list
  8244. </summary>
  8245. <param name="client">client to remove</param>
  8246. </member>
  8247. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.OnConnect(System.IAsyncResult)">
  8248. <summary>
  8249. Callback used to accept a connection on the server socket
  8250. </summary>
  8251. <param name="asyncResult">The result of the asynchronous operation</param>
  8252. <remarks>
  8253. <para>
  8254. On connection adds to the list of connections
  8255. if there are two many open connections you will be disconnected
  8256. </para>
  8257. </remarks>
  8258. </member>
  8259. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.Dispose">
  8260. <summary>
  8261. Close all network connections
  8262. </summary>
  8263. <remarks>
  8264. <para>
  8265. Make sure we close all network connections
  8266. </para>
  8267. </remarks>
  8268. </member>
  8269. <member name="P:log4net.Appender.TelnetAppender.SocketHandler.HasConnections">
  8270. <summary>
  8271. Test if this handler has active connections
  8272. </summary>
  8273. <value>
  8274. <c>true</c> if this handler has active connections
  8275. </value>
  8276. <remarks>
  8277. <para>
  8278. This property will be <c>true</c> while this handler has
  8279. active connections, that is at least one connection that
  8280. the handler will attempt to send a message to.
  8281. </para>
  8282. </remarks>
  8283. </member>
  8284. <member name="T:log4net.Appender.TelnetAppender.SocketHandler.SocketClient">
  8285. <summary>
  8286. Class that represents a client connected to this handler
  8287. </summary>
  8288. <remarks>
  8289. <para>
  8290. Class that represents a client connected to this handler
  8291. </para>
  8292. </remarks>
  8293. </member>
  8294. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.SocketClient.#ctor(System.Net.Sockets.Socket)">
  8295. <summary>
  8296. Create this <see cref="T:log4net.Appender.TelnetAppender.SocketHandler.SocketClient"/> for the specified <see cref="T:System.Net.Sockets.Socket"/>
  8297. </summary>
  8298. <param name="socket">the client's socket</param>
  8299. <remarks>
  8300. <para>
  8301. Opens a stream writer on the socket.
  8302. </para>
  8303. </remarks>
  8304. </member>
  8305. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.SocketClient.Send(System.String)">
  8306. <summary>
  8307. Write a string to the client
  8308. </summary>
  8309. <param name="message">string to send</param>
  8310. <remarks>
  8311. <para>
  8312. Write a string to the client
  8313. </para>
  8314. </remarks>
  8315. </member>
  8316. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.SocketClient.Dispose">
  8317. <summary>
  8318. Cleanup the clients connection
  8319. </summary>
  8320. <remarks>
  8321. <para>
  8322. Close the socket connection.
  8323. </para>
  8324. </remarks>
  8325. </member>
  8326. <member name="T:log4net.Appender.TraceAppender">
  8327. <summary>
  8328. Appends log events to the <see cref="T:System.Diagnostics.Trace"/> system.
  8329. </summary>
  8330. <remarks>
  8331. <para>
  8332. The application configuration file can be used to control what listeners
  8333. are actually used. See the MSDN documentation for the
  8334. <see cref="T:System.Diagnostics.Trace"/> class for details on configuring the
  8335. trace system.
  8336. </para>
  8337. <para>
  8338. Events are written using the <c>System.Diagnostics.Trace.Write(string,string)</c>
  8339. method. The event's logger name is the default value for the category parameter
  8340. of the Write method.
  8341. </para>
  8342. <para>
  8343. <b>Compact Framework</b><br/>
  8344. The Compact Framework does not support the <see cref="T:System.Diagnostics.Trace"/>
  8345. class for any operation except <c>Assert</c>. When using the Compact Framework this
  8346. appender will write to the <see cref="T:System.Diagnostics.Debug"/> system rather than
  8347. the Trace system. This appender will therefore behave like the <see cref="T:log4net.Appender.DebugAppender"/>.
  8348. </para>
  8349. </remarks>
  8350. <author>Douglas de la Torre</author>
  8351. <author>Nicko Cadell</author>
  8352. <author>Gert Driesen</author>
  8353. <author>Ron Grabowski</author>
  8354. </member>
  8355. <member name="M:log4net.Appender.TraceAppender.#ctor">
  8356. <summary>
  8357. Initializes a new instance of the <see cref="T:log4net.Appender.TraceAppender"/>.
  8358. </summary>
  8359. <remarks>
  8360. <para>
  8361. Default constructor.
  8362. </para>
  8363. </remarks>
  8364. </member>
  8365. <member name="M:log4net.Appender.TraceAppender.#ctor(log4net.Layout.ILayout)">
  8366. <summary>
  8367. Initializes a new instance of the <see cref="T:log4net.Appender.TraceAppender"/>
  8368. with a specified layout.
  8369. </summary>
  8370. <param name="layout">The layout to use with this appender.</param>
  8371. <remarks>
  8372. <para>
  8373. Obsolete constructor.
  8374. </para>
  8375. </remarks>
  8376. </member>
  8377. <member name="M:log4net.Appender.TraceAppender.Append(log4net.Core.LoggingEvent)">
  8378. <summary>
  8379. Writes the logging event to the <see cref="T:System.Diagnostics.Trace"/> system.
  8380. </summary>
  8381. <param name="loggingEvent">The event to log.</param>
  8382. <remarks>
  8383. <para>
  8384. Writes the logging event to the <see cref="T:System.Diagnostics.Trace"/> system.
  8385. </para>
  8386. </remarks>
  8387. </member>
  8388. <member name="F:log4net.Appender.TraceAppender.m_immediateFlush">
  8389. <summary>
  8390. Immediate flush means that the underlying writer or output stream
  8391. will be flushed at the end of each append operation.
  8392. </summary>
  8393. <remarks>
  8394. <para>
  8395. Immediate flush is slower but ensures that each append request is
  8396. actually written. If <see cref="P:log4net.Appender.TraceAppender.ImmediateFlush"/> is set to
  8397. <c>false</c>, then there is a good chance that the last few
  8398. logs events are not actually written to persistent media if and
  8399. when the application crashes.
  8400. </para>
  8401. <para>
  8402. The default value is <c>true</c>.</para>
  8403. </remarks>
  8404. </member>
  8405. <member name="F:log4net.Appender.TraceAppender.m_category">
  8406. <summary>
  8407. Defaults to %logger
  8408. </summary>
  8409. </member>
  8410. <member name="P:log4net.Appender.TraceAppender.ImmediateFlush">
  8411. <summary>
  8412. Gets or sets a value that indicates whether the appender will
  8413. flush at the end of each write.
  8414. </summary>
  8415. <remarks>
  8416. <para>The default behavior is to flush at the end of each
  8417. write. If the option is set to<c>false</c>, then the underlying
  8418. stream can defer writing to physical medium to a later time.
  8419. </para>
  8420. <para>
  8421. Avoiding the flush operation at the end of each append results
  8422. in a performance gain of 10 to 20 percent. However, there is safety
  8423. trade-off involved in skipping flushing. Indeed, when flushing is
  8424. skipped, then it is likely that the last few log events will not
  8425. be recorded on disk when the application exits. This is a high
  8426. price to pay even for a 20% performance gain.
  8427. </para>
  8428. </remarks>
  8429. </member>
  8430. <member name="P:log4net.Appender.TraceAppender.Category">
  8431. <summary>
  8432. The category parameter sent to the Trace method.
  8433. </summary>
  8434. <remarks>
  8435. <para>
  8436. Defaults to %logger which will use the logger name of the current
  8437. <see cref="T:log4net.Core.LoggingEvent"/> as the category parameter.
  8438. </para>
  8439. <para>
  8440. </para>
  8441. </remarks>
  8442. </member>
  8443. <member name="P:log4net.Appender.TraceAppender.RequiresLayout">
  8444. <summary>
  8445. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  8446. </summary>
  8447. <value><c>true</c></value>
  8448. <remarks>
  8449. <para>
  8450. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  8451. </para>
  8452. </remarks>
  8453. </member>
  8454. <member name="T:log4net.Config.AliasDomainAttribute">
  8455. <summary>
  8456. Assembly level attribute that specifies a domain to alias to this assembly's repository.
  8457. </summary>
  8458. <remarks>
  8459. <para>
  8460. <b>AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.</b>
  8461. </para>
  8462. <para>
  8463. An assembly's logger repository is defined by its <see cref="T:log4net.Config.DomainAttribute"/>,
  8464. however this can be overridden by an assembly loaded before the target assembly.
  8465. </para>
  8466. <para>
  8467. An assembly can alias another assembly's domain to its repository by
  8468. specifying this attribute with the name of the target domain.
  8469. </para>
  8470. <para>
  8471. This attribute can only be specified on the assembly and may be used
  8472. as many times as necessary to alias all the required domains.
  8473. </para>
  8474. </remarks>
  8475. <author>Nicko Cadell</author>
  8476. <author>Gert Driesen</author>
  8477. </member>
  8478. <member name="T:log4net.Config.AliasRepositoryAttribute">
  8479. <summary>
  8480. Assembly level attribute that specifies a repository to alias to this assembly's repository.
  8481. </summary>
  8482. <remarks>
  8483. <para>
  8484. An assembly's logger repository is defined by its <see cref="T:log4net.Config.RepositoryAttribute"/>,
  8485. however this can be overridden by an assembly loaded before the target assembly.
  8486. </para>
  8487. <para>
  8488. An assembly can alias another assembly's repository to its repository by
  8489. specifying this attribute with the name of the target repository.
  8490. </para>
  8491. <para>
  8492. This attribute can only be specified on the assembly and may be used
  8493. as many times as necessary to alias all the required repositories.
  8494. </para>
  8495. </remarks>
  8496. <author>Nicko Cadell</author>
  8497. <author>Gert Driesen</author>
  8498. </member>
  8499. <member name="M:log4net.Config.AliasRepositoryAttribute.#ctor(System.String)">
  8500. <summary>
  8501. Initializes a new instance of the <see cref="T:log4net.Config.AliasRepositoryAttribute"/> class with
  8502. the specified repository to alias to this assembly's repository.
  8503. </summary>
  8504. <param name="name">The repository to alias to this assemby's repository.</param>
  8505. <remarks>
  8506. <para>
  8507. Initializes a new instance of the <see cref="T:log4net.Config.AliasRepositoryAttribute"/> class with
  8508. the specified repository to alias to this assembly's repository.
  8509. </para>
  8510. </remarks>
  8511. </member>
  8512. <member name="P:log4net.Config.AliasRepositoryAttribute.Name">
  8513. <summary>
  8514. Gets or sets the repository to alias to this assemby's repository.
  8515. </summary>
  8516. <value>
  8517. The repository to alias to this assemby's repository.
  8518. </value>
  8519. <remarks>
  8520. <para>
  8521. The name of the repository to alias to this assemby's repository.
  8522. </para>
  8523. </remarks>
  8524. </member>
  8525. <member name="M:log4net.Config.AliasDomainAttribute.#ctor(System.String)">
  8526. <summary>
  8527. Initializes a new instance of the <see cref="T:log4net.Config.AliasDomainAttribute"/> class with
  8528. the specified domain to alias to this assembly's repository.
  8529. </summary>
  8530. <param name="name">The domain to alias to this assemby's repository.</param>
  8531. <remarks>
  8532. <para>
  8533. Obsolete. Use <see cref="T:log4net.Config.AliasRepositoryAttribute"/> instead of <see cref="T:log4net.Config.AliasDomainAttribute"/>.
  8534. </para>
  8535. </remarks>
  8536. </member>
  8537. <member name="T:log4net.Config.BasicConfigurator">
  8538. <summary>
  8539. Use this class to quickly configure a <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
  8540. </summary>
  8541. <remarks>
  8542. <para>
  8543. Allows very simple programmatic configuration of log4net.
  8544. </para>
  8545. <para>
  8546. Only one appender can be configured using this configurator.
  8547. The appender is set at the root of the hierarchy and all logging
  8548. events will be delivered to that appender.
  8549. </para>
  8550. <para>
  8551. Appenders can also implement the <see cref="T:log4net.Core.IOptionHandler"/> interface. Therefore
  8552. they would require that the <see cref="M:log4net.Core.IOptionHandler.ActivateOptions()"/> method
  8553. be called after the appenders properties have been configured.
  8554. </para>
  8555. </remarks>
  8556. <author>Nicko Cadell</author>
  8557. <author>Gert Driesen</author>
  8558. </member>
  8559. <member name="F:log4net.Config.BasicConfigurator.declaringType">
  8560. <summary>
  8561. The fully qualified type of the BasicConfigurator class.
  8562. </summary>
  8563. <remarks>
  8564. Used by the internal logger to record the Type of the
  8565. log message.
  8566. </remarks>
  8567. </member>
  8568. <member name="M:log4net.Config.BasicConfigurator.#ctor">
  8569. <summary>
  8570. Initializes a new instance of the <see cref="T:log4net.Config.BasicConfigurator"/> class.
  8571. </summary>
  8572. <remarks>
  8573. <para>
  8574. Uses a private access modifier to prevent instantiation of this class.
  8575. </para>
  8576. </remarks>
  8577. </member>
  8578. <member name="M:log4net.Config.BasicConfigurator.Configure">
  8579. <summary>
  8580. Initializes the log4net system with a default configuration.
  8581. </summary>
  8582. <remarks>
  8583. <para>
  8584. Initializes the log4net logging system using a <see cref="T:log4net.Appender.ConsoleAppender"/>
  8585. that will write to <c>Console.Out</c>. The log messages are
  8586. formatted using the <see cref="T:log4net.Layout.PatternLayout"/> layout object
  8587. with the <see cref="F:log4net.Layout.PatternLayout.DetailConversionPattern"/>
  8588. layout style.
  8589. </para>
  8590. </remarks>
  8591. </member>
  8592. <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Appender.IAppender)">
  8593. <summary>
  8594. Initializes the log4net system using the specified appender.
  8595. </summary>
  8596. <param name="appender">The appender to use to log all logging events.</param>
  8597. <remarks>
  8598. <para>
  8599. Initializes the log4net system using the specified appender.
  8600. </para>
  8601. </remarks>
  8602. </member>
  8603. <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Appender.IAppender[])">
  8604. <summary>
  8605. Initializes the log4net system using the specified appenders.
  8606. </summary>
  8607. <param name="appenders">The appenders to use to log all logging events.</param>
  8608. <remarks>
  8609. <para>
  8610. Initializes the log4net system using the specified appenders.
  8611. </para>
  8612. </remarks>
  8613. </member>
  8614. <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Repository.ILoggerRepository)">
  8615. <summary>
  8616. Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> with a default configuration.
  8617. </summary>
  8618. <param name="repository">The repository to configure.</param>
  8619. <remarks>
  8620. <para>
  8621. Initializes the specified repository using a <see cref="T:log4net.Appender.ConsoleAppender"/>
  8622. that will write to <c>Console.Out</c>. The log messages are
  8623. formatted using the <see cref="T:log4net.Layout.PatternLayout"/> layout object
  8624. with the <see cref="F:log4net.Layout.PatternLayout.DetailConversionPattern"/>
  8625. layout style.
  8626. </para>
  8627. </remarks>
  8628. </member>
  8629. <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Repository.ILoggerRepository,log4net.Appender.IAppender)">
  8630. <summary>
  8631. Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified appender.
  8632. </summary>
  8633. <param name="repository">The repository to configure.</param>
  8634. <param name="appender">The appender to use to log all logging events.</param>
  8635. <remarks>
  8636. <para>
  8637. Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified appender.
  8638. </para>
  8639. </remarks>
  8640. </member>
  8641. <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Repository.ILoggerRepository,log4net.Appender.IAppender[])">
  8642. <summary>
  8643. Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified appenders.
  8644. </summary>
  8645. <param name="repository">The repository to configure.</param>
  8646. <param name="appenders">The appenders to use to log all logging events.</param>
  8647. <remarks>
  8648. <para>
  8649. Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified appender.
  8650. </para>
  8651. </remarks>
  8652. </member>
  8653. <member name="T:log4net.Config.ConfiguratorAttribute">
  8654. <summary>
  8655. Base class for all log4net configuration attributes.
  8656. </summary>
  8657. <remarks>
  8658. This is an abstract class that must be extended by
  8659. specific configurators. This attribute allows the
  8660. configurator to be parameterized by an assembly level
  8661. attribute.
  8662. </remarks>
  8663. <author>Nicko Cadell</author>
  8664. <author>Gert Driesen</author>
  8665. </member>
  8666. <member name="M:log4net.Config.ConfiguratorAttribute.#ctor(System.Int32)">
  8667. <summary>
  8668. Constructor used by subclasses.
  8669. </summary>
  8670. <param name="priority">the ordering priority for this configurator</param>
  8671. <remarks>
  8672. <para>
  8673. The <paramref name="priority"/> is used to order the configurator
  8674. attributes before they are invoked. Higher priority configurators are executed
  8675. before lower priority ones.
  8676. </para>
  8677. </remarks>
  8678. </member>
  8679. <member name="M:log4net.Config.ConfiguratorAttribute.Configure(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  8680. <summary>
  8681. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
  8682. </summary>
  8683. <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
  8684. <param name="targetRepository">The repository to configure.</param>
  8685. <remarks>
  8686. <para>
  8687. Abstract method implemented by a subclass. When this method is called
  8688. the subclass should configure the <paramref name="targetRepository"/>.
  8689. </para>
  8690. </remarks>
  8691. </member>
  8692. <member name="M:log4net.Config.ConfiguratorAttribute.CompareTo(System.Object)">
  8693. <summary>
  8694. Compare this instance to another ConfiguratorAttribute
  8695. </summary>
  8696. <param name="obj">the object to compare to</param>
  8697. <returns>see <see cref="M:System.IComparable.CompareTo(System.Object)"/></returns>
  8698. <remarks>
  8699. <para>
  8700. Compares the priorities of the two <see cref="T:log4net.Config.ConfiguratorAttribute"/> instances.
  8701. Sorts by priority in descending order. Objects with the same priority are
  8702. randomly ordered.
  8703. </para>
  8704. </remarks>
  8705. </member>
  8706. <member name="T:log4net.Config.DomainAttribute">
  8707. <summary>
  8708. Assembly level attribute that specifies the logging domain for the assembly.
  8709. </summary>
  8710. <remarks>
  8711. <para>
  8712. <b>DomainAttribute is obsolete. Use RepositoryAttribute instead of DomainAttribute.</b>
  8713. </para>
  8714. <para>
  8715. Assemblies are mapped to logging domains. Each domain has its own
  8716. logging repository. This attribute specified on the assembly controls
  8717. the configuration of the domain. The <see cref="P:log4net.Config.RepositoryAttribute.Name"/> property specifies the name
  8718. of the domain that this assembly is a part of. The <see cref="P:log4net.Config.RepositoryAttribute.RepositoryType"/>
  8719. specifies the type of the repository objects to create for the domain. If
  8720. this attribute is not specified and a <see cref="P:log4net.Config.RepositoryAttribute.Name"/> is not specified
  8721. then the assembly will be part of the default shared logging domain.
  8722. </para>
  8723. <para>
  8724. This attribute can only be specified on the assembly and may only be used
  8725. once per assembly.
  8726. </para>
  8727. </remarks>
  8728. <author>Nicko Cadell</author>
  8729. <author>Gert Driesen</author>
  8730. </member>
  8731. <member name="T:log4net.Config.RepositoryAttribute">
  8732. <summary>
  8733. Assembly level attribute that specifies the logging repository for the assembly.
  8734. </summary>
  8735. <remarks>
  8736. <para>
  8737. Assemblies are mapped to logging repository. This attribute specified
  8738. on the assembly controls
  8739. the configuration of the repository. The <see cref="P:log4net.Config.RepositoryAttribute.Name"/> property specifies the name
  8740. of the repository that this assembly is a part of. The <see cref="P:log4net.Config.RepositoryAttribute.RepositoryType"/>
  8741. specifies the type of the <see cref="T:log4net.Repository.ILoggerRepository"/> object
  8742. to create for the assembly. If this attribute is not specified or a <see cref="P:log4net.Config.RepositoryAttribute.Name"/>
  8743. is not specified then the assembly will be part of the default shared logging repository.
  8744. </para>
  8745. <para>
  8746. This attribute can only be specified on the assembly and may only be used
  8747. once per assembly.
  8748. </para>
  8749. </remarks>
  8750. <author>Nicko Cadell</author>
  8751. <author>Gert Driesen</author>
  8752. </member>
  8753. <member name="M:log4net.Config.RepositoryAttribute.#ctor">
  8754. <summary>
  8755. Initializes a new instance of the <see cref="T:log4net.Config.RepositoryAttribute"/> class.
  8756. </summary>
  8757. <remarks>
  8758. <para>
  8759. Default constructor.
  8760. </para>
  8761. </remarks>
  8762. </member>
  8763. <member name="M:log4net.Config.RepositoryAttribute.#ctor(System.String)">
  8764. <summary>
  8765. Initialize a new instance of the <see cref="T:log4net.Config.RepositoryAttribute"/> class
  8766. with the name of the repository.
  8767. </summary>
  8768. <param name="name">The name of the repository.</param>
  8769. <remarks>
  8770. <para>
  8771. Initialize the attribute with the name for the assembly's repository.
  8772. </para>
  8773. </remarks>
  8774. </member>
  8775. <member name="P:log4net.Config.RepositoryAttribute.Name">
  8776. <summary>
  8777. Gets or sets the name of the logging repository.
  8778. </summary>
  8779. <value>
  8780. The string name to use as the name of the repository associated with this
  8781. assembly.
  8782. </value>
  8783. <remarks>
  8784. <para>
  8785. This value does not have to be unique. Several assemblies can share the
  8786. same repository. They will share the logging configuration of the repository.
  8787. </para>
  8788. </remarks>
  8789. </member>
  8790. <member name="P:log4net.Config.RepositoryAttribute.RepositoryType">
  8791. <summary>
  8792. Gets or sets the type of repository to create for this assembly.
  8793. </summary>
  8794. <value>
  8795. The type of repository to create for this assembly.
  8796. </value>
  8797. <remarks>
  8798. <para>
  8799. The type of the repository to create for the assembly.
  8800. The type must implement the <see cref="T:log4net.Repository.ILoggerRepository"/>
  8801. interface.
  8802. </para>
  8803. <para>
  8804. This will be the type of repository created when
  8805. the repository is created. If multiple assemblies reference the
  8806. same repository then the repository is only created once using the
  8807. <see cref="P:log4net.Config.RepositoryAttribute.RepositoryType"/> of the first assembly to call into the
  8808. repository.
  8809. </para>
  8810. </remarks>
  8811. </member>
  8812. <member name="M:log4net.Config.DomainAttribute.#ctor">
  8813. <summary>
  8814. Initializes a new instance of the <see cref="T:log4net.Config.DomainAttribute"/> class.
  8815. </summary>
  8816. <remarks>
  8817. <para>
  8818. Obsolete. Use RepositoryAttribute instead of DomainAttribute.
  8819. </para>
  8820. </remarks>
  8821. </member>
  8822. <member name="M:log4net.Config.DomainAttribute.#ctor(System.String)">
  8823. <summary>
  8824. Initialize a new instance of the <see cref="T:log4net.Config.DomainAttribute"/> class
  8825. with the name of the domain.
  8826. </summary>
  8827. <param name="name">The name of the domain.</param>
  8828. <remarks>
  8829. <para>
  8830. Obsolete. Use RepositoryAttribute instead of DomainAttribute.
  8831. </para>
  8832. </remarks>
  8833. </member>
  8834. <member name="T:log4net.Config.DOMConfigurator">
  8835. <summary>
  8836. Use this class to initialize the log4net environment using an Xml tree.
  8837. </summary>
  8838. <remarks>
  8839. <para>
  8840. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8841. </para>
  8842. <para>
  8843. Configures a <see cref="T:log4net.Repository.ILoggerRepository"/> using an Xml tree.
  8844. </para>
  8845. </remarks>
  8846. <author>Nicko Cadell</author>
  8847. <author>Gert Driesen</author>
  8848. </member>
  8849. <member name="M:log4net.Config.DOMConfigurator.#ctor">
  8850. <summary>
  8851. Private constructor
  8852. </summary>
  8853. </member>
  8854. <member name="M:log4net.Config.DOMConfigurator.Configure">
  8855. <summary>
  8856. Automatically configures the log4net system based on the
  8857. application's configuration settings.
  8858. </summary>
  8859. <remarks>
  8860. <para>
  8861. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8862. </para>
  8863. Each application has a configuration file. This has the
  8864. same name as the application with '.config' appended.
  8865. This file is XML and calling this function prompts the
  8866. configurator to look in that file for a section called
  8867. <c>log4net</c> that contains the configuration data.
  8868. </remarks>
  8869. </member>
  8870. <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository)">
  8871. <summary>
  8872. Automatically configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using settings
  8873. stored in the application's configuration file.
  8874. </summary>
  8875. <remarks>
  8876. <para>
  8877. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8878. </para>
  8879. Each application has a configuration file. This has the
  8880. same name as the application with '.config' appended.
  8881. This file is XML and calling this function prompts the
  8882. configurator to look in that file for a section called
  8883. <c>log4net</c> that contains the configuration data.
  8884. </remarks>
  8885. <param name="repository">The repository to configure.</param>
  8886. </member>
  8887. <member name="M:log4net.Config.DOMConfigurator.Configure(System.Xml.XmlElement)">
  8888. <summary>
  8889. Configures log4net using a <c>log4net</c> element
  8890. </summary>
  8891. <remarks>
  8892. <para>
  8893. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8894. </para>
  8895. Loads the log4net configuration from the XML element
  8896. supplied as <paramref name="element"/>.
  8897. </remarks>
  8898. <param name="element">The element to parse.</param>
  8899. </member>
  8900. <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)">
  8901. <summary>
  8902. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified XML
  8903. element.
  8904. </summary>
  8905. <remarks>
  8906. <para>
  8907. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8908. </para>
  8909. Loads the log4net configuration from the XML element
  8910. supplied as <paramref name="element"/>.
  8911. </remarks>
  8912. <param name="repository">The repository to configure.</param>
  8913. <param name="element">The element to parse.</param>
  8914. </member>
  8915. <member name="M:log4net.Config.DOMConfigurator.Configure(System.IO.FileInfo)">
  8916. <summary>
  8917. Configures log4net using the specified configuration file.
  8918. </summary>
  8919. <param name="configFile">The XML file to load the configuration from.</param>
  8920. <remarks>
  8921. <para>
  8922. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8923. </para>
  8924. <para>
  8925. The configuration file must be valid XML. It must contain
  8926. at least one element called <c>log4net</c> that holds
  8927. the log4net configuration data.
  8928. </para>
  8929. <para>
  8930. The log4net configuration file can possible be specified in the application's
  8931. configuration file (either <c>MyAppName.exe.config</c> for a
  8932. normal application on <c>Web.config</c> for an ASP.NET application).
  8933. </para>
  8934. <example>
  8935. The following example configures log4net using a configuration file, of which the
  8936. location is stored in the application's configuration file :
  8937. </example>
  8938. <code lang="C#">
  8939. using log4net.Config;
  8940. using System.IO;
  8941. using System.Configuration;
  8942. ...
  8943. DOMConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
  8944. </code>
  8945. <para>
  8946. In the <c>.config</c> file, the path to the log4net can be specified like this :
  8947. </para>
  8948. <code lang="XML" escaped="true">
  8949. <configuration>
  8950. <appSettings>
  8951. <add key="log4net-config-file" value="log.config"/>
  8952. </appSettings>
  8953. </configuration>
  8954. </code>
  8955. </remarks>
  8956. </member>
  8957. <member name="M:log4net.Config.DOMConfigurator.Configure(System.IO.Stream)">
  8958. <summary>
  8959. Configures log4net using the specified configuration file.
  8960. </summary>
  8961. <param name="configStream">A stream to load the XML configuration from.</param>
  8962. <remarks>
  8963. <para>
  8964. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8965. </para>
  8966. <para>
  8967. The configuration data must be valid XML. It must contain
  8968. at least one element called <c>log4net</c> that holds
  8969. the log4net configuration data.
  8970. </para>
  8971. <para>
  8972. Note that this method will NOT close the stream parameter.
  8973. </para>
  8974. </remarks>
  8975. </member>
  8976. <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
  8977. <summary>
  8978. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
  8979. file.
  8980. </summary>
  8981. <param name="repository">The repository to configure.</param>
  8982. <param name="configFile">The XML file to load the configuration from.</param>
  8983. <remarks>
  8984. <para>
  8985. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8986. </para>
  8987. <para>
  8988. The configuration file must be valid XML. It must contain
  8989. at least one element called <c>log4net</c> that holds
  8990. the configuration data.
  8991. </para>
  8992. <para>
  8993. The log4net configuration file can possible be specified in the application's
  8994. configuration file (either <c>MyAppName.exe.config</c> for a
  8995. normal application on <c>Web.config</c> for an ASP.NET application).
  8996. </para>
  8997. <example>
  8998. The following example configures log4net using a configuration file, of which the
  8999. location is stored in the application's configuration file :
  9000. </example>
  9001. <code lang="C#">
  9002. using log4net.Config;
  9003. using System.IO;
  9004. using System.Configuration;
  9005. ...
  9006. DOMConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
  9007. </code>
  9008. <para>
  9009. In the <c>.config</c> file, the path to the log4net can be specified like this :
  9010. </para>
  9011. <code lang="XML" escaped="true">
  9012. <configuration>
  9013. <appSettings>
  9014. <add key="log4net-config-file" value="log.config"/>
  9015. </appSettings>
  9016. </configuration>
  9017. </code>
  9018. </remarks>
  9019. </member>
  9020. <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.Stream)">
  9021. <summary>
  9022. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
  9023. file.
  9024. </summary>
  9025. <param name="repository">The repository to configure.</param>
  9026. <param name="configStream">The stream to load the XML configuration from.</param>
  9027. <remarks>
  9028. <para>
  9029. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  9030. </para>
  9031. <para>
  9032. The configuration data must be valid XML. It must contain
  9033. at least one element called <c>log4net</c> that holds
  9034. the configuration data.
  9035. </para>
  9036. <para>
  9037. Note that this method will NOT close the stream parameter.
  9038. </para>
  9039. </remarks>
  9040. </member>
  9041. <member name="M:log4net.Config.DOMConfigurator.ConfigureAndWatch(System.IO.FileInfo)">
  9042. <summary>
  9043. Configures log4net using the file specified, monitors the file for changes
  9044. and reloads the configuration if a change is detected.
  9045. </summary>
  9046. <param name="configFile">The XML file to load the configuration from.</param>
  9047. <remarks>
  9048. <para>
  9049. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  9050. </para>
  9051. <para>
  9052. The configuration file must be valid XML. It must contain
  9053. at least one element called <c>log4net</c> that holds
  9054. the configuration data.
  9055. </para>
  9056. <para>
  9057. The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
  9058. and depends on the behavior of that class.
  9059. </para>
  9060. <para>
  9061. For more information on how to configure log4net using
  9062. a separate configuration file, see <see cref="M:Configure(FileInfo)"/>.
  9063. </para>
  9064. </remarks>
  9065. <seealso cref="M:Configure(FileInfo)"/>
  9066. </member>
  9067. <member name="M:log4net.Config.DOMConfigurator.ConfigureAndWatch(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
  9068. <summary>
  9069. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the file specified,
  9070. monitors the file for changes and reloads the configuration if a change
  9071. is detected.
  9072. </summary>
  9073. <param name="repository">The repository to configure.</param>
  9074. <param name="configFile">The XML file to load the configuration from.</param>
  9075. <remarks>
  9076. <para>
  9077. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  9078. </para>
  9079. <para>
  9080. The configuration file must be valid XML. It must contain
  9081. at least one element called <c>log4net</c> that holds
  9082. the configuration data.
  9083. </para>
  9084. <para>
  9085. The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
  9086. and depends on the behavior of that class.
  9087. </para>
  9088. <para>
  9089. For more information on how to configure log4net using
  9090. a separate configuration file, see <see cref="M:Configure(FileInfo)"/>.
  9091. </para>
  9092. </remarks>
  9093. <seealso cref="M:Configure(FileInfo)"/>
  9094. </member>
  9095. <member name="T:log4net.Config.DOMConfiguratorAttribute">
  9096. <summary>
  9097. Assembly level attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>.
  9098. </summary>
  9099. <remarks>
  9100. <para>
  9101. <b>AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.</b>
  9102. </para>
  9103. <para>
  9104. This attribute may only be used at the assembly scope and can only
  9105. be used once per assembly.
  9106. </para>
  9107. <para>
  9108. Use this attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>
  9109. without calling one of the <see cref="M:XmlConfigurator.Configure()"/>
  9110. methods.
  9111. </para>
  9112. </remarks>
  9113. <author>Nicko Cadell</author>
  9114. <author>Gert Driesen</author>
  9115. </member>
  9116. <member name="T:log4net.Config.XmlConfiguratorAttribute">
  9117. <summary>
  9118. Assembly level attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>.
  9119. </summary>
  9120. <remarks>
  9121. <para>
  9122. This attribute may only be used at the assembly scope and can only
  9123. be used once per assembly.
  9124. </para>
  9125. <para>
  9126. Use this attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>
  9127. without calling one of the <see cref="M:XmlConfigurator.Configure()"/>
  9128. methods.
  9129. </para>
  9130. <para>
  9131. If neither of the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> or <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/>
  9132. properties are set the configuration is loaded from the application's .config file.
  9133. If set the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> property takes priority over the
  9134. <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> property. The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> property
  9135. specifies a path to a file to load the config from. The path is relative to the
  9136. application's base directory; <see cref="P:System.AppDomain.BaseDirectory"/>.
  9137. The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> property is used as a postfix to the assembly file name.
  9138. The config file must be located in the application's base directory; <see cref="P:System.AppDomain.BaseDirectory"/>.
  9139. For example in a console application setting the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> to
  9140. <c>config</c> has the same effect as not specifying the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> or
  9141. <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> properties.
  9142. </para>
  9143. <para>
  9144. The <see cref="P:log4net.Config.XmlConfiguratorAttribute.Watch"/> property can be set to cause the <see cref="T:log4net.Config.XmlConfigurator"/>
  9145. to watch the configuration file for changes.
  9146. </para>
  9147. <note>
  9148. <para>
  9149. Log4net will only look for assembly level configuration attributes once.
  9150. When using the log4net assembly level attributes to control the configuration
  9151. of log4net you must ensure that the first call to any of the
  9152. <see cref="T:log4net.Core.LoggerManager"/> methods is made from the assembly with the configuration
  9153. attributes.
  9154. </para>
  9155. <para>
  9156. If you cannot guarantee the order in which log4net calls will be made from
  9157. different assemblies you must use programmatic configuration instead, i.e.
  9158. call the <see cref="M:XmlConfigurator.Configure()"/> method directly.
  9159. </para>
  9160. </note>
  9161. </remarks>
  9162. <author>Nicko Cadell</author>
  9163. <author>Gert Driesen</author>
  9164. </member>
  9165. <member name="M:log4net.Config.XmlConfiguratorAttribute.#ctor">
  9166. <summary>
  9167. Default constructor
  9168. </summary>
  9169. <remarks>
  9170. <para>
  9171. Default constructor
  9172. </para>
  9173. </remarks>
  9174. </member>
  9175. <member name="M:log4net.Config.XmlConfiguratorAttribute.Configure(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  9176. <summary>
  9177. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
  9178. </summary>
  9179. <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
  9180. <param name="targetRepository">The repository to configure.</param>
  9181. <remarks>
  9182. <para>
  9183. Configure the repository using the <see cref="T:log4net.Config.XmlConfigurator"/>.
  9184. The <paramref name="targetRepository"/> specified must extend the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>
  9185. class otherwise the <see cref="T:log4net.Config.XmlConfigurator"/> will not be able to
  9186. configure it.
  9187. </para>
  9188. </remarks>
  9189. <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="targetRepository"/> does not extend <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.</exception>
  9190. </member>
  9191. <member name="M:log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  9192. <summary>
  9193. Attempt to load configuration from the local file system
  9194. </summary>
  9195. <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
  9196. <param name="targetRepository">The repository to configure.</param>
  9197. </member>
  9198. <member name="M:log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
  9199. <summary>
  9200. Configure the specified repository using a <see cref="T:System.IO.FileInfo"/>
  9201. </summary>
  9202. <param name="targetRepository">The repository to configure.</param>
  9203. <param name="configFile">the FileInfo pointing to the config file</param>
  9204. </member>
  9205. <member name="M:log4net.Config.XmlConfiguratorAttribute.ConfigureFromUri(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  9206. <summary>
  9207. Attempt to load configuration from a URI
  9208. </summary>
  9209. <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
  9210. <param name="targetRepository">The repository to configure.</param>
  9211. </member>
  9212. <member name="F:log4net.Config.XmlConfiguratorAttribute.declaringType">
  9213. <summary>
  9214. The fully qualified type of the XmlConfiguratorAttribute class.
  9215. </summary>
  9216. <remarks>
  9217. Used by the internal logger to record the Type of the
  9218. log message.
  9219. </remarks>
  9220. </member>
  9221. <member name="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile">
  9222. <summary>
  9223. Gets or sets the filename of the configuration file.
  9224. </summary>
  9225. <value>
  9226. The filename of the configuration file.
  9227. </value>
  9228. <remarks>
  9229. <para>
  9230. If specified, this is the name of the configuration file to use with
  9231. the <see cref="T:log4net.Config.XmlConfigurator"/>. This file path is relative to the
  9232. <b>application base</b> directory (<see cref="P:System.AppDomain.BaseDirectory"/>).
  9233. </para>
  9234. <para>
  9235. The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> takes priority over the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/>.
  9236. </para>
  9237. </remarks>
  9238. </member>
  9239. <member name="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension">
  9240. <summary>
  9241. Gets or sets the extension of the configuration file.
  9242. </summary>
  9243. <value>
  9244. The extension of the configuration file.
  9245. </value>
  9246. <remarks>
  9247. <para>
  9248. If specified this is the extension for the configuration file.
  9249. The path to the config file is built by using the <b>application
  9250. base</b> directory (<see cref="P:System.AppDomain.BaseDirectory"/>),
  9251. the <b>assembly file name</b> and the config file extension.
  9252. </para>
  9253. <para>
  9254. If the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> is set to <c>MyExt</c> then
  9255. possible config file names would be: <c>MyConsoleApp.exe.MyExt</c> or
  9256. <c>MyClassLibrary.dll.MyExt</c>.
  9257. </para>
  9258. <para>
  9259. The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> takes priority over the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/>.
  9260. </para>
  9261. </remarks>
  9262. </member>
  9263. <member name="P:log4net.Config.XmlConfiguratorAttribute.Watch">
  9264. <summary>
  9265. Gets or sets a value indicating whether to watch the configuration file.
  9266. </summary>
  9267. <value>
  9268. <c>true</c> if the configuration should be watched, <c>false</c> otherwise.
  9269. </value>
  9270. <remarks>
  9271. <para>
  9272. If this flag is specified and set to <c>true</c> then the framework
  9273. will watch the configuration file and will reload the config each time
  9274. the file is modified.
  9275. </para>
  9276. <para>
  9277. The config file can only be watched if it is loaded from local disk.
  9278. In a No-Touch (Smart Client) deployment where the application is downloaded
  9279. from a web server the config file may not reside on the local disk
  9280. and therefore it may not be able to watch it.
  9281. </para>
  9282. <note>
  9283. Watching configuration is not supported on the SSCLI.
  9284. </note>
  9285. </remarks>
  9286. </member>
  9287. <member name="T:log4net.Config.Log4NetConfigurationSectionHandler">
  9288. <summary>
  9289. Class to register for the log4net section of the configuration file
  9290. </summary>
  9291. <remarks>
  9292. The log4net section of the configuration file needs to have a section
  9293. handler registered. This is the section handler used. It simply returns
  9294. the XML element that is the root of the section.
  9295. </remarks>
  9296. <example>
  9297. Example of registering the log4net section handler :
  9298. <code lang="XML" escaped="true">
  9299. <configuration>
  9300. <configSections>
  9301. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  9302. </configSections>
  9303. <log4net>
  9304. log4net configuration XML goes here
  9305. </log4net>
  9306. </configuration>
  9307. </code>
  9308. </example>
  9309. <author>Nicko Cadell</author>
  9310. <author>Gert Driesen</author>
  9311. </member>
  9312. <member name="M:log4net.Config.Log4NetConfigurationSectionHandler.#ctor">
  9313. <summary>
  9314. Initializes a new instance of the <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> class.
  9315. </summary>
  9316. <remarks>
  9317. <para>
  9318. Default constructor.
  9319. </para>
  9320. </remarks>
  9321. </member>
  9322. <member name="M:log4net.Config.Log4NetConfigurationSectionHandler.Create(System.Object,System.Object,System.Xml.XmlNode)">
  9323. <summary>
  9324. Parses the configuration section.
  9325. </summary>
  9326. <param name="parent">The configuration settings in a corresponding parent configuration section.</param>
  9327. <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>
  9328. <param name="section">The <see cref="T:System.Xml.XmlNode"/> for the log4net section.</param>
  9329. <returns>The <see cref="T:System.Xml.XmlNode"/> for the log4net section.</returns>
  9330. <remarks>
  9331. <para>
  9332. Returns the <see cref="T:System.Xml.XmlNode"/> containing the configuration data,
  9333. </para>
  9334. </remarks>
  9335. </member>
  9336. <member name="T:log4net.Config.PluginAttribute">
  9337. <summary>
  9338. Assembly level attribute that specifies a plugin to attach to
  9339. the repository.
  9340. </summary>
  9341. <remarks>
  9342. <para>
  9343. Specifies the type of a plugin to create and attach to the
  9344. assembly's repository. The plugin type must implement the
  9345. <see cref="T:log4net.Plugin.IPlugin"/> interface.
  9346. </para>
  9347. </remarks>
  9348. <author>Nicko Cadell</author>
  9349. <author>Gert Driesen</author>
  9350. </member>
  9351. <member name="T:log4net.Plugin.IPluginFactory">
  9352. <summary>
  9353. Interface used to create plugins.
  9354. </summary>
  9355. <remarks>
  9356. <para>
  9357. Interface used to create a plugin.
  9358. </para>
  9359. </remarks>
  9360. <author>Nicko Cadell</author>
  9361. <author>Gert Driesen</author>
  9362. </member>
  9363. <member name="M:log4net.Plugin.IPluginFactory.CreatePlugin">
  9364. <summary>
  9365. Creates the plugin object.
  9366. </summary>
  9367. <returns>the new plugin instance</returns>
  9368. <remarks>
  9369. <para>
  9370. Create and return a new plugin instance.
  9371. </para>
  9372. </remarks>
  9373. </member>
  9374. <member name="M:log4net.Config.PluginAttribute.#ctor(System.String)">
  9375. <summary>
  9376. Initializes a new instance of the <see cref="T:log4net.Config.PluginAttribute"/> class
  9377. with the specified type.
  9378. </summary>
  9379. <param name="typeName">The type name of plugin to create.</param>
  9380. <remarks>
  9381. <para>
  9382. Create the attribute with the plugin type specified.
  9383. </para>
  9384. <para>
  9385. Where possible use the constructor that takes a <see cref="T:System.Type"/>.
  9386. </para>
  9387. </remarks>
  9388. </member>
  9389. <member name="M:log4net.Config.PluginAttribute.#ctor(System.Type)">
  9390. <summary>
  9391. Initializes a new instance of the <see cref="T:log4net.Config.PluginAttribute"/> class
  9392. with the specified type.
  9393. </summary>
  9394. <param name="type">The type of plugin to create.</param>
  9395. <remarks>
  9396. <para>
  9397. Create the attribute with the plugin type specified.
  9398. </para>
  9399. </remarks>
  9400. </member>
  9401. <member name="M:log4net.Config.PluginAttribute.CreatePlugin">
  9402. <summary>
  9403. Creates the plugin object defined by this attribute.
  9404. </summary>
  9405. <remarks>
  9406. <para>
  9407. Creates the instance of the <see cref="T:log4net.Plugin.IPlugin"/> object as
  9408. specified by this attribute.
  9409. </para>
  9410. </remarks>
  9411. <returns>The plugin object.</returns>
  9412. </member>
  9413. <member name="M:log4net.Config.PluginAttribute.ToString">
  9414. <summary>
  9415. Returns a representation of the properties of this object.
  9416. </summary>
  9417. <remarks>
  9418. <para>
  9419. Overrides base class <see cref="M:Object.ToString()" /> method to
  9420. return a representation of the properties of this object.
  9421. </para>
  9422. </remarks>
  9423. <returns>A representation of the properties of this object</returns>
  9424. </member>
  9425. <member name="P:log4net.Config.PluginAttribute.Type">
  9426. <summary>
  9427. Gets or sets the type for the plugin.
  9428. </summary>
  9429. <value>
  9430. The type for the plugin.
  9431. </value>
  9432. <remarks>
  9433. <para>
  9434. The type for the plugin.
  9435. </para>
  9436. </remarks>
  9437. </member>
  9438. <member name="P:log4net.Config.PluginAttribute.TypeName">
  9439. <summary>
  9440. Gets or sets the type name for the plugin.
  9441. </summary>
  9442. <value>
  9443. The type name for the plugin.
  9444. </value>
  9445. <remarks>
  9446. <para>
  9447. The type name for the plugin.
  9448. </para>
  9449. <para>
  9450. Where possible use the <see cref="P:log4net.Config.PluginAttribute.Type"/> property instead.
  9451. </para>
  9452. </remarks>
  9453. </member>
  9454. <member name="T:log4net.Config.SecurityContextProviderAttribute">
  9455. <summary>
  9456. Assembly level attribute to configure the <see cref="T:log4net.Core.SecurityContextProvider"/>.
  9457. </summary>
  9458. <remarks>
  9459. <para>
  9460. This attribute may only be used at the assembly scope and can only
  9461. be used once per assembly.
  9462. </para>
  9463. <para>
  9464. Use this attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>
  9465. without calling one of the <see cref="M:XmlConfigurator.Configure()"/>
  9466. methods.
  9467. </para>
  9468. </remarks>
  9469. <author>Nicko Cadell</author>
  9470. </member>
  9471. <member name="M:log4net.Config.SecurityContextProviderAttribute.#ctor(System.Type)">
  9472. <summary>
  9473. Construct provider attribute with type specified
  9474. </summary>
  9475. <param name="providerType">the type of the provider to use</param>
  9476. <remarks>
  9477. <para>
  9478. The provider specified must subclass the <see cref="T:log4net.Core.SecurityContextProvider"/>
  9479. class.
  9480. </para>
  9481. </remarks>
  9482. </member>
  9483. <member name="M:log4net.Config.SecurityContextProviderAttribute.Configure(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  9484. <summary>
  9485. Configures the SecurityContextProvider
  9486. </summary>
  9487. <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
  9488. <param name="targetRepository">The repository to configure.</param>
  9489. <remarks>
  9490. <para>
  9491. Creates a provider instance from the <see cref="P:log4net.Config.SecurityContextProviderAttribute.ProviderType"/> specified.
  9492. Sets this as the default security context provider <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/>.
  9493. </para>
  9494. </remarks>
  9495. </member>
  9496. <member name="F:log4net.Config.SecurityContextProviderAttribute.declaringType">
  9497. <summary>
  9498. The fully qualified type of the SecurityContextProviderAttribute class.
  9499. </summary>
  9500. <remarks>
  9501. Used by the internal logger to record the Type of the
  9502. log message.
  9503. </remarks>
  9504. </member>
  9505. <member name="P:log4net.Config.SecurityContextProviderAttribute.ProviderType">
  9506. <summary>
  9507. Gets or sets the type of the provider to use.
  9508. </summary>
  9509. <value>
  9510. the type of the provider to use.
  9511. </value>
  9512. <remarks>
  9513. <para>
  9514. The provider specified must subclass the <see cref="T:log4net.Core.SecurityContextProvider"/>
  9515. class.
  9516. </para>
  9517. </remarks>
  9518. </member>
  9519. <member name="T:log4net.Config.XmlConfigurator">
  9520. <summary>
  9521. Use this class to initialize the log4net environment using an Xml tree.
  9522. </summary>
  9523. <remarks>
  9524. <para>
  9525. Configures a <see cref="T:log4net.Repository.ILoggerRepository"/> using an Xml tree.
  9526. </para>
  9527. </remarks>
  9528. <author>Nicko Cadell</author>
  9529. <author>Gert Driesen</author>
  9530. </member>
  9531. <member name="M:log4net.Config.XmlConfigurator.#ctor">
  9532. <summary>
  9533. Private constructor
  9534. </summary>
  9535. </member>
  9536. <member name="M:log4net.Config.XmlConfigurator.Configure">
  9537. <summary>
  9538. Automatically configures the log4net system based on the
  9539. application's configuration settings.
  9540. </summary>
  9541. <remarks>
  9542. <para>
  9543. Each application has a configuration file. This has the
  9544. same name as the application with '.config' appended.
  9545. This file is XML and calling this function prompts the
  9546. configurator to look in that file for a section called
  9547. <c>log4net</c> that contains the configuration data.
  9548. </para>
  9549. <para>
  9550. To use this method to configure log4net you must specify
  9551. the <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> section
  9552. handler for the <c>log4net</c> configuration section. See the
  9553. <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> for an example.
  9554. </para>
  9555. </remarks>
  9556. <seealso cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/>
  9557. </member>
  9558. <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository)">
  9559. <summary>
  9560. Automatically configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using settings
  9561. stored in the application's configuration file.
  9562. </summary>
  9563. <remarks>
  9564. <para>
  9565. Each application has a configuration file. This has the
  9566. same name as the application with '.config' appended.
  9567. This file is XML and calling this function prompts the
  9568. configurator to look in that file for a section called
  9569. <c>log4net</c> that contains the configuration data.
  9570. </para>
  9571. <para>
  9572. To use this method to configure log4net you must specify
  9573. the <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> section
  9574. handler for the <c>log4net</c> configuration section. See the
  9575. <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> for an example.
  9576. </para>
  9577. </remarks>
  9578. <param name="repository">The repository to configure.</param>
  9579. </member>
  9580. <member name="M:log4net.Config.XmlConfigurator.Configure(System.Xml.XmlElement)">
  9581. <summary>
  9582. Configures log4net using a <c>log4net</c> element
  9583. </summary>
  9584. <remarks>
  9585. <para>
  9586. Loads the log4net configuration from the XML element
  9587. supplied as <paramref name="element"/>.
  9588. </para>
  9589. </remarks>
  9590. <param name="element">The element to parse.</param>
  9591. </member>
  9592. <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)">
  9593. <summary>
  9594. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified XML
  9595. element.
  9596. </summary>
  9597. <remarks>
  9598. Loads the log4net configuration from the XML element
  9599. supplied as <paramref name="element"/>.
  9600. </remarks>
  9601. <param name="repository">The repository to configure.</param>
  9602. <param name="element">The element to parse.</param>
  9603. </member>
  9604. <member name="M:log4net.Config.XmlConfigurator.Configure(System.IO.FileInfo)">
  9605. <summary>
  9606. Configures log4net using the specified configuration file.
  9607. </summary>
  9608. <param name="configFile">The XML file to load the configuration from.</param>
  9609. <remarks>
  9610. <para>
  9611. The configuration file must be valid XML. It must contain
  9612. at least one element called <c>log4net</c> that holds
  9613. the log4net configuration data.
  9614. </para>
  9615. <para>
  9616. The log4net configuration file can possible be specified in the application's
  9617. configuration file (either <c>MyAppName.exe.config</c> for a
  9618. normal application on <c>Web.config</c> for an ASP.NET application).
  9619. </para>
  9620. <para>
  9621. The first element matching <c>&lt;configuration&gt;</c> will be read as the
  9622. configuration. If this file is also a .NET .config file then you must specify
  9623. a configuration section for the <c>log4net</c> element otherwise .NET will
  9624. complain. Set the type for the section handler to <see cref="T:System.Configuration.IgnoreSectionHandler"/>, for example:
  9625. <code lang="XML" escaped="true">
  9626. <configSections>
  9627. <section name="log4net" type="System.Configuration.IgnoreSectionHandler"/>
  9628. </configSections>
  9629. </code>
  9630. </para>
  9631. <example>
  9632. The following example configures log4net using a configuration file, of which the
  9633. location is stored in the application's configuration file :
  9634. </example>
  9635. <code lang="C#">
  9636. using log4net.Config;
  9637. using System.IO;
  9638. using System.Configuration;
  9639. ...
  9640. XmlConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
  9641. </code>
  9642. <para>
  9643. In the <c>.config</c> file, the path to the log4net can be specified like this :
  9644. </para>
  9645. <code lang="XML" escaped="true">
  9646. <configuration>
  9647. <appSettings>
  9648. <add key="log4net-config-file" value="log.config"/>
  9649. </appSettings>
  9650. </configuration>
  9651. </code>
  9652. </remarks>
  9653. </member>
  9654. <member name="M:log4net.Config.XmlConfigurator.Configure(System.Uri)">
  9655. <summary>
  9656. Configures log4net using the specified configuration URI.
  9657. </summary>
  9658. <param name="configUri">A URI to load the XML configuration from.</param>
  9659. <remarks>
  9660. <para>
  9661. The configuration data must be valid XML. It must contain
  9662. at least one element called <c>log4net</c> that holds
  9663. the log4net configuration data.
  9664. </para>
  9665. <para>
  9666. The <see cref="T:System.Net.WebRequest"/> must support the URI scheme specified.
  9667. </para>
  9668. </remarks>
  9669. </member>
  9670. <member name="M:log4net.Config.XmlConfigurator.Configure(System.IO.Stream)">
  9671. <summary>
  9672. Configures log4net using the specified configuration data stream.
  9673. </summary>
  9674. <param name="configStream">A stream to load the XML configuration from.</param>
  9675. <remarks>
  9676. <para>
  9677. The configuration data must be valid XML. It must contain
  9678. at least one element called <c>log4net</c> that holds
  9679. the log4net configuration data.
  9680. </para>
  9681. <para>
  9682. Note that this method will NOT close the stream parameter.
  9683. </para>
  9684. </remarks>
  9685. </member>
  9686. <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
  9687. <summary>
  9688. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
  9689. file.
  9690. </summary>
  9691. <param name="repository">The repository to configure.</param>
  9692. <param name="configFile">The XML file to load the configuration from.</param>
  9693. <remarks>
  9694. <para>
  9695. The configuration file must be valid XML. It must contain
  9696. at least one element called <c>log4net</c> that holds
  9697. the configuration data.
  9698. </para>
  9699. <para>
  9700. The log4net configuration file can possible be specified in the application's
  9701. configuration file (either <c>MyAppName.exe.config</c> for a
  9702. normal application on <c>Web.config</c> for an ASP.NET application).
  9703. </para>
  9704. <para>
  9705. The first element matching <c>&lt;configuration&gt;</c> will be read as the
  9706. configuration. If this file is also a .NET .config file then you must specify
  9707. a configuration section for the <c>log4net</c> element otherwise .NET will
  9708. complain. Set the type for the section handler to <see cref="T:System.Configuration.IgnoreSectionHandler"/>, for example:
  9709. <code lang="XML" escaped="true">
  9710. <configSections>
  9711. <section name="log4net" type="System.Configuration.IgnoreSectionHandler"/>
  9712. </configSections>
  9713. </code>
  9714. </para>
  9715. <example>
  9716. The following example configures log4net using a configuration file, of which the
  9717. location is stored in the application's configuration file :
  9718. </example>
  9719. <code lang="C#">
  9720. using log4net.Config;
  9721. using System.IO;
  9722. using System.Configuration;
  9723. ...
  9724. XmlConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
  9725. </code>
  9726. <para>
  9727. In the <c>.config</c> file, the path to the log4net can be specified like this :
  9728. </para>
  9729. <code lang="XML" escaped="true">
  9730. <configuration>
  9731. <appSettings>
  9732. <add key="log4net-config-file" value="log.config"/>
  9733. </appSettings>
  9734. </configuration>
  9735. </code>
  9736. </remarks>
  9737. </member>
  9738. <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Uri)">
  9739. <summary>
  9740. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
  9741. URI.
  9742. </summary>
  9743. <param name="repository">The repository to configure.</param>
  9744. <param name="configUri">A URI to load the XML configuration from.</param>
  9745. <remarks>
  9746. <para>
  9747. The configuration data must be valid XML. It must contain
  9748. at least one element called <c>log4net</c> that holds
  9749. the configuration data.
  9750. </para>
  9751. <para>
  9752. The <see cref="T:System.Net.WebRequest"/> must support the URI scheme specified.
  9753. </para>
  9754. </remarks>
  9755. </member>
  9756. <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.Stream)">
  9757. <summary>
  9758. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
  9759. file.
  9760. </summary>
  9761. <param name="repository">The repository to configure.</param>
  9762. <param name="configStream">The stream to load the XML configuration from.</param>
  9763. <remarks>
  9764. <para>
  9765. The configuration data must be valid XML. It must contain
  9766. at least one element called <c>log4net</c> that holds
  9767. the configuration data.
  9768. </para>
  9769. <para>
  9770. Note that this method will NOT close the stream parameter.
  9771. </para>
  9772. </remarks>
  9773. </member>
  9774. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatch(System.IO.FileInfo)">
  9775. <summary>
  9776. Configures log4net using the file specified, monitors the file for changes
  9777. and reloads the configuration if a change is detected.
  9778. </summary>
  9779. <param name="configFile">The XML file to load the configuration from.</param>
  9780. <remarks>
  9781. <para>
  9782. The configuration file must be valid XML. It must contain
  9783. at least one element called <c>log4net</c> that holds
  9784. the configuration data.
  9785. </para>
  9786. <para>
  9787. The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
  9788. and depends on the behavior of that class.
  9789. </para>
  9790. <para>
  9791. For more information on how to configure log4net using
  9792. a separate configuration file, see <see cref="M:Configure(FileInfo)"/>.
  9793. </para>
  9794. </remarks>
  9795. <seealso cref="M:Configure(FileInfo)"/>
  9796. </member>
  9797. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatch(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
  9798. <summary>
  9799. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the file specified,
  9800. monitors the file for changes and reloads the configuration if a change
  9801. is detected.
  9802. </summary>
  9803. <param name="repository">The repository to configure.</param>
  9804. <param name="configFile">The XML file to load the configuration from.</param>
  9805. <remarks>
  9806. <para>
  9807. The configuration file must be valid XML. It must contain
  9808. at least one element called <c>log4net</c> that holds
  9809. the configuration data.
  9810. </para>
  9811. <para>
  9812. The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
  9813. and depends on the behavior of that class.
  9814. </para>
  9815. <para>
  9816. For more information on how to configure log4net using
  9817. a separate configuration file, see <see cref="M:Configure(FileInfo)"/>.
  9818. </para>
  9819. </remarks>
  9820. <seealso cref="M:Configure(FileInfo)"/>
  9821. </member>
  9822. <member name="M:log4net.Config.XmlConfigurator.InternalConfigureFromXml(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)">
  9823. <summary>
  9824. Configures the specified repository using a <c>log4net</c> element.
  9825. </summary>
  9826. <param name="repository">The hierarchy to configure.</param>
  9827. <param name="element">The element to parse.</param>
  9828. <remarks>
  9829. <para>
  9830. Loads the log4net configuration from the XML element
  9831. supplied as <paramref name="element"/>.
  9832. </para>
  9833. <para>
  9834. This method is ultimately called by one of the Configure methods
  9835. to load the configuration from an <see cref="T:System.Xml.XmlElement"/>.
  9836. </para>
  9837. </remarks>
  9838. </member>
  9839. <member name="F:log4net.Config.XmlConfigurator.m_repositoryName2ConfigAndWatchHandler">
  9840. <summary>
  9841. Maps repository names to ConfigAndWatchHandler instances to allow a particular
  9842. ConfigAndWatchHandler to dispose of its FileSystemWatcher when a repository is
  9843. reconfigured.
  9844. </summary>
  9845. </member>
  9846. <member name="F:log4net.Config.XmlConfigurator.declaringType">
  9847. <summary>
  9848. The fully qualified type of the XmlConfigurator class.
  9849. </summary>
  9850. <remarks>
  9851. Used by the internal logger to record the Type of the
  9852. log message.
  9853. </remarks>
  9854. </member>
  9855. <member name="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler">
  9856. <summary>
  9857. Class used to watch config files.
  9858. </summary>
  9859. <remarks>
  9860. <para>
  9861. Uses the <see cref="T:System.IO.FileSystemWatcher"/> to monitor
  9862. changes to a specified file. Because multiple change notifications
  9863. may be raised when the file is modified, a timer is used to
  9864. compress the notifications into a single event. The timer
  9865. waits for <see cref="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.TimeoutMillis"/> time before delivering
  9866. the event notification. If any further <see cref="T:System.IO.FileSystemWatcher"/>
  9867. change notifications arrive while the timer is waiting it
  9868. is reset and waits again for <see cref="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.TimeoutMillis"/> to
  9869. elapse.
  9870. </para>
  9871. </remarks>
  9872. </member>
  9873. <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.TimeoutMillis">
  9874. <summary>
  9875. The default amount of time to wait after receiving notification
  9876. before reloading the config file.
  9877. </summary>
  9878. </member>
  9879. <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_configFile">
  9880. <summary>
  9881. Holds the FileInfo used to configure the XmlConfigurator
  9882. </summary>
  9883. </member>
  9884. <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_repository">
  9885. <summary>
  9886. Holds the repository being configured.
  9887. </summary>
  9888. </member>
  9889. <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_timer">
  9890. <summary>
  9891. The timer used to compress the notification events.
  9892. </summary>
  9893. </member>
  9894. <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_watcher">
  9895. <summary>
  9896. Watches file for changes. This object should be disposed when no longer
  9897. needed to free system handles on the watched resources.
  9898. </summary>
  9899. </member>
  9900. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.#ctor(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
  9901. <summary>
  9902. Initializes a new instance of the <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/> class to
  9903. watch a specified config file used to configure a repository.
  9904. </summary>
  9905. <param name="repository">The repository to configure.</param>
  9906. <param name="configFile">The configuration file to watch.</param>
  9907. <remarks>
  9908. <para>
  9909. Initializes a new instance of the <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/> class.
  9910. </para>
  9911. </remarks>
  9912. </member>
  9913. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.ConfigureAndWatchHandler_OnChanged(System.Object,System.IO.FileSystemEventArgs)">
  9914. <summary>
  9915. Event handler used by <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/>.
  9916. </summary>
  9917. <param name="source">The <see cref="T:System.IO.FileSystemWatcher"/> firing the event.</param>
  9918. <param name="e">The argument indicates the file that caused the event to be fired.</param>
  9919. <remarks>
  9920. <para>
  9921. This handler reloads the configuration from the file when the event is fired.
  9922. </para>
  9923. </remarks>
  9924. </member>
  9925. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.ConfigureAndWatchHandler_OnRenamed(System.Object,System.IO.RenamedEventArgs)">
  9926. <summary>
  9927. Event handler used by <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/>.
  9928. </summary>
  9929. <param name="source">The <see cref="T:System.IO.FileSystemWatcher"/> firing the event.</param>
  9930. <param name="e">The argument indicates the file that caused the event to be fired.</param>
  9931. <remarks>
  9932. <para>
  9933. This handler reloads the configuration from the file when the event is fired.
  9934. </para>
  9935. </remarks>
  9936. </member>
  9937. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.OnWatchedFileChange(System.Object)">
  9938. <summary>
  9939. Called by the timer when the configuration has been updated.
  9940. </summary>
  9941. <param name="state">null</param>
  9942. </member>
  9943. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.Dispose">
  9944. <summary>
  9945. Release the handles held by the watcher and timer.
  9946. </summary>
  9947. </member>
  9948. <member name="T:log4net.Core.CompactRepositorySelector">
  9949. <summary>
  9950. The implementation of the <see cref="T:log4net.Core.IRepositorySelector"/> interface suitable
  9951. for use with the compact framework
  9952. </summary>
  9953. <remarks>
  9954. <para>
  9955. This <see cref="T:log4net.Core.IRepositorySelector"/> implementation is a simple
  9956. mapping between repository name and <see cref="T:log4net.Repository.ILoggerRepository"/>
  9957. object.
  9958. </para>
  9959. <para>
  9960. The .NET Compact Framework 1.0 does not support retrieving assembly
  9961. level attributes therefore unlike the <c>DefaultRepositorySelector</c>
  9962. this selector does not examine the calling assembly for attributes.
  9963. </para>
  9964. </remarks>
  9965. <author>Nicko Cadell</author>
  9966. </member>
  9967. <member name="T:log4net.Core.IRepositorySelector">
  9968. <summary>
  9969. Interface used by the <see cref="T:log4net.LogManager"/> to select the <see cref="T:log4net.Repository.ILoggerRepository"/>.
  9970. </summary>
  9971. <remarks>
  9972. <para>
  9973. The <see cref="T:log4net.LogManager"/> uses a <see cref="T:log4net.Core.IRepositorySelector"/>
  9974. to specify the policy for selecting the correct <see cref="T:log4net.Repository.ILoggerRepository"/>
  9975. to return to the caller.
  9976. </para>
  9977. </remarks>
  9978. <author>Nicko Cadell</author>
  9979. <author>Gert Driesen</author>
  9980. </member>
  9981. <member name="M:log4net.Core.IRepositorySelector.GetRepository(System.Reflection.Assembly)">
  9982. <summary>
  9983. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
  9984. </summary>
  9985. <param name="assembly">The assembly to use to lookup to the <see cref="T:log4net.Repository.ILoggerRepository"/></param>
  9986. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> for the assembly.</returns>
  9987. <remarks>
  9988. <para>
  9989. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
  9990. </para>
  9991. <para>
  9992. How the association between <see cref="T:System.Reflection.Assembly"/> and <see cref="T:log4net.Repository.ILoggerRepository"/>
  9993. is made is not defined. The implementation may choose any method for
  9994. this association. The results of this method must be repeatable, i.e.
  9995. when called again with the same arguments the result must be the
  9996. save value.
  9997. </para>
  9998. </remarks>
  9999. </member>
  10000. <member name="M:log4net.Core.IRepositorySelector.GetRepository(System.String)">
  10001. <summary>
  10002. Gets the named <see cref="T:log4net.Repository.ILoggerRepository"/>.
  10003. </summary>
  10004. <param name="repositoryName">The name to use to lookup to the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10005. <returns>The named <see cref="T:log4net.Repository.ILoggerRepository"/></returns>
  10006. <remarks>
  10007. Lookup a named <see cref="T:log4net.Repository.ILoggerRepository"/>. This is the repository created by
  10008. calling <see cref="M:CreateRepository(string,Type)"/>.
  10009. </remarks>
  10010. </member>
  10011. <member name="M:log4net.Core.IRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)">
  10012. <summary>
  10013. Creates a new repository for the assembly specified.
  10014. </summary>
  10015. <param name="assembly">The assembly to use to create the domain to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10016. <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10017. <returns>The repository created.</returns>
  10018. <remarks>
  10019. <para>
  10020. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the domain
  10021. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  10022. same assembly specified will return the same repository instance.
  10023. </para>
  10024. <para>
  10025. How the association between <see cref="T:System.Reflection.Assembly"/> and <see cref="T:log4net.Repository.ILoggerRepository"/>
  10026. is made is not defined. The implementation may choose any method for
  10027. this association.
  10028. </para>
  10029. </remarks>
  10030. </member>
  10031. <member name="M:log4net.Core.IRepositorySelector.CreateRepository(System.String,System.Type)">
  10032. <summary>
  10033. Creates a new repository with the name specified.
  10034. </summary>
  10035. <param name="repositoryName">The name to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10036. <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10037. <returns>The repository created.</returns>
  10038. <remarks>
  10039. <para>
  10040. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the name
  10041. specified such that a call to <see cref="M:GetRepository(string)"/> with the
  10042. same name will return the same repository instance.
  10043. </para>
  10044. </remarks>
  10045. </member>
  10046. <member name="M:log4net.Core.IRepositorySelector.ExistsRepository(System.String)">
  10047. <summary>
  10048. Test if a named repository exists
  10049. </summary>
  10050. <param name="repositoryName">the named repository to check</param>
  10051. <returns><c>true</c> if the repository exists</returns>
  10052. <remarks>
  10053. <para>
  10054. Test if a named repository exists. Use <see cref="M:CreateRepository(Assembly, Type)"/>
  10055. to create a new repository and <see cref="M:GetRepository(Assembly)"/> to retrieve
  10056. a repository.
  10057. </para>
  10058. </remarks>
  10059. </member>
  10060. <member name="M:log4net.Core.IRepositorySelector.GetAllRepositories">
  10061. <summary>
  10062. Gets an array of all currently defined repositories.
  10063. </summary>
  10064. <returns>
  10065. An array of the <see cref="T:log4net.Repository.ILoggerRepository"/> instances created by
  10066. this <see cref="T:log4net.Core.IRepositorySelector"/>.</returns>
  10067. <remarks>
  10068. <para>
  10069. Gets an array of all of the repositories created by this selector.
  10070. </para>
  10071. </remarks>
  10072. </member>
  10073. <member name="E:log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent">
  10074. <summary>
  10075. Event to notify that a logger repository has been created.
  10076. </summary>
  10077. <value>
  10078. Event to notify that a logger repository has been created.
  10079. </value>
  10080. <remarks>
  10081. <para>
  10082. Event raised when a new repository is created.
  10083. The event source will be this selector. The event args will
  10084. be a <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> which
  10085. holds the newly created <see cref="T:log4net.Repository.ILoggerRepository"/>.
  10086. </para>
  10087. </remarks>
  10088. </member>
  10089. <member name="M:log4net.Core.CompactRepositorySelector.#ctor(System.Type)">
  10090. <summary>
  10091. Create a new repository selector
  10092. </summary>
  10093. <param name="defaultRepositoryType">the type of the repositories to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/></param>
  10094. <remarks>
  10095. <para>
  10096. Create an new compact repository selector.
  10097. The default type for repositories must be specified,
  10098. an appropriate value would be <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
  10099. </para>
  10100. </remarks>
  10101. <exception cref="T:System.ArgumentNullException">throw if <paramref name="defaultRepositoryType"/> is null</exception>
  10102. <exception cref="T:System.ArgumentOutOfRangeException">throw if <paramref name="defaultRepositoryType"/> does not implement <see cref="T:log4net.Repository.ILoggerRepository"/></exception>
  10103. </member>
  10104. <member name="M:log4net.Core.CompactRepositorySelector.GetRepository(System.Reflection.Assembly)">
  10105. <summary>
  10106. Get the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly
  10107. </summary>
  10108. <param name="assembly">not used</param>
  10109. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/></returns>
  10110. <remarks>
  10111. <para>
  10112. The <paramref name="assembly"/> argument is not used. This selector does not create a
  10113. separate repository for each assembly.
  10114. </para>
  10115. <para>
  10116. As a named repository is not specified the default repository is
  10117. returned. The default repository is named <c>log4net-default-repository</c>.
  10118. </para>
  10119. </remarks>
  10120. </member>
  10121. <member name="M:log4net.Core.CompactRepositorySelector.GetRepository(System.String)">
  10122. <summary>
  10123. Get the named <see cref="T:log4net.Repository.ILoggerRepository"/>
  10124. </summary>
  10125. <param name="repositoryName">the name of the repository to lookup</param>
  10126. <returns>The named <see cref="T:log4net.Repository.ILoggerRepository"/></returns>
  10127. <remarks>
  10128. <para>
  10129. Get the named <see cref="T:log4net.Repository.ILoggerRepository"/>. The default
  10130. repository is <c>log4net-default-repository</c>. Other repositories
  10131. must be created using the <see cref="M:CreateRepository(string, Type)"/>.
  10132. If the named repository does not exist an exception is thrown.
  10133. </para>
  10134. </remarks>
  10135. <exception cref="T:System.ArgumentNullException">throw if <paramref name="repositoryName"/> is null</exception>
  10136. <exception cref="T:log4net.Core.LogException">throw if the <paramref name="repositoryName"/> does not exist</exception>
  10137. </member>
  10138. <member name="M:log4net.Core.CompactRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)">
  10139. <summary>
  10140. Create a new repository for the assembly specified
  10141. </summary>
  10142. <param name="assembly">not used</param>
  10143. <param name="repositoryType">the type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/></param>
  10144. <returns>the repository created</returns>
  10145. <remarks>
  10146. <para>
  10147. The <paramref name="assembly"/> argument is not used. This selector does not create a
  10148. separate repository for each assembly.
  10149. </para>
  10150. <para>
  10151. If the <paramref name="repositoryType"/> is <c>null</c> then the
  10152. default repository type specified to the constructor is used.
  10153. </para>
  10154. <para>
  10155. As a named repository is not specified the default repository is
  10156. returned. The default repository is named <c>log4net-default-repository</c>.
  10157. </para>
  10158. </remarks>
  10159. </member>
  10160. <member name="M:log4net.Core.CompactRepositorySelector.CreateRepository(System.String,System.Type)">
  10161. <summary>
  10162. Create a new repository for the repository specified
  10163. </summary>
  10164. <param name="repositoryName">the repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/></param>
  10165. <param name="repositoryType">the type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.
  10166. If this param is null then the default repository type is used.</param>
  10167. <returns>the repository created</returns>
  10168. <remarks>
  10169. <para>
  10170. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  10171. specified such that a call to <see cref="M:GetRepository(string)"/> with the
  10172. same repository specified will return the same repository instance.
  10173. </para>
  10174. <para>
  10175. If the named repository already exists an exception will be thrown.
  10176. </para>
  10177. <para>
  10178. If <paramref name="repositoryType"/> is <c>null</c> then the default
  10179. repository type specified to the constructor is used.
  10180. </para>
  10181. </remarks>
  10182. <exception cref="T:System.ArgumentNullException">throw if <paramref name="repositoryName"/> is null</exception>
  10183. <exception cref="T:log4net.Core.LogException">throw if the <paramref name="repositoryName"/> already exists</exception>
  10184. </member>
  10185. <member name="M:log4net.Core.CompactRepositorySelector.ExistsRepository(System.String)">
  10186. <summary>
  10187. Test if a named repository exists
  10188. </summary>
  10189. <param name="repositoryName">the named repository to check</param>
  10190. <returns><c>true</c> if the repository exists</returns>
  10191. <remarks>
  10192. <para>
  10193. Test if a named repository exists. Use <see cref="M:CreateRepository(string, Type)"/>
  10194. to create a new repository and <see cref="M:GetRepository(string)"/> to retrieve
  10195. a repository.
  10196. </para>
  10197. </remarks>
  10198. </member>
  10199. <member name="M:log4net.Core.CompactRepositorySelector.GetAllRepositories">
  10200. <summary>
  10201. Gets a list of <see cref="T:log4net.Repository.ILoggerRepository"/> objects
  10202. </summary>
  10203. <returns>an array of all known <see cref="T:log4net.Repository.ILoggerRepository"/> objects</returns>
  10204. <remarks>
  10205. <para>
  10206. Gets an array of all of the repositories created by this selector.
  10207. </para>
  10208. </remarks>
  10209. </member>
  10210. <member name="F:log4net.Core.CompactRepositorySelector.declaringType">
  10211. <summary>
  10212. The fully qualified type of the CompactRepositorySelector class.
  10213. </summary>
  10214. <remarks>
  10215. Used by the internal logger to record the Type of the
  10216. log message.
  10217. </remarks>
  10218. </member>
  10219. <member name="M:log4net.Core.CompactRepositorySelector.OnLoggerRepositoryCreatedEvent(log4net.Repository.ILoggerRepository)">
  10220. <summary>
  10221. Notify the registered listeners that the repository has been created
  10222. </summary>
  10223. <param name="repository">The repository that has been created</param>
  10224. <remarks>
  10225. <para>
  10226. Raises the <event cref="E:log4net.Core.CompactRepositorySelector.LoggerRepositoryCreatedEvent">LoggerRepositoryCreatedEvent</event>
  10227. event.
  10228. </para>
  10229. </remarks>
  10230. </member>
  10231. <member name="E:log4net.Core.CompactRepositorySelector.LoggerRepositoryCreatedEvent">
  10232. <summary>
  10233. Event to notify that a logger repository has been created.
  10234. </summary>
  10235. <value>
  10236. Event to notify that a logger repository has been created.
  10237. </value>
  10238. <remarks>
  10239. <para>
  10240. Event raised when a new repository is created.
  10241. The event source will be this selector. The event args will
  10242. be a <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> which
  10243. holds the newly created <see cref="T:log4net.Repository.ILoggerRepository"/>.
  10244. </para>
  10245. </remarks>
  10246. </member>
  10247. <member name="T:log4net.Core.DefaultRepositorySelector">
  10248. <summary>
  10249. The default implementation of the <see cref="T:log4net.Core.IRepositorySelector"/> interface.
  10250. </summary>
  10251. <remarks>
  10252. <para>
  10253. Uses attributes defined on the calling assembly to determine how to
  10254. configure the hierarchy for the repository.
  10255. </para>
  10256. </remarks>
  10257. <author>Nicko Cadell</author>
  10258. <author>Gert Driesen</author>
  10259. </member>
  10260. <member name="M:log4net.Core.DefaultRepositorySelector.#ctor(System.Type)">
  10261. <summary>
  10262. Creates a new repository selector.
  10263. </summary>
  10264. <param name="defaultRepositoryType">The type of the repositories to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/></param>
  10265. <remarks>
  10266. <para>
  10267. Create an new repository selector.
  10268. The default type for repositories must be specified,
  10269. an appropriate value would be <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
  10270. </para>
  10271. </remarks>
  10272. <exception cref="T:System.ArgumentNullException"><paramref name="defaultRepositoryType"/> is <see langword="null"/>.</exception>
  10273. <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="defaultRepositoryType"/> does not implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</exception>
  10274. </member>
  10275. <member name="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.Reflection.Assembly)">
  10276. <summary>
  10277. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
  10278. </summary>
  10279. <param name="repositoryAssembly">The assembly use to lookup the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10280. <remarks>
  10281. <para>
  10282. The type of the <see cref="T:log4net.Repository.ILoggerRepository"/> created and the repository
  10283. to create can be overridden by specifying the <see cref="T:log4net.Config.RepositoryAttribute"/>
  10284. attribute on the <paramref name="repositoryAssembly"/>.
  10285. </para>
  10286. <para>
  10287. The default values are to use the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>
  10288. implementation of the <see cref="T:log4net.Repository.ILoggerRepository"/> interface and to use the
  10289. <see cref="P:System.Reflection.AssemblyName.Name"/> as the name of the repository.
  10290. </para>
  10291. <para>
  10292. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be automatically configured using
  10293. any <see cref="T:log4net.Config.ConfiguratorAttribute"/> attributes defined on
  10294. the <paramref name="repositoryAssembly"/>.
  10295. </para>
  10296. </remarks>
  10297. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> for the assembly</returns>
  10298. <exception cref="T:System.ArgumentNullException"><paramref name="repositoryAssembly"/> is <see langword="null"/>.</exception>
  10299. </member>
  10300. <member name="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.String)">
  10301. <summary>
  10302. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified repository.
  10303. </summary>
  10304. <param name="repositoryName">The repository to use to lookup the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10305. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified repository.</returns>
  10306. <remarks>
  10307. <para>
  10308. Returns the named repository. If <paramref name="repositoryName"/> is <c>null</c>
  10309. a <see cref="T:System.ArgumentNullException"/> is thrown. If the repository
  10310. does not exist a <see cref="T:log4net.Core.LogException"/> is thrown.
  10311. </para>
  10312. <para>
  10313. Use <see cref="M:CreateRepository(string, Type)"/> to create a repository.
  10314. </para>
  10315. </remarks>
  10316. <exception cref="T:System.ArgumentNullException"><paramref name="repositoryName"/> is <see langword="null"/>.</exception>
  10317. <exception cref="T:log4net.Core.LogException"><paramref name="repositoryName"/> does not exist.</exception>
  10318. </member>
  10319. <member name="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)">
  10320. <summary>
  10321. Create a new repository for the assembly specified
  10322. </summary>
  10323. <param name="repositoryAssembly">the assembly to use to create the repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10324. <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10325. <returns>The repository created.</returns>
  10326. <remarks>
  10327. <para>
  10328. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  10329. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  10330. same assembly specified will return the same repository instance.
  10331. </para>
  10332. <para>
  10333. The type of the <see cref="T:log4net.Repository.ILoggerRepository"/> created and
  10334. the repository to create can be overridden by specifying the
  10335. <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
  10336. <paramref name="repositoryAssembly"/>. The default values are to use the
  10337. <paramref name="repositoryType"/> implementation of the
  10338. <see cref="T:log4net.Repository.ILoggerRepository"/> interface and to use the
  10339. <see cref="P:System.Reflection.AssemblyName.Name"/> as the name of the repository.
  10340. </para>
  10341. <para>
  10342. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be automatically
  10343. configured using any <see cref="T:log4net.Config.ConfiguratorAttribute"/>
  10344. attributes defined on the <paramref name="repositoryAssembly"/>.
  10345. </para>
  10346. <para>
  10347. If a repository for the <paramref name="repositoryAssembly"/> already exists
  10348. that repository will be returned. An error will not be raised and that
  10349. repository may be of a different type to that specified in <paramref name="repositoryType"/>.
  10350. Also the <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
  10351. assembly may be used to override the repository type specified in
  10352. <paramref name="repositoryType"/>.
  10353. </para>
  10354. </remarks>
  10355. <exception cref="T:System.ArgumentNullException"><paramref name="repositoryAssembly"/> is <see langword="null"/>.</exception>
  10356. </member>
  10357. <member name="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type,System.String,System.Boolean)">
  10358. <summary>
  10359. Creates a new repository for the assembly specified.
  10360. </summary>
  10361. <param name="repositoryAssembly">the assembly to use to create the repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10362. <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10363. <param name="repositoryName">The name to assign to the created repository</param>
  10364. <param name="readAssemblyAttributes">Set to <c>true</c> to read and apply the assembly attributes</param>
  10365. <returns>The repository created.</returns>
  10366. <remarks>
  10367. <para>
  10368. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  10369. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  10370. same assembly specified will return the same repository instance.
  10371. </para>
  10372. <para>
  10373. The type of the <see cref="T:log4net.Repository.ILoggerRepository"/> created and
  10374. the repository to create can be overridden by specifying the
  10375. <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
  10376. <paramref name="repositoryAssembly"/>. The default values are to use the
  10377. <paramref name="repositoryType"/> implementation of the
  10378. <see cref="T:log4net.Repository.ILoggerRepository"/> interface and to use the
  10379. <see cref="P:System.Reflection.AssemblyName.Name"/> as the name of the repository.
  10380. </para>
  10381. <para>
  10382. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be automatically
  10383. configured using any <see cref="T:log4net.Config.ConfiguratorAttribute"/>
  10384. attributes defined on the <paramref name="repositoryAssembly"/>.
  10385. </para>
  10386. <para>
  10387. If a repository for the <paramref name="repositoryAssembly"/> already exists
  10388. that repository will be returned. An error will not be raised and that
  10389. repository may be of a different type to that specified in <paramref name="repositoryType"/>.
  10390. Also the <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
  10391. assembly may be used to override the repository type specified in
  10392. <paramref name="repositoryType"/>.
  10393. </para>
  10394. </remarks>
  10395. <exception cref="T:System.ArgumentNullException"><paramref name="repositoryAssembly"/> is <see langword="null"/>.</exception>
  10396. </member>
  10397. <member name="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.String,System.Type)">
  10398. <summary>
  10399. Creates a new repository for the specified repository.
  10400. </summary>
  10401. <param name="repositoryName">The repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10402. <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.
  10403. If this param is <see langword="null"/> then the default repository type is used.</param>
  10404. <returns>The new repository.</returns>
  10405. <remarks>
  10406. <para>
  10407. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  10408. specified such that a call to <see cref="M:GetRepository(string)"/> with the
  10409. same repository specified will return the same repository instance.
  10410. </para>
  10411. </remarks>
  10412. <exception cref="T:System.ArgumentNullException"><paramref name="repositoryName"/> is <see langword="null"/>.</exception>
  10413. <exception cref="T:log4net.Core.LogException"><paramref name="repositoryName"/> already exists.</exception>
  10414. </member>
  10415. <member name="M:log4net.Core.DefaultRepositorySelector.ExistsRepository(System.String)">
  10416. <summary>
  10417. Test if a named repository exists
  10418. </summary>
  10419. <param name="repositoryName">the named repository to check</param>
  10420. <returns><c>true</c> if the repository exists</returns>
  10421. <remarks>
  10422. <para>
  10423. Test if a named repository exists. Use <see cref="M:CreateRepository(string, Type)"/>
  10424. to create a new repository and <see cref="M:GetRepository(string)"/> to retrieve
  10425. a repository.
  10426. </para>
  10427. </remarks>
  10428. </member>
  10429. <member name="M:log4net.Core.DefaultRepositorySelector.GetAllRepositories">
  10430. <summary>
  10431. Gets a list of <see cref="T:log4net.Repository.ILoggerRepository"/> objects
  10432. </summary>
  10433. <returns>an array of all known <see cref="T:log4net.Repository.ILoggerRepository"/> objects</returns>
  10434. <remarks>
  10435. <para>
  10436. Gets an array of all of the repositories created by this selector.
  10437. </para>
  10438. </remarks>
  10439. </member>
  10440. <member name="M:log4net.Core.DefaultRepositorySelector.AliasRepository(System.String,log4net.Repository.ILoggerRepository)">
  10441. <summary>
  10442. Aliases a repository to an existing repository.
  10443. </summary>
  10444. <param name="repositoryAlias">The repository to alias.</param>
  10445. <param name="repositoryTarget">The repository that the repository is aliased to.</param>
  10446. <remarks>
  10447. <para>
  10448. The repository specified will be aliased to the repository when created.
  10449. The repository must not already exist.
  10450. </para>
  10451. <para>
  10452. When the repository is created it must utilize the same repository type as
  10453. the repository it is aliased to, otherwise the aliasing will fail.
  10454. </para>
  10455. </remarks>
  10456. <exception cref="T:System.ArgumentNullException">
  10457. <para><paramref name="repositoryAlias"/> is <see langword="null"/>.</para>
  10458. <para>-or-</para>
  10459. <para><paramref name="repositoryTarget"/> is <see langword="null"/>.</para>
  10460. </exception>
  10461. </member>
  10462. <member name="M:log4net.Core.DefaultRepositorySelector.OnLoggerRepositoryCreatedEvent(log4net.Repository.ILoggerRepository)">
  10463. <summary>
  10464. Notifies the registered listeners that the repository has been created.
  10465. </summary>
  10466. <param name="repository">The repository that has been created.</param>
  10467. <remarks>
  10468. <para>
  10469. Raises the <see cref="E:log4net.Core.DefaultRepositorySelector.LoggerRepositoryCreatedEvent"/> event.
  10470. </para>
  10471. </remarks>
  10472. </member>
  10473. <member name="M:log4net.Core.DefaultRepositorySelector.GetInfoForAssembly(System.Reflection.Assembly,System.String@,System.Type@)">
  10474. <summary>
  10475. Gets the repository name and repository type for the specified assembly.
  10476. </summary>
  10477. <param name="assembly">The assembly that has a <see cref="T:log4net.Config.RepositoryAttribute"/>.</param>
  10478. <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>
  10479. <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>
  10480. <exception cref="T:System.ArgumentNullException"><paramref name="assembly"/> is <see langword="null"/>.</exception>
  10481. </member>
  10482. <member name="M:log4net.Core.DefaultRepositorySelector.ConfigureRepository(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  10483. <summary>
  10484. Configures the repository using information from the assembly.
  10485. </summary>
  10486. <param name="assembly">The assembly containing <see cref="T:log4net.Config.ConfiguratorAttribute"/>
  10487. attributes which define the configuration for the repository.</param>
  10488. <param name="repository">The repository to configure.</param>
  10489. <exception cref="T:System.ArgumentNullException">
  10490. <para><paramref name="assembly"/> is <see langword="null"/>.</para>
  10491. <para>-or-</para>
  10492. <para><paramref name="repository"/> is <see langword="null"/>.</para>
  10493. </exception>
  10494. </member>
  10495. <member name="M:log4net.Core.DefaultRepositorySelector.LoadPlugins(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  10496. <summary>
  10497. Loads the attribute defined plugins on the assembly.
  10498. </summary>
  10499. <param name="assembly">The assembly that contains the attributes.</param>
  10500. <param name="repository">The repository to add the plugins to.</param>
  10501. <exception cref="T:System.ArgumentNullException">
  10502. <para><paramref name="assembly"/> is <see langword="null"/>.</para>
  10503. <para>-or-</para>
  10504. <para><paramref name="repository"/> is <see langword="null"/>.</para>
  10505. </exception>
  10506. </member>
  10507. <member name="M:log4net.Core.DefaultRepositorySelector.LoadAliases(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  10508. <summary>
  10509. Loads the attribute defined aliases on the assembly.
  10510. </summary>
  10511. <param name="assembly">The assembly that contains the attributes.</param>
  10512. <param name="repository">The repository to alias to.</param>
  10513. <exception cref="T:System.ArgumentNullException">
  10514. <para><paramref name="assembly"/> is <see langword="null"/>.</para>
  10515. <para>-or-</para>
  10516. <para><paramref name="repository"/> is <see langword="null"/>.</para>
  10517. </exception>
  10518. </member>
  10519. <member name="F:log4net.Core.DefaultRepositorySelector.declaringType">
  10520. <summary>
  10521. The fully qualified type of the DefaultRepositorySelector class.
  10522. </summary>
  10523. <remarks>
  10524. Used by the internal logger to record the Type of the
  10525. log message.
  10526. </remarks>
  10527. </member>
  10528. <member name="E:log4net.Core.DefaultRepositorySelector.LoggerRepositoryCreatedEvent">
  10529. <summary>
  10530. Event to notify that a logger repository has been created.
  10531. </summary>
  10532. <value>
  10533. Event to notify that a logger repository has been created.
  10534. </value>
  10535. <remarks>
  10536. <para>
  10537. Event raised when a new repository is created.
  10538. The event source will be this selector. The event args will
  10539. be a <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> which
  10540. holds the newly created <see cref="T:log4net.Repository.ILoggerRepository"/>.
  10541. </para>
  10542. </remarks>
  10543. </member>
  10544. <member name="T:log4net.Core.ErrorCode">
  10545. <summary>
  10546. Defined error codes that can be passed to the <see cref="M:IErrorHandler.Error(string, Exception, ErrorCode)"/> method.
  10547. </summary>
  10548. <remarks>
  10549. <para>
  10550. Values passed to the <see cref="M:IErrorHandler.Error(string, Exception, ErrorCode)"/> method.
  10551. </para>
  10552. </remarks>
  10553. <author>Nicko Cadell</author>
  10554. </member>
  10555. <member name="F:log4net.Core.ErrorCode.GenericFailure">
  10556. <summary>
  10557. A general error
  10558. </summary>
  10559. </member>
  10560. <member name="F:log4net.Core.ErrorCode.WriteFailure">
  10561. <summary>
  10562. Error while writing output
  10563. </summary>
  10564. </member>
  10565. <member name="F:log4net.Core.ErrorCode.FlushFailure">
  10566. <summary>
  10567. Failed to flush file
  10568. </summary>
  10569. </member>
  10570. <member name="F:log4net.Core.ErrorCode.CloseFailure">
  10571. <summary>
  10572. Failed to close file
  10573. </summary>
  10574. </member>
  10575. <member name="F:log4net.Core.ErrorCode.FileOpenFailure">
  10576. <summary>
  10577. Unable to open output file
  10578. </summary>
  10579. </member>
  10580. <member name="F:log4net.Core.ErrorCode.MissingLayout">
  10581. <summary>
  10582. No layout specified
  10583. </summary>
  10584. </member>
  10585. <member name="F:log4net.Core.ErrorCode.AddressParseFailure">
  10586. <summary>
  10587. Failed to parse address
  10588. </summary>
  10589. </member>
  10590. <member name="T:log4net.Core.ExceptionEvaluator">
  10591. <summary>
  10592. An evaluator that triggers on an Exception type
  10593. </summary>
  10594. <remarks>
  10595. <para>
  10596. This evaluator will trigger if the type of the Exception
  10597. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  10598. is equal to a Type in <see cref="P:log4net.Core.ExceptionEvaluator.ExceptionType"/>. ///
  10599. </para>
  10600. </remarks>
  10601. <author>Drew Schaeffer</author>
  10602. </member>
  10603. <member name="T:log4net.Core.ITriggeringEventEvaluator">
  10604. <summary>
  10605. Test if an <see cref="T:log4net.Core.LoggingEvent"/> triggers an action
  10606. </summary>
  10607. <remarks>
  10608. <para>
  10609. Implementations of this interface allow certain appenders to decide
  10610. when to perform an appender specific action.
  10611. </para>
  10612. <para>
  10613. The action or behavior triggered is defined by the implementation.
  10614. </para>
  10615. </remarks>
  10616. <author>Nicko Cadell</author>
  10617. </member>
  10618. <member name="M:log4net.Core.ITriggeringEventEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)">
  10619. <summary>
  10620. Test if this event triggers the action
  10621. </summary>
  10622. <param name="loggingEvent">The event to check</param>
  10623. <returns><c>true</c> if this event triggers the action, otherwise <c>false</c></returns>
  10624. <remarks>
  10625. <para>
  10626. Return <c>true</c> if this event triggers the action
  10627. </para>
  10628. </remarks>
  10629. </member>
  10630. <member name="F:log4net.Core.ExceptionEvaluator.m_type">
  10631. <summary>
  10632. The type that causes the trigger to fire.
  10633. </summary>
  10634. </member>
  10635. <member name="F:log4net.Core.ExceptionEvaluator.m_triggerOnSubclass">
  10636. <summary>
  10637. Causes subclasses of <see cref="P:log4net.Core.ExceptionEvaluator.ExceptionType"/> to cause the trigger to fire.
  10638. </summary>
  10639. </member>
  10640. <member name="M:log4net.Core.ExceptionEvaluator.#ctor">
  10641. <summary>
  10642. Default ctor to allow dynamic creation through a configurator.
  10643. </summary>
  10644. </member>
  10645. <member name="M:log4net.Core.ExceptionEvaluator.#ctor(System.Type,System.Boolean)">
  10646. <summary>
  10647. Constructs an evaluator and initializes to trigger on <paramref name="exType"/>
  10648. </summary>
  10649. <param name="exType">the type that triggers this evaluator.</param>
  10650. <param name="triggerOnSubClass">If true, this evaluator will trigger on subclasses of <see cref="P:log4net.Core.ExceptionEvaluator.ExceptionType"/>.</param>
  10651. </member>
  10652. <member name="M:log4net.Core.ExceptionEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)">
  10653. <summary>
  10654. Is this <paramref name="loggingEvent"/> the triggering event?
  10655. </summary>
  10656. <param name="loggingEvent">The event to check</param>
  10657. <returns>This method returns <c>true</c>, if the logging event Exception
  10658. Type is <see cref="P:log4net.Core.ExceptionEvaluator.ExceptionType"/>.
  10659. Otherwise it returns <c>false</c></returns>
  10660. <remarks>
  10661. <para>
  10662. This evaluator will trigger if the Exception Type of the event
  10663. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  10664. is <see cref="P:log4net.Core.ExceptionEvaluator.ExceptionType"/>.
  10665. </para>
  10666. </remarks>
  10667. </member>
  10668. <member name="P:log4net.Core.ExceptionEvaluator.ExceptionType">
  10669. <summary>
  10670. The type that triggers this evaluator.
  10671. </summary>
  10672. </member>
  10673. <member name="P:log4net.Core.ExceptionEvaluator.TriggerOnSubclass">
  10674. <summary>
  10675. If true, this evaluator will trigger on subclasses of <see cref="P:log4net.Core.ExceptionEvaluator.ExceptionType"/>.
  10676. </summary>
  10677. </member>
  10678. <member name="T:log4net.Core.IErrorHandler">
  10679. <summary>
  10680. Appenders may delegate their error handling to an <see cref="T:log4net.Core.IErrorHandler"/>.
  10681. </summary>
  10682. <remarks>
  10683. <para>
  10684. Error handling is a particularly tedious to get right because by
  10685. definition errors are hard to predict and to reproduce.
  10686. </para>
  10687. </remarks>
  10688. <author>Nicko Cadell</author>
  10689. <author>Gert Driesen</author>
  10690. </member>
  10691. <member name="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)">
  10692. <summary>
  10693. Handles the error and information about the error condition is passed as
  10694. a parameter.
  10695. </summary>
  10696. <param name="message">The message associated with the error.</param>
  10697. <param name="e">The <see cref="T:System.Exception"/> that was thrown when the error occurred.</param>
  10698. <param name="errorCode">The error code associated with the error.</param>
  10699. <remarks>
  10700. <para>
  10701. Handles the error and information about the error condition is passed as
  10702. a parameter.
  10703. </para>
  10704. </remarks>
  10705. </member>
  10706. <member name="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception)">
  10707. <summary>
  10708. Prints the error message passed as a parameter.
  10709. </summary>
  10710. <param name="message">The message associated with the error.</param>
  10711. <param name="e">The <see cref="T:System.Exception"/> that was thrown when the error occurred.</param>
  10712. <remarks>
  10713. <para>
  10714. See <see cref="M:Error(string,Exception,ErrorCode)"/>.
  10715. </para>
  10716. </remarks>
  10717. </member>
  10718. <member name="M:log4net.Core.IErrorHandler.Error(System.String)">
  10719. <summary>
  10720. Prints the error message passed as a parameter.
  10721. </summary>
  10722. <param name="message">The message associated with the error.</param>
  10723. <remarks>
  10724. <para>
  10725. See <see cref="M:Error(string,Exception,ErrorCode)"/>.
  10726. </para>
  10727. </remarks>
  10728. </member>
  10729. <member name="T:log4net.Core.IFixingRequired">
  10730. <summary>
  10731. Interface for objects that require fixing.
  10732. </summary>
  10733. <remarks>
  10734. <para>
  10735. Interface that indicates that the object requires fixing before it
  10736. can be taken outside the context of the appender's
  10737. <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method.
  10738. </para>
  10739. <para>
  10740. When objects that implement this interface are stored
  10741. in the context properties maps <see cref="T:log4net.GlobalContext"/>
  10742. <see cref="P:log4net.GlobalContext.Properties"/> and <see cref="T:log4net.ThreadContext"/>
  10743. <see cref="P:log4net.ThreadContext.Properties"/> are fixed
  10744. (see <see cref="P:log4net.Core.LoggingEvent.Fix"/>) the <see cref="M:log4net.Core.IFixingRequired.GetFixedObject"/>
  10745. method will be called.
  10746. </para>
  10747. </remarks>
  10748. <author>Nicko Cadell</author>
  10749. </member>
  10750. <member name="M:log4net.Core.IFixingRequired.GetFixedObject">
  10751. <summary>
  10752. Get a portable version of this object
  10753. </summary>
  10754. <returns>the portable instance of this object</returns>
  10755. <remarks>
  10756. <para>
  10757. Get a portable instance object that represents the current
  10758. state of this object. The portable object can be stored
  10759. and logged from any thread with identical results.
  10760. </para>
  10761. </remarks>
  10762. </member>
  10763. <member name="T:log4net.Core.ILogger">
  10764. <summary>
  10765. Interface that all loggers implement
  10766. </summary>
  10767. <remarks>
  10768. <para>
  10769. This interface supports logging events and testing if a level
  10770. is enabled for logging.
  10771. </para>
  10772. <para>
  10773. These methods will not throw exceptions. Note to implementor, ensure
  10774. that the implementation of these methods cannot allow an exception
  10775. to be thrown to the caller.
  10776. </para>
  10777. </remarks>
  10778. <author>Nicko Cadell</author>
  10779. <author>Gert Driesen</author>
  10780. </member>
  10781. <member name="M:log4net.Core.ILogger.Log(System.Type,log4net.Core.Level,System.Object,System.Exception)">
  10782. <summary>
  10783. This generic form is intended to be used by wrappers.
  10784. </summary>
  10785. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  10786. the stack boundary into the logging system for this call.</param>
  10787. <param name="level">The level of the message to be logged.</param>
  10788. <param name="message">The message object to log.</param>
  10789. <param name="exception">the exception to log, including its stack trace. Pass <c>null</c> to not log an exception.</param>
  10790. <remarks>
  10791. <para>
  10792. Generates a logging event for the specified <paramref name="level"/> using
  10793. the <paramref name="message"/> and <paramref name="exception"/>.
  10794. </para>
  10795. </remarks>
  10796. </member>
  10797. <member name="M:log4net.Core.ILogger.Log(log4net.Core.LoggingEvent)">
  10798. <summary>
  10799. This is the most generic printing method that is intended to be used
  10800. by wrappers.
  10801. </summary>
  10802. <param name="logEvent">The event being logged.</param>
  10803. <remarks>
  10804. <para>
  10805. Logs the specified logging event through this logger.
  10806. </para>
  10807. </remarks>
  10808. </member>
  10809. <member name="M:log4net.Core.ILogger.IsEnabledFor(log4net.Core.Level)">
  10810. <summary>
  10811. Checks if this logger is enabled for a given <see cref="T:log4net.Core.Level"/> passed as parameter.
  10812. </summary>
  10813. <param name="level">The level to check.</param>
  10814. <returns>
  10815. <c>true</c> if this logger is enabled for <c>level</c>, otherwise <c>false</c>.
  10816. </returns>
  10817. <remarks>
  10818. <para>
  10819. Test if this logger is going to log events of the specified <paramref name="level"/>.
  10820. </para>
  10821. </remarks>
  10822. </member>
  10823. <member name="P:log4net.Core.ILogger.Name">
  10824. <summary>
  10825. Gets the name of the logger.
  10826. </summary>
  10827. <value>
  10828. The name of the logger.
  10829. </value>
  10830. <remarks>
  10831. <para>
  10832. The name of this logger
  10833. </para>
  10834. </remarks>
  10835. </member>
  10836. <member name="P:log4net.Core.ILogger.Repository">
  10837. <summary>
  10838. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this
  10839. <c>Logger</c> instance is attached to.
  10840. </summary>
  10841. <value>
  10842. The <see cref="T:log4net.Repository.ILoggerRepository"/> that this logger belongs to.
  10843. </value>
  10844. <remarks>
  10845. <para>
  10846. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this
  10847. <c>Logger</c> instance is attached to.
  10848. </para>
  10849. </remarks>
  10850. </member>
  10851. <member name="T:log4net.Core.ILoggerWrapper">
  10852. <summary>
  10853. Base interface for all wrappers
  10854. </summary>
  10855. <remarks>
  10856. <para>
  10857. Base interface for all wrappers.
  10858. </para>
  10859. <para>
  10860. All wrappers must implement this interface.
  10861. </para>
  10862. </remarks>
  10863. <author>Nicko Cadell</author>
  10864. </member>
  10865. <member name="P:log4net.Core.ILoggerWrapper.Logger">
  10866. <summary>
  10867. Get the implementation behind this wrapper object.
  10868. </summary>
  10869. <value>
  10870. The <see cref="T:log4net.Core.ILogger"/> object that in implementing this object.
  10871. </value>
  10872. <remarks>
  10873. <para>
  10874. The <see cref="T:log4net.Core.ILogger"/> object that in implementing this
  10875. object. The <c>Logger</c> object may not
  10876. be the same object as this object because of logger decorators.
  10877. This gets the actual underlying objects that is used to process
  10878. the log events.
  10879. </para>
  10880. </remarks>
  10881. </member>
  10882. <member name="T:log4net.Core.LoggerRepositoryCreationEventHandler">
  10883. <summary>
  10884. Delegate used to handle logger repository creation event notifications
  10885. </summary>
  10886. <param name="sender">The <see cref="T:log4net.Core.IRepositorySelector"/> which created the repository.</param>
  10887. <param name="e">The <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> event args
  10888. that holds the <see cref="T:log4net.Repository.ILoggerRepository"/> instance that has been created.</param>
  10889. <remarks>
  10890. <para>
  10891. Delegate used to handle logger repository creation event notifications.
  10892. </para>
  10893. </remarks>
  10894. </member>
  10895. <member name="T:log4net.Core.LoggerRepositoryCreationEventArgs">
  10896. <summary>
  10897. Provides data for the <see cref="E:log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent"/> event.
  10898. </summary>
  10899. <remarks>
  10900. <para>
  10901. A <see cref="E:log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent"/>
  10902. event is raised every time a <see cref="T:log4net.Repository.ILoggerRepository"/> is created.
  10903. </para>
  10904. </remarks>
  10905. </member>
  10906. <member name="F:log4net.Core.LoggerRepositoryCreationEventArgs.m_repository">
  10907. <summary>
  10908. The <see cref="T:log4net.Repository.ILoggerRepository"/> created
  10909. </summary>
  10910. </member>
  10911. <member name="M:log4net.Core.LoggerRepositoryCreationEventArgs.#ctor(log4net.Repository.ILoggerRepository)">
  10912. <summary>
  10913. Construct instance using <see cref="T:log4net.Repository.ILoggerRepository"/> specified
  10914. </summary>
  10915. <param name="repository">the <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created</param>
  10916. <remarks>
  10917. <para>
  10918. Construct instance using <see cref="T:log4net.Repository.ILoggerRepository"/> specified
  10919. </para>
  10920. </remarks>
  10921. </member>
  10922. <member name="P:log4net.Core.LoggerRepositoryCreationEventArgs.LoggerRepository">
  10923. <summary>
  10924. The <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created
  10925. </summary>
  10926. <value>
  10927. The <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created
  10928. </value>
  10929. <remarks>
  10930. <para>
  10931. The <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created
  10932. </para>
  10933. </remarks>
  10934. </member>
  10935. <member name="T:log4net.Core.Level">
  10936. <summary>
  10937. Defines the default set of levels recognized by the system.
  10938. </summary>
  10939. <remarks>
  10940. <para>
  10941. Each <see cref="T:log4net.Core.LoggingEvent"/> has an associated <see cref="T:log4net.Core.Level"/>.
  10942. </para>
  10943. <para>
  10944. Levels have a numeric <see cref="P:log4net.Core.Level.Value"/> that defines the relative
  10945. ordering between levels. Two Levels with the same <see cref="P:log4net.Core.Level.Value"/>
  10946. are deemed to be equivalent.
  10947. </para>
  10948. <para>
  10949. The levels that are recognized by log4net are set for each <see cref="T:log4net.Repository.ILoggerRepository"/>
  10950. and each repository can have different levels defined. The levels are stored
  10951. in the <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/> on the repository. Levels are
  10952. looked up by name from the <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>.
  10953. </para>
  10954. <para>
  10955. When logging at level INFO the actual level used is not <see cref="F:log4net.Core.Level.Info"/> but
  10956. the value of <c>LoggerRepository.LevelMap["INFO"]</c>. The default value for this is
  10957. <see cref="F:log4net.Core.Level.Info"/>, but this can be changed by reconfiguring the level map.
  10958. </para>
  10959. <para>
  10960. Each level has a <see cref="P:log4net.Core.Level.DisplayName"/> in addition to its <see cref="P:log4net.Core.Level.Name"/>. The
  10961. <see cref="P:log4net.Core.Level.DisplayName"/> is the string that is written into the output log. By default
  10962. the display name is the same as the level name, but this can be used to alias levels
  10963. or to localize the log output.
  10964. </para>
  10965. <para>
  10966. Some of the predefined levels recognized by the system are:
  10967. </para>
  10968. <list type="bullet">
  10969. <item>
  10970. <description><see cref="F:log4net.Core.Level.Off"/>.</description>
  10971. </item>
  10972. <item>
  10973. <description><see cref="F:log4net.Core.Level.Fatal"/>.</description>
  10974. </item>
  10975. <item>
  10976. <description><see cref="F:log4net.Core.Level.Error"/>.</description>
  10977. </item>
  10978. <item>
  10979. <description><see cref="F:log4net.Core.Level.Warn"/>.</description>
  10980. </item>
  10981. <item>
  10982. <description><see cref="F:log4net.Core.Level.Info"/>.</description>
  10983. </item>
  10984. <item>
  10985. <description><see cref="F:log4net.Core.Level.Debug"/>.</description>
  10986. </item>
  10987. <item>
  10988. <description><see cref="F:log4net.Core.Level.All"/>.</description>
  10989. </item>
  10990. </list>
  10991. </remarks>
  10992. <author>Nicko Cadell</author>
  10993. <author>Gert Driesen</author>
  10994. </member>
  10995. <member name="M:log4net.Core.Level.#ctor(System.Int32,System.String,System.String)">
  10996. <summary>
  10997. Constructor
  10998. </summary>
  10999. <param name="level">Integer value for this level, higher values represent more severe levels.</param>
  11000. <param name="levelName">The string name of this level.</param>
  11001. <param name="displayName">The display name for this level. This may be localized or otherwise different from the name</param>
  11002. <remarks>
  11003. <para>
  11004. Initializes a new instance of the <see cref="T:log4net.Core.Level"/> class with
  11005. the specified level name and value.
  11006. </para>
  11007. </remarks>
  11008. </member>
  11009. <member name="M:log4net.Core.Level.#ctor(System.Int32,System.String)">
  11010. <summary>
  11011. Constructor
  11012. </summary>
  11013. <param name="level">Integer value for this level, higher values represent more severe levels.</param>
  11014. <param name="levelName">The string name of this level.</param>
  11015. <remarks>
  11016. <para>
  11017. Initializes a new instance of the <see cref="T:log4net.Core.Level"/> class with
  11018. the specified level name and value.
  11019. </para>
  11020. </remarks>
  11021. </member>
  11022. <member name="M:log4net.Core.Level.ToString">
  11023. <summary>
  11024. Returns the <see cref="T:System.String"/> representation of the current
  11025. <see cref="T:log4net.Core.Level"/>.
  11026. </summary>
  11027. <returns>
  11028. A <see cref="T:System.String"/> representation of the current <see cref="T:log4net.Core.Level"/>.
  11029. </returns>
  11030. <remarks>
  11031. <para>
  11032. Returns the level <see cref="P:log4net.Core.Level.Name"/>.
  11033. </para>
  11034. </remarks>
  11035. </member>
  11036. <member name="M:log4net.Core.Level.Equals(System.Object)">
  11037. <summary>
  11038. Compares levels.
  11039. </summary>
  11040. <param name="o">The object to compare against.</param>
  11041. <returns><c>true</c> if the objects are equal.</returns>
  11042. <remarks>
  11043. <para>
  11044. Compares the levels of <see cref="T:log4net.Core.Level"/> instances, and
  11045. defers to base class if the target object is not a <see cref="T:log4net.Core.Level"/>
  11046. instance.
  11047. </para>
  11048. </remarks>
  11049. </member>
  11050. <member name="M:log4net.Core.Level.GetHashCode">
  11051. <summary>
  11052. Returns a hash code
  11053. </summary>
  11054. <returns>A hash code for the current <see cref="T:log4net.Core.Level"/>.</returns>
  11055. <remarks>
  11056. <para>
  11057. Returns a hash code suitable for use in hashing algorithms and data
  11058. structures like a hash table.
  11059. </para>
  11060. <para>
  11061. Returns the hash code of the level <see cref="P:log4net.Core.Level.Value"/>.
  11062. </para>
  11063. </remarks>
  11064. </member>
  11065. <member name="M:log4net.Core.Level.CompareTo(System.Object)">
  11066. <summary>
  11067. Compares this instance to a specified object and returns an
  11068. indication of their relative values.
  11069. </summary>
  11070. <param name="r">A <see cref="T:log4net.Core.Level"/> instance or <see langword="null"/> to compare with this instance.</param>
  11071. <returns>
  11072. A 32-bit signed integer that indicates the relative order of the
  11073. values compared. The return value has these meanings:
  11074. <list type="table">
  11075. <listheader>
  11076. <term>Value</term>
  11077. <description>Meaning</description>
  11078. </listheader>
  11079. <item>
  11080. <term>Less than zero</term>
  11081. <description>This instance is less than <paramref name="r"/>.</description>
  11082. </item>
  11083. <item>
  11084. <term>Zero</term>
  11085. <description>This instance is equal to <paramref name="r"/>.</description>
  11086. </item>
  11087. <item>
  11088. <term>Greater than zero</term>
  11089. <description>
  11090. <para>This instance is greater than <paramref name="r"/>.</para>
  11091. <para>-or-</para>
  11092. <para><paramref name="r"/> is <see langword="null"/>.</para>
  11093. </description>
  11094. </item>
  11095. </list>
  11096. </returns>
  11097. <remarks>
  11098. <para>
  11099. <paramref name="r"/> must be an instance of <see cref="T:log4net.Core.Level"/>
  11100. or <see langword="null"/>; otherwise, an exception is thrown.
  11101. </para>
  11102. </remarks>
  11103. <exception cref="T:System.ArgumentException"><paramref name="r"/> is not a <see cref="T:log4net.Core.Level"/>.</exception>
  11104. </member>
  11105. <member name="M:log4net.Core.Level.op_GreaterThan(log4net.Core.Level,log4net.Core.Level)">
  11106. <summary>
  11107. Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/>
  11108. is greater than another specified <see cref="T:log4net.Core.Level"/>.
  11109. </summary>
  11110. <param name="l">A <see cref="T:log4net.Core.Level"/></param>
  11111. <param name="r">A <see cref="T:log4net.Core.Level"/></param>
  11112. <returns>
  11113. <c>true</c> if <paramref name="l"/> is greater than
  11114. <paramref name="r"/>; otherwise, <c>false</c>.
  11115. </returns>
  11116. <remarks>
  11117. <para>
  11118. Compares two levels.
  11119. </para>
  11120. </remarks>
  11121. </member>
  11122. <member name="M:log4net.Core.Level.op_LessThan(log4net.Core.Level,log4net.Core.Level)">
  11123. <summary>
  11124. Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/>
  11125. is less than another specified <see cref="T:log4net.Core.Level"/>.
  11126. </summary>
  11127. <param name="l">A <see cref="T:log4net.Core.Level"/></param>
  11128. <param name="r">A <see cref="T:log4net.Core.Level"/></param>
  11129. <returns>
  11130. <c>true</c> if <paramref name="l"/> is less than
  11131. <paramref name="r"/>; otherwise, <c>false</c>.
  11132. </returns>
  11133. <remarks>
  11134. <para>
  11135. Compares two levels.
  11136. </para>
  11137. </remarks>
  11138. </member>
  11139. <member name="M:log4net.Core.Level.op_GreaterThanOrEqual(log4net.Core.Level,log4net.Core.Level)">
  11140. <summary>
  11141. Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/>
  11142. is greater than or equal to another specified <see cref="T:log4net.Core.Level"/>.
  11143. </summary>
  11144. <param name="l">A <see cref="T:log4net.Core.Level"/></param>
  11145. <param name="r">A <see cref="T:log4net.Core.Level"/></param>
  11146. <returns>
  11147. <c>true</c> if <paramref name="l"/> is greater than or equal to
  11148. <paramref name="r"/>; otherwise, <c>false</c>.
  11149. </returns>
  11150. <remarks>
  11151. <para>
  11152. Compares two levels.
  11153. </para>
  11154. </remarks>
  11155. </member>
  11156. <member name="M:log4net.Core.Level.op_LessThanOrEqual(log4net.Core.Level,log4net.Core.Level)">
  11157. <summary>
  11158. Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/>
  11159. is less than or equal to another specified <see cref="T:log4net.Core.Level"/>.
  11160. </summary>
  11161. <param name="l">A <see cref="T:log4net.Core.Level"/></param>
  11162. <param name="r">A <see cref="T:log4net.Core.Level"/></param>
  11163. <returns>
  11164. <c>true</c> if <paramref name="l"/> is less than or equal to
  11165. <paramref name="r"/>; otherwise, <c>false</c>.
  11166. </returns>
  11167. <remarks>
  11168. <para>
  11169. Compares two levels.
  11170. </para>
  11171. </remarks>
  11172. </member>
  11173. <member name="M:log4net.Core.Level.op_Equality(log4net.Core.Level,log4net.Core.Level)">
  11174. <summary>
  11175. Returns a value indicating whether two specified <see cref="T:log4net.Core.Level"/>
  11176. objects have the same value.
  11177. </summary>
  11178. <param name="l">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
  11179. <param name="r">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
  11180. <returns>
  11181. <c>true</c> if the value of <paramref name="l"/> is the same as the
  11182. value of <paramref name="r"/>; otherwise, <c>false</c>.
  11183. </returns>
  11184. <remarks>
  11185. <para>
  11186. Compares two levels.
  11187. </para>
  11188. </remarks>
  11189. </member>
  11190. <member name="M:log4net.Core.Level.op_Inequality(log4net.Core.Level,log4net.Core.Level)">
  11191. <summary>
  11192. Returns a value indicating whether two specified <see cref="T:log4net.Core.Level"/>
  11193. objects have different values.
  11194. </summary>
  11195. <param name="l">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
  11196. <param name="r">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
  11197. <returns>
  11198. <c>true</c> if the value of <paramref name="l"/> is different from
  11199. the value of <paramref name="r"/>; otherwise, <c>false</c>.
  11200. </returns>
  11201. <remarks>
  11202. <para>
  11203. Compares two levels.
  11204. </para>
  11205. </remarks>
  11206. </member>
  11207. <member name="M:log4net.Core.Level.Compare(log4net.Core.Level,log4net.Core.Level)">
  11208. <summary>
  11209. Compares two specified <see cref="T:log4net.Core.Level"/> instances.
  11210. </summary>
  11211. <param name="l">The first <see cref="T:log4net.Core.Level"/> to compare.</param>
  11212. <param name="r">The second <see cref="T:log4net.Core.Level"/> to compare.</param>
  11213. <returns>
  11214. A 32-bit signed integer that indicates the relative order of the
  11215. two values compared. The return value has these meanings:
  11216. <list type="table">
  11217. <listheader>
  11218. <term>Value</term>
  11219. <description>Meaning</description>
  11220. </listheader>
  11221. <item>
  11222. <term>Less than zero</term>
  11223. <description><paramref name="l"/> is less than <paramref name="r"/>.</description>
  11224. </item>
  11225. <item>
  11226. <term>Zero</term>
  11227. <description><paramref name="l"/> is equal to <paramref name="r"/>.</description>
  11228. </item>
  11229. <item>
  11230. <term>Greater than zero</term>
  11231. <description><paramref name="l"/> is greater than <paramref name="r"/>.</description>
  11232. </item>
  11233. </list>
  11234. </returns>
  11235. <remarks>
  11236. <para>
  11237. Compares two levels.
  11238. </para>
  11239. </remarks>
  11240. </member>
  11241. <member name="F:log4net.Core.Level.Off">
  11242. <summary>
  11243. The <see cref="F:log4net.Core.Level.Off"/> level designates a higher level than all the rest.
  11244. </summary>
  11245. </member>
  11246. <member name="F:log4net.Core.Level.Log4Net_Debug">
  11247. <summary>
  11248. The <see cref="F:log4net.Core.Level.Emergency"/> level designates very severe error events.
  11249. System unusable, emergencies.
  11250. </summary>
  11251. </member>
  11252. <member name="F:log4net.Core.Level.Emergency">
  11253. <summary>
  11254. The <see cref="F:log4net.Core.Level.Emergency"/> level designates very severe error events.
  11255. System unusable, emergencies.
  11256. </summary>
  11257. </member>
  11258. <member name="F:log4net.Core.Level.Fatal">
  11259. <summary>
  11260. The <see cref="F:log4net.Core.Level.Fatal"/> level designates very severe error events
  11261. that will presumably lead the application to abort.
  11262. </summary>
  11263. </member>
  11264. <member name="F:log4net.Core.Level.Alert">
  11265. <summary>
  11266. The <see cref="F:log4net.Core.Level.Alert"/> level designates very severe error events.
  11267. Take immediate action, alerts.
  11268. </summary>
  11269. </member>
  11270. <member name="F:log4net.Core.Level.Critical">
  11271. <summary>
  11272. The <see cref="F:log4net.Core.Level.Critical"/> level designates very severe error events.
  11273. Critical condition, critical.
  11274. </summary>
  11275. </member>
  11276. <member name="F:log4net.Core.Level.Severe">
  11277. <summary>
  11278. The <see cref="F:log4net.Core.Level.Severe"/> level designates very severe error events.
  11279. </summary>
  11280. </member>
  11281. <member name="F:log4net.Core.Level.Error">
  11282. <summary>
  11283. The <see cref="F:log4net.Core.Level.Error"/> level designates error events that might
  11284. still allow the application to continue running.
  11285. </summary>
  11286. </member>
  11287. <member name="F:log4net.Core.Level.Warn">
  11288. <summary>
  11289. The <see cref="F:log4net.Core.Level.Warn"/> level designates potentially harmful
  11290. situations.
  11291. </summary>
  11292. </member>
  11293. <member name="F:log4net.Core.Level.Notice">
  11294. <summary>
  11295. The <see cref="F:log4net.Core.Level.Notice"/> level designates informational messages
  11296. that highlight the progress of the application at the highest level.
  11297. </summary>
  11298. </member>
  11299. <member name="F:log4net.Core.Level.Info">
  11300. <summary>
  11301. The <see cref="F:log4net.Core.Level.Info"/> level designates informational messages that
  11302. highlight the progress of the application at coarse-grained level.
  11303. </summary>
  11304. </member>
  11305. <member name="F:log4net.Core.Level.Debug">
  11306. <summary>
  11307. The <see cref="F:log4net.Core.Level.Debug"/> level designates fine-grained informational
  11308. events that are most useful to debug an application.
  11309. </summary>
  11310. </member>
  11311. <member name="F:log4net.Core.Level.Fine">
  11312. <summary>
  11313. The <see cref="F:log4net.Core.Level.Fine"/> level designates fine-grained informational
  11314. events that are most useful to debug an application.
  11315. </summary>
  11316. </member>
  11317. <member name="F:log4net.Core.Level.Trace">
  11318. <summary>
  11319. The <see cref="F:log4net.Core.Level.Trace"/> level designates fine-grained informational
  11320. events that are most useful to debug an application.
  11321. </summary>
  11322. </member>
  11323. <member name="F:log4net.Core.Level.Finer">
  11324. <summary>
  11325. The <see cref="F:log4net.Core.Level.Finer"/> level designates fine-grained informational
  11326. events that are most useful to debug an application.
  11327. </summary>
  11328. </member>
  11329. <member name="F:log4net.Core.Level.Verbose">
  11330. <summary>
  11331. The <see cref="F:log4net.Core.Level.Verbose"/> level designates fine-grained informational
  11332. events that are most useful to debug an application.
  11333. </summary>
  11334. </member>
  11335. <member name="F:log4net.Core.Level.Finest">
  11336. <summary>
  11337. The <see cref="F:log4net.Core.Level.Finest"/> level designates fine-grained informational
  11338. events that are most useful to debug an application.
  11339. </summary>
  11340. </member>
  11341. <member name="F:log4net.Core.Level.All">
  11342. <summary>
  11343. The <see cref="F:log4net.Core.Level.All"/> level designates the lowest level possible.
  11344. </summary>
  11345. </member>
  11346. <member name="P:log4net.Core.Level.Name">
  11347. <summary>
  11348. Gets the name of this level.
  11349. </summary>
  11350. <value>
  11351. The name of this level.
  11352. </value>
  11353. <remarks>
  11354. <para>
  11355. Gets the name of this level.
  11356. </para>
  11357. </remarks>
  11358. </member>
  11359. <member name="P:log4net.Core.Level.Value">
  11360. <summary>
  11361. Gets the value of this level.
  11362. </summary>
  11363. <value>
  11364. The value of this level.
  11365. </value>
  11366. <remarks>
  11367. <para>
  11368. Gets the value of this level.
  11369. </para>
  11370. </remarks>
  11371. </member>
  11372. <member name="P:log4net.Core.Level.DisplayName">
  11373. <summary>
  11374. Gets the display name of this level.
  11375. </summary>
  11376. <value>
  11377. The display name of this level.
  11378. </value>
  11379. <remarks>
  11380. <para>
  11381. Gets the display name of this level.
  11382. </para>
  11383. </remarks>
  11384. </member>
  11385. <member name="T:log4net.Core.LevelCollection">
  11386. <summary>
  11387. A strongly-typed collection of <see cref="T:log4net.Core.Level"/> objects.
  11388. </summary>
  11389. <author>Nicko Cadell</author>
  11390. </member>
  11391. <member name="M:log4net.Core.LevelCollection.ReadOnly(log4net.Core.LevelCollection)">
  11392. <summary>
  11393. Creates a read-only wrapper for a <c>LevelCollection</c> instance.
  11394. </summary>
  11395. <param name="list">list to create a readonly wrapper arround</param>
  11396. <returns>
  11397. A <c>LevelCollection</c> wrapper that is read-only.
  11398. </returns>
  11399. </member>
  11400. <member name="M:log4net.Core.LevelCollection.#ctor">
  11401. <summary>
  11402. Initializes a new instance of the <c>LevelCollection</c> class
  11403. that is empty and has the default initial capacity.
  11404. </summary>
  11405. </member>
  11406. <member name="M:log4net.Core.LevelCollection.#ctor(System.Int32)">
  11407. <summary>
  11408. Initializes a new instance of the <c>LevelCollection</c> class
  11409. that has the specified initial capacity.
  11410. </summary>
  11411. <param name="capacity">
  11412. The number of elements that the new <c>LevelCollection</c> is initially capable of storing.
  11413. </param>
  11414. </member>
  11415. <member name="M:log4net.Core.LevelCollection.#ctor(log4net.Core.LevelCollection)">
  11416. <summary>
  11417. Initializes a new instance of the <c>LevelCollection</c> class
  11418. that contains elements copied from the specified <c>LevelCollection</c>.
  11419. </summary>
  11420. <param name="c">The <c>LevelCollection</c> whose elements are copied to the new collection.</param>
  11421. </member>
  11422. <member name="M:log4net.Core.LevelCollection.#ctor(log4net.Core.Level[])">
  11423. <summary>
  11424. Initializes a new instance of the <c>LevelCollection</c> class
  11425. that contains elements copied from the specified <see cref="T:log4net.Core.Level"/> array.
  11426. </summary>
  11427. <param name="a">The <see cref="T:log4net.Core.Level"/> array whose elements are copied to the new list.</param>
  11428. </member>
  11429. <member name="M:log4net.Core.LevelCollection.#ctor(System.Collections.ICollection)">
  11430. <summary>
  11431. Initializes a new instance of the <c>LevelCollection</c> class
  11432. that contains elements copied from the specified <see cref="T:log4net.Core.Level"/> collection.
  11433. </summary>
  11434. <param name="col">The <see cref="T:log4net.Core.Level"/> collection whose elements are copied to the new list.</param>
  11435. </member>
  11436. <member name="M:log4net.Core.LevelCollection.#ctor(log4net.Core.LevelCollection.Tag)">
  11437. <summary>
  11438. Allow subclasses to avoid our default constructors
  11439. </summary>
  11440. <param name="tag"></param>
  11441. </member>
  11442. <member name="M:log4net.Core.LevelCollection.CopyTo(log4net.Core.Level[])">
  11443. <summary>
  11444. Copies the entire <c>LevelCollection</c> to a one-dimensional
  11445. <see cref="T:log4net.Core.Level"/> array.
  11446. </summary>
  11447. <param name="array">The one-dimensional <see cref="T:log4net.Core.Level"/> array to copy to.</param>
  11448. </member>
  11449. <member name="M:log4net.Core.LevelCollection.CopyTo(log4net.Core.Level[],System.Int32)">
  11450. <summary>
  11451. Copies the entire <c>LevelCollection</c> to a one-dimensional
  11452. <see cref="T:log4net.Core.Level"/> array, starting at the specified index of the target array.
  11453. </summary>
  11454. <param name="array">The one-dimensional <see cref="T:log4net.Core.Level"/> array to copy to.</param>
  11455. <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param>
  11456. </member>
  11457. <member name="M:log4net.Core.LevelCollection.Add(log4net.Core.Level)">
  11458. <summary>
  11459. Adds a <see cref="T:log4net.Core.Level"/> to the end of the <c>LevelCollection</c>.
  11460. </summary>
  11461. <param name="item">The <see cref="T:log4net.Core.Level"/> to be added to the end of the <c>LevelCollection</c>.</param>
  11462. <returns>The index at which the value has been added.</returns>
  11463. </member>
  11464. <member name="M:log4net.Core.LevelCollection.Clear">
  11465. <summary>
  11466. Removes all elements from the <c>LevelCollection</c>.
  11467. </summary>
  11468. </member>
  11469. <member name="M:log4net.Core.LevelCollection.Clone">
  11470. <summary>
  11471. Creates a shallow copy of the <see cref="T:log4net.Core.LevelCollection"/>.
  11472. </summary>
  11473. <returns>A new <see cref="T:log4net.Core.LevelCollection"/> with a shallow copy of the collection data.</returns>
  11474. </member>
  11475. <member name="M:log4net.Core.LevelCollection.Contains(log4net.Core.Level)">
  11476. <summary>
  11477. Determines whether a given <see cref="T:log4net.Core.Level"/> is in the <c>LevelCollection</c>.
  11478. </summary>
  11479. <param name="item">The <see cref="T:log4net.Core.Level"/> to check for.</param>
  11480. <returns><c>true</c> if <paramref name="item"/> is found in the <c>LevelCollection</c>; otherwise, <c>false</c>.</returns>
  11481. </member>
  11482. <member name="M:log4net.Core.LevelCollection.IndexOf(log4net.Core.Level)">
  11483. <summary>
  11484. Returns the zero-based index of the first occurrence of a <see cref="T:log4net.Core.Level"/>
  11485. in the <c>LevelCollection</c>.
  11486. </summary>
  11487. <param name="item">The <see cref="T:log4net.Core.Level"/> to locate in the <c>LevelCollection</c>.</param>
  11488. <returns>
  11489. The zero-based index of the first occurrence of <paramref name="item"/>
  11490. in the entire <c>LevelCollection</c>, if found; otherwise, -1.
  11491. </returns>
  11492. </member>
  11493. <member name="M:log4net.Core.LevelCollection.Insert(System.Int32,log4net.Core.Level)">
  11494. <summary>
  11495. Inserts an element into the <c>LevelCollection</c> at the specified index.
  11496. </summary>
  11497. <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
  11498. <param name="item">The <see cref="T:log4net.Core.Level"/> to insert.</param>
  11499. <exception cref="T:System.ArgumentOutOfRangeException">
  11500. <para><paramref name="index"/> is less than zero</para>
  11501. <para>-or-</para>
  11502. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
  11503. </exception>
  11504. </member>
  11505. <member name="M:log4net.Core.LevelCollection.Remove(log4net.Core.Level)">
  11506. <summary>
  11507. Removes the first occurrence of a specific <see cref="T:log4net.Core.Level"/> from the <c>LevelCollection</c>.
  11508. </summary>
  11509. <param name="item">The <see cref="T:log4net.Core.Level"/> to remove from the <c>LevelCollection</c>.</param>
  11510. <exception cref="T:System.ArgumentException">
  11511. The specified <see cref="T:log4net.Core.Level"/> was not found in the <c>LevelCollection</c>.
  11512. </exception>
  11513. </member>
  11514. <member name="M:log4net.Core.LevelCollection.RemoveAt(System.Int32)">
  11515. <summary>
  11516. Removes the element at the specified index of the <c>LevelCollection</c>.
  11517. </summary>
  11518. <param name="index">The zero-based index of the element to remove.</param>
  11519. <exception cref="T:System.ArgumentOutOfRangeException">
  11520. <para><paramref name="index"/> is less than zero</para>
  11521. <para>-or-</para>
  11522. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
  11523. </exception>
  11524. </member>
  11525. <member name="M:log4net.Core.LevelCollection.GetEnumerator">
  11526. <summary>
  11527. Returns an enumerator that can iterate through the <c>LevelCollection</c>.
  11528. </summary>
  11529. <returns>An <see cref="T:log4net.Core.LevelCollection.Enumerator"/> for the entire <c>LevelCollection</c>.</returns>
  11530. </member>
  11531. <member name="M:log4net.Core.LevelCollection.AddRange(log4net.Core.LevelCollection)">
  11532. <summary>
  11533. Adds the elements of another <c>LevelCollection</c> to the current <c>LevelCollection</c>.
  11534. </summary>
  11535. <param name="x">The <c>LevelCollection</c> whose elements should be added to the end of the current <c>LevelCollection</c>.</param>
  11536. <returns>The new <see cref="P:log4net.Core.LevelCollection.Count"/> of the <c>LevelCollection</c>.</returns>
  11537. </member>
  11538. <member name="M:log4net.Core.LevelCollection.AddRange(log4net.Core.Level[])">
  11539. <summary>
  11540. Adds the elements of a <see cref="T:log4net.Core.Level"/> array to the current <c>LevelCollection</c>.
  11541. </summary>
  11542. <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>
  11543. <returns>The new <see cref="P:log4net.Core.LevelCollection.Count"/> of the <c>LevelCollection</c>.</returns>
  11544. </member>
  11545. <member name="M:log4net.Core.LevelCollection.AddRange(System.Collections.ICollection)">
  11546. <summary>
  11547. Adds the elements of a <see cref="T:log4net.Core.Level"/> collection to the current <c>LevelCollection</c>.
  11548. </summary>
  11549. <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>
  11550. <returns>The new <see cref="P:log4net.Core.LevelCollection.Count"/> of the <c>LevelCollection</c>.</returns>
  11551. </member>
  11552. <member name="M:log4net.Core.LevelCollection.TrimToSize">
  11553. <summary>
  11554. Sets the capacity to the actual number of elements.
  11555. </summary>
  11556. </member>
  11557. <member name="M:log4net.Core.LevelCollection.ValidateIndex(System.Int32)">
  11558. <exception cref="T:System.ArgumentOutOfRangeException">
  11559. <para><paramref name="i"/> is less than zero</para>
  11560. <para>-or-</para>
  11561. <para><paramref name="i"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
  11562. </exception>
  11563. </member>
  11564. <member name="M:log4net.Core.LevelCollection.ValidateIndex(System.Int32,System.Boolean)">
  11565. <exception cref="T:System.ArgumentOutOfRangeException">
  11566. <para><paramref name="i"/> is less than zero</para>
  11567. <para>-or-</para>
  11568. <para><paramref name="i"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
  11569. </exception>
  11570. </member>
  11571. <member name="P:log4net.Core.LevelCollection.Count">
  11572. <summary>
  11573. Gets the number of elements actually contained in the <c>LevelCollection</c>.
  11574. </summary>
  11575. </member>
  11576. <member name="P:log4net.Core.LevelCollection.IsSynchronized">
  11577. <summary>
  11578. Gets a value indicating whether access to the collection is synchronized (thread-safe).
  11579. </summary>
  11580. <value>true if access to the ICollection is synchronized (thread-safe); otherwise, false.</value>
  11581. </member>
  11582. <member name="P:log4net.Core.LevelCollection.SyncRoot">
  11583. <summary>
  11584. Gets an object that can be used to synchronize access to the collection.
  11585. </summary>
  11586. </member>
  11587. <member name="P:log4net.Core.LevelCollection.Item(System.Int32)">
  11588. <summary>
  11589. Gets or sets the <see cref="T:log4net.Core.Level"/> at the specified index.
  11590. </summary>
  11591. <param name="index">The zero-based index of the element to get or set.</param>
  11592. <exception cref="T:System.ArgumentOutOfRangeException">
  11593. <para><paramref name="index"/> is less than zero</para>
  11594. <para>-or-</para>
  11595. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
  11596. </exception>
  11597. </member>
  11598. <member name="P:log4net.Core.LevelCollection.IsFixedSize">
  11599. <summary>
  11600. Gets a value indicating whether the collection has a fixed size.
  11601. </summary>
  11602. <value>true if the collection has a fixed size; otherwise, false. The default is false</value>
  11603. </member>
  11604. <member name="P:log4net.Core.LevelCollection.IsReadOnly">
  11605. <summary>
  11606. Gets a value indicating whether the IList is read-only.
  11607. </summary>
  11608. <value>true if the collection is read-only; otherwise, false. The default is false</value>
  11609. </member>
  11610. <member name="P:log4net.Core.LevelCollection.Capacity">
  11611. <summary>
  11612. Gets or sets the number of elements the <c>LevelCollection</c> can contain.
  11613. </summary>
  11614. </member>
  11615. <member name="T:log4net.Core.LevelCollection.ILevelCollectionEnumerator">
  11616. <summary>
  11617. Supports type-safe iteration over a <see cref="T:log4net.Core.LevelCollection"/>.
  11618. </summary>
  11619. </member>
  11620. <member name="M:log4net.Core.LevelCollection.ILevelCollectionEnumerator.MoveNext">
  11621. <summary>
  11622. Advances the enumerator to the next element in the collection.
  11623. </summary>
  11624. <returns>
  11625. <c>true</c> if the enumerator was successfully advanced to the next element;
  11626. <c>false</c> if the enumerator has passed the end of the collection.
  11627. </returns>
  11628. <exception cref="T:System.InvalidOperationException">
  11629. The collection was modified after the enumerator was created.
  11630. </exception>
  11631. </member>
  11632. <member name="M:log4net.Core.LevelCollection.ILevelCollectionEnumerator.Reset">
  11633. <summary>
  11634. Sets the enumerator to its initial position, before the first element in the collection.
  11635. </summary>
  11636. </member>
  11637. <member name="P:log4net.Core.LevelCollection.ILevelCollectionEnumerator.Current">
  11638. <summary>
  11639. Gets the current element in the collection.
  11640. </summary>
  11641. </member>
  11642. <member name="T:log4net.Core.LevelCollection.Tag">
  11643. <summary>
  11644. Type visible only to our subclasses
  11645. Used to access protected constructor
  11646. </summary>
  11647. </member>
  11648. <member name="F:log4net.Core.LevelCollection.Tag.Default">
  11649. <summary>
  11650. A value
  11651. </summary>
  11652. </member>
  11653. <member name="T:log4net.Core.LevelCollection.Enumerator">
  11654. <summary>
  11655. Supports simple iteration over a <see cref="T:log4net.Core.LevelCollection"/>.
  11656. </summary>
  11657. </member>
  11658. <member name="M:log4net.Core.LevelCollection.Enumerator.#ctor(log4net.Core.LevelCollection)">
  11659. <summary>
  11660. Initializes a new instance of the <c>Enumerator</c> class.
  11661. </summary>
  11662. <param name="tc"></param>
  11663. </member>
  11664. <member name="M:log4net.Core.LevelCollection.Enumerator.MoveNext">
  11665. <summary>
  11666. Advances the enumerator to the next element in the collection.
  11667. </summary>
  11668. <returns>
  11669. <c>true</c> if the enumerator was successfully advanced to the next element;
  11670. <c>false</c> if the enumerator has passed the end of the collection.
  11671. </returns>
  11672. <exception cref="T:System.InvalidOperationException">
  11673. The collection was modified after the enumerator was created.
  11674. </exception>
  11675. </member>
  11676. <member name="M:log4net.Core.LevelCollection.Enumerator.Reset">
  11677. <summary>
  11678. Sets the enumerator to its initial position, before the first element in the collection.
  11679. </summary>
  11680. </member>
  11681. <member name="P:log4net.Core.LevelCollection.Enumerator.Current">
  11682. <summary>
  11683. Gets the current element in the collection.
  11684. </summary>
  11685. </member>
  11686. <member name="T:log4net.Core.LevelEvaluator">
  11687. <summary>
  11688. An evaluator that triggers at a threshold level
  11689. </summary>
  11690. <remarks>
  11691. <para>
  11692. This evaluator will trigger if the level of the event
  11693. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  11694. is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
  11695. level.
  11696. </para>
  11697. </remarks>
  11698. <author>Nicko Cadell</author>
  11699. </member>
  11700. <member name="F:log4net.Core.LevelEvaluator.m_threshold">
  11701. <summary>
  11702. The threshold for triggering
  11703. </summary>
  11704. </member>
  11705. <member name="M:log4net.Core.LevelEvaluator.#ctor">
  11706. <summary>
  11707. Create a new evaluator using the <see cref="F:log4net.Core.Level.Off"/> threshold.
  11708. </summary>
  11709. <remarks>
  11710. <para>
  11711. Create a new evaluator using the <see cref="F:log4net.Core.Level.Off"/> threshold.
  11712. </para>
  11713. <para>
  11714. This evaluator will trigger if the level of the event
  11715. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  11716. is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
  11717. level.
  11718. </para>
  11719. </remarks>
  11720. </member>
  11721. <member name="M:log4net.Core.LevelEvaluator.#ctor(log4net.Core.Level)">
  11722. <summary>
  11723. Create a new evaluator using the specified <see cref="T:log4net.Core.Level"/> threshold.
  11724. </summary>
  11725. <param name="threshold">the threshold to trigger at</param>
  11726. <remarks>
  11727. <para>
  11728. Create a new evaluator using the specified <see cref="T:log4net.Core.Level"/> threshold.
  11729. </para>
  11730. <para>
  11731. This evaluator will trigger if the level of the event
  11732. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  11733. is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
  11734. level.
  11735. </para>
  11736. </remarks>
  11737. </member>
  11738. <member name="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)">
  11739. <summary>
  11740. Is this <paramref name="loggingEvent"/> the triggering event?
  11741. </summary>
  11742. <param name="loggingEvent">The event to check</param>
  11743. <returns>This method returns <c>true</c>, if the event level
  11744. is equal or higher than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>.
  11745. Otherwise it returns <c>false</c></returns>
  11746. <remarks>
  11747. <para>
  11748. This evaluator will trigger if the level of the event
  11749. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  11750. is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
  11751. level.
  11752. </para>
  11753. </remarks>
  11754. </member>
  11755. <member name="P:log4net.Core.LevelEvaluator.Threshold">
  11756. <summary>
  11757. the threshold to trigger at
  11758. </summary>
  11759. <value>
  11760. The <see cref="T:log4net.Core.Level"/> that will cause this evaluator to trigger
  11761. </value>
  11762. <remarks>
  11763. <para>
  11764. This evaluator will trigger if the level of the event
  11765. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  11766. is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
  11767. level.
  11768. </para>
  11769. </remarks>
  11770. </member>
  11771. <member name="T:log4net.Core.LevelMap">
  11772. <summary>
  11773. Mapping between string name and Level object
  11774. </summary>
  11775. <remarks>
  11776. <para>
  11777. Mapping between string name and <see cref="T:log4net.Core.Level"/> object.
  11778. This mapping is held separately for each <see cref="T:log4net.Repository.ILoggerRepository"/>.
  11779. The level name is case insensitive.
  11780. </para>
  11781. </remarks>
  11782. <author>Nicko Cadell</author>
  11783. </member>
  11784. <member name="F:log4net.Core.LevelMap.m_mapName2Level">
  11785. <summary>
  11786. Mapping from level name to Level object. The
  11787. level name is case insensitive
  11788. </summary>
  11789. </member>
  11790. <member name="M:log4net.Core.LevelMap.#ctor">
  11791. <summary>
  11792. Construct the level map
  11793. </summary>
  11794. <remarks>
  11795. <para>
  11796. Construct the level map.
  11797. </para>
  11798. </remarks>
  11799. </member>
  11800. <member name="M:log4net.Core.LevelMap.Clear">
  11801. <summary>
  11802. Clear the internal maps of all levels
  11803. </summary>
  11804. <remarks>
  11805. <para>
  11806. Clear the internal maps of all levels
  11807. </para>
  11808. </remarks>
  11809. </member>
  11810. <member name="M:log4net.Core.LevelMap.Add(System.String,System.Int32)">
  11811. <summary>
  11812. Create a new Level and add it to the map
  11813. </summary>
  11814. <param name="name">the string to display for the Level</param>
  11815. <param name="value">the level value to give to the Level</param>
  11816. <remarks>
  11817. <para>
  11818. Create a new Level and add it to the map
  11819. </para>
  11820. </remarks>
  11821. <seealso cref="M:Add(string,int,string)"/>
  11822. </member>
  11823. <member name="M:log4net.Core.LevelMap.Add(System.String,System.Int32,System.String)">
  11824. <summary>
  11825. Create a new Level and add it to the map
  11826. </summary>
  11827. <param name="name">the string to display for the Level</param>
  11828. <param name="value">the level value to give to the Level</param>
  11829. <param name="displayName">the display name to give to the Level</param>
  11830. <remarks>
  11831. <para>
  11832. Create a new Level and add it to the map
  11833. </para>
  11834. </remarks>
  11835. </member>
  11836. <member name="M:log4net.Core.LevelMap.Add(log4net.Core.Level)">
  11837. <summary>
  11838. Add a Level to the map
  11839. </summary>
  11840. <param name="level">the Level to add</param>
  11841. <remarks>
  11842. <para>
  11843. Add a Level to the map
  11844. </para>
  11845. </remarks>
  11846. </member>
  11847. <member name="M:log4net.Core.LevelMap.LookupWithDefault(log4net.Core.Level)">
  11848. <summary>
  11849. Lookup a named level from the map
  11850. </summary>
  11851. <param name="defaultLevel">the name of the level to lookup is taken from this level.
  11852. If the level is not set on the map then this level is added</param>
  11853. <returns>the level in the map with the name specified</returns>
  11854. <remarks>
  11855. <para>
  11856. Lookup a named level from the map. The name of the level to lookup is taken
  11857. from the <see cref="P:log4net.Core.Level.Name"/> property of the <paramref name="defaultLevel"/>
  11858. argument.
  11859. </para>
  11860. <para>
  11861. If no level with the specified name is found then the
  11862. <paramref name="defaultLevel"/> argument is added to the level map
  11863. and returned.
  11864. </para>
  11865. </remarks>
  11866. </member>
  11867. <member name="P:log4net.Core.LevelMap.Item(System.String)">
  11868. <summary>
  11869. Lookup a <see cref="T:log4net.Core.Level"/> by name
  11870. </summary>
  11871. <param name="name">The name of the Level to lookup</param>
  11872. <returns>a Level from the map with the name specified</returns>
  11873. <remarks>
  11874. <para>
  11875. Returns the <see cref="T:log4net.Core.Level"/> from the
  11876. map with the name specified. If the no level is
  11877. found then <c>null</c> is returned.
  11878. </para>
  11879. </remarks>
  11880. </member>
  11881. <member name="P:log4net.Core.LevelMap.AllLevels">
  11882. <summary>
  11883. Return all possible levels as a list of Level objects.
  11884. </summary>
  11885. <returns>all possible levels as a list of Level objects</returns>
  11886. <remarks>
  11887. <para>
  11888. Return all possible levels as a list of Level objects.
  11889. </para>
  11890. </remarks>
  11891. </member>
  11892. <member name="T:log4net.Core.LocationInfo">
  11893. <summary>
  11894. The internal representation of caller location information.
  11895. </summary>
  11896. <remarks>
  11897. <para>
  11898. This class uses the <c>System.Diagnostics.StackTrace</c> class to generate
  11899. a call stack. The caller's information is then extracted from this stack.
  11900. </para>
  11901. <para>
  11902. The <c>System.Diagnostics.StackTrace</c> class is not supported on the
  11903. .NET Compact Framework 1.0 therefore caller location information is not
  11904. available on that framework.
  11905. </para>
  11906. <para>
  11907. The <c>System.Diagnostics.StackTrace</c> class has this to say about Release builds:
  11908. </para>
  11909. <para>
  11910. "StackTrace information will be most informative with Debug build configurations.
  11911. By default, Debug builds include debug symbols, while Release builds do not. The
  11912. debug symbols contain most of the file, method name, line number, and column
  11913. information used in constructing StackFrame and StackTrace objects. StackTrace
  11914. might not report as many method calls as expected, due to code transformations
  11915. that occur during optimization."
  11916. </para>
  11917. <para>
  11918. This means that in a Release build the caller information may be incomplete or may
  11919. not exist at all! Therefore caller location information cannot be relied upon in a Release build.
  11920. </para>
  11921. </remarks>
  11922. <author>Nicko Cadell</author>
  11923. <author>Gert Driesen</author>
  11924. </member>
  11925. <member name="F:log4net.Core.LocationInfo.NA">
  11926. <summary>
  11927. When location information is not available the constant
  11928. <c>NA</c> is returned. Current value of this string
  11929. constant is <b>?</b>.
  11930. </summary>
  11931. </member>
  11932. <member name="M:log4net.Core.LocationInfo.#ctor(System.Type)">
  11933. <summary>
  11934. Constructor
  11935. </summary>
  11936. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  11937. the stack boundary into the logging system for this call.</param>
  11938. <remarks>
  11939. <para>
  11940. Initializes a new instance of the <see cref="T:log4net.Core.LocationInfo"/>
  11941. class based on the current thread.
  11942. </para>
  11943. </remarks>
  11944. </member>
  11945. <member name="M:log4net.Core.LocationInfo.#ctor(System.String,System.String,System.String,System.String)">
  11946. <summary>
  11947. Constructor
  11948. </summary>
  11949. <param name="className">The fully qualified class name.</param>
  11950. <param name="methodName">The method name.</param>
  11951. <param name="fileName">The file name.</param>
  11952. <param name="lineNumber">The line number of the method within the file.</param>
  11953. <remarks>
  11954. <para>
  11955. Initializes a new instance of the <see cref="T:log4net.Core.LocationInfo"/>
  11956. class with the specified data.
  11957. </para>
  11958. </remarks>
  11959. </member>
  11960. <member name="F:log4net.Core.LocationInfo.declaringType">
  11961. <summary>
  11962. The fully qualified type of the LocationInfo class.
  11963. </summary>
  11964. <remarks>
  11965. Used by the internal logger to record the Type of the
  11966. log message.
  11967. </remarks>
  11968. </member>
  11969. <member name="P:log4net.Core.LocationInfo.ClassName">
  11970. <summary>
  11971. Gets the fully qualified class name of the caller making the logging
  11972. request.
  11973. </summary>
  11974. <value>
  11975. The fully qualified class name of the caller making the logging
  11976. request.
  11977. </value>
  11978. <remarks>
  11979. <para>
  11980. Gets the fully qualified class name of the caller making the logging
  11981. request.
  11982. </para>
  11983. </remarks>
  11984. </member>
  11985. <member name="P:log4net.Core.LocationInfo.FileName">
  11986. <summary>
  11987. Gets the file name of the caller.
  11988. </summary>
  11989. <value>
  11990. The file name of the caller.
  11991. </value>
  11992. <remarks>
  11993. <para>
  11994. Gets the file name of the caller.
  11995. </para>
  11996. </remarks>
  11997. </member>
  11998. <member name="P:log4net.Core.LocationInfo.LineNumber">
  11999. <summary>
  12000. Gets the line number of the caller.
  12001. </summary>
  12002. <value>
  12003. The line number of the caller.
  12004. </value>
  12005. <remarks>
  12006. <para>
  12007. Gets the line number of the caller.
  12008. </para>
  12009. </remarks>
  12010. </member>
  12011. <member name="P:log4net.Core.LocationInfo.MethodName">
  12012. <summary>
  12013. Gets the method name of the caller.
  12014. </summary>
  12015. <value>
  12016. The method name of the caller.
  12017. </value>
  12018. <remarks>
  12019. <para>
  12020. Gets the method name of the caller.
  12021. </para>
  12022. </remarks>
  12023. </member>
  12024. <member name="P:log4net.Core.LocationInfo.FullInfo">
  12025. <summary>
  12026. Gets all available caller information
  12027. </summary>
  12028. <value>
  12029. All available caller information, in the format
  12030. <c>fully.qualified.classname.of.caller.methodName(Filename:line)</c>
  12031. </value>
  12032. <remarks>
  12033. <para>
  12034. Gets all available caller information, in the format
  12035. <c>fully.qualified.classname.of.caller.methodName(Filename:line)</c>
  12036. </para>
  12037. </remarks>
  12038. </member>
  12039. <member name="P:log4net.Core.LocationInfo.StackFrames">
  12040. <summary>
  12041. Gets the stack frames from the stack trace of the caller making the log request
  12042. </summary>
  12043. </member>
  12044. <member name="T:log4net.Core.LoggerManager">
  12045. <summary>
  12046. Static manager that controls the creation of repositories
  12047. </summary>
  12048. <remarks>
  12049. <para>
  12050. Static manager that controls the creation of repositories
  12051. </para>
  12052. <para>
  12053. This class is used by the wrapper managers (e.g. <see cref="T:log4net.LogManager"/>)
  12054. to provide access to the <see cref="T:log4net.Core.ILogger"/> objects.
  12055. </para>
  12056. <para>
  12057. This manager also holds the <see cref="T:log4net.Core.IRepositorySelector"/> that is used to
  12058. lookup and create repositories. The selector can be set either programmatically using
  12059. the <see cref="P:log4net.Core.LoggerManager.RepositorySelector"/> property, or by setting the <c>log4net.RepositorySelector</c>
  12060. AppSetting in the applications config file to the fully qualified type name of the
  12061. selector to use.
  12062. </para>
  12063. </remarks>
  12064. <author>Nicko Cadell</author>
  12065. <author>Gert Driesen</author>
  12066. </member>
  12067. <member name="M:log4net.Core.LoggerManager.#ctor">
  12068. <summary>
  12069. Private constructor to prevent instances. Only static methods should be used.
  12070. </summary>
  12071. <remarks>
  12072. <para>
  12073. Private constructor to prevent instances. Only static methods should be used.
  12074. </para>
  12075. </remarks>
  12076. </member>
  12077. <member name="M:log4net.Core.LoggerManager.#cctor">
  12078. <summary>
  12079. Hook the shutdown event
  12080. </summary>
  12081. <remarks>
  12082. <para>
  12083. On the full .NET runtime, the static constructor hooks up the
  12084. <c>AppDomain.ProcessExit</c> and <c>AppDomain.DomainUnload</c>> events.
  12085. These are used to shutdown the log4net system as the application exits.
  12086. </para>
  12087. </remarks>
  12088. </member>
  12089. <member name="M:log4net.Core.LoggerManager.RegisterAppDomainEvents">
  12090. <summary>
  12091. Register for ProcessExit and DomainUnload events on the AppDomain
  12092. </summary>
  12093. <remarks>
  12094. <para>
  12095. This needs to be in a separate method because the events make
  12096. a LinkDemand for the ControlAppDomain SecurityPermission. Because
  12097. this is a LinkDemand it is demanded at JIT time. Therefore we cannot
  12098. catch the exception in the method itself, we have to catch it in the
  12099. caller.
  12100. </para>
  12101. </remarks>
  12102. </member>
  12103. <member name="M:log4net.Core.LoggerManager.GetLoggerRepository(System.String)">
  12104. <summary>
  12105. Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  12106. </summary>
  12107. <param name="repository">the repository to lookup in</param>
  12108. <returns>Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance</returns>
  12109. <remarks>
  12110. <para>
  12111. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  12112. by the <paramref name="repository"/> argument.
  12113. </para>
  12114. </remarks>
  12115. </member>
  12116. <member name="M:log4net.Core.LoggerManager.GetLoggerRepository(System.Reflection.Assembly)">
  12117. <summary>
  12118. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  12119. </summary>
  12120. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  12121. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
  12122. </member>
  12123. <member name="M:log4net.Core.LoggerManager.GetRepository(System.String)">
  12124. <summary>
  12125. Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  12126. </summary>
  12127. <param name="repository">the repository to lookup in</param>
  12128. <returns>Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance</returns>
  12129. <remarks>
  12130. <para>
  12131. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  12132. by the <paramref name="repository"/> argument.
  12133. </para>
  12134. </remarks>
  12135. </member>
  12136. <member name="M:log4net.Core.LoggerManager.GetRepository(System.Reflection.Assembly)">
  12137. <summary>
  12138. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  12139. </summary>
  12140. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  12141. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
  12142. <remarks>
  12143. <para>
  12144. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  12145. </para>
  12146. </remarks>
  12147. </member>
  12148. <member name="M:log4net.Core.LoggerManager.Exists(System.String,System.String)">
  12149. <summary>
  12150. Returns the named logger if it exists.
  12151. </summary>
  12152. <param name="repository">The repository to lookup in.</param>
  12153. <param name="name">The fully qualified logger name to look for.</param>
  12154. <returns>
  12155. The logger found, or <c>null</c> if the named logger does not exist in the
  12156. specified repository.
  12157. </returns>
  12158. <remarks>
  12159. <para>
  12160. If the named logger exists (in the specified repository) then it
  12161. returns a reference to the logger, otherwise it returns
  12162. <c>null</c>.
  12163. </para>
  12164. </remarks>
  12165. </member>
  12166. <member name="M:log4net.Core.LoggerManager.Exists(System.Reflection.Assembly,System.String)">
  12167. <summary>
  12168. Returns the named logger if it exists.
  12169. </summary>
  12170. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  12171. <param name="name">The fully qualified logger name to look for.</param>
  12172. <returns>
  12173. The logger found, or <c>null</c> if the named logger does not exist in the
  12174. specified assembly's repository.
  12175. </returns>
  12176. <remarks>
  12177. <para>
  12178. If the named logger exists (in the specified assembly's repository) then it
  12179. returns a reference to the logger, otherwise it returns
  12180. <c>null</c>.
  12181. </para>
  12182. </remarks>
  12183. </member>
  12184. <member name="M:log4net.Core.LoggerManager.GetCurrentLoggers(System.String)">
  12185. <summary>
  12186. Returns all the currently defined loggers in the specified repository.
  12187. </summary>
  12188. <param name="repository">The repository to lookup in.</param>
  12189. <returns>All the defined loggers.</returns>
  12190. <remarks>
  12191. <para>
  12192. The root logger is <b>not</b> included in the returned array.
  12193. </para>
  12194. </remarks>
  12195. </member>
  12196. <member name="M:log4net.Core.LoggerManager.GetCurrentLoggers(System.Reflection.Assembly)">
  12197. <summary>
  12198. Returns all the currently defined loggers in the specified assembly's repository.
  12199. </summary>
  12200. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  12201. <returns>All the defined loggers.</returns>
  12202. <remarks>
  12203. <para>
  12204. The root logger is <b>not</b> included in the returned array.
  12205. </para>
  12206. </remarks>
  12207. </member>
  12208. <member name="M:log4net.Core.LoggerManager.GetLogger(System.String,System.String)">
  12209. <summary>
  12210. Retrieves or creates a named logger.
  12211. </summary>
  12212. <param name="repository">The repository to lookup in.</param>
  12213. <param name="name">The name of the logger to retrieve.</param>
  12214. <returns>The logger with the name specified.</returns>
  12215. <remarks>
  12216. <para>
  12217. Retrieves a logger named as the <paramref name="name"/>
  12218. parameter. If the named logger already exists, then the
  12219. existing instance will be returned. Otherwise, a new instance is
  12220. created.
  12221. </para>
  12222. <para>
  12223. By default, loggers do not have a set level but inherit
  12224. it from the hierarchy. This is one of the central features of
  12225. log4net.
  12226. </para>
  12227. </remarks>
  12228. </member>
  12229. <member name="M:log4net.Core.LoggerManager.GetLogger(System.Reflection.Assembly,System.String)">
  12230. <summary>
  12231. Retrieves or creates a named logger.
  12232. </summary>
  12233. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  12234. <param name="name">The name of the logger to retrieve.</param>
  12235. <returns>The logger with the name specified.</returns>
  12236. <remarks>
  12237. <para>
  12238. Retrieves a logger named as the <paramref name="name"/>
  12239. parameter. If the named logger already exists, then the
  12240. existing instance will be returned. Otherwise, a new instance is
  12241. created.
  12242. </para>
  12243. <para>
  12244. By default, loggers do not have a set level but inherit
  12245. it from the hierarchy. This is one of the central features of
  12246. log4net.
  12247. </para>
  12248. </remarks>
  12249. </member>
  12250. <member name="M:log4net.Core.LoggerManager.GetLogger(System.String,System.Type)">
  12251. <summary>
  12252. Shorthand for <see cref="M:LogManager.GetLogger(string)"/>.
  12253. </summary>
  12254. <param name="repository">The repository to lookup in.</param>
  12255. <param name="type">The <paramref name="type"/> of which the fullname will be used as the name of the logger to retrieve.</param>
  12256. <returns>The logger with the name specified.</returns>
  12257. <remarks>
  12258. <para>
  12259. Gets the logger for the fully qualified name of the type specified.
  12260. </para>
  12261. </remarks>
  12262. </member>
  12263. <member name="M:log4net.Core.LoggerManager.GetLogger(System.Reflection.Assembly,System.Type)">
  12264. <summary>
  12265. Shorthand for <see cref="M:LogManager.GetLogger(string)"/>.
  12266. </summary>
  12267. <param name="repositoryAssembly">the assembly to use to lookup the repository</param>
  12268. <param name="type">The <paramref name="type"/> of which the fullname will be used as the name of the logger to retrieve.</param>
  12269. <returns>The logger with the name specified.</returns>
  12270. <remarks>
  12271. <para>
  12272. Gets the logger for the fully qualified name of the type specified.
  12273. </para>
  12274. </remarks>
  12275. </member>
  12276. <member name="M:log4net.Core.LoggerManager.Shutdown">
  12277. <summary>
  12278. Shuts down the log4net system.
  12279. </summary>
  12280. <remarks>
  12281. <para>
  12282. Calling this method will <b>safely</b> close and remove all
  12283. appenders in all the loggers including root contained in all the
  12284. default repositories.
  12285. </para>
  12286. <para>
  12287. Some appenders need to be closed before the application exists.
  12288. Otherwise, pending logging events might be lost.
  12289. </para>
  12290. <para>
  12291. The <c>shutdown</c> method is careful to close nested
  12292. appenders before closing regular appenders. This is allows
  12293. configurations where a regular appender is attached to a logger
  12294. and again to a nested appender.
  12295. </para>
  12296. </remarks>
  12297. </member>
  12298. <member name="M:log4net.Core.LoggerManager.ShutdownRepository(System.String)">
  12299. <summary>
  12300. Shuts down the repository for the repository specified.
  12301. </summary>
  12302. <param name="repository">The repository to shutdown.</param>
  12303. <remarks>
  12304. <para>
  12305. Calling this method will <b>safely</b> close and remove all
  12306. appenders in all the loggers including root contained in the
  12307. repository for the <paramref name="repository"/> specified.
  12308. </para>
  12309. <para>
  12310. Some appenders need to be closed before the application exists.
  12311. Otherwise, pending logging events might be lost.
  12312. </para>
  12313. <para>
  12314. The <c>shutdown</c> method is careful to close nested
  12315. appenders before closing regular appenders. This is allows
  12316. configurations where a regular appender is attached to a logger
  12317. and again to a nested appender.
  12318. </para>
  12319. </remarks>
  12320. </member>
  12321. <member name="M:log4net.Core.LoggerManager.ShutdownRepository(System.Reflection.Assembly)">
  12322. <summary>
  12323. Shuts down the repository for the repository specified.
  12324. </summary>
  12325. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  12326. <remarks>
  12327. <para>
  12328. Calling this method will <b>safely</b> close and remove all
  12329. appenders in all the loggers including root contained in the
  12330. repository for the repository. The repository is looked up using
  12331. the <paramref name="repositoryAssembly"/> specified.
  12332. </para>
  12333. <para>
  12334. Some appenders need to be closed before the application exists.
  12335. Otherwise, pending logging events might be lost.
  12336. </para>
  12337. <para>
  12338. The <c>shutdown</c> method is careful to close nested
  12339. appenders before closing regular appenders. This is allows
  12340. configurations where a regular appender is attached to a logger
  12341. and again to a nested appender.
  12342. </para>
  12343. </remarks>
  12344. </member>
  12345. <member name="M:log4net.Core.LoggerManager.ResetConfiguration(System.String)">
  12346. <summary>
  12347. Resets all values contained in this repository instance to their defaults.
  12348. </summary>
  12349. <param name="repository">The repository to reset.</param>
  12350. <remarks>
  12351. <para>
  12352. Resets all values contained in the repository instance to their
  12353. defaults. This removes all appenders from all loggers, sets
  12354. the level of all non-root loggers to <c>null</c>,
  12355. sets their additivity flag to <c>true</c> and sets the level
  12356. of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
  12357. message disabling is set its default "off" value.
  12358. </para>
  12359. </remarks>
  12360. </member>
  12361. <member name="M:log4net.Core.LoggerManager.ResetConfiguration(System.Reflection.Assembly)">
  12362. <summary>
  12363. Resets all values contained in this repository instance to their defaults.
  12364. </summary>
  12365. <param name="repositoryAssembly">The assembly to use to lookup the repository to reset.</param>
  12366. <remarks>
  12367. <para>
  12368. Resets all values contained in the repository instance to their
  12369. defaults. This removes all appenders from all loggers, sets
  12370. the level of all non-root loggers to <c>null</c>,
  12371. sets their additivity flag to <c>true</c> and sets the level
  12372. of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
  12373. message disabling is set its default "off" value.
  12374. </para>
  12375. </remarks>
  12376. </member>
  12377. <member name="M:log4net.Core.LoggerManager.CreateDomain(System.String)">
  12378. <summary>
  12379. Creates a repository with the specified name.
  12380. </summary>
  12381. <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
  12382. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  12383. <remarks>
  12384. <para>
  12385. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  12386. </para>
  12387. <para>
  12388. Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
  12389. <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
  12390. </para>
  12391. <para>
  12392. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  12393. An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
  12394. </para>
  12395. </remarks>
  12396. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  12397. </member>
  12398. <member name="M:log4net.Core.LoggerManager.CreateRepository(System.String)">
  12399. <summary>
  12400. Creates a repository with the specified name.
  12401. </summary>
  12402. <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
  12403. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  12404. <remarks>
  12405. <para>
  12406. Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
  12407. <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
  12408. </para>
  12409. <para>
  12410. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  12411. An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
  12412. </para>
  12413. </remarks>
  12414. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  12415. </member>
  12416. <member name="M:log4net.Core.LoggerManager.CreateDomain(System.String,System.Type)">
  12417. <summary>
  12418. Creates a repository with the specified name and repository type.
  12419. </summary>
  12420. <param name="repository">The name of the repository, this must be unique to the repository.</param>
  12421. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  12422. and has a no arg constructor. An instance of this type will be created to act
  12423. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  12424. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  12425. <remarks>
  12426. <para>
  12427. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  12428. </para>
  12429. <para>
  12430. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  12431. An Exception will be thrown if the repository already exists.
  12432. </para>
  12433. </remarks>
  12434. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  12435. </member>
  12436. <member name="M:log4net.Core.LoggerManager.CreateRepository(System.String,System.Type)">
  12437. <summary>
  12438. Creates a repository with the specified name and repository type.
  12439. </summary>
  12440. <param name="repository">The name of the repository, this must be unique to the repository.</param>
  12441. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  12442. and has a no arg constructor. An instance of this type will be created to act
  12443. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  12444. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  12445. <remarks>
  12446. <para>
  12447. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  12448. An Exception will be thrown if the repository already exists.
  12449. </para>
  12450. </remarks>
  12451. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  12452. </member>
  12453. <member name="M:log4net.Core.LoggerManager.CreateDomain(System.Reflection.Assembly,System.Type)">
  12454. <summary>
  12455. Creates a repository for the specified assembly and repository type.
  12456. </summary>
  12457. <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
  12458. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  12459. and has a no arg constructor. An instance of this type will be created to act
  12460. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  12461. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  12462. <remarks>
  12463. <para>
  12464. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  12465. </para>
  12466. <para>
  12467. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  12468. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  12469. same assembly specified will return the same repository instance.
  12470. </para>
  12471. </remarks>
  12472. </member>
  12473. <member name="M:log4net.Core.LoggerManager.CreateRepository(System.Reflection.Assembly,System.Type)">
  12474. <summary>
  12475. Creates a repository for the specified assembly and repository type.
  12476. </summary>
  12477. <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
  12478. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  12479. and has a no arg constructor. An instance of this type will be created to act
  12480. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  12481. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  12482. <remarks>
  12483. <para>
  12484. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  12485. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  12486. same assembly specified will return the same repository instance.
  12487. </para>
  12488. </remarks>
  12489. </member>
  12490. <member name="M:log4net.Core.LoggerManager.GetAllRepositories">
  12491. <summary>
  12492. Gets an array of all currently defined repositories.
  12493. </summary>
  12494. <returns>An array of all the known <see cref="T:log4net.Repository.ILoggerRepository"/> objects.</returns>
  12495. <remarks>
  12496. <para>
  12497. Gets an array of all currently defined repositories.
  12498. </para>
  12499. </remarks>
  12500. </member>
  12501. <member name="M:log4net.Core.LoggerManager.GetVersionInfo">
  12502. <summary>
  12503. Internal method to get pertinent version info.
  12504. </summary>
  12505. <returns>A string of version info.</returns>
  12506. </member>
  12507. <member name="M:log4net.Core.LoggerManager.OnDomainUnload(System.Object,System.EventArgs)">
  12508. <summary>
  12509. Called when the <see cref="E:System.AppDomain.DomainUnload"/> event fires
  12510. </summary>
  12511. <param name="sender">the <see cref="T:System.AppDomain"/> that is exiting</param>
  12512. <param name="e">null</param>
  12513. <remarks>
  12514. <para>
  12515. Called when the <see cref="E:System.AppDomain.DomainUnload"/> event fires.
  12516. </para>
  12517. <para>
  12518. When the event is triggered the log4net system is <see cref="M:Shutdown()"/>.
  12519. </para>
  12520. </remarks>
  12521. </member>
  12522. <member name="M:log4net.Core.LoggerManager.OnProcessExit(System.Object,System.EventArgs)">
  12523. <summary>
  12524. Called when the <see cref="E:System.AppDomain.ProcessExit"/> event fires
  12525. </summary>
  12526. <param name="sender">the <see cref="T:System.AppDomain"/> that is exiting</param>
  12527. <param name="e">null</param>
  12528. <remarks>
  12529. <para>
  12530. Called when the <see cref="E:System.AppDomain.ProcessExit"/> event fires.
  12531. </para>
  12532. <para>
  12533. When the event is triggered the log4net system is <see cref="M:Shutdown()"/>.
  12534. </para>
  12535. </remarks>
  12536. </member>
  12537. <member name="F:log4net.Core.LoggerManager.declaringType">
  12538. <summary>
  12539. The fully qualified type of the LoggerManager class.
  12540. </summary>
  12541. <remarks>
  12542. Used by the internal logger to record the Type of the
  12543. log message.
  12544. </remarks>
  12545. </member>
  12546. <member name="F:log4net.Core.LoggerManager.s_repositorySelector">
  12547. <summary>
  12548. Initialize the default repository selector
  12549. </summary>
  12550. </member>
  12551. <member name="P:log4net.Core.LoggerManager.RepositorySelector">
  12552. <summary>
  12553. Gets or sets the repository selector used by the <see cref="T:log4net.LogManager"/>.
  12554. </summary>
  12555. <value>
  12556. The repository selector used by the <see cref="T:log4net.LogManager"/>.
  12557. </value>
  12558. <remarks>
  12559. <para>
  12560. The repository selector (<see cref="T:log4net.Core.IRepositorySelector"/>) is used by
  12561. the <see cref="T:log4net.LogManager"/> to create and select repositories
  12562. (<see cref="T:log4net.Repository.ILoggerRepository"/>).
  12563. </para>
  12564. <para>
  12565. The caller to <see cref="T:log4net.LogManager"/> supplies either a string name
  12566. or an assembly (if not supplied the assembly is inferred using
  12567. <see cref="M:Assembly.GetCallingAssembly()"/>).
  12568. </para>
  12569. <para>
  12570. This context is used by the selector to lookup a specific repository.
  12571. </para>
  12572. <para>
  12573. For the full .NET Framework, the default repository is <c>DefaultRepositorySelector</c>;
  12574. for the .NET Compact Framework <c>CompactRepositorySelector</c> is the default
  12575. repository.
  12576. </para>
  12577. </remarks>
  12578. </member>
  12579. <member name="T:log4net.Core.LoggerWrapperImpl">
  12580. <summary>
  12581. Implementation of the <see cref="T:log4net.Core.ILoggerWrapper"/> interface.
  12582. </summary>
  12583. <remarks>
  12584. <para>
  12585. This class should be used as the base for all wrapper implementations.
  12586. </para>
  12587. </remarks>
  12588. <author>Nicko Cadell</author>
  12589. <author>Gert Driesen</author>
  12590. </member>
  12591. <member name="M:log4net.Core.LoggerWrapperImpl.#ctor(log4net.Core.ILogger)">
  12592. <summary>
  12593. Constructs a new wrapper for the specified logger.
  12594. </summary>
  12595. <param name="logger">The logger to wrap.</param>
  12596. <remarks>
  12597. <para>
  12598. Constructs a new wrapper for the specified logger.
  12599. </para>
  12600. </remarks>
  12601. </member>
  12602. <member name="F:log4net.Core.LoggerWrapperImpl.m_logger">
  12603. <summary>
  12604. The logger that this object is wrapping
  12605. </summary>
  12606. </member>
  12607. <member name="P:log4net.Core.LoggerWrapperImpl.Logger">
  12608. <summary>
  12609. Gets the implementation behind this wrapper object.
  12610. </summary>
  12611. <value>
  12612. The <see cref="T:log4net.Core.ILogger"/> object that this object is implementing.
  12613. </value>
  12614. <remarks>
  12615. <para>
  12616. The <c>Logger</c> object may not be the same object as this object
  12617. because of logger decorators.
  12618. </para>
  12619. <para>
  12620. This gets the actual underlying objects that is used to process
  12621. the log events.
  12622. </para>
  12623. </remarks>
  12624. </member>
  12625. <member name="T:log4net.Core.LoggingEventData">
  12626. <summary>
  12627. Portable data structure used by <see cref="T:log4net.Core.LoggingEvent"/>
  12628. </summary>
  12629. <remarks>
  12630. <para>
  12631. Portable data structure used by <see cref="T:log4net.Core.LoggingEvent"/>
  12632. </para>
  12633. </remarks>
  12634. <author>Nicko Cadell</author>
  12635. </member>
  12636. <member name="F:log4net.Core.LoggingEventData.LoggerName">
  12637. <summary>
  12638. The logger name.
  12639. </summary>
  12640. <remarks>
  12641. <para>
  12642. The logger name.
  12643. </para>
  12644. </remarks>
  12645. </member>
  12646. <member name="F:log4net.Core.LoggingEventData.Level">
  12647. <summary>
  12648. Level of logging event.
  12649. </summary>
  12650. <remarks>
  12651. <para>
  12652. Level of logging event. Level cannot be Serializable
  12653. because it is a flyweight. Due to its special serialization it
  12654. cannot be declared final either.
  12655. </para>
  12656. </remarks>
  12657. </member>
  12658. <member name="F:log4net.Core.LoggingEventData.Message">
  12659. <summary>
  12660. The application supplied message.
  12661. </summary>
  12662. <remarks>
  12663. <para>
  12664. The application supplied message of logging event.
  12665. </para>
  12666. </remarks>
  12667. </member>
  12668. <member name="F:log4net.Core.LoggingEventData.ThreadName">
  12669. <summary>
  12670. The name of thread
  12671. </summary>
  12672. <remarks>
  12673. <para>
  12674. The name of thread in which this logging event was generated
  12675. </para>
  12676. </remarks>
  12677. </member>
  12678. <member name="F:log4net.Core.LoggingEventData.TimeStamp">
  12679. <summary>
  12680. The time the event was logged
  12681. </summary>
  12682. <remarks>
  12683. <para>
  12684. The TimeStamp is stored in the local time zone for this computer.
  12685. </para>
  12686. </remarks>
  12687. </member>
  12688. <member name="F:log4net.Core.LoggingEventData.LocationInfo">
  12689. <summary>
  12690. Location information for the caller.
  12691. </summary>
  12692. <remarks>
  12693. <para>
  12694. Location information for the caller.
  12695. </para>
  12696. </remarks>
  12697. </member>
  12698. <member name="F:log4net.Core.LoggingEventData.UserName">
  12699. <summary>
  12700. String representation of the user
  12701. </summary>
  12702. <remarks>
  12703. <para>
  12704. String representation of the user's windows name,
  12705. like DOMAIN\username
  12706. </para>
  12707. </remarks>
  12708. </member>
  12709. <member name="F:log4net.Core.LoggingEventData.Identity">
  12710. <summary>
  12711. String representation of the identity.
  12712. </summary>
  12713. <remarks>
  12714. <para>
  12715. String representation of the current thread's principal identity.
  12716. </para>
  12717. </remarks>
  12718. </member>
  12719. <member name="F:log4net.Core.LoggingEventData.ExceptionString">
  12720. <summary>
  12721. The string representation of the exception
  12722. </summary>
  12723. <remarks>
  12724. <para>
  12725. The string representation of the exception
  12726. </para>
  12727. </remarks>
  12728. </member>
  12729. <member name="F:log4net.Core.LoggingEventData.Domain">
  12730. <summary>
  12731. String representation of the AppDomain.
  12732. </summary>
  12733. <remarks>
  12734. <para>
  12735. String representation of the AppDomain.
  12736. </para>
  12737. </remarks>
  12738. </member>
  12739. <member name="F:log4net.Core.LoggingEventData.Properties">
  12740. <summary>
  12741. Additional event specific properties
  12742. </summary>
  12743. <remarks>
  12744. <para>
  12745. A logger or an appender may attach additional
  12746. properties to specific events. These properties
  12747. have a string key and an object value.
  12748. </para>
  12749. </remarks>
  12750. </member>
  12751. <member name="T:log4net.Core.FixFlags">
  12752. <summary>
  12753. Flags passed to the <see cref="P:log4net.Core.LoggingEvent.Fix"/> property
  12754. </summary>
  12755. <remarks>
  12756. <para>
  12757. Flags passed to the <see cref="P:log4net.Core.LoggingEvent.Fix"/> property
  12758. </para>
  12759. </remarks>
  12760. <author>Nicko Cadell</author>
  12761. </member>
  12762. <member name="F:log4net.Core.FixFlags.Mdc">
  12763. <summary>
  12764. Fix the MDC
  12765. </summary>
  12766. </member>
  12767. <member name="F:log4net.Core.FixFlags.Ndc">
  12768. <summary>
  12769. Fix the NDC
  12770. </summary>
  12771. </member>
  12772. <member name="F:log4net.Core.FixFlags.Message">
  12773. <summary>
  12774. Fix the rendered message
  12775. </summary>
  12776. </member>
  12777. <member name="F:log4net.Core.FixFlags.ThreadName">
  12778. <summary>
  12779. Fix the thread name
  12780. </summary>
  12781. </member>
  12782. <member name="F:log4net.Core.FixFlags.LocationInfo">
  12783. <summary>
  12784. Fix the callers location information
  12785. </summary>
  12786. <remarks>
  12787. CAUTION: Very slow to generate
  12788. </remarks>
  12789. </member>
  12790. <member name="F:log4net.Core.FixFlags.UserName">
  12791. <summary>
  12792. Fix the callers windows user name
  12793. </summary>
  12794. <remarks>
  12795. CAUTION: Slow to generate
  12796. </remarks>
  12797. </member>
  12798. <member name="F:log4net.Core.FixFlags.Domain">
  12799. <summary>
  12800. Fix the domain friendly name
  12801. </summary>
  12802. </member>
  12803. <member name="F:log4net.Core.FixFlags.Identity">
  12804. <summary>
  12805. Fix the callers principal name
  12806. </summary>
  12807. <remarks>
  12808. CAUTION: May be slow to generate
  12809. </remarks>
  12810. </member>
  12811. <member name="F:log4net.Core.FixFlags.Exception">
  12812. <summary>
  12813. Fix the exception text
  12814. </summary>
  12815. </member>
  12816. <member name="F:log4net.Core.FixFlags.Properties">
  12817. <summary>
  12818. Fix the event properties. Active properties must implement <see cref="T:log4net.Core.IFixingRequired"/> in order to be eligible for fixing.
  12819. </summary>
  12820. </member>
  12821. <member name="F:log4net.Core.FixFlags.None">
  12822. <summary>
  12823. No fields fixed
  12824. </summary>
  12825. </member>
  12826. <member name="F:log4net.Core.FixFlags.All">
  12827. <summary>
  12828. All fields fixed
  12829. </summary>
  12830. </member>
  12831. <member name="F:log4net.Core.FixFlags.Partial">
  12832. <summary>
  12833. Partial fields fixed
  12834. </summary>
  12835. <remarks>
  12836. <para>
  12837. This set of partial fields gives good performance. The following fields are fixed:
  12838. </para>
  12839. <list type="bullet">
  12840. <item><description><see cref="F:log4net.Core.FixFlags.Message"/></description></item>
  12841. <item><description><see cref="F:log4net.Core.FixFlags.ThreadName"/></description></item>
  12842. <item><description><see cref="F:log4net.Core.FixFlags.Exception"/></description></item>
  12843. <item><description><see cref="F:log4net.Core.FixFlags.Domain"/></description></item>
  12844. <item><description><see cref="F:log4net.Core.FixFlags.Properties"/></description></item>
  12845. </list>
  12846. </remarks>
  12847. </member>
  12848. <member name="T:log4net.Core.LoggingEvent">
  12849. <summary>
  12850. The internal representation of logging events.
  12851. </summary>
  12852. <remarks>
  12853. <para>
  12854. When an affirmative decision is made to log then a
  12855. <see cref="T:log4net.Core.LoggingEvent"/> instance is created. This instance
  12856. is passed around to the different log4net components.
  12857. </para>
  12858. <para>
  12859. This class is of concern to those wishing to extend log4net.
  12860. </para>
  12861. <para>
  12862. Some of the values in instances of <see cref="T:log4net.Core.LoggingEvent"/>
  12863. are considered volatile, that is the values are correct at the
  12864. time the event is delivered to appenders, but will not be consistent
  12865. at any time afterwards. If an event is to be stored and then processed
  12866. at a later time these volatile values must be fixed by calling
  12867. <see cref="M:FixVolatileData()"/>. There is a performance penalty
  12868. for incurred by calling <see cref="M:FixVolatileData()"/> but it
  12869. is essential to maintaining data consistency.
  12870. </para>
  12871. </remarks>
  12872. <author>Nicko Cadell</author>
  12873. <author>Gert Driesen</author>
  12874. <author>Douglas de la Torre</author>
  12875. <author>Daniel Cazzulino</author>
  12876. </member>
  12877. <member name="F:log4net.Core.LoggingEvent.HostNameProperty">
  12878. <summary>
  12879. The key into the Properties map for the host name value.
  12880. </summary>
  12881. </member>
  12882. <member name="F:log4net.Core.LoggingEvent.IdentityProperty">
  12883. <summary>
  12884. The key into the Properties map for the thread identity value.
  12885. </summary>
  12886. </member>
  12887. <member name="F:log4net.Core.LoggingEvent.UserNameProperty">
  12888. <summary>
  12889. The key into the Properties map for the user name value.
  12890. </summary>
  12891. </member>
  12892. <member name="M:log4net.Core.LoggingEvent.#ctor(System.Type,log4net.Repository.ILoggerRepository,System.String,log4net.Core.Level,System.Object,System.Exception)">
  12893. <summary>
  12894. Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
  12895. from the supplied parameters.
  12896. </summary>
  12897. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  12898. the stack boundary into the logging system for this call.</param>
  12899. <param name="repository">The repository this event is logged in.</param>
  12900. <param name="loggerName">The name of the logger of this event.</param>
  12901. <param name="level">The level of this event.</param>
  12902. <param name="message">The message of this event.</param>
  12903. <param name="exception">The exception for this event.</param>
  12904. <remarks>
  12905. <para>
  12906. Except <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/>, <see cref="P:log4net.Core.LoggingEvent.Level"/> and <see cref="P:log4net.Core.LoggingEvent.LoggerName"/>,
  12907. all fields of <c>LoggingEvent</c> are filled when actually needed. Call
  12908. <see cref="M:FixVolatileData()"/> to cache all data locally
  12909. to prevent inconsistencies.
  12910. </para>
  12911. <para>This method is called by the log4net framework
  12912. to create a logging event.
  12913. </para>
  12914. </remarks>
  12915. </member>
  12916. <member name="M:log4net.Core.LoggingEvent.#ctor(System.Type,log4net.Repository.ILoggerRepository,log4net.Core.LoggingEventData,log4net.Core.FixFlags)">
  12917. <summary>
  12918. Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
  12919. using specific data.
  12920. </summary>
  12921. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  12922. the stack boundary into the logging system for this call.</param>
  12923. <param name="repository">The repository this event is logged in.</param>
  12924. <param name="data">Data used to initialize the logging event.</param>
  12925. <param name="fixedData">The fields in the <paranref name="data"/> struct that have already been fixed.</param>
  12926. <remarks>
  12927. <para>
  12928. This constructor is provided to allow a <see cref="T:log4net.Core.LoggingEvent"/>
  12929. to be created independently of the log4net framework. This can
  12930. be useful if you require a custom serialization scheme.
  12931. </para>
  12932. <para>
  12933. Use the <see cref="M:GetLoggingEventData(FixFlags)"/> method to obtain an
  12934. instance of the <see cref="T:log4net.Core.LoggingEventData"/> class.
  12935. </para>
  12936. <para>
  12937. The <paramref name="fixedData"/> parameter should be used to specify which fields in the
  12938. <paramref name="data"/> struct have been preset. Fields not specified in the <paramref name="fixedData"/>
  12939. will be captured from the environment if requested or fixed.
  12940. </para>
  12941. </remarks>
  12942. </member>
  12943. <member name="M:log4net.Core.LoggingEvent.#ctor(System.Type,log4net.Repository.ILoggerRepository,log4net.Core.LoggingEventData)">
  12944. <summary>
  12945. Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
  12946. using specific data.
  12947. </summary>
  12948. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  12949. the stack boundary into the logging system for this call.</param>
  12950. <param name="repository">The repository this event is logged in.</param>
  12951. <param name="data">Data used to initialize the logging event.</param>
  12952. <remarks>
  12953. <para>
  12954. This constructor is provided to allow a <see cref="T:log4net.Core.LoggingEvent"/>
  12955. to be created independently of the log4net framework. This can
  12956. be useful if you require a custom serialization scheme.
  12957. </para>
  12958. <para>
  12959. Use the <see cref="M:GetLoggingEventData(FixFlags)"/> method to obtain an
  12960. instance of the <see cref="T:log4net.Core.LoggingEventData"/> class.
  12961. </para>
  12962. <para>
  12963. This constructor sets this objects <see cref="P:log4net.Core.LoggingEvent.Fix"/> flags to <see cref="F:log4net.Core.FixFlags.All"/>,
  12964. this assumes that all the data relating to this event is passed in via the <paramref name="data"/>
  12965. parameter and no other data should be captured from the environment.
  12966. </para>
  12967. </remarks>
  12968. </member>
  12969. <member name="M:log4net.Core.LoggingEvent.#ctor(log4net.Core.LoggingEventData)">
  12970. <summary>
  12971. Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
  12972. using specific data.
  12973. </summary>
  12974. <param name="data">Data used to initialize the logging event.</param>
  12975. <remarks>
  12976. <para>
  12977. This constructor is provided to allow a <see cref="T:log4net.Core.LoggingEvent"/>
  12978. to be created independently of the log4net framework. This can
  12979. be useful if you require a custom serialization scheme.
  12980. </para>
  12981. <para>
  12982. Use the <see cref="M:GetLoggingEventData(FixFlags)"/> method to obtain an
  12983. instance of the <see cref="T:log4net.Core.LoggingEventData"/> class.
  12984. </para>
  12985. <para>
  12986. This constructor sets this objects <see cref="P:log4net.Core.LoggingEvent.Fix"/> flags to <see cref="F:log4net.Core.FixFlags.All"/>,
  12987. this assumes that all the data relating to this event is passed in via the <paramref name="data"/>
  12988. parameter and no other data should be captured from the environment.
  12989. </para>
  12990. </remarks>
  12991. </member>
  12992. <member name="M:log4net.Core.LoggingEvent.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  12993. <summary>
  12994. Serialization constructor
  12995. </summary>
  12996. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data.</param>
  12997. <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  12998. <remarks>
  12999. <para>
  13000. Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
  13001. with serialized data.
  13002. </para>
  13003. </remarks>
  13004. </member>
  13005. <member name="M:log4net.Core.LoggingEvent.EnsureRepository(log4net.Repository.ILoggerRepository)">
  13006. <summary>
  13007. Ensure that the repository is set.
  13008. </summary>
  13009. <param name="repository">the value for the repository</param>
  13010. </member>
  13011. <member name="M:log4net.Core.LoggingEvent.WriteRenderedMessage(System.IO.TextWriter)">
  13012. <summary>
  13013. Write the rendered message to a TextWriter
  13014. </summary>
  13015. <param name="writer">the writer to write the message to</param>
  13016. <remarks>
  13017. <para>
  13018. Unlike the <see cref="P:log4net.Core.LoggingEvent.RenderedMessage"/> property this method
  13019. does store the message data in the internal cache. Therefore
  13020. if called only once this method should be faster than the
  13021. <see cref="P:log4net.Core.LoggingEvent.RenderedMessage"/> property, however if the message is
  13022. to be accessed multiple times then the property will be more efficient.
  13023. </para>
  13024. </remarks>
  13025. </member>
  13026. <member name="M:log4net.Core.LoggingEvent.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  13027. <summary>
  13028. Serializes this object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> provided.
  13029. </summary>
  13030. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> to populate with data.</param>
  13031. <param name="context">The destination for this serialization.</param>
  13032. <remarks>
  13033. <para>
  13034. The data in this event must be fixed before it can be serialized.
  13035. </para>
  13036. <para>
  13037. The <see cref="M:FixVolatileData()"/> method must be called during the
  13038. <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method call if this event
  13039. is to be used outside that method.
  13040. </para>
  13041. </remarks>
  13042. </member>
  13043. <member name="M:log4net.Core.LoggingEvent.GetLoggingEventData">
  13044. <summary>
  13045. Gets the portable data for this <see cref="T:log4net.Core.LoggingEvent"/>.
  13046. </summary>
  13047. <returns>The <see cref="T:log4net.Core.LoggingEventData"/> for this event.</returns>
  13048. <remarks>
  13049. <para>
  13050. A new <see cref="T:log4net.Core.LoggingEvent"/> can be constructed using a
  13051. <see cref="T:log4net.Core.LoggingEventData"/> instance.
  13052. </para>
  13053. <para>
  13054. Does a <see cref="F:log4net.Core.FixFlags.Partial"/> fix of the data
  13055. in the logging event before returning the event data.
  13056. </para>
  13057. </remarks>
  13058. </member>
  13059. <member name="M:log4net.Core.LoggingEvent.GetLoggingEventData(log4net.Core.FixFlags)">
  13060. <summary>
  13061. Gets the portable data for this <see cref="T:log4net.Core.LoggingEvent"/>.
  13062. </summary>
  13063. <param name="fixFlags">The set of data to ensure is fixed in the LoggingEventData</param>
  13064. <returns>The <see cref="T:log4net.Core.LoggingEventData"/> for this event.</returns>
  13065. <remarks>
  13066. <para>
  13067. A new <see cref="T:log4net.Core.LoggingEvent"/> can be constructed using a
  13068. <see cref="T:log4net.Core.LoggingEventData"/> instance.
  13069. </para>
  13070. </remarks>
  13071. </member>
  13072. <member name="M:log4net.Core.LoggingEvent.GetExceptionStrRep">
  13073. <summary>
  13074. Returns this event's exception's rendered using the
  13075. <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13076. </summary>
  13077. <returns>
  13078. This event's exception's rendered using the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13079. </returns>
  13080. <remarks>
  13081. <para>
  13082. <b>Obsolete. Use <see cref="M:log4net.Core.LoggingEvent.GetExceptionString"/> instead.</b>
  13083. </para>
  13084. </remarks>
  13085. </member>
  13086. <member name="M:log4net.Core.LoggingEvent.GetExceptionString">
  13087. <summary>
  13088. Returns this event's exception's rendered using the
  13089. <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13090. </summary>
  13091. <returns>
  13092. This event's exception's rendered using the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13093. </returns>
  13094. <remarks>
  13095. <para>
  13096. Returns this event's exception's rendered using the
  13097. <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13098. </para>
  13099. </remarks>
  13100. </member>
  13101. <member name="M:log4net.Core.LoggingEvent.FixVolatileData">
  13102. <summary>
  13103. Fix instance fields that hold volatile data.
  13104. </summary>
  13105. <remarks>
  13106. <para>
  13107. Some of the values in instances of <see cref="T:log4net.Core.LoggingEvent"/>
  13108. are considered volatile, that is the values are correct at the
  13109. time the event is delivered to appenders, but will not be consistent
  13110. at any time afterwards. If an event is to be stored and then processed
  13111. at a later time these volatile values must be fixed by calling
  13112. <see cref="M:FixVolatileData()"/>. There is a performance penalty
  13113. incurred by calling <see cref="M:FixVolatileData()"/> but it
  13114. is essential to maintaining data consistency.
  13115. </para>
  13116. <para>
  13117. Calling <see cref="M:FixVolatileData()"/> is equivalent to
  13118. calling <see cref="M:FixVolatileData(bool)"/> passing the parameter
  13119. <c>false</c>.
  13120. </para>
  13121. <para>
  13122. See <see cref="M:FixVolatileData(bool)"/> for more
  13123. information.
  13124. </para>
  13125. </remarks>
  13126. </member>
  13127. <member name="M:log4net.Core.LoggingEvent.FixVolatileData(System.Boolean)">
  13128. <summary>
  13129. Fixes instance fields that hold volatile data.
  13130. </summary>
  13131. <param name="fastButLoose">Set to <c>true</c> to not fix data that takes a long time to fix.</param>
  13132. <remarks>
  13133. <para>
  13134. Some of the values in instances of <see cref="T:log4net.Core.LoggingEvent"/>
  13135. are considered volatile, that is the values are correct at the
  13136. time the event is delivered to appenders, but will not be consistent
  13137. at any time afterwards. If an event is to be stored and then processed
  13138. at a later time these volatile values must be fixed by calling
  13139. <see cref="M:FixVolatileData()"/>. There is a performance penalty
  13140. for incurred by calling <see cref="M:FixVolatileData()"/> but it
  13141. is essential to maintaining data consistency.
  13142. </para>
  13143. <para>
  13144. The <paramref name="fastButLoose"/> param controls the data that
  13145. is fixed. Some of the data that can be fixed takes a long time to
  13146. generate, therefore if you do not require those settings to be fixed
  13147. they can be ignored by setting the <paramref name="fastButLoose"/> param
  13148. to <c>true</c>. This setting will ignore the <see cref="P:log4net.Core.LoggingEvent.LocationInformation"/>
  13149. and <see cref="P:log4net.Core.LoggingEvent.UserName"/> settings.
  13150. </para>
  13151. <para>
  13152. Set <paramref name="fastButLoose"/> to <c>false</c> to ensure that all
  13153. settings are fixed.
  13154. </para>
  13155. </remarks>
  13156. </member>
  13157. <member name="M:log4net.Core.LoggingEvent.FixVolatileData(log4net.Core.FixFlags)">
  13158. <summary>
  13159. Fix the fields specified by the <see cref="T:log4net.Core.FixFlags"/> parameter
  13160. </summary>
  13161. <param name="flags">the fields to fix</param>
  13162. <remarks>
  13163. <para>
  13164. Only fields specified in the <paramref name="flags"/> will be fixed.
  13165. Fields will not be fixed if they have previously been fixed.
  13166. It is not possible to 'unfix' a field.
  13167. </para>
  13168. </remarks>
  13169. </member>
  13170. <member name="M:log4net.Core.LoggingEvent.LookupProperty(System.String)">
  13171. <summary>
  13172. Lookup a composite property in this event
  13173. </summary>
  13174. <param name="key">the key for the property to lookup</param>
  13175. <returns>the value for the property</returns>
  13176. <remarks>
  13177. <para>
  13178. This event has composite properties that combine together properties from
  13179. several different contexts in the following order:
  13180. <list type="definition">
  13181. <item>
  13182. <term>this events properties</term>
  13183. <description>
  13184. This event has <see cref="P:log4net.Core.LoggingEvent.Properties"/> that can be set. These
  13185. properties are specific to this event only.
  13186. </description>
  13187. </item>
  13188. <item>
  13189. <term>the thread properties</term>
  13190. <description>
  13191. The <see cref="P:log4net.ThreadContext.Properties"/> that are set on the current
  13192. thread. These properties are shared by all events logged on this thread.
  13193. </description>
  13194. </item>
  13195. <item>
  13196. <term>the global properties</term>
  13197. <description>
  13198. The <see cref="P:log4net.GlobalContext.Properties"/> that are set globally. These
  13199. properties are shared by all the threads in the AppDomain.
  13200. </description>
  13201. </item>
  13202. </list>
  13203. </para>
  13204. </remarks>
  13205. </member>
  13206. <member name="M:log4net.Core.LoggingEvent.GetProperties">
  13207. <summary>
  13208. Get all the composite properties in this event
  13209. </summary>
  13210. <returns>the <see cref="T:log4net.Util.PropertiesDictionary"/> containing all the properties</returns>
  13211. <remarks>
  13212. <para>
  13213. See <see cref="M:log4net.Core.LoggingEvent.LookupProperty(System.String)"/> for details of the composite properties
  13214. stored by the event.
  13215. </para>
  13216. <para>
  13217. This method returns a single <see cref="T:log4net.Util.PropertiesDictionary"/> containing all the
  13218. properties defined for this event.
  13219. </para>
  13220. </remarks>
  13221. </member>
  13222. <member name="F:log4net.Core.LoggingEvent.m_data">
  13223. <summary>
  13224. The internal logging event data.
  13225. </summary>
  13226. </member>
  13227. <member name="F:log4net.Core.LoggingEvent.m_compositeProperties">
  13228. <summary>
  13229. The internal logging event data.
  13230. </summary>
  13231. </member>
  13232. <member name="F:log4net.Core.LoggingEvent.m_eventProperties">
  13233. <summary>
  13234. The internal logging event data.
  13235. </summary>
  13236. </member>
  13237. <member name="F:log4net.Core.LoggingEvent.m_callerStackBoundaryDeclaringType">
  13238. <summary>
  13239. The fully qualified Type of the calling
  13240. logger class in the stack frame (i.e. the declaring type of the method).
  13241. </summary>
  13242. </member>
  13243. <member name="F:log4net.Core.LoggingEvent.m_message">
  13244. <summary>
  13245. The application supplied message of logging event.
  13246. </summary>
  13247. </member>
  13248. <member name="F:log4net.Core.LoggingEvent.m_thrownException">
  13249. <summary>
  13250. The exception that was thrown.
  13251. </summary>
  13252. <remarks>
  13253. This is not serialized. The string representation
  13254. is serialized instead.
  13255. </remarks>
  13256. </member>
  13257. <member name="F:log4net.Core.LoggingEvent.m_repository">
  13258. <summary>
  13259. The repository that generated the logging event
  13260. </summary>
  13261. <remarks>
  13262. This is not serialized.
  13263. </remarks>
  13264. </member>
  13265. <member name="F:log4net.Core.LoggingEvent.m_fixFlags">
  13266. <summary>
  13267. The fix state for this event
  13268. </summary>
  13269. <remarks>
  13270. These flags indicate which fields have been fixed.
  13271. Not serialized.
  13272. </remarks>
  13273. </member>
  13274. <member name="F:log4net.Core.LoggingEvent.m_cacheUpdatable">
  13275. <summary>
  13276. Indicated that the internal cache is updateable (ie not fixed)
  13277. </summary>
  13278. <remarks>
  13279. This is a seperate flag to m_fixFlags as it allows incrementel fixing and simpler
  13280. changes in the caching strategy.
  13281. </remarks>
  13282. </member>
  13283. <member name="P:log4net.Core.LoggingEvent.StartTime">
  13284. <summary>
  13285. Gets the time when the current process started.
  13286. </summary>
  13287. <value>
  13288. This is the time when this process started.
  13289. </value>
  13290. <remarks>
  13291. <para>
  13292. The TimeStamp is stored in the local time zone for this computer.
  13293. </para>
  13294. <para>
  13295. Tries to get the start time for the current process.
  13296. Failing that it returns the time of the first call to
  13297. this property.
  13298. </para>
  13299. <para>
  13300. Note that AppDomains may be loaded and unloaded within the
  13301. same process without the process terminating and therefore
  13302. without the process start time being reset.
  13303. </para>
  13304. </remarks>
  13305. </member>
  13306. <member name="P:log4net.Core.LoggingEvent.Level">
  13307. <summary>
  13308. Gets the <see cref="P:log4net.Core.LoggingEvent.Level"/> of the logging event.
  13309. </summary>
  13310. <value>
  13311. The <see cref="P:log4net.Core.LoggingEvent.Level"/> of the logging event.
  13312. </value>
  13313. <remarks>
  13314. <para>
  13315. Gets the <see cref="P:log4net.Core.LoggingEvent.Level"/> of the logging event.
  13316. </para>
  13317. </remarks>
  13318. </member>
  13319. <member name="P:log4net.Core.LoggingEvent.TimeStamp">
  13320. <summary>
  13321. Gets the time of the logging event.
  13322. </summary>
  13323. <value>
  13324. The time of the logging event.
  13325. </value>
  13326. <remarks>
  13327. <para>
  13328. The TimeStamp is stored in the local time zone for this computer.
  13329. </para>
  13330. </remarks>
  13331. </member>
  13332. <member name="P:log4net.Core.LoggingEvent.LoggerName">
  13333. <summary>
  13334. Gets the name of the logger that logged the event.
  13335. </summary>
  13336. <value>
  13337. The name of the logger that logged the event.
  13338. </value>
  13339. <remarks>
  13340. <para>
  13341. Gets the name of the logger that logged the event.
  13342. </para>
  13343. </remarks>
  13344. </member>
  13345. <member name="P:log4net.Core.LoggingEvent.LocationInformation">
  13346. <summary>
  13347. Gets the location information for this logging event.
  13348. </summary>
  13349. <value>
  13350. The location information for this logging event.
  13351. </value>
  13352. <remarks>
  13353. <para>
  13354. The collected information is cached for future use.
  13355. </para>
  13356. <para>
  13357. See the <see cref="T:log4net.Core.LocationInfo"/> class for more information on
  13358. supported frameworks and the different behavior in Debug and
  13359. Release builds.
  13360. </para>
  13361. </remarks>
  13362. </member>
  13363. <member name="P:log4net.Core.LoggingEvent.MessageObject">
  13364. <summary>
  13365. Gets the message object used to initialize this event.
  13366. </summary>
  13367. <value>
  13368. The message object used to initialize this event.
  13369. </value>
  13370. <remarks>
  13371. <para>
  13372. Gets the message object used to initialize this event.
  13373. Note that this event may not have a valid message object.
  13374. If the event is serialized the message object will not
  13375. be transferred. To get the text of the message the
  13376. <see cref="P:log4net.Core.LoggingEvent.RenderedMessage"/> property must be used
  13377. not this property.
  13378. </para>
  13379. <para>
  13380. If there is no defined message object for this event then
  13381. null will be returned.
  13382. </para>
  13383. </remarks>
  13384. </member>
  13385. <member name="P:log4net.Core.LoggingEvent.ExceptionObject">
  13386. <summary>
  13387. Gets the exception object used to initialize this event.
  13388. </summary>
  13389. <value>
  13390. The exception object used to initialize this event.
  13391. </value>
  13392. <remarks>
  13393. <para>
  13394. Gets the exception object used to initialize this event.
  13395. Note that this event may not have a valid exception object.
  13396. If the event is serialized the exception object will not
  13397. be transferred. To get the text of the exception the
  13398. <see cref="M:log4net.Core.LoggingEvent.GetExceptionString"/> method must be used
  13399. not this property.
  13400. </para>
  13401. <para>
  13402. If there is no defined exception object for this event then
  13403. null will be returned.
  13404. </para>
  13405. </remarks>
  13406. </member>
  13407. <member name="P:log4net.Core.LoggingEvent.Repository">
  13408. <summary>
  13409. The <see cref="T:log4net.Repository.ILoggerRepository"/> that this event was created in.
  13410. </summary>
  13411. <remarks>
  13412. <para>
  13413. The <see cref="T:log4net.Repository.ILoggerRepository"/> that this event was created in.
  13414. </para>
  13415. </remarks>
  13416. </member>
  13417. <member name="P:log4net.Core.LoggingEvent.RenderedMessage">
  13418. <summary>
  13419. Gets the message, rendered through the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13420. </summary>
  13421. <value>
  13422. The message rendered through the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13423. </value>
  13424. <remarks>
  13425. <para>
  13426. The collected information is cached for future use.
  13427. </para>
  13428. </remarks>
  13429. </member>
  13430. <member name="P:log4net.Core.LoggingEvent.ThreadName">
  13431. <summary>
  13432. Gets the name of the current thread.
  13433. </summary>
  13434. <value>
  13435. The name of the current thread, or the thread ID when
  13436. the name is not available.
  13437. </value>
  13438. <remarks>
  13439. <para>
  13440. The collected information is cached for future use.
  13441. </para>
  13442. </remarks>
  13443. </member>
  13444. <member name="P:log4net.Core.LoggingEvent.UserName">
  13445. <summary>
  13446. Gets the name of the current user.
  13447. </summary>
  13448. <value>
  13449. The name of the current user, or <c>NOT AVAILABLE</c> when the
  13450. underlying runtime has no support for retrieving the name of the
  13451. current user.
  13452. </value>
  13453. <remarks>
  13454. <para>
  13455. Calls <c>WindowsIdentity.GetCurrent().Name</c> to get the name of
  13456. the current windows user.
  13457. </para>
  13458. <para>
  13459. To improve performance, we could cache the string representation of
  13460. the name, and reuse that as long as the identity stayed constant.
  13461. Once the identity changed, we would need to re-assign and re-render
  13462. the string.
  13463. </para>
  13464. <para>
  13465. However, the <c>WindowsIdentity.GetCurrent()</c> call seems to
  13466. return different objects every time, so the current implementation
  13467. doesn't do this type of caching.
  13468. </para>
  13469. <para>
  13470. Timing for these operations:
  13471. </para>
  13472. <list type="table">
  13473. <listheader>
  13474. <term>Method</term>
  13475. <description>Results</description>
  13476. </listheader>
  13477. <item>
  13478. <term><c>WindowsIdentity.GetCurrent()</c></term>
  13479. <description>10000 loops, 00:00:00.2031250 seconds</description>
  13480. </item>
  13481. <item>
  13482. <term><c>WindowsIdentity.GetCurrent().Name</c></term>
  13483. <description>10000 loops, 00:00:08.0468750 seconds</description>
  13484. </item>
  13485. </list>
  13486. <para>
  13487. This means we could speed things up almost 40 times by caching the
  13488. value of the <c>WindowsIdentity.GetCurrent().Name</c> property, since
  13489. this takes (8.04-0.20) = 7.84375 seconds.
  13490. </para>
  13491. </remarks>
  13492. </member>
  13493. <member name="P:log4net.Core.LoggingEvent.Identity">
  13494. <summary>
  13495. Gets the identity of the current thread principal.
  13496. </summary>
  13497. <value>
  13498. The string name of the identity of the current thread principal.
  13499. </value>
  13500. <remarks>
  13501. <para>
  13502. Calls <c>System.Threading.Thread.CurrentPrincipal.Identity.Name</c> to get
  13503. the name of the current thread principal.
  13504. </para>
  13505. </remarks>
  13506. </member>
  13507. <member name="P:log4net.Core.LoggingEvent.Domain">
  13508. <summary>
  13509. Gets the AppDomain friendly name.
  13510. </summary>
  13511. <value>
  13512. The AppDomain friendly name.
  13513. </value>
  13514. <remarks>
  13515. <para>
  13516. Gets the AppDomain friendly name.
  13517. </para>
  13518. </remarks>
  13519. </member>
  13520. <member name="P:log4net.Core.LoggingEvent.Properties">
  13521. <summary>
  13522. Additional event specific properties.
  13523. </summary>
  13524. <value>
  13525. Additional event specific properties.
  13526. </value>
  13527. <remarks>
  13528. <para>
  13529. A logger or an appender may attach additional
  13530. properties to specific events. These properties
  13531. have a string key and an object value.
  13532. </para>
  13533. <para>
  13534. This property is for events that have been added directly to
  13535. this event. The aggregate properties (which include these
  13536. event properties) can be retrieved using <see cref="M:log4net.Core.LoggingEvent.LookupProperty(System.String)"/>
  13537. and <see cref="M:log4net.Core.LoggingEvent.GetProperties"/>.
  13538. </para>
  13539. <para>
  13540. Once the properties have been fixed <see cref="P:log4net.Core.LoggingEvent.Fix"/> this property
  13541. returns the combined cached properties. This ensures that updates to
  13542. this property are always reflected in the underlying storage. When
  13543. returning the combined properties there may be more keys in the
  13544. Dictionary than expected.
  13545. </para>
  13546. </remarks>
  13547. </member>
  13548. <member name="P:log4net.Core.LoggingEvent.Fix">
  13549. <summary>
  13550. The fixed fields in this event
  13551. </summary>
  13552. <value>
  13553. The set of fields that are fixed in this event
  13554. </value>
  13555. <remarks>
  13556. <para>
  13557. Fields will not be fixed if they have previously been fixed.
  13558. It is not possible to 'unfix' a field.
  13559. </para>
  13560. </remarks>
  13561. </member>
  13562. <member name="T:log4net.Core.LogImpl">
  13563. <summary>
  13564. Implementation of <see cref="T:log4net.ILog"/> wrapper interface.
  13565. </summary>
  13566. <remarks>
  13567. <para>
  13568. This implementation of the <see cref="T:log4net.ILog"/> interface
  13569. forwards to the <see cref="T:log4net.Core.ILogger"/> held by the base class.
  13570. </para>
  13571. <para>
  13572. This logger has methods to allow the caller to log at the following
  13573. levels:
  13574. </para>
  13575. <list type="definition">
  13576. <item>
  13577. <term>DEBUG</term>
  13578. <description>
  13579. The <see cref="M:Debug(object)"/> and <see cref="M:DebugFormat(string, object[])"/> methods log messages
  13580. at the <c>DEBUG</c> level. That is the level with that name defined in the
  13581. repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
  13582. for this level is <see cref="F:log4net.Core.Level.Debug"/>. The <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/>
  13583. property tests if this level is enabled for logging.
  13584. </description>
  13585. </item>
  13586. <item>
  13587. <term>INFO</term>
  13588. <description>
  13589. The <see cref="M:Info(object)"/> and <see cref="M:InfoFormat(string, object[])"/> methods log messages
  13590. at the <c>INFO</c> level. That is the level with that name defined in the
  13591. repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
  13592. for this level is <see cref="F:log4net.Core.Level.Info"/>. The <see cref="P:log4net.Core.LogImpl.IsInfoEnabled"/>
  13593. property tests if this level is enabled for logging.
  13594. </description>
  13595. </item>
  13596. <item>
  13597. <term>WARN</term>
  13598. <description>
  13599. The <see cref="M:Warn(object)"/> and <see cref="M:WarnFormat(string, object[])"/> methods log messages
  13600. at the <c>WARN</c> level. That is the level with that name defined in the
  13601. repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
  13602. for this level is <see cref="F:log4net.Core.Level.Warn"/>. The <see cref="P:log4net.Core.LogImpl.IsWarnEnabled"/>
  13603. property tests if this level is enabled for logging.
  13604. </description>
  13605. </item>
  13606. <item>
  13607. <term>ERROR</term>
  13608. <description>
  13609. The <see cref="M:Error(object)"/> and <see cref="M:ErrorFormat(string, object[])"/> methods log messages
  13610. at the <c>ERROR</c> level. That is the level with that name defined in the
  13611. repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
  13612. for this level is <see cref="F:log4net.Core.Level.Error"/>. The <see cref="P:log4net.Core.LogImpl.IsErrorEnabled"/>
  13613. property tests if this level is enabled for logging.
  13614. </description>
  13615. </item>
  13616. <item>
  13617. <term>FATAL</term>
  13618. <description>
  13619. The <see cref="M:Fatal(object)"/> and <see cref="M:FatalFormat(string, object[])"/> methods log messages
  13620. at the <c>FATAL</c> level. That is the level with that name defined in the
  13621. repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
  13622. for this level is <see cref="F:log4net.Core.Level.Fatal"/>. The <see cref="P:log4net.Core.LogImpl.IsFatalEnabled"/>
  13623. property tests if this level is enabled for logging.
  13624. </description>
  13625. </item>
  13626. </list>
  13627. <para>
  13628. The values for these levels and their semantic meanings can be changed by
  13629. configuring the <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/> for the repository.
  13630. </para>
  13631. </remarks>
  13632. <author>Nicko Cadell</author>
  13633. <author>Gert Driesen</author>
  13634. </member>
  13635. <member name="T:log4net.ILog">
  13636. <summary>
  13637. The ILog interface is use by application to log messages into
  13638. the log4net framework.
  13639. </summary>
  13640. <remarks>
  13641. <para>
  13642. Use the <see cref="T:log4net.LogManager"/> to obtain logger instances
  13643. that implement this interface. The <see cref="M:LogManager.GetLogger(Assembly,Type)"/>
  13644. static method is used to get logger instances.
  13645. </para>
  13646. <para>
  13647. This class contains methods for logging at different levels and also
  13648. has properties for determining if those logging levels are
  13649. enabled in the current configuration.
  13650. </para>
  13651. <para>
  13652. This interface can be implemented in different ways. This documentation
  13653. specifies reasonable behavior that a caller can expect from the actual
  13654. implementation, however different implementations reserve the right to
  13655. do things differently.
  13656. </para>
  13657. </remarks>
  13658. <example>Simple example of logging messages
  13659. <code lang="C#">
  13660. ILog log = LogManager.GetLogger("application-log");
  13661. log.Info("Application Start");
  13662. log.Debug("This is a debug message");
  13663. if (log.IsDebugEnabled)
  13664. {
  13665. log.Debug("This is another debug message");
  13666. }
  13667. </code>
  13668. </example>
  13669. <seealso cref="T:log4net.LogManager"/>
  13670. <seealso cref="M:LogManager.GetLogger(Assembly, Type)"/>
  13671. <author>Nicko Cadell</author>
  13672. <author>Gert Driesen</author>
  13673. </member>
  13674. <member name="M:log4net.ILog.Debug(System.Object)">
  13675. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.</overloads>
  13676. <summary>
  13677. Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.
  13678. </summary>
  13679. <param name="message">The message object to log.</param>
  13680. <remarks>
  13681. <para>
  13682. This method first checks if this logger is <c>DEBUG</c>
  13683. enabled by comparing the level of this logger with the
  13684. <see cref="F:log4net.Core.Level.Debug"/> level. If this logger is
  13685. <c>DEBUG</c> enabled, then it converts the message object
  13686. (passed as parameter) to a string by invoking the appropriate
  13687. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  13688. proceeds to call all the registered appenders in this logger
  13689. and also higher in the hierarchy depending on the value of
  13690. the additivity flag.
  13691. </para>
  13692. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  13693. to this method will print the name of the <see cref="T:System.Exception"/>
  13694. but no stack trace. To print a stack trace use the
  13695. <see cref="M:Debug(object,Exception)"/> form instead.
  13696. </para>
  13697. </remarks>
  13698. <seealso cref="M:Debug(object,Exception)"/>
  13699. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13700. </member>
  13701. <member name="M:log4net.ILog.Debug(System.Object,System.Exception)">
  13702. <summary>
  13703. Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level including
  13704. the stack trace of the <see cref="T:System.Exception"/> passed
  13705. as a parameter.
  13706. </summary>
  13707. <param name="message">The message object to log.</param>
  13708. <param name="exception">The exception to log, including its stack trace.</param>
  13709. <remarks>
  13710. <para>
  13711. See the <see cref="M:Debug(object)"/> form for more detailed information.
  13712. </para>
  13713. </remarks>
  13714. <seealso cref="M:Debug(object)"/>
  13715. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13716. </member>
  13717. <member name="M:log4net.ILog.DebugFormat(System.String,System.Object[])">
  13718. <overloads>Log a formatted string with the <see cref="F:log4net.Core.Level.Debug"/> level.</overloads>
  13719. <summary>
  13720. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  13721. </summary>
  13722. <param name="format">A String containing zero or more format items</param>
  13723. <param name="args">An Object array containing zero or more objects to format</param>
  13724. <remarks>
  13725. <para>
  13726. The message is formatted using the <c>String.Format</c> method. See
  13727. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13728. of the formatting.
  13729. </para>
  13730. <para>
  13731. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13732. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object,Exception)"/>
  13733. methods instead.
  13734. </para>
  13735. </remarks>
  13736. <seealso cref="M:Debug(object)"/>
  13737. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13738. </member>
  13739. <member name="M:log4net.ILog.DebugFormat(System.String,System.Object)">
  13740. <summary>
  13741. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  13742. </summary>
  13743. <param name="format">A String containing zero or more format items</param>
  13744. <param name="arg0">An Object to format</param>
  13745. <remarks>
  13746. <para>
  13747. The message is formatted using the <c>String.Format</c> method. See
  13748. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13749. of the formatting.
  13750. </para>
  13751. <para>
  13752. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13753. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object,Exception)"/>
  13754. methods instead.
  13755. </para>
  13756. </remarks>
  13757. <seealso cref="M:Debug(object)"/>
  13758. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13759. </member>
  13760. <member name="M:log4net.ILog.DebugFormat(System.String,System.Object,System.Object)">
  13761. <summary>
  13762. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  13763. </summary>
  13764. <param name="format">A String containing zero or more format items</param>
  13765. <param name="arg0">An Object to format</param>
  13766. <param name="arg1">An Object to format</param>
  13767. <remarks>
  13768. <para>
  13769. The message is formatted using the <c>String.Format</c> method. See
  13770. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13771. of the formatting.
  13772. </para>
  13773. <para>
  13774. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13775. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object,Exception)"/>
  13776. methods instead.
  13777. </para>
  13778. </remarks>
  13779. <seealso cref="M:Debug(object)"/>
  13780. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13781. </member>
  13782. <member name="M:log4net.ILog.DebugFormat(System.String,System.Object,System.Object,System.Object)">
  13783. <summary>
  13784. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  13785. </summary>
  13786. <param name="format">A String containing zero or more format items</param>
  13787. <param name="arg0">An Object to format</param>
  13788. <param name="arg1">An Object to format</param>
  13789. <param name="arg2">An Object to format</param>
  13790. <remarks>
  13791. <para>
  13792. The message is formatted using the <c>String.Format</c> method. See
  13793. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13794. of the formatting.
  13795. </para>
  13796. <para>
  13797. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13798. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object,Exception)"/>
  13799. methods instead.
  13800. </para>
  13801. </remarks>
  13802. <seealso cref="M:Debug(object)"/>
  13803. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13804. </member>
  13805. <member name="M:log4net.ILog.DebugFormat(System.IFormatProvider,System.String,System.Object[])">
  13806. <summary>
  13807. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  13808. </summary>
  13809. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  13810. <param name="format">A String containing zero or more format items</param>
  13811. <param name="args">An Object array containing zero or more objects to format</param>
  13812. <remarks>
  13813. <para>
  13814. The message is formatted using the <c>String.Format</c> method. See
  13815. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13816. of the formatting.
  13817. </para>
  13818. <para>
  13819. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13820. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object,Exception)"/>
  13821. methods instead.
  13822. </para>
  13823. </remarks>
  13824. <seealso cref="M:Debug(object)"/>
  13825. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13826. </member>
  13827. <member name="M:log4net.ILog.Info(System.Object)">
  13828. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level.</overloads>
  13829. <summary>
  13830. Logs a message object with the <see cref="F:log4net.Core.Level.Info"/> level.
  13831. </summary>
  13832. <remarks>
  13833. <para>
  13834. This method first checks if this logger is <c>INFO</c>
  13835. enabled by comparing the level of this logger with the
  13836. <see cref="F:log4net.Core.Level.Info"/> level. If this logger is
  13837. <c>INFO</c> enabled, then it converts the message object
  13838. (passed as parameter) to a string by invoking the appropriate
  13839. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  13840. proceeds to call all the registered appenders in this logger
  13841. and also higher in the hierarchy depending on the value of the
  13842. additivity flag.
  13843. </para>
  13844. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  13845. to this method will print the name of the <see cref="T:System.Exception"/>
  13846. but no stack trace. To print a stack trace use the
  13847. <see cref="M:Info(object,Exception)"/> form instead.
  13848. </para>
  13849. </remarks>
  13850. <param name="message">The message object to log.</param>
  13851. <seealso cref="M:Info(object,Exception)"/>
  13852. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13853. </member>
  13854. <member name="M:log4net.ILog.Info(System.Object,System.Exception)">
  13855. <summary>
  13856. Logs a message object with the <c>INFO</c> level including
  13857. the stack trace of the <see cref="T:System.Exception"/> passed
  13858. as a parameter.
  13859. </summary>
  13860. <param name="message">The message object to log.</param>
  13861. <param name="exception">The exception to log, including its stack trace.</param>
  13862. <remarks>
  13863. <para>
  13864. See the <see cref="M:Info(object)"/> form for more detailed information.
  13865. </para>
  13866. </remarks>
  13867. <seealso cref="M:Info(object)"/>
  13868. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13869. </member>
  13870. <member name="M:log4net.ILog.InfoFormat(System.String,System.Object[])">
  13871. <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.</overloads>
  13872. <summary>
  13873. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  13874. </summary>
  13875. <param name="format">A String containing zero or more format items</param>
  13876. <param name="args">An Object array containing zero or more objects to format</param>
  13877. <remarks>
  13878. <para>
  13879. The message is formatted using the <c>String.Format</c> method. See
  13880. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13881. of the formatting.
  13882. </para>
  13883. <para>
  13884. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13885. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  13886. methods instead.
  13887. </para>
  13888. </remarks>
  13889. <seealso cref="M:Info(object,Exception)"/>
  13890. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13891. </member>
  13892. <member name="M:log4net.ILog.InfoFormat(System.String,System.Object)">
  13893. <summary>
  13894. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  13895. </summary>
  13896. <param name="format">A String containing zero or more format items</param>
  13897. <param name="arg0">An Object to format</param>
  13898. <remarks>
  13899. <para>
  13900. The message is formatted using the <c>String.Format</c> method. See
  13901. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13902. of the formatting.
  13903. </para>
  13904. <para>
  13905. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13906. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object,Exception)"/>
  13907. methods instead.
  13908. </para>
  13909. </remarks>
  13910. <seealso cref="M:Info(object)"/>
  13911. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13912. </member>
  13913. <member name="M:log4net.ILog.InfoFormat(System.String,System.Object,System.Object)">
  13914. <summary>
  13915. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  13916. </summary>
  13917. <param name="format">A String containing zero or more format items</param>
  13918. <param name="arg0">An Object to format</param>
  13919. <param name="arg1">An Object to format</param>
  13920. <remarks>
  13921. <para>
  13922. The message is formatted using the <c>String.Format</c> method. See
  13923. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13924. of the formatting.
  13925. </para>
  13926. <para>
  13927. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13928. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object,Exception)"/>
  13929. methods instead.
  13930. </para>
  13931. </remarks>
  13932. <seealso cref="M:Info(object)"/>
  13933. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13934. </member>
  13935. <member name="M:log4net.ILog.InfoFormat(System.String,System.Object,System.Object,System.Object)">
  13936. <summary>
  13937. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  13938. </summary>
  13939. <param name="format">A String containing zero or more format items</param>
  13940. <param name="arg0">An Object to format</param>
  13941. <param name="arg1">An Object to format</param>
  13942. <param name="arg2">An Object to format</param>
  13943. <remarks>
  13944. <para>
  13945. The message is formatted using the <c>String.Format</c> method. See
  13946. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13947. of the formatting.
  13948. </para>
  13949. <para>
  13950. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13951. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object,Exception)"/>
  13952. methods instead.
  13953. </para>
  13954. </remarks>
  13955. <seealso cref="M:Info(object)"/>
  13956. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13957. </member>
  13958. <member name="M:log4net.ILog.InfoFormat(System.IFormatProvider,System.String,System.Object[])">
  13959. <summary>
  13960. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  13961. </summary>
  13962. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  13963. <param name="format">A String containing zero or more format items</param>
  13964. <param name="args">An Object array containing zero or more objects to format</param>
  13965. <remarks>
  13966. <para>
  13967. The message is formatted using the <c>String.Format</c> method. See
  13968. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13969. of the formatting.
  13970. </para>
  13971. <para>
  13972. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13973. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  13974. methods instead.
  13975. </para>
  13976. </remarks>
  13977. <seealso cref="M:Info(object,Exception)"/>
  13978. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13979. </member>
  13980. <member name="M:log4net.ILog.Warn(System.Object)">
  13981. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.</overloads>
  13982. <summary>
  13983. Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.
  13984. </summary>
  13985. <remarks>
  13986. <para>
  13987. This method first checks if this logger is <c>WARN</c>
  13988. enabled by comparing the level of this logger with the
  13989. <see cref="F:log4net.Core.Level.Warn"/> level. If this logger is
  13990. <c>WARN</c> enabled, then it converts the message object
  13991. (passed as parameter) to a string by invoking the appropriate
  13992. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  13993. proceeds to call all the registered appenders in this logger
  13994. and also higher in the hierarchy depending on the value of the
  13995. additivity flag.
  13996. </para>
  13997. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  13998. to this method will print the name of the <see cref="T:System.Exception"/>
  13999. but no stack trace. To print a stack trace use the
  14000. <see cref="M:Warn(object,Exception)"/> form instead.
  14001. </para>
  14002. </remarks>
  14003. <param name="message">The message object to log.</param>
  14004. <seealso cref="M:Warn(object,Exception)"/>
  14005. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14006. </member>
  14007. <member name="M:log4net.ILog.Warn(System.Object,System.Exception)">
  14008. <summary>
  14009. Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level including
  14010. the stack trace of the <see cref="T:System.Exception"/> passed
  14011. as a parameter.
  14012. </summary>
  14013. <param name="message">The message object to log.</param>
  14014. <param name="exception">The exception to log, including its stack trace.</param>
  14015. <remarks>
  14016. <para>
  14017. See the <see cref="M:Warn(object)"/> form for more detailed information.
  14018. </para>
  14019. </remarks>
  14020. <seealso cref="M:Warn(object)"/>
  14021. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14022. </member>
  14023. <member name="M:log4net.ILog.WarnFormat(System.String,System.Object[])">
  14024. <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.</overloads>
  14025. <summary>
  14026. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  14027. </summary>
  14028. <param name="format">A String containing zero or more format items</param>
  14029. <param name="args">An Object array containing zero or more objects to format</param>
  14030. <remarks>
  14031. <para>
  14032. The message is formatted using the <c>String.Format</c> method. See
  14033. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14034. of the formatting.
  14035. </para>
  14036. <para>
  14037. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14038. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  14039. methods instead.
  14040. </para>
  14041. </remarks>
  14042. <seealso cref="M:Warn(object,Exception)"/>
  14043. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14044. </member>
  14045. <member name="M:log4net.ILog.WarnFormat(System.String,System.Object)">
  14046. <summary>
  14047. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  14048. </summary>
  14049. <param name="format">A String containing zero or more format items</param>
  14050. <param name="arg0">An Object to format</param>
  14051. <remarks>
  14052. <para>
  14053. The message is formatted using the <c>String.Format</c> method. See
  14054. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14055. of the formatting.
  14056. </para>
  14057. <para>
  14058. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14059. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object,Exception)"/>
  14060. methods instead.
  14061. </para>
  14062. </remarks>
  14063. <seealso cref="M:Warn(object)"/>
  14064. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14065. </member>
  14066. <member name="M:log4net.ILog.WarnFormat(System.String,System.Object,System.Object)">
  14067. <summary>
  14068. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  14069. </summary>
  14070. <param name="format">A String containing zero or more format items</param>
  14071. <param name="arg0">An Object to format</param>
  14072. <param name="arg1">An Object to format</param>
  14073. <remarks>
  14074. <para>
  14075. The message is formatted using the <c>String.Format</c> method. See
  14076. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14077. of the formatting.
  14078. </para>
  14079. <para>
  14080. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14081. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object,Exception)"/>
  14082. methods instead.
  14083. </para>
  14084. </remarks>
  14085. <seealso cref="M:Warn(object)"/>
  14086. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14087. </member>
  14088. <member name="M:log4net.ILog.WarnFormat(System.String,System.Object,System.Object,System.Object)">
  14089. <summary>
  14090. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  14091. </summary>
  14092. <param name="format">A String containing zero or more format items</param>
  14093. <param name="arg0">An Object to format</param>
  14094. <param name="arg1">An Object to format</param>
  14095. <param name="arg2">An Object to format</param>
  14096. <remarks>
  14097. <para>
  14098. The message is formatted using the <c>String.Format</c> method. See
  14099. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14100. of the formatting.
  14101. </para>
  14102. <para>
  14103. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14104. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object,Exception)"/>
  14105. methods instead.
  14106. </para>
  14107. </remarks>
  14108. <seealso cref="M:Warn(object)"/>
  14109. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14110. </member>
  14111. <member name="M:log4net.ILog.WarnFormat(System.IFormatProvider,System.String,System.Object[])">
  14112. <summary>
  14113. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  14114. </summary>
  14115. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  14116. <param name="format">A String containing zero or more format items</param>
  14117. <param name="args">An Object array containing zero or more objects to format</param>
  14118. <remarks>
  14119. <para>
  14120. The message is formatted using the <c>String.Format</c> method. See
  14121. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14122. of the formatting.
  14123. </para>
  14124. <para>
  14125. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14126. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  14127. methods instead.
  14128. </para>
  14129. </remarks>
  14130. <seealso cref="M:Warn(object,Exception)"/>
  14131. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14132. </member>
  14133. <member name="M:log4net.ILog.Error(System.Object)">
  14134. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level.</overloads>
  14135. <summary>
  14136. Logs a message object with the <see cref="F:log4net.Core.Level.Error"/> level.
  14137. </summary>
  14138. <param name="message">The message object to log.</param>
  14139. <remarks>
  14140. <para>
  14141. This method first checks if this logger is <c>ERROR</c>
  14142. enabled by comparing the level of this logger with the
  14143. <see cref="F:log4net.Core.Level.Error"/> level. If this logger is
  14144. <c>ERROR</c> enabled, then it converts the message object
  14145. (passed as parameter) to a string by invoking the appropriate
  14146. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  14147. proceeds to call all the registered appenders in this logger
  14148. and also higher in the hierarchy depending on the value of the
  14149. additivity flag.
  14150. </para>
  14151. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  14152. to this method will print the name of the <see cref="T:System.Exception"/>
  14153. but no stack trace. To print a stack trace use the
  14154. <see cref="M:Error(object,Exception)"/> form instead.
  14155. </para>
  14156. </remarks>
  14157. <seealso cref="M:Error(object,Exception)"/>
  14158. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14159. </member>
  14160. <member name="M:log4net.ILog.Error(System.Object,System.Exception)">
  14161. <summary>
  14162. Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level including
  14163. the stack trace of the <see cref="T:System.Exception"/> passed
  14164. as a parameter.
  14165. </summary>
  14166. <param name="message">The message object to log.</param>
  14167. <param name="exception">The exception to log, including its stack trace.</param>
  14168. <remarks>
  14169. <para>
  14170. See the <see cref="M:Error(object)"/> form for more detailed information.
  14171. </para>
  14172. </remarks>
  14173. <seealso cref="M:Error(object)"/>
  14174. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14175. </member>
  14176. <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object[])">
  14177. <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.</overloads>
  14178. <summary>
  14179. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  14180. </summary>
  14181. <param name="format">A String containing zero or more format items</param>
  14182. <param name="args">An Object array containing zero or more objects to format</param>
  14183. <remarks>
  14184. <para>
  14185. The message is formatted using the <c>String.Format</c> method. See
  14186. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14187. of the formatting.
  14188. </para>
  14189. <para>
  14190. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14191. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  14192. methods instead.
  14193. </para>
  14194. </remarks>
  14195. <seealso cref="M:Error(object,Exception)"/>
  14196. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14197. </member>
  14198. <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object)">
  14199. <summary>
  14200. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  14201. </summary>
  14202. <param name="format">A String containing zero or more format items</param>
  14203. <param name="arg0">An Object to format</param>
  14204. <remarks>
  14205. <para>
  14206. The message is formatted using the <c>String.Format</c> method. See
  14207. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14208. of the formatting.
  14209. </para>
  14210. <para>
  14211. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14212. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object,Exception)"/>
  14213. methods instead.
  14214. </para>
  14215. </remarks>
  14216. <seealso cref="M:Error(object)"/>
  14217. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14218. </member>
  14219. <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object,System.Object)">
  14220. <summary>
  14221. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  14222. </summary>
  14223. <param name="format">A String containing zero or more format items</param>
  14224. <param name="arg0">An Object to format</param>
  14225. <param name="arg1">An Object to format</param>
  14226. <remarks>
  14227. <para>
  14228. The message is formatted using the <c>String.Format</c> method. See
  14229. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14230. of the formatting.
  14231. </para>
  14232. <para>
  14233. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14234. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object,Exception)"/>
  14235. methods instead.
  14236. </para>
  14237. </remarks>
  14238. <seealso cref="M:Error(object)"/>
  14239. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14240. </member>
  14241. <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object,System.Object,System.Object)">
  14242. <summary>
  14243. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  14244. </summary>
  14245. <param name="format">A String containing zero or more format items</param>
  14246. <param name="arg0">An Object to format</param>
  14247. <param name="arg1">An Object to format</param>
  14248. <param name="arg2">An Object to format</param>
  14249. <remarks>
  14250. <para>
  14251. The message is formatted using the <c>String.Format</c> method. See
  14252. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14253. of the formatting.
  14254. </para>
  14255. <para>
  14256. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14257. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object,Exception)"/>
  14258. methods instead.
  14259. </para>
  14260. </remarks>
  14261. <seealso cref="M:Error(object)"/>
  14262. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14263. </member>
  14264. <member name="M:log4net.ILog.ErrorFormat(System.IFormatProvider,System.String,System.Object[])">
  14265. <summary>
  14266. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  14267. </summary>
  14268. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  14269. <param name="format">A String containing zero or more format items</param>
  14270. <param name="args">An Object array containing zero or more objects to format</param>
  14271. <remarks>
  14272. <para>
  14273. The message is formatted using the <c>String.Format</c> method. See
  14274. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14275. of the formatting.
  14276. </para>
  14277. <para>
  14278. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14279. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  14280. methods instead.
  14281. </para>
  14282. </remarks>
  14283. <seealso cref="M:Error(object,Exception)"/>
  14284. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14285. </member>
  14286. <member name="M:log4net.ILog.Fatal(System.Object)">
  14287. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.</overloads>
  14288. <summary>
  14289. Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14290. </summary>
  14291. <remarks>
  14292. <para>
  14293. This method first checks if this logger is <c>FATAL</c>
  14294. enabled by comparing the level of this logger with the
  14295. <see cref="F:log4net.Core.Level.Fatal"/> level. If this logger is
  14296. <c>FATAL</c> enabled, then it converts the message object
  14297. (passed as parameter) to a string by invoking the appropriate
  14298. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  14299. proceeds to call all the registered appenders in this logger
  14300. and also higher in the hierarchy depending on the value of the
  14301. additivity flag.
  14302. </para>
  14303. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  14304. to this method will print the name of the <see cref="T:System.Exception"/>
  14305. but no stack trace. To print a stack trace use the
  14306. <see cref="M:Fatal(object,Exception)"/> form instead.
  14307. </para>
  14308. </remarks>
  14309. <param name="message">The message object to log.</param>
  14310. <seealso cref="M:Fatal(object,Exception)"/>
  14311. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14312. </member>
  14313. <member name="M:log4net.ILog.Fatal(System.Object,System.Exception)">
  14314. <summary>
  14315. Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level including
  14316. the stack trace of the <see cref="T:System.Exception"/> passed
  14317. as a parameter.
  14318. </summary>
  14319. <param name="message">The message object to log.</param>
  14320. <param name="exception">The exception to log, including its stack trace.</param>
  14321. <remarks>
  14322. <para>
  14323. See the <see cref="M:Fatal(object)"/> form for more detailed information.
  14324. </para>
  14325. </remarks>
  14326. <seealso cref="M:Fatal(object)"/>
  14327. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14328. </member>
  14329. <member name="M:log4net.ILog.FatalFormat(System.String,System.Object[])">
  14330. <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.</overloads>
  14331. <summary>
  14332. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14333. </summary>
  14334. <param name="format">A String containing zero or more format items</param>
  14335. <param name="args">An Object array containing zero or more objects to format</param>
  14336. <remarks>
  14337. <para>
  14338. The message is formatted using the <c>String.Format</c> method. See
  14339. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14340. of the formatting.
  14341. </para>
  14342. <para>
  14343. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14344. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  14345. methods instead.
  14346. </para>
  14347. </remarks>
  14348. <seealso cref="M:Fatal(object,Exception)"/>
  14349. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14350. </member>
  14351. <member name="M:log4net.ILog.FatalFormat(System.String,System.Object)">
  14352. <summary>
  14353. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14354. </summary>
  14355. <param name="format">A String containing zero or more format items</param>
  14356. <param name="arg0">An Object to format</param>
  14357. <remarks>
  14358. <para>
  14359. The message is formatted using the <c>String.Format</c> method. See
  14360. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14361. of the formatting.
  14362. </para>
  14363. <para>
  14364. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14365. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object,Exception)"/>
  14366. methods instead.
  14367. </para>
  14368. </remarks>
  14369. <seealso cref="M:Fatal(object)"/>
  14370. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14371. </member>
  14372. <member name="M:log4net.ILog.FatalFormat(System.String,System.Object,System.Object)">
  14373. <summary>
  14374. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14375. </summary>
  14376. <param name="format">A String containing zero or more format items</param>
  14377. <param name="arg0">An Object to format</param>
  14378. <param name="arg1">An Object to format</param>
  14379. <remarks>
  14380. <para>
  14381. The message is formatted using the <c>String.Format</c> method. See
  14382. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14383. of the formatting.
  14384. </para>
  14385. <para>
  14386. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14387. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object,Exception)"/>
  14388. methods instead.
  14389. </para>
  14390. </remarks>
  14391. <seealso cref="M:Fatal(object)"/>
  14392. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14393. </member>
  14394. <member name="M:log4net.ILog.FatalFormat(System.String,System.Object,System.Object,System.Object)">
  14395. <summary>
  14396. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14397. </summary>
  14398. <param name="format">A String containing zero or more format items</param>
  14399. <param name="arg0">An Object to format</param>
  14400. <param name="arg1">An Object to format</param>
  14401. <param name="arg2">An Object to format</param>
  14402. <remarks>
  14403. <para>
  14404. The message is formatted using the <c>String.Format</c> method. See
  14405. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14406. of the formatting.
  14407. </para>
  14408. <para>
  14409. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14410. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object,Exception)"/>
  14411. methods instead.
  14412. </para>
  14413. </remarks>
  14414. <seealso cref="M:Fatal(object)"/>
  14415. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14416. </member>
  14417. <member name="M:log4net.ILog.FatalFormat(System.IFormatProvider,System.String,System.Object[])">
  14418. <summary>
  14419. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14420. </summary>
  14421. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  14422. <param name="format">A String containing zero or more format items</param>
  14423. <param name="args">An Object array containing zero or more objects to format</param>
  14424. <remarks>
  14425. <para>
  14426. The message is formatted using the <c>String.Format</c> method. See
  14427. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14428. of the formatting.
  14429. </para>
  14430. <para>
  14431. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14432. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  14433. methods instead.
  14434. </para>
  14435. </remarks>
  14436. <seealso cref="M:Fatal(object,Exception)"/>
  14437. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14438. </member>
  14439. <member name="P:log4net.ILog.IsDebugEnabled">
  14440. <summary>
  14441. Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Debug"/> level.
  14442. </summary>
  14443. <value>
  14444. <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Debug"/> events, <c>false</c> otherwise.
  14445. </value>
  14446. <remarks>
  14447. <para>
  14448. This function is intended to lessen the computational cost of
  14449. disabled log debug statements.
  14450. </para>
  14451. <para> For some ILog interface <c>log</c>, when you write:</para>
  14452. <code lang="C#">
  14453. log.Debug("This is entry number: " + i );
  14454. </code>
  14455. <para>
  14456. You incur the cost constructing the message, string construction and concatenation in
  14457. this case, regardless of whether the message is logged or not.
  14458. </para>
  14459. <para>
  14460. If you are worried about speed (who isn't), then you should write:
  14461. </para>
  14462. <code lang="C#">
  14463. if (log.IsDebugEnabled)
  14464. {
  14465. log.Debug("This is entry number: " + i );
  14466. }
  14467. </code>
  14468. <para>
  14469. This way you will not incur the cost of parameter
  14470. construction if debugging is disabled for <c>log</c>. On
  14471. the other hand, if the <c>log</c> is debug enabled, you
  14472. will incur the cost of evaluating whether the logger is debug
  14473. enabled twice. Once in <see cref="P:log4net.ILog.IsDebugEnabled"/> and once in
  14474. the <see cref="M:Debug(object)"/>. This is an insignificant overhead
  14475. since evaluating a logger takes about 1% of the time it
  14476. takes to actually log. This is the preferred style of logging.
  14477. </para>
  14478. <para>Alternatively if your logger is available statically then the is debug
  14479. enabled state can be stored in a static variable like this:
  14480. </para>
  14481. <code lang="C#">
  14482. private static readonly bool isDebugEnabled = log.IsDebugEnabled;
  14483. </code>
  14484. <para>
  14485. Then when you come to log you can write:
  14486. </para>
  14487. <code lang="C#">
  14488. if (isDebugEnabled)
  14489. {
  14490. log.Debug("This is entry number: " + i );
  14491. }
  14492. </code>
  14493. <para>
  14494. This way the debug enabled state is only queried once
  14495. when the class is loaded. Using a <c>private static readonly</c>
  14496. variable is the most efficient because it is a run time constant
  14497. and can be heavily optimized by the JIT compiler.
  14498. </para>
  14499. <para>
  14500. Of course if you use a static readonly variable to
  14501. hold the enabled state of the logger then you cannot
  14502. change the enabled state at runtime to vary the logging
  14503. that is produced. You have to decide if you need absolute
  14504. speed or runtime flexibility.
  14505. </para>
  14506. </remarks>
  14507. <seealso cref="M:Debug(object)"/>
  14508. <seealso cref="M:DebugFormat(IFormatProvider, string, object[])"/>
  14509. </member>
  14510. <member name="P:log4net.ILog.IsInfoEnabled">
  14511. <summary>
  14512. Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Info"/> level.
  14513. </summary>
  14514. <value>
  14515. <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Info"/> events, <c>false</c> otherwise.
  14516. </value>
  14517. <remarks>
  14518. For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
  14519. </remarks>
  14520. <seealso cref="M:Info(object)"/>
  14521. <seealso cref="M:InfoFormat(IFormatProvider, string, object[])"/>
  14522. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  14523. </member>
  14524. <member name="P:log4net.ILog.IsWarnEnabled">
  14525. <summary>
  14526. Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Warn"/> level.
  14527. </summary>
  14528. <value>
  14529. <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Warn"/> events, <c>false</c> otherwise.
  14530. </value>
  14531. <remarks>
  14532. For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
  14533. </remarks>
  14534. <seealso cref="M:Warn(object)"/>
  14535. <seealso cref="M:WarnFormat(IFormatProvider, string, object[])"/>
  14536. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  14537. </member>
  14538. <member name="P:log4net.ILog.IsErrorEnabled">
  14539. <summary>
  14540. Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Error"/> level.
  14541. </summary>
  14542. <value>
  14543. <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Error"/> events, <c>false</c> otherwise.
  14544. </value>
  14545. <remarks>
  14546. For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
  14547. </remarks>
  14548. <seealso cref="M:Error(object)"/>
  14549. <seealso cref="M:ErrorFormat(IFormatProvider, string, object[])"/>
  14550. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  14551. </member>
  14552. <member name="P:log4net.ILog.IsFatalEnabled">
  14553. <summary>
  14554. Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14555. </summary>
  14556. <value>
  14557. <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Fatal"/> events, <c>false</c> otherwise.
  14558. </value>
  14559. <remarks>
  14560. For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
  14561. </remarks>
  14562. <seealso cref="M:Fatal(object)"/>
  14563. <seealso cref="M:FatalFormat(IFormatProvider, string, object[])"/>
  14564. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  14565. </member>
  14566. <member name="M:log4net.Core.LogImpl.#ctor(log4net.Core.ILogger)">
  14567. <summary>
  14568. Construct a new wrapper for the specified logger.
  14569. </summary>
  14570. <param name="logger">The logger to wrap.</param>
  14571. <remarks>
  14572. <para>
  14573. Construct a new wrapper for the specified logger.
  14574. </para>
  14575. </remarks>
  14576. </member>
  14577. <member name="M:log4net.Core.LogImpl.ReloadLevels(log4net.Repository.ILoggerRepository)">
  14578. <summary>
  14579. Virtual method called when the configuration of the repository changes
  14580. </summary>
  14581. <param name="repository">the repository holding the levels</param>
  14582. <remarks>
  14583. <para>
  14584. Virtual method called when the configuration of the repository changes
  14585. </para>
  14586. </remarks>
  14587. </member>
  14588. <member name="M:log4net.Core.LogImpl.Debug(System.Object)">
  14589. <summary>
  14590. Logs a message object with the <c>DEBUG</c> level.
  14591. </summary>
  14592. <param name="message">The message object to log.</param>
  14593. <remarks>
  14594. <para>
  14595. This method first checks if this logger is <c>DEBUG</c>
  14596. enabled by comparing the level of this logger with the
  14597. <c>DEBUG</c> level. If this logger is
  14598. <c>DEBUG</c> enabled, then it converts the message object
  14599. (passed as parameter) to a string by invoking the appropriate
  14600. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  14601. proceeds to call all the registered appenders in this logger
  14602. and also higher in the hierarchy depending on the value of the
  14603. additivity flag.
  14604. </para>
  14605. <para>
  14606. <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  14607. to this method will print the name of the <see cref="T:System.Exception"/>
  14608. but no stack trace. To print a stack trace use the
  14609. <see cref="M:Debug(object,Exception)"/> form instead.
  14610. </para>
  14611. </remarks>
  14612. </member>
  14613. <member name="M:log4net.Core.LogImpl.Debug(System.Object,System.Exception)">
  14614. <summary>
  14615. Logs a message object with the <c>DEBUG</c> level
  14616. </summary>
  14617. <param name="message">The message object to log.</param>
  14618. <param name="exception">The exception to log, including its stack trace.</param>
  14619. <remarks>
  14620. <para>
  14621. Logs a message object with the <c>DEBUG</c> level including
  14622. the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/> passed
  14623. as a parameter.
  14624. </para>
  14625. <para>
  14626. See the <see cref="M:Debug(object)"/> form for more detailed information.
  14627. </para>
  14628. </remarks>
  14629. <seealso cref="M:Debug(object)"/>
  14630. </member>
  14631. <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object[])">
  14632. <summary>
  14633. Logs a formatted message string with the <c>DEBUG</c> level.
  14634. </summary>
  14635. <param name="format">A String containing zero or more format items</param>
  14636. <param name="args">An Object array containing zero or more objects to format</param>
  14637. <remarks>
  14638. <para>
  14639. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14640. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14641. of the formatting.
  14642. </para>
  14643. <para>
  14644. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14645. format provider. To specify a localized provider use the
  14646. <see cref="M:DebugFormat(IFormatProvider,string,object[])"/> method.
  14647. </para>
  14648. <para>
  14649. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14650. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object)"/>
  14651. methods instead.
  14652. </para>
  14653. </remarks>
  14654. </member>
  14655. <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object)">
  14656. <summary>
  14657. Logs a formatted message string with the <c>DEBUG</c> level.
  14658. </summary>
  14659. <param name="format">A String containing zero or more format items</param>
  14660. <param name="arg0">An Object to format</param>
  14661. <remarks>
  14662. <para>
  14663. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14664. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14665. of the formatting.
  14666. </para>
  14667. <para>
  14668. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14669. format provider. To specify a localized provider use the
  14670. <see cref="M:DebugFormat(IFormatProvider,string,object[])"/> method.
  14671. </para>
  14672. <para>
  14673. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14674. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object)"/>
  14675. methods instead.
  14676. </para>
  14677. </remarks>
  14678. </member>
  14679. <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object,System.Object)">
  14680. <summary>
  14681. Logs a formatted message string with the <c>DEBUG</c> level.
  14682. </summary>
  14683. <param name="format">A String containing zero or more format items</param>
  14684. <param name="arg0">An Object to format</param>
  14685. <param name="arg1">An Object to format</param>
  14686. <remarks>
  14687. <para>
  14688. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14689. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14690. of the formatting.
  14691. </para>
  14692. <para>
  14693. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14694. format provider. To specify a localized provider use the
  14695. <see cref="M:DebugFormat(IFormatProvider,string,object[])"/> method.
  14696. </para>
  14697. <para>
  14698. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14699. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object)"/>
  14700. methods instead.
  14701. </para>
  14702. </remarks>
  14703. </member>
  14704. <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object,System.Object,System.Object)">
  14705. <summary>
  14706. Logs a formatted message string with the <c>DEBUG</c> level.
  14707. </summary>
  14708. <param name="format">A String containing zero or more format items</param>
  14709. <param name="arg0">An Object to format</param>
  14710. <param name="arg1">An Object to format</param>
  14711. <param name="arg2">An Object to format</param>
  14712. <remarks>
  14713. <para>
  14714. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14715. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14716. of the formatting.
  14717. </para>
  14718. <para>
  14719. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14720. format provider. To specify a localized provider use the
  14721. <see cref="M:DebugFormat(IFormatProvider,string,object[])"/> method.
  14722. </para>
  14723. <para>
  14724. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14725. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object)"/>
  14726. methods instead.
  14727. </para>
  14728. </remarks>
  14729. </member>
  14730. <member name="M:log4net.Core.LogImpl.DebugFormat(System.IFormatProvider,System.String,System.Object[])">
  14731. <summary>
  14732. Logs a formatted message string with the <c>DEBUG</c> level.
  14733. </summary>
  14734. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  14735. <param name="format">A String containing zero or more format items</param>
  14736. <param name="args">An Object array containing zero or more objects to format</param>
  14737. <remarks>
  14738. <para>
  14739. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14740. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14741. of the formatting.
  14742. </para>
  14743. <para>
  14744. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14745. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object)"/>
  14746. methods instead.
  14747. </para>
  14748. </remarks>
  14749. </member>
  14750. <member name="M:log4net.Core.LogImpl.Info(System.Object)">
  14751. <summary>
  14752. Logs a message object with the <c>INFO</c> level.
  14753. </summary>
  14754. <param name="message">The message object to log.</param>
  14755. <remarks>
  14756. <para>
  14757. This method first checks if this logger is <c>INFO</c>
  14758. enabled by comparing the level of this logger with the
  14759. <c>INFO</c> level. If this logger is
  14760. <c>INFO</c> enabled, then it converts the message object
  14761. (passed as parameter) to a string by invoking the appropriate
  14762. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  14763. proceeds to call all the registered appenders in this logger
  14764. and also higher in the hierarchy depending on the value of
  14765. the additivity flag.
  14766. </para>
  14767. <para>
  14768. <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  14769. to this method will print the name of the <see cref="T:System.Exception"/>
  14770. but no stack trace. To print a stack trace use the
  14771. <see cref="M:Info(object,Exception)"/> form instead.
  14772. </para>
  14773. </remarks>
  14774. </member>
  14775. <member name="M:log4net.Core.LogImpl.Info(System.Object,System.Exception)">
  14776. <summary>
  14777. Logs a message object with the <c>INFO</c> level.
  14778. </summary>
  14779. <param name="message">The message object to log.</param>
  14780. <param name="exception">The exception to log, including its stack trace.</param>
  14781. <remarks>
  14782. <para>
  14783. Logs a message object with the <c>INFO</c> level including
  14784. the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/>
  14785. passed as a parameter.
  14786. </para>
  14787. <para>
  14788. See the <see cref="M:Info(object)"/> form for more detailed information.
  14789. </para>
  14790. </remarks>
  14791. <seealso cref="M:Info(object)"/>
  14792. </member>
  14793. <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object[])">
  14794. <summary>
  14795. Logs a formatted message string with the <c>INFO</c> level.
  14796. </summary>
  14797. <param name="format">A String containing zero or more format items</param>
  14798. <param name="args">An Object array containing zero or more objects to format</param>
  14799. <remarks>
  14800. <para>
  14801. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14802. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14803. of the formatting.
  14804. </para>
  14805. <para>
  14806. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14807. format provider. To specify a localized provider use the
  14808. <see cref="M:InfoFormat(IFormatProvider,string,object[])"/> method.
  14809. </para>
  14810. <para>
  14811. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14812. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  14813. methods instead.
  14814. </para>
  14815. </remarks>
  14816. </member>
  14817. <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object)">
  14818. <summary>
  14819. Logs a formatted message string with the <c>INFO</c> level.
  14820. </summary>
  14821. <param name="format">A String containing zero or more format items</param>
  14822. <param name="arg0">An Object to format</param>
  14823. <remarks>
  14824. <para>
  14825. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14826. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14827. of the formatting.
  14828. </para>
  14829. <para>
  14830. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14831. format provider. To specify a localized provider use the
  14832. <see cref="M:InfoFormat(IFormatProvider,string,object[])"/> method.
  14833. </para>
  14834. <para>
  14835. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14836. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  14837. methods instead.
  14838. </para>
  14839. </remarks>
  14840. </member>
  14841. <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object,System.Object)">
  14842. <summary>
  14843. Logs a formatted message string with the <c>INFO</c> level.
  14844. </summary>
  14845. <param name="format">A String containing zero or more format items</param>
  14846. <param name="arg0">An Object to format</param>
  14847. <param name="arg1">An Object to format</param>
  14848. <remarks>
  14849. <para>
  14850. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14851. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14852. of the formatting.
  14853. </para>
  14854. <para>
  14855. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14856. format provider. To specify a localized provider use the
  14857. <see cref="M:InfoFormat(IFormatProvider,string,object[])"/> method.
  14858. </para>
  14859. <para>
  14860. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14861. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  14862. methods instead.
  14863. </para>
  14864. </remarks>
  14865. </member>
  14866. <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object,System.Object,System.Object)">
  14867. <summary>
  14868. Logs a formatted message string with the <c>INFO</c> level.
  14869. </summary>
  14870. <param name="format">A String containing zero or more format items</param>
  14871. <param name="arg0">An Object to format</param>
  14872. <param name="arg1">An Object to format</param>
  14873. <param name="arg2">An Object to format</param>
  14874. <remarks>
  14875. <para>
  14876. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14877. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14878. of the formatting.
  14879. </para>
  14880. <para>
  14881. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14882. format provider. To specify a localized provider use the
  14883. <see cref="M:InfoFormat(IFormatProvider,string,object[])"/> method.
  14884. </para>
  14885. <para>
  14886. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14887. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  14888. methods instead.
  14889. </para>
  14890. </remarks>
  14891. </member>
  14892. <member name="M:log4net.Core.LogImpl.InfoFormat(System.IFormatProvider,System.String,System.Object[])">
  14893. <summary>
  14894. Logs a formatted message string with the <c>INFO</c> level.
  14895. </summary>
  14896. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  14897. <param name="format">A String containing zero or more format items</param>
  14898. <param name="args">An Object array containing zero or more objects to format</param>
  14899. <remarks>
  14900. <para>
  14901. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14902. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14903. of the formatting.
  14904. </para>
  14905. <para>
  14906. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14907. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  14908. methods instead.
  14909. </para>
  14910. </remarks>
  14911. </member>
  14912. <member name="M:log4net.Core.LogImpl.Warn(System.Object)">
  14913. <summary>
  14914. Logs a message object with the <c>WARN</c> level.
  14915. </summary>
  14916. <param name="message">the message object to log</param>
  14917. <remarks>
  14918. <para>
  14919. This method first checks if this logger is <c>WARN</c>
  14920. enabled by comparing the level of this logger with the
  14921. <c>WARN</c> level. If this logger is
  14922. <c>WARN</c> enabled, then it converts the message object
  14923. (passed as parameter) to a string by invoking the appropriate
  14924. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  14925. proceeds to call all the registered appenders in this logger and
  14926. also higher in the hierarchy depending on the value of the
  14927. additivity flag.
  14928. </para>
  14929. <para>
  14930. <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> to this
  14931. method will print the name of the <see cref="T:System.Exception"/> but no
  14932. stack trace. To print a stack trace use the
  14933. <see cref="M:Warn(object,Exception)"/> form instead.
  14934. </para>
  14935. </remarks>
  14936. </member>
  14937. <member name="M:log4net.Core.LogImpl.Warn(System.Object,System.Exception)">
  14938. <summary>
  14939. Logs a message object with the <c>WARN</c> level
  14940. </summary>
  14941. <param name="message">The message object to log.</param>
  14942. <param name="exception">The exception to log, including its stack trace.</param>
  14943. <remarks>
  14944. <para>
  14945. Logs a message object with the <c>WARN</c> level including
  14946. the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/>
  14947. passed as a parameter.
  14948. </para>
  14949. <para>
  14950. See the <see cref="M:Warn(object)"/> form for more detailed information.
  14951. </para>
  14952. </remarks>
  14953. <seealso cref="M:Warn(object)"/>
  14954. </member>
  14955. <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object[])">
  14956. <summary>
  14957. Logs a formatted message string with the <c>WARN</c> level.
  14958. </summary>
  14959. <param name="format">A String containing zero or more format items</param>
  14960. <param name="args">An Object array containing zero or more objects to format</param>
  14961. <remarks>
  14962. <para>
  14963. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14964. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14965. of the formatting.
  14966. </para>
  14967. <para>
  14968. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14969. format provider. To specify a localized provider use the
  14970. <see cref="M:WarnFormat(IFormatProvider,string,object[])"/> method.
  14971. </para>
  14972. <para>
  14973. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14974. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  14975. methods instead.
  14976. </para>
  14977. </remarks>
  14978. </member>
  14979. <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object)">
  14980. <summary>
  14981. Logs a formatted message string with the <c>WARN</c> level.
  14982. </summary>
  14983. <param name="format">A String containing zero or more format items</param>
  14984. <param name="arg0">An Object to format</param>
  14985. <remarks>
  14986. <para>
  14987. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14988. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14989. of the formatting.
  14990. </para>
  14991. <para>
  14992. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14993. format provider. To specify a localized provider use the
  14994. <see cref="M:WarnFormat(IFormatProvider,string,object[])"/> method.
  14995. </para>
  14996. <para>
  14997. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14998. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  14999. methods instead.
  15000. </para>
  15001. </remarks>
  15002. </member>
  15003. <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object,System.Object)">
  15004. <summary>
  15005. Logs a formatted message string with the <c>WARN</c> level.
  15006. </summary>
  15007. <param name="format">A String containing zero or more format items</param>
  15008. <param name="arg0">An Object to format</param>
  15009. <param name="arg1">An Object to format</param>
  15010. <remarks>
  15011. <para>
  15012. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15013. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15014. of the formatting.
  15015. </para>
  15016. <para>
  15017. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15018. format provider. To specify a localized provider use the
  15019. <see cref="M:WarnFormat(IFormatProvider,string,object[])"/> method.
  15020. </para>
  15021. <para>
  15022. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15023. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  15024. methods instead.
  15025. </para>
  15026. </remarks>
  15027. </member>
  15028. <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object,System.Object,System.Object)">
  15029. <summary>
  15030. Logs a formatted message string with the <c>WARN</c> level.
  15031. </summary>
  15032. <param name="format">A String containing zero or more format items</param>
  15033. <param name="arg0">An Object to format</param>
  15034. <param name="arg1">An Object to format</param>
  15035. <param name="arg2">An Object to format</param>
  15036. <remarks>
  15037. <para>
  15038. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15039. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15040. of the formatting.
  15041. </para>
  15042. <para>
  15043. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15044. format provider. To specify a localized provider use the
  15045. <see cref="M:WarnFormat(IFormatProvider,string,object[])"/> method.
  15046. </para>
  15047. <para>
  15048. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15049. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  15050. methods instead.
  15051. </para>
  15052. </remarks>
  15053. </member>
  15054. <member name="M:log4net.Core.LogImpl.WarnFormat(System.IFormatProvider,System.String,System.Object[])">
  15055. <summary>
  15056. Logs a formatted message string with the <c>WARN</c> level.
  15057. </summary>
  15058. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  15059. <param name="format">A String containing zero or more format items</param>
  15060. <param name="args">An Object array containing zero or more objects to format</param>
  15061. <remarks>
  15062. <para>
  15063. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15064. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15065. of the formatting.
  15066. </para>
  15067. <para>
  15068. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15069. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  15070. methods instead.
  15071. </para>
  15072. </remarks>
  15073. </member>
  15074. <member name="M:log4net.Core.LogImpl.Error(System.Object)">
  15075. <summary>
  15076. Logs a message object with the <c>ERROR</c> level.
  15077. </summary>
  15078. <param name="message">The message object to log.</param>
  15079. <remarks>
  15080. <para>
  15081. This method first checks if this logger is <c>ERROR</c>
  15082. enabled by comparing the level of this logger with the
  15083. <c>ERROR</c> level. If this logger is
  15084. <c>ERROR</c> enabled, then it converts the message object
  15085. (passed as parameter) to a string by invoking the appropriate
  15086. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  15087. proceeds to call all the registered appenders in this logger and
  15088. also higher in the hierarchy depending on the value of the
  15089. additivity flag.
  15090. </para>
  15091. <para>
  15092. <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> to this
  15093. method will print the name of the <see cref="T:System.Exception"/> but no
  15094. stack trace. To print a stack trace use the
  15095. <see cref="M:Error(object,Exception)"/> form instead.
  15096. </para>
  15097. </remarks>
  15098. </member>
  15099. <member name="M:log4net.Core.LogImpl.Error(System.Object,System.Exception)">
  15100. <summary>
  15101. Logs a message object with the <c>ERROR</c> level
  15102. </summary>
  15103. <param name="message">The message object to log.</param>
  15104. <param name="exception">The exception to log, including its stack trace.</param>
  15105. <remarks>
  15106. <para>
  15107. Logs a message object with the <c>ERROR</c> level including
  15108. the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/>
  15109. passed as a parameter.
  15110. </para>
  15111. <para>
  15112. See the <see cref="M:Error(object)"/> form for more detailed information.
  15113. </para>
  15114. </remarks>
  15115. <seealso cref="M:Error(object)"/>
  15116. </member>
  15117. <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object[])">
  15118. <summary>
  15119. Logs a formatted message string with the <c>ERROR</c> level.
  15120. </summary>
  15121. <param name="format">A String containing zero or more format items</param>
  15122. <param name="args">An Object array containing zero or more objects to format</param>
  15123. <remarks>
  15124. <para>
  15125. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15126. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15127. of the formatting.
  15128. </para>
  15129. <para>
  15130. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15131. format provider. To specify a localized provider use the
  15132. <see cref="M:ErrorFormat(IFormatProvider,string,object[])"/> method.
  15133. </para>
  15134. <para>
  15135. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15136. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  15137. methods instead.
  15138. </para>
  15139. </remarks>
  15140. </member>
  15141. <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object)">
  15142. <summary>
  15143. Logs a formatted message string with the <c>ERROR</c> level.
  15144. </summary>
  15145. <param name="format">A String containing zero or more format items</param>
  15146. <param name="arg0">An Object to format</param>
  15147. <remarks>
  15148. <para>
  15149. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15150. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15151. of the formatting.
  15152. </para>
  15153. <para>
  15154. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15155. format provider. To specify a localized provider use the
  15156. <see cref="M:ErrorFormat(IFormatProvider,string,object[])"/> method.
  15157. </para>
  15158. <para>
  15159. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15160. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  15161. methods instead.
  15162. </para>
  15163. </remarks>
  15164. </member>
  15165. <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object,System.Object)">
  15166. <summary>
  15167. Logs a formatted message string with the <c>ERROR</c> level.
  15168. </summary>
  15169. <param name="format">A String containing zero or more format items</param>
  15170. <param name="arg0">An Object to format</param>
  15171. <param name="arg1">An Object to format</param>
  15172. <remarks>
  15173. <para>
  15174. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15175. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15176. of the formatting.
  15177. </para>
  15178. <para>
  15179. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15180. format provider. To specify a localized provider use the
  15181. <see cref="M:ErrorFormat(IFormatProvider,string,object[])"/> method.
  15182. </para>
  15183. <para>
  15184. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15185. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  15186. methods instead.
  15187. </para>
  15188. </remarks>
  15189. </member>
  15190. <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object,System.Object,System.Object)">
  15191. <summary>
  15192. Logs a formatted message string with the <c>ERROR</c> level.
  15193. </summary>
  15194. <param name="format">A String containing zero or more format items</param>
  15195. <param name="arg0">An Object to format</param>
  15196. <param name="arg1">An Object to format</param>
  15197. <param name="arg2">An Object to format</param>
  15198. <remarks>
  15199. <para>
  15200. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15201. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15202. of the formatting.
  15203. </para>
  15204. <para>
  15205. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15206. format provider. To specify a localized provider use the
  15207. <see cref="M:ErrorFormat(IFormatProvider,string,object[])"/> method.
  15208. </para>
  15209. <para>
  15210. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15211. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  15212. methods instead.
  15213. </para>
  15214. </remarks>
  15215. </member>
  15216. <member name="M:log4net.Core.LogImpl.ErrorFormat(System.IFormatProvider,System.String,System.Object[])">
  15217. <summary>
  15218. Logs a formatted message string with the <c>ERROR</c> level.
  15219. </summary>
  15220. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  15221. <param name="format">A String containing zero or more format items</param>
  15222. <param name="args">An Object array containing zero or more objects to format</param>
  15223. <remarks>
  15224. <para>
  15225. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15226. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15227. of the formatting.
  15228. </para>
  15229. <para>
  15230. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15231. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  15232. methods instead.
  15233. </para>
  15234. </remarks>
  15235. </member>
  15236. <member name="M:log4net.Core.LogImpl.Fatal(System.Object)">
  15237. <summary>
  15238. Logs a message object with the <c>FATAL</c> level.
  15239. </summary>
  15240. <param name="message">The message object to log.</param>
  15241. <remarks>
  15242. <para>
  15243. This method first checks if this logger is <c>FATAL</c>
  15244. enabled by comparing the level of this logger with the
  15245. <c>FATAL</c> level. If this logger is
  15246. <c>FATAL</c> enabled, then it converts the message object
  15247. (passed as parameter) to a string by invoking the appropriate
  15248. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  15249. proceeds to call all the registered appenders in this logger and
  15250. also higher in the hierarchy depending on the value of the
  15251. additivity flag.
  15252. </para>
  15253. <para>
  15254. <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> to this
  15255. method will print the name of the <see cref="T:System.Exception"/> but no
  15256. stack trace. To print a stack trace use the
  15257. <see cref="M:Fatal(object,Exception)"/> form instead.
  15258. </para>
  15259. </remarks>
  15260. </member>
  15261. <member name="M:log4net.Core.LogImpl.Fatal(System.Object,System.Exception)">
  15262. <summary>
  15263. Logs a message object with the <c>FATAL</c> level
  15264. </summary>
  15265. <param name="message">The message object to log.</param>
  15266. <param name="exception">The exception to log, including its stack trace.</param>
  15267. <remarks>
  15268. <para>
  15269. Logs a message object with the <c>FATAL</c> level including
  15270. the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/>
  15271. passed as a parameter.
  15272. </para>
  15273. <para>
  15274. See the <see cref="M:Fatal(object)"/> form for more detailed information.
  15275. </para>
  15276. </remarks>
  15277. <seealso cref="M:Fatal(object)"/>
  15278. </member>
  15279. <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object[])">
  15280. <summary>
  15281. Logs a formatted message string with the <c>FATAL</c> level.
  15282. </summary>
  15283. <param name="format">A String containing zero or more format items</param>
  15284. <param name="args">An Object array containing zero or more objects to format</param>
  15285. <remarks>
  15286. <para>
  15287. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15288. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15289. of the formatting.
  15290. </para>
  15291. <para>
  15292. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15293. format provider. To specify a localized provider use the
  15294. <see cref="M:FatalFormat(IFormatProvider,string,object[])"/> method.
  15295. </para>
  15296. <para>
  15297. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15298. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  15299. methods instead.
  15300. </para>
  15301. </remarks>
  15302. </member>
  15303. <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object)">
  15304. <summary>
  15305. Logs a formatted message string with the <c>FATAL</c> level.
  15306. </summary>
  15307. <param name="format">A String containing zero or more format items</param>
  15308. <param name="arg0">An Object to format</param>
  15309. <remarks>
  15310. <para>
  15311. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15312. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15313. of the formatting.
  15314. </para>
  15315. <para>
  15316. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15317. format provider. To specify a localized provider use the
  15318. <see cref="M:FatalFormat(IFormatProvider,string,object[])"/> method.
  15319. </para>
  15320. <para>
  15321. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15322. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  15323. methods instead.
  15324. </para>
  15325. </remarks>
  15326. </member>
  15327. <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object,System.Object)">
  15328. <summary>
  15329. Logs a formatted message string with the <c>FATAL</c> level.
  15330. </summary>
  15331. <param name="format">A String containing zero or more format items</param>
  15332. <param name="arg0">An Object to format</param>
  15333. <param name="arg1">An Object to format</param>
  15334. <remarks>
  15335. <para>
  15336. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15337. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15338. of the formatting.
  15339. </para>
  15340. <para>
  15341. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15342. format provider. To specify a localized provider use the
  15343. <see cref="M:FatalFormat(IFormatProvider,string,object[])"/> method.
  15344. </para>
  15345. <para>
  15346. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15347. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  15348. methods instead.
  15349. </para>
  15350. </remarks>
  15351. </member>
  15352. <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object,System.Object,System.Object)">
  15353. <summary>
  15354. Logs a formatted message string with the <c>FATAL</c> level.
  15355. </summary>
  15356. <param name="format">A String containing zero or more format items</param>
  15357. <param name="arg0">An Object to format</param>
  15358. <param name="arg1">An Object to format</param>
  15359. <param name="arg2">An Object to format</param>
  15360. <remarks>
  15361. <para>
  15362. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15363. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15364. of the formatting.
  15365. </para>
  15366. <para>
  15367. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15368. format provider. To specify a localized provider use the
  15369. <see cref="M:FatalFormat(IFormatProvider,string,object[])"/> method.
  15370. </para>
  15371. <para>
  15372. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15373. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  15374. methods instead.
  15375. </para>
  15376. </remarks>
  15377. </member>
  15378. <member name="M:log4net.Core.LogImpl.FatalFormat(System.IFormatProvider,System.String,System.Object[])">
  15379. <summary>
  15380. Logs a formatted message string with the <c>FATAL</c> level.
  15381. </summary>
  15382. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  15383. <param name="format">A String containing zero or more format items</param>
  15384. <param name="args">An Object array containing zero or more objects to format</param>
  15385. <remarks>
  15386. <para>
  15387. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15388. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15389. of the formatting.
  15390. </para>
  15391. <para>
  15392. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15393. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  15394. methods instead.
  15395. </para>
  15396. </remarks>
  15397. </member>
  15398. <member name="M:log4net.Core.LogImpl.LoggerRepositoryConfigurationChanged(System.Object,System.EventArgs)">
  15399. <summary>
  15400. Event handler for the <see cref="E:log4net.Repository.ILoggerRepository.ConfigurationChanged"/> event
  15401. </summary>
  15402. <param name="sender">the repository</param>
  15403. <param name="e">Empty</param>
  15404. </member>
  15405. <member name="F:log4net.Core.LogImpl.ThisDeclaringType">
  15406. <summary>
  15407. The fully qualified name of this declaring type not the type of any subclass.
  15408. </summary>
  15409. </member>
  15410. <member name="P:log4net.Core.LogImpl.IsDebugEnabled">
  15411. <summary>
  15412. Checks if this logger is enabled for the <c>DEBUG</c>
  15413. level.
  15414. </summary>
  15415. <value>
  15416. <c>true</c> if this logger is enabled for <c>DEBUG</c> events,
  15417. <c>false</c> otherwise.
  15418. </value>
  15419. <remarks>
  15420. <para>
  15421. This function is intended to lessen the computational cost of
  15422. disabled log debug statements.
  15423. </para>
  15424. <para>
  15425. For some <c>log</c> Logger object, when you write:
  15426. </para>
  15427. <code lang="C#">
  15428. log.Debug("This is entry number: " + i );
  15429. </code>
  15430. <para>
  15431. You incur the cost constructing the message, concatenation in
  15432. this case, regardless of whether the message is logged or not.
  15433. </para>
  15434. <para>
  15435. If you are worried about speed, then you should write:
  15436. </para>
  15437. <code lang="C#">
  15438. if (log.IsDebugEnabled())
  15439. {
  15440. log.Debug("This is entry number: " + i );
  15441. }
  15442. </code>
  15443. <para>
  15444. This way you will not incur the cost of parameter
  15445. construction if debugging is disabled for <c>log</c>. On
  15446. the other hand, if the <c>log</c> is debug enabled, you
  15447. will incur the cost of evaluating whether the logger is debug
  15448. enabled twice. Once in <c>IsDebugEnabled</c> and once in
  15449. the <c>Debug</c>. This is an insignificant overhead
  15450. since evaluating a logger takes about 1% of the time it
  15451. takes to actually log.
  15452. </para>
  15453. </remarks>
  15454. </member>
  15455. <member name="P:log4net.Core.LogImpl.IsInfoEnabled">
  15456. <summary>
  15457. Checks if this logger is enabled for the <c>INFO</c> level.
  15458. </summary>
  15459. <value>
  15460. <c>true</c> if this logger is enabled for <c>INFO</c> events,
  15461. <c>false</c> otherwise.
  15462. </value>
  15463. <remarks>
  15464. <para>
  15465. See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples
  15466. of using this method.
  15467. </para>
  15468. </remarks>
  15469. <seealso cref="P:log4net.Core.LogImpl.IsDebugEnabled"/>
  15470. </member>
  15471. <member name="P:log4net.Core.LogImpl.IsWarnEnabled">
  15472. <summary>
  15473. Checks if this logger is enabled for the <c>WARN</c> level.
  15474. </summary>
  15475. <value>
  15476. <c>true</c> if this logger is enabled for <c>WARN</c> events,
  15477. <c>false</c> otherwise.
  15478. </value>
  15479. <remarks>
  15480. <para>
  15481. See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples
  15482. of using this method.
  15483. </para>
  15484. </remarks>
  15485. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  15486. </member>
  15487. <member name="P:log4net.Core.LogImpl.IsErrorEnabled">
  15488. <summary>
  15489. Checks if this logger is enabled for the <c>ERROR</c> level.
  15490. </summary>
  15491. <value>
  15492. <c>true</c> if this logger is enabled for <c>ERROR</c> events,
  15493. <c>false</c> otherwise.
  15494. </value>
  15495. <remarks>
  15496. <para>
  15497. See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples of using this method.
  15498. </para>
  15499. </remarks>
  15500. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  15501. </member>
  15502. <member name="P:log4net.Core.LogImpl.IsFatalEnabled">
  15503. <summary>
  15504. Checks if this logger is enabled for the <c>FATAL</c> level.
  15505. </summary>
  15506. <value>
  15507. <c>true</c> if this logger is enabled for <c>FATAL</c> events,
  15508. <c>false</c> otherwise.
  15509. </value>
  15510. <remarks>
  15511. <para>
  15512. See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples of using this method.
  15513. </para>
  15514. </remarks>
  15515. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  15516. </member>
  15517. <member name="T:log4net.Core.MethodItem">
  15518. <summary>
  15519. provides method information without actually referencing a System.Reflection.MethodBase
  15520. as that would require that the containing assembly is loaded.
  15521. </summary>
  15522. </member>
  15523. <member name="F:log4net.Core.MethodItem.NA">
  15524. <summary>
  15525. When location information is not available the constant
  15526. <c>NA</c> is returned. Current value of this string
  15527. constant is <b>?</b>.
  15528. </summary>
  15529. </member>
  15530. <member name="M:log4net.Core.MethodItem.#ctor">
  15531. <summary>
  15532. constructs a method item for an unknown method.
  15533. </summary>
  15534. </member>
  15535. <member name="M:log4net.Core.MethodItem.#ctor(System.String)">
  15536. <summary>
  15537. constructs a method item from the name of the method.
  15538. </summary>
  15539. <param name="name"></param>
  15540. </member>
  15541. <member name="M:log4net.Core.MethodItem.#ctor(System.String,System.String[])">
  15542. <summary>
  15543. constructs a method item from the name of the method and its parameters.
  15544. </summary>
  15545. <param name="name"></param>
  15546. <param name="parameters"></param>
  15547. </member>
  15548. <member name="M:log4net.Core.MethodItem.#ctor(System.Reflection.MethodBase)">
  15549. <summary>
  15550. constructs a method item from a method base by determining the method name and its parameters.
  15551. </summary>
  15552. <param name="methodBase"></param>
  15553. </member>
  15554. <member name="F:log4net.Core.MethodItem.declaringType">
  15555. <summary>
  15556. The fully qualified type of the StackFrameItem class.
  15557. </summary>
  15558. <remarks>
  15559. Used by the internal logger to record the Type of the
  15560. log message.
  15561. </remarks>
  15562. </member>
  15563. <member name="P:log4net.Core.MethodItem.Name">
  15564. <summary>
  15565. Gets the method name of the caller making the logging
  15566. request.
  15567. </summary>
  15568. <value>
  15569. The method name of the caller making the logging
  15570. request.
  15571. </value>
  15572. <remarks>
  15573. <para>
  15574. Gets the method name of the caller making the logging
  15575. request.
  15576. </para>
  15577. </remarks>
  15578. </member>
  15579. <member name="P:log4net.Core.MethodItem.Parameters">
  15580. <summary>
  15581. Gets the method parameters of the caller making
  15582. the logging request.
  15583. </summary>
  15584. <value>
  15585. The method parameters of the caller making
  15586. the logging request
  15587. </value>
  15588. <remarks>
  15589. <para>
  15590. Gets the method parameters of the caller making
  15591. the logging request.
  15592. </para>
  15593. </remarks>
  15594. </member>
  15595. <member name="T:log4net.Core.SecurityContext">
  15596. <summary>
  15597. A SecurityContext used by log4net when interacting with protected resources
  15598. </summary>
  15599. <remarks>
  15600. <para>
  15601. A SecurityContext used by log4net when interacting with protected resources
  15602. for example with operating system services. This can be used to impersonate
  15603. a principal that has been granted privileges on the system resources.
  15604. </para>
  15605. </remarks>
  15606. <author>Nicko Cadell</author>
  15607. </member>
  15608. <member name="M:log4net.Core.SecurityContext.Impersonate(System.Object)">
  15609. <summary>
  15610. Impersonate this SecurityContext
  15611. </summary>
  15612. <param name="state">State supplied by the caller</param>
  15613. <returns>An <see cref="T:System.IDisposable"/> instance that will
  15614. revoke the impersonation of this SecurityContext, or <c>null</c></returns>
  15615. <remarks>
  15616. <para>
  15617. Impersonate this security context. Further calls on the current
  15618. thread should now be made in the security context provided
  15619. by this object. When the <see cref="T:System.IDisposable"/> result
  15620. <see cref="M:System.IDisposable.Dispose"/> method is called the security
  15621. context of the thread should be reverted to the state it was in
  15622. before <see cref="M:log4net.Core.SecurityContext.Impersonate(System.Object)"/> was called.
  15623. </para>
  15624. </remarks>
  15625. </member>
  15626. <member name="T:log4net.Core.SecurityContextProvider">
  15627. <summary>
  15628. The <see cref="T:log4net.Core.SecurityContextProvider"/> providers default <see cref="T:log4net.Core.SecurityContext"/> instances.
  15629. </summary>
  15630. <remarks>
  15631. <para>
  15632. A configured component that interacts with potentially protected system
  15633. resources uses a <see cref="T:log4net.Core.SecurityContext"/> to provide the elevated
  15634. privileges required. If the <see cref="T:log4net.Core.SecurityContext"/> object has
  15635. been not been explicitly provided to the component then the component
  15636. will request one from this <see cref="T:log4net.Core.SecurityContextProvider"/>.
  15637. </para>
  15638. <para>
  15639. By default the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is
  15640. an instance of <see cref="T:log4net.Core.SecurityContextProvider"/> which returns only
  15641. <see cref="T:log4net.Util.NullSecurityContext"/> objects. This is a reasonable default
  15642. where the privileges required are not know by the system.
  15643. </para>
  15644. <para>
  15645. This default behavior can be overridden by subclassing the <see cref="T:log4net.Core.SecurityContextProvider"/>
  15646. and overriding the <see cref="M:log4net.Core.SecurityContextProvider.CreateSecurityContext(System.Object)"/> method to return
  15647. the desired <see cref="T:log4net.Core.SecurityContext"/> objects. The default provider
  15648. can be replaced by programmatically setting the value of the
  15649. <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> property.
  15650. </para>
  15651. <para>
  15652. An alternative is to use the <c>log4net.Config.SecurityContextProviderAttribute</c>
  15653. This attribute can be applied to an assembly in the same way as the
  15654. <c>log4net.Config.XmlConfiguratorAttribute"</c>. The attribute takes
  15655. the type to use as the <see cref="T:log4net.Core.SecurityContextProvider"/> as an argument.
  15656. </para>
  15657. </remarks>
  15658. <author>Nicko Cadell</author>
  15659. </member>
  15660. <member name="F:log4net.Core.SecurityContextProvider.s_defaultProvider">
  15661. <summary>
  15662. The default provider
  15663. </summary>
  15664. </member>
  15665. <member name="M:log4net.Core.SecurityContextProvider.#ctor">
  15666. <summary>
  15667. Protected default constructor to allow subclassing
  15668. </summary>
  15669. <remarks>
  15670. <para>
  15671. Protected default constructor to allow subclassing
  15672. </para>
  15673. </remarks>
  15674. </member>
  15675. <member name="M:log4net.Core.SecurityContextProvider.CreateSecurityContext(System.Object)">
  15676. <summary>
  15677. Create a SecurityContext for a consumer
  15678. </summary>
  15679. <param name="consumer">The consumer requesting the SecurityContext</param>
  15680. <returns>An impersonation context</returns>
  15681. <remarks>
  15682. <para>
  15683. The default implementation is to return a <see cref="T:log4net.Util.NullSecurityContext"/>.
  15684. </para>
  15685. <para>
  15686. Subclasses should override this method to provide their own
  15687. behavior.
  15688. </para>
  15689. </remarks>
  15690. </member>
  15691. <member name="P:log4net.Core.SecurityContextProvider.DefaultProvider">
  15692. <summary>
  15693. Gets or sets the default SecurityContextProvider
  15694. </summary>
  15695. <value>
  15696. The default SecurityContextProvider
  15697. </value>
  15698. <remarks>
  15699. <para>
  15700. The default provider is used by configured components that
  15701. require a <see cref="T:log4net.Core.SecurityContext"/> and have not had one
  15702. given to them.
  15703. </para>
  15704. <para>
  15705. By default this is an instance of <see cref="T:log4net.Core.SecurityContextProvider"/>
  15706. that returns <see cref="T:log4net.Util.NullSecurityContext"/> objects.
  15707. </para>
  15708. <para>
  15709. The default provider can be set programmatically by setting
  15710. the value of this property to a sub class of <see cref="T:log4net.Core.SecurityContextProvider"/>
  15711. that has the desired behavior.
  15712. </para>
  15713. </remarks>
  15714. </member>
  15715. <member name="T:log4net.Core.StackFrameItem">
  15716. <summary>
  15717. provides stack frame information without actually referencing a System.Diagnostics.StackFrame
  15718. as that would require that the containing assembly is loaded.
  15719. </summary>
  15720. </member>
  15721. <member name="F:log4net.Core.StackFrameItem.NA">
  15722. <summary>
  15723. When location information is not available the constant
  15724. <c>NA</c> is returned. Current value of this string
  15725. constant is <b>?</b>.
  15726. </summary>
  15727. </member>
  15728. <member name="M:log4net.Core.StackFrameItem.#ctor(System.Diagnostics.StackFrame)">
  15729. <summary>
  15730. returns a stack frame item from a stack frame. This
  15731. </summary>
  15732. <param name="frame"></param>
  15733. <returns></returns>
  15734. </member>
  15735. <member name="F:log4net.Core.StackFrameItem.declaringType">
  15736. <summary>
  15737. The fully qualified type of the StackFrameItem class.
  15738. </summary>
  15739. <remarks>
  15740. Used by the internal logger to record the Type of the
  15741. log message.
  15742. </remarks>
  15743. </member>
  15744. <member name="P:log4net.Core.StackFrameItem.ClassName">
  15745. <summary>
  15746. Gets the fully qualified class name of the caller making the logging
  15747. request.
  15748. </summary>
  15749. <value>
  15750. The fully qualified class name of the caller making the logging
  15751. request.
  15752. </value>
  15753. <remarks>
  15754. <para>
  15755. Gets the fully qualified class name of the caller making the logging
  15756. request.
  15757. </para>
  15758. </remarks>
  15759. </member>
  15760. <member name="P:log4net.Core.StackFrameItem.FileName">
  15761. <summary>
  15762. Gets the file name of the caller.
  15763. </summary>
  15764. <value>
  15765. The file name of the caller.
  15766. </value>
  15767. <remarks>
  15768. <para>
  15769. Gets the file name of the caller.
  15770. </para>
  15771. </remarks>
  15772. </member>
  15773. <member name="P:log4net.Core.StackFrameItem.LineNumber">
  15774. <summary>
  15775. Gets the line number of the caller.
  15776. </summary>
  15777. <value>
  15778. The line number of the caller.
  15779. </value>
  15780. <remarks>
  15781. <para>
  15782. Gets the line number of the caller.
  15783. </para>
  15784. </remarks>
  15785. </member>
  15786. <member name="P:log4net.Core.StackFrameItem.Method">
  15787. <summary>
  15788. Gets the method name of the caller.
  15789. </summary>
  15790. <value>
  15791. The method name of the caller.
  15792. </value>
  15793. <remarks>
  15794. <para>
  15795. Gets the method name of the caller.
  15796. </para>
  15797. </remarks>
  15798. </member>
  15799. <member name="P:log4net.Core.StackFrameItem.FullInfo">
  15800. <summary>
  15801. Gets all available caller information
  15802. </summary>
  15803. <value>
  15804. All available caller information, in the format
  15805. <c>fully.qualified.classname.of.caller.methodName(Filename:line)</c>
  15806. </value>
  15807. <remarks>
  15808. <para>
  15809. Gets all available caller information, in the format
  15810. <c>fully.qualified.classname.of.caller.methodName(Filename:line)</c>
  15811. </para>
  15812. </remarks>
  15813. </member>
  15814. <member name="T:log4net.Core.TimeEvaluator">
  15815. <summary>
  15816. An evaluator that triggers after specified number of seconds.
  15817. </summary>
  15818. <remarks>
  15819. <para>
  15820. This evaluator will trigger if the specified time period
  15821. <see cref="P:log4net.Core.TimeEvaluator.Interval"/> has passed since last check.
  15822. </para>
  15823. </remarks>
  15824. <author>Robert Sevcik</author>
  15825. </member>
  15826. <member name="F:log4net.Core.TimeEvaluator.DEFAULT_INTERVAL">
  15827. <summary>
  15828. The default time threshold for triggering in seconds. Zero means it won't trigger at all.
  15829. </summary>
  15830. </member>
  15831. <member name="F:log4net.Core.TimeEvaluator.m_interval">
  15832. <summary>
  15833. The time threshold for triggering in seconds. Zero means it won't trigger at all.
  15834. </summary>
  15835. </member>
  15836. <member name="F:log4net.Core.TimeEvaluator.m_lasttime">
  15837. <summary>
  15838. The time of last check. This gets updated when the object is created and when the evaluator triggers.
  15839. </summary>
  15840. </member>
  15841. <member name="M:log4net.Core.TimeEvaluator.#ctor">
  15842. <summary>
  15843. Create a new evaluator using the <see cref="F:log4net.Core.TimeEvaluator.DEFAULT_INTERVAL"/> time threshold in seconds.
  15844. </summary>
  15845. <remarks>
  15846. <para>
  15847. Create a new evaluator using the <see cref="F:log4net.Core.TimeEvaluator.DEFAULT_INTERVAL"/> time threshold in seconds.
  15848. </para>
  15849. <para>
  15850. This evaluator will trigger if the specified time period
  15851. <see cref="P:log4net.Core.TimeEvaluator.Interval"/> has passed since last check.
  15852. </para>
  15853. </remarks>
  15854. </member>
  15855. <member name="M:log4net.Core.TimeEvaluator.#ctor(System.Int32)">
  15856. <summary>
  15857. Create a new evaluator using the specified time threshold in seconds.
  15858. </summary>
  15859. <param name="interval">
  15860. The time threshold in seconds to trigger after.
  15861. Zero means it won't trigger at all.
  15862. </param>
  15863. <remarks>
  15864. <para>
  15865. Create a new evaluator using the specified time threshold in seconds.
  15866. </para>
  15867. <para>
  15868. This evaluator will trigger if the specified time period
  15869. <see cref="P:log4net.Core.TimeEvaluator.Interval"/> has passed since last check.
  15870. </para>
  15871. </remarks>
  15872. </member>
  15873. <member name="M:log4net.Core.TimeEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)">
  15874. <summary>
  15875. Is this <paramref name="loggingEvent"/> the triggering event?
  15876. </summary>
  15877. <param name="loggingEvent">The event to check</param>
  15878. <returns>This method returns <c>true</c>, if the specified time period
  15879. <see cref="P:log4net.Core.TimeEvaluator.Interval"/> has passed since last check..
  15880. Otherwise it returns <c>false</c></returns>
  15881. <remarks>
  15882. <para>
  15883. This evaluator will trigger if the specified time period
  15884. <see cref="P:log4net.Core.TimeEvaluator.Interval"/> has passed since last check.
  15885. </para>
  15886. </remarks>
  15887. </member>
  15888. <member name="P:log4net.Core.TimeEvaluator.Interval">
  15889. <summary>
  15890. The time threshold in seconds to trigger after
  15891. </summary>
  15892. <value>
  15893. The time threshold in seconds to trigger after.
  15894. Zero means it won't trigger at all.
  15895. </value>
  15896. <remarks>
  15897. <para>
  15898. This evaluator will trigger if the specified time period
  15899. <see cref="P:log4net.Core.TimeEvaluator.Interval"/> has passed since last check.
  15900. </para>
  15901. </remarks>
  15902. </member>
  15903. <member name="T:log4net.Core.WrapperCreationHandler">
  15904. <summary>
  15905. Delegate used to handle creation of new wrappers.
  15906. </summary>
  15907. <param name="logger">The logger to wrap in a wrapper.</param>
  15908. <remarks>
  15909. <para>
  15910. Delegate used to handle creation of new wrappers. This delegate
  15911. is called from the <see cref="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)"/>
  15912. method to construct the wrapper for the specified logger.
  15913. </para>
  15914. <para>
  15915. The delegate to use is supplied to the <see cref="T:log4net.Core.WrapperMap"/>
  15916. constructor.
  15917. </para>
  15918. </remarks>
  15919. </member>
  15920. <member name="T:log4net.Core.WrapperMap">
  15921. <summary>
  15922. Maps between logger objects and wrapper objects.
  15923. </summary>
  15924. <remarks>
  15925. <para>
  15926. This class maintains a mapping between <see cref="T:log4net.Core.ILogger"/> objects and
  15927. <see cref="T:log4net.Core.ILoggerWrapper"/> objects. Use the <see cref="M:log4net.Core.WrapperMap.GetWrapper(log4net.Core.ILogger)"/> method to
  15928. lookup the <see cref="T:log4net.Core.ILoggerWrapper"/> for the specified <see cref="T:log4net.Core.ILogger"/>.
  15929. </para>
  15930. <para>
  15931. New wrapper instances are created by the <see cref="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)"/>
  15932. method. The default behavior is for this method to delegate construction
  15933. of the wrapper to the <see cref="T:log4net.Core.WrapperCreationHandler"/> delegate supplied
  15934. to the constructor. This allows specialization of the behavior without
  15935. requiring subclassing of this type.
  15936. </para>
  15937. </remarks>
  15938. <author>Nicko Cadell</author>
  15939. <author>Gert Driesen</author>
  15940. </member>
  15941. <member name="M:log4net.Core.WrapperMap.#ctor(log4net.Core.WrapperCreationHandler)">
  15942. <summary>
  15943. Initializes a new instance of the <see cref="T:log4net.Core.WrapperMap"/>
  15944. </summary>
  15945. <param name="createWrapperHandler">The handler to use to create the wrapper objects.</param>
  15946. <remarks>
  15947. <para>
  15948. Initializes a new instance of the <see cref="T:log4net.Core.WrapperMap"/> class with
  15949. the specified handler to create the wrapper objects.
  15950. </para>
  15951. </remarks>
  15952. </member>
  15953. <member name="M:log4net.Core.WrapperMap.GetWrapper(log4net.Core.ILogger)">
  15954. <summary>
  15955. Gets the wrapper object for the specified logger.
  15956. </summary>
  15957. <returns>The wrapper object for the specified logger</returns>
  15958. <remarks>
  15959. <para>
  15960. If the logger is null then the corresponding wrapper is null.
  15961. </para>
  15962. <para>
  15963. Looks up the wrapper it it has previously been requested and
  15964. returns it. If the wrapper has never been requested before then
  15965. the <see cref="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)"/> virtual method is
  15966. called.
  15967. </para>
  15968. </remarks>
  15969. </member>
  15970. <member name="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)">
  15971. <summary>
  15972. Creates the wrapper object for the specified logger.
  15973. </summary>
  15974. <param name="logger">The logger to wrap in a wrapper.</param>
  15975. <returns>The wrapper object for the logger.</returns>
  15976. <remarks>
  15977. <para>
  15978. This implementation uses the <see cref="T:log4net.Core.WrapperCreationHandler"/>
  15979. passed to the constructor to create the wrapper. This method
  15980. can be overridden in a subclass.
  15981. </para>
  15982. </remarks>
  15983. </member>
  15984. <member name="M:log4net.Core.WrapperMap.RepositoryShutdown(log4net.Repository.ILoggerRepository)">
  15985. <summary>
  15986. Called when a monitored repository shutdown event is received.
  15987. </summary>
  15988. <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that is shutting down</param>
  15989. <remarks>
  15990. <para>
  15991. This method is called when a <see cref="T:log4net.Repository.ILoggerRepository"/> that this
  15992. <see cref="T:log4net.Core.WrapperMap"/> is holding loggers for has signaled its shutdown
  15993. event <see cref="E:log4net.Repository.ILoggerRepository.ShutdownEvent"/>. The default
  15994. behavior of this method is to release the references to the loggers
  15995. and their wrappers generated for this repository.
  15996. </para>
  15997. </remarks>
  15998. </member>
  15999. <member name="M:log4net.Core.WrapperMap.ILoggerRepository_Shutdown(System.Object,System.EventArgs)">
  16000. <summary>
  16001. Event handler for repository shutdown event.
  16002. </summary>
  16003. <param name="sender">The sender of the event.</param>
  16004. <param name="e">The event args.</param>
  16005. </member>
  16006. <member name="F:log4net.Core.WrapperMap.m_repositories">
  16007. <summary>
  16008. Map of logger repositories to hashtables of ILogger to ILoggerWrapper mappings
  16009. </summary>
  16010. </member>
  16011. <member name="F:log4net.Core.WrapperMap.m_createWrapperHandler">
  16012. <summary>
  16013. The handler to use to create the extension wrapper objects.
  16014. </summary>
  16015. </member>
  16016. <member name="F:log4net.Core.WrapperMap.m_shutdownHandler">
  16017. <summary>
  16018. Internal reference to the delegate used to register for repository shutdown events.
  16019. </summary>
  16020. </member>
  16021. <member name="P:log4net.Core.WrapperMap.Repositories">
  16022. <summary>
  16023. Gets the map of logger repositories.
  16024. </summary>
  16025. <value>
  16026. Map of logger repositories.
  16027. </value>
  16028. <remarks>
  16029. <para>
  16030. Gets the hashtable that is keyed on <see cref="T:log4net.Repository.ILoggerRepository"/>. The
  16031. values are hashtables keyed on <see cref="T:log4net.Core.ILogger"/> with the
  16032. value being the corresponding <see cref="T:log4net.Core.ILoggerWrapper"/>.
  16033. </para>
  16034. </remarks>
  16035. </member>
  16036. <member name="T:log4net.DateFormatter.AbsoluteTimeDateFormatter">
  16037. <summary>
  16038. Formats a <see cref="T:System.DateTime"/> as <c>"HH:mm:ss,fff"</c>.
  16039. </summary>
  16040. <remarks>
  16041. <para>
  16042. Formats a <see cref="T:System.DateTime"/> in the format <c>"HH:mm:ss,fff"</c> for example, <c>"15:49:37,459"</c>.
  16043. </para>
  16044. </remarks>
  16045. <author>Nicko Cadell</author>
  16046. <author>Gert Driesen</author>
  16047. </member>
  16048. <member name="T:log4net.DateFormatter.IDateFormatter">
  16049. <summary>
  16050. Render a <see cref="T:System.DateTime"/> as a string.
  16051. </summary>
  16052. <remarks>
  16053. <para>
  16054. Interface to abstract the rendering of a <see cref="T:System.DateTime"/>
  16055. instance into a string.
  16056. </para>
  16057. <para>
  16058. The <see cref="M:log4net.DateFormatter.IDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)"/> method is used to render the
  16059. date to a text writer.
  16060. </para>
  16061. </remarks>
  16062. <author>Nicko Cadell</author>
  16063. <author>Gert Driesen</author>
  16064. </member>
  16065. <member name="M:log4net.DateFormatter.IDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)">
  16066. <summary>
  16067. Formats the specified date as a string.
  16068. </summary>
  16069. <param name="dateToFormat">The date to format.</param>
  16070. <param name="writer">The writer to write to.</param>
  16071. <remarks>
  16072. <para>
  16073. Format the <see cref="T:System.DateTime"/> as a string and write it
  16074. to the <see cref="T:System.IO.TextWriter"/> provided.
  16075. </para>
  16076. </remarks>
  16077. </member>
  16078. <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.AbsoluteTimeDateFormat">
  16079. <summary>
  16080. String constant used to specify AbsoluteTimeDateFormat in layouts. Current value is <b>ABSOLUTE</b>.
  16081. </summary>
  16082. </member>
  16083. <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.DateAndTimeDateFormat">
  16084. <summary>
  16085. String constant used to specify DateTimeDateFormat in layouts. Current value is <b>DATE</b>.
  16086. </summary>
  16087. </member>
  16088. <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.Iso8601TimeDateFormat">
  16089. <summary>
  16090. String constant used to specify ISO8601DateFormat in layouts. Current value is <b>ISO8601</b>.
  16091. </summary>
  16092. </member>
  16093. <member name="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)">
  16094. <summary>
  16095. Renders the date into a string. Format is <c>"HH:mm:ss"</c>.
  16096. </summary>
  16097. <param name="dateToFormat">The date to render into a string.</param>
  16098. <param name="buffer">The string builder to write to.</param>
  16099. <remarks>
  16100. <para>
  16101. Subclasses should override this method to render the date
  16102. into a string using a precision up to the second. This method
  16103. will be called at most once per second and the result will be
  16104. reused if it is needed again during the same second.
  16105. </para>
  16106. </remarks>
  16107. </member>
  16108. <member name="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)">
  16109. <summary>
  16110. Renders the date into a string. Format is "HH:mm:ss,fff".
  16111. </summary>
  16112. <param name="dateToFormat">The date to render into a string.</param>
  16113. <param name="writer">The writer to write to.</param>
  16114. <remarks>
  16115. <para>
  16116. Uses the <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/> method to generate the
  16117. time string up to the seconds and then appends the current
  16118. milliseconds. The results from <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/> are
  16119. cached and <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/> is called at most once
  16120. per second.
  16121. </para>
  16122. <para>
  16123. Sub classes should override <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/>
  16124. rather than <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)"/>.
  16125. </para>
  16126. </remarks>
  16127. </member>
  16128. <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.s_lastTimeToTheSecond">
  16129. <summary>
  16130. Last stored time with precision up to the second.
  16131. </summary>
  16132. </member>
  16133. <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.s_lastTimeBuf">
  16134. <summary>
  16135. Last stored time with precision up to the second, formatted
  16136. as a string.
  16137. </summary>
  16138. </member>
  16139. <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.s_lastTimeStrings">
  16140. <summary>
  16141. Last stored time with precision up to the second, formatted
  16142. as a string.
  16143. </summary>
  16144. </member>
  16145. <member name="T:log4net.DateFormatter.DateTimeDateFormatter">
  16146. <summary>
  16147. Formats a <see cref="T:System.DateTime"/> as <c>"dd MMM yyyy HH:mm:ss,fff"</c>
  16148. </summary>
  16149. <remarks>
  16150. <para>
  16151. Formats a <see cref="T:System.DateTime"/> in the format
  16152. <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example,
  16153. <c>"06 Nov 1994 15:49:37,459"</c>.
  16154. </para>
  16155. </remarks>
  16156. <author>Nicko Cadell</author>
  16157. <author>Gert Driesen</author>
  16158. <author>Angelika Schnagl</author>
  16159. </member>
  16160. <member name="M:log4net.DateFormatter.DateTimeDateFormatter.#ctor">
  16161. <summary>
  16162. Default constructor.
  16163. </summary>
  16164. <remarks>
  16165. <para>
  16166. Initializes a new instance of the <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> class.
  16167. </para>
  16168. </remarks>
  16169. </member>
  16170. <member name="M:log4net.DateFormatter.DateTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)">
  16171. <summary>
  16172. Formats the date without the milliseconds part
  16173. </summary>
  16174. <param name="dateToFormat">The date to format.</param>
  16175. <param name="buffer">The string builder to write to.</param>
  16176. <remarks>
  16177. <para>
  16178. Formats a DateTime in the format <c>"dd MMM yyyy HH:mm:ss"</c>
  16179. for example, <c>"06 Nov 1994 15:49:37"</c>.
  16180. </para>
  16181. <para>
  16182. The base class will append the <c>",fff"</c> milliseconds section.
  16183. This method will only be called at most once per second.
  16184. </para>
  16185. </remarks>
  16186. </member>
  16187. <member name="F:log4net.DateFormatter.DateTimeDateFormatter.m_dateTimeFormatInfo">
  16188. <summary>
  16189. The format info for the invariant culture.
  16190. </summary>
  16191. </member>
  16192. <member name="T:log4net.DateFormatter.Iso8601DateFormatter">
  16193. <summary>
  16194. Formats the <see cref="T:System.DateTime"/> as <c>"yyyy-MM-dd HH:mm:ss,fff"</c>.
  16195. </summary>
  16196. <remarks>
  16197. <para>
  16198. Formats the <see cref="T:System.DateTime"/> specified as a string: <c>"yyyy-MM-dd HH:mm:ss,fff"</c>.
  16199. </para>
  16200. </remarks>
  16201. <author>Nicko Cadell</author>
  16202. <author>Gert Driesen</author>
  16203. </member>
  16204. <member name="M:log4net.DateFormatter.Iso8601DateFormatter.#ctor">
  16205. <summary>
  16206. Default constructor
  16207. </summary>
  16208. <remarks>
  16209. <para>
  16210. Initializes a new instance of the <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/> class.
  16211. </para>
  16212. </remarks>
  16213. </member>
  16214. <member name="M:log4net.DateFormatter.Iso8601DateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)">
  16215. <summary>
  16216. Formats the date without the milliseconds part
  16217. </summary>
  16218. <param name="dateToFormat">The date to format.</param>
  16219. <param name="buffer">The string builder to write to.</param>
  16220. <remarks>
  16221. <para>
  16222. Formats the date specified as a string: <c>"yyyy-MM-dd HH:mm:ss"</c>.
  16223. </para>
  16224. <para>
  16225. The base class will append the <c>",fff"</c> milliseconds section.
  16226. This method will only be called at most once per second.
  16227. </para>
  16228. </remarks>
  16229. </member>
  16230. <member name="T:log4net.DateFormatter.SimpleDateFormatter">
  16231. <summary>
  16232. Formats the <see cref="T:System.DateTime"/> using the <see cref="M:DateTime.ToString(string, IFormatProvider)"/> method.
  16233. </summary>
  16234. <remarks>
  16235. <para>
  16236. Formats the <see cref="T:System.DateTime"/> using the <see cref="T:System.DateTime"/> <see cref="M:DateTime.ToString(string, IFormatProvider)"/> method.
  16237. </para>
  16238. </remarks>
  16239. <author>Nicko Cadell</author>
  16240. <author>Gert Driesen</author>
  16241. </member>
  16242. <member name="M:log4net.DateFormatter.SimpleDateFormatter.#ctor(System.String)">
  16243. <summary>
  16244. Constructor
  16245. </summary>
  16246. <param name="format">The format string.</param>
  16247. <remarks>
  16248. <para>
  16249. Initializes a new instance of the <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/> class
  16250. with the specified format string.
  16251. </para>
  16252. <para>
  16253. The format string must be compatible with the options
  16254. that can be supplied to <see cref="M:DateTime.ToString(string, IFormatProvider)"/>.
  16255. </para>
  16256. </remarks>
  16257. </member>
  16258. <member name="M:log4net.DateFormatter.SimpleDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)">
  16259. <summary>
  16260. Formats the date using <see cref="M:DateTime.ToString(string, IFormatProvider)"/>.
  16261. </summary>
  16262. <param name="dateToFormat">The date to convert to a string.</param>
  16263. <param name="writer">The writer to write to.</param>
  16264. <remarks>
  16265. <para>
  16266. Uses the date format string supplied to the constructor to call
  16267. the <see cref="M:DateTime.ToString(string, IFormatProvider)"/> method to format the date.
  16268. </para>
  16269. </remarks>
  16270. </member>
  16271. <member name="F:log4net.DateFormatter.SimpleDateFormatter.m_formatString">
  16272. <summary>
  16273. The format string used to format the <see cref="T:System.DateTime"/>.
  16274. </summary>
  16275. <remarks>
  16276. <para>
  16277. The format string must be compatible with the options
  16278. that can be supplied to <see cref="M:DateTime.ToString(string, IFormatProvider)"/>.
  16279. </para>
  16280. </remarks>
  16281. </member>
  16282. <member name="T:log4net.Filter.DenyAllFilter">
  16283. <summary>
  16284. This filter drops all <see cref="T:log4net.Core.LoggingEvent"/>.
  16285. </summary>
  16286. <remarks>
  16287. <para>
  16288. You can add this filter to the end of a filter chain to
  16289. switch from the default "accept all unless instructed otherwise"
  16290. filtering behavior to a "deny all unless instructed otherwise"
  16291. behavior.
  16292. </para>
  16293. </remarks>
  16294. <author>Nicko Cadell</author>
  16295. <author>Gert Driesen</author>
  16296. </member>
  16297. <member name="T:log4net.Filter.FilterSkeleton">
  16298. <summary>
  16299. Subclass this type to implement customized logging event filtering
  16300. </summary>
  16301. <remarks>
  16302. <para>
  16303. Users should extend this class to implement customized logging
  16304. event filtering. Note that <see cref="T:log4net.Repository.Hierarchy.Logger"/> and
  16305. <see cref="T:log4net.Appender.AppenderSkeleton"/>, the parent class of all standard
  16306. appenders, have built-in filtering rules. It is suggested that you
  16307. first use and understand the built-in rules before rushing to write
  16308. your own custom filters.
  16309. </para>
  16310. <para>
  16311. This abstract class assumes and also imposes that filters be
  16312. organized in a linear chain. The <see cref="M:log4net.Filter.FilterSkeleton.Decide(log4net.Core.LoggingEvent)"/>
  16313. method of each filter is called sequentially, in the order of their
  16314. addition to the chain.
  16315. </para>
  16316. <para>
  16317. The <see cref="M:log4net.Filter.FilterSkeleton.Decide(log4net.Core.LoggingEvent)"/> method must return one
  16318. of the integer constants <see cref="F:log4net.Filter.FilterDecision.Deny"/>,
  16319. <see cref="F:log4net.Filter.FilterDecision.Neutral"/> or <see cref="F:log4net.Filter.FilterDecision.Accept"/>.
  16320. </para>
  16321. <para>
  16322. If the value <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned, then the log event is dropped
  16323. immediately without consulting with the remaining filters.
  16324. </para>
  16325. <para>
  16326. If the value <see cref="F:log4net.Filter.FilterDecision.Neutral"/> is returned, then the next filter
  16327. in the chain is consulted. If there are no more filters in the
  16328. chain, then the log event is logged. Thus, in the presence of no
  16329. filters, the default behavior is to log all logging events.
  16330. </para>
  16331. <para>
  16332. If the value <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned, then the log
  16333. event is logged without consulting the remaining filters.
  16334. </para>
  16335. <para>
  16336. The philosophy of log4net filters is largely inspired from the
  16337. Linux ipchains.
  16338. </para>
  16339. </remarks>
  16340. <author>Nicko Cadell</author>
  16341. <author>Gert Driesen</author>
  16342. </member>
  16343. <member name="T:log4net.Filter.IFilter">
  16344. <summary>
  16345. Implement this interface to provide customized logging event filtering
  16346. </summary>
  16347. <remarks>
  16348. <para>
  16349. Users should implement this interface to implement customized logging
  16350. event filtering. Note that <see cref="T:log4net.Repository.Hierarchy.Logger"/> and
  16351. <see cref="T:log4net.Appender.AppenderSkeleton"/>, the parent class of all standard
  16352. appenders, have built-in filtering rules. It is suggested that you
  16353. first use and understand the built-in rules before rushing to write
  16354. your own custom filters.
  16355. </para>
  16356. <para>
  16357. This abstract class assumes and also imposes that filters be
  16358. organized in a linear chain. The <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/>
  16359. method of each filter is called sequentially, in the order of their
  16360. addition to the chain.
  16361. </para>
  16362. <para>
  16363. The <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/> method must return one
  16364. of the integer constants <see cref="F:log4net.Filter.FilterDecision.Deny"/>,
  16365. <see cref="F:log4net.Filter.FilterDecision.Neutral"/> or <see cref="F:log4net.Filter.FilterDecision.Accept"/>.
  16366. </para>
  16367. <para>
  16368. If the value <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned, then the log event is dropped
  16369. immediately without consulting with the remaining filters.
  16370. </para>
  16371. <para>
  16372. If the value <see cref="F:log4net.Filter.FilterDecision.Neutral"/> is returned, then the next filter
  16373. in the chain is consulted. If there are no more filters in the
  16374. chain, then the log event is logged. Thus, in the presence of no
  16375. filters, the default behavior is to log all logging events.
  16376. </para>
  16377. <para>
  16378. If the value <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned, then the log
  16379. event is logged without consulting the remaining filters.
  16380. </para>
  16381. <para>
  16382. The philosophy of log4net filters is largely inspired from the
  16383. Linux ipchains.
  16384. </para>
  16385. </remarks>
  16386. <author>Nicko Cadell</author>
  16387. <author>Gert Driesen</author>
  16388. </member>
  16389. <member name="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)">
  16390. <summary>
  16391. Decide if the logging event should be logged through an appender.
  16392. </summary>
  16393. <param name="loggingEvent">The LoggingEvent to decide upon</param>
  16394. <returns>The decision of the filter</returns>
  16395. <remarks>
  16396. <para>
  16397. If the decision is <see cref="F:log4net.Filter.FilterDecision.Deny"/>, then the event will be
  16398. dropped. If the decision is <see cref="F:log4net.Filter.FilterDecision.Neutral"/>, then the next
  16399. filter, if any, will be invoked. If the decision is <see cref="F:log4net.Filter.FilterDecision.Accept"/> then
  16400. the event will be logged without consulting with other filters in
  16401. the chain.
  16402. </para>
  16403. </remarks>
  16404. </member>
  16405. <member name="P:log4net.Filter.IFilter.Next">
  16406. <summary>
  16407. Property to get and set the next filter
  16408. </summary>
  16409. <value>
  16410. The next filter in the chain
  16411. </value>
  16412. <remarks>
  16413. <para>
  16414. Filters are typically composed into chains. This property allows the next filter in
  16415. the chain to be accessed.
  16416. </para>
  16417. </remarks>
  16418. </member>
  16419. <member name="F:log4net.Filter.FilterSkeleton.m_next">
  16420. <summary>
  16421. Points to the next filter in the filter chain.
  16422. </summary>
  16423. <remarks>
  16424. <para>
  16425. See <see cref="P:log4net.Filter.FilterSkeleton.Next"/> for more information.
  16426. </para>
  16427. </remarks>
  16428. </member>
  16429. <member name="M:log4net.Filter.FilterSkeleton.ActivateOptions">
  16430. <summary>
  16431. Initialize the filter with the options set
  16432. </summary>
  16433. <remarks>
  16434. <para>
  16435. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  16436. activation scheme. The <see cref="M:log4net.Filter.FilterSkeleton.ActivateOptions"/> method must
  16437. be called on this object after the configuration properties have
  16438. been set. Until <see cref="M:log4net.Filter.FilterSkeleton.ActivateOptions"/> is called this
  16439. object is in an undefined state and must not be used.
  16440. </para>
  16441. <para>
  16442. If any of the configuration properties are modified then
  16443. <see cref="M:log4net.Filter.FilterSkeleton.ActivateOptions"/> must be called again.
  16444. </para>
  16445. <para>
  16446. Typically filter's options become active immediately on set,
  16447. however this method must still be called.
  16448. </para>
  16449. </remarks>
  16450. </member>
  16451. <member name="M:log4net.Filter.FilterSkeleton.Decide(log4net.Core.LoggingEvent)">
  16452. <summary>
  16453. Decide if the <see cref="T:log4net.Core.LoggingEvent"/> should be logged through an appender.
  16454. </summary>
  16455. <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> to decide upon</param>
  16456. <returns>The decision of the filter</returns>
  16457. <remarks>
  16458. <para>
  16459. If the decision is <see cref="F:log4net.Filter.FilterDecision.Deny"/>, then the event will be
  16460. dropped. If the decision is <see cref="F:log4net.Filter.FilterDecision.Neutral"/>, then the next
  16461. filter, if any, will be invoked. If the decision is <see cref="F:log4net.Filter.FilterDecision.Accept"/> then
  16462. the event will be logged without consulting with other filters in
  16463. the chain.
  16464. </para>
  16465. <para>
  16466. This method is marked <c>abstract</c> and must be implemented
  16467. in a subclass.
  16468. </para>
  16469. </remarks>
  16470. </member>
  16471. <member name="P:log4net.Filter.FilterSkeleton.Next">
  16472. <summary>
  16473. Property to get and set the next filter
  16474. </summary>
  16475. <value>
  16476. The next filter in the chain
  16477. </value>
  16478. <remarks>
  16479. <para>
  16480. Filters are typically composed into chains. This property allows the next filter in
  16481. the chain to be accessed.
  16482. </para>
  16483. </remarks>
  16484. </member>
  16485. <member name="M:log4net.Filter.DenyAllFilter.#ctor">
  16486. <summary>
  16487. Default constructor
  16488. </summary>
  16489. </member>
  16490. <member name="M:log4net.Filter.DenyAllFilter.Decide(log4net.Core.LoggingEvent)">
  16491. <summary>
  16492. Always returns the integer constant <see cref="F:log4net.Filter.FilterDecision.Deny"/>
  16493. </summary>
  16494. <param name="loggingEvent">the LoggingEvent to filter</param>
  16495. <returns>Always returns <see cref="F:log4net.Filter.FilterDecision.Deny"/></returns>
  16496. <remarks>
  16497. <para>
  16498. Ignores the event being logged and just returns
  16499. <see cref="F:log4net.Filter.FilterDecision.Deny"/>. This can be used to change the default filter
  16500. chain behavior from <see cref="F:log4net.Filter.FilterDecision.Accept"/> to <see cref="F:log4net.Filter.FilterDecision.Deny"/>. This filter
  16501. should only be used as the last filter in the chain
  16502. as any further filters will be ignored!
  16503. </para>
  16504. </remarks>
  16505. </member>
  16506. <member name="T:log4net.Filter.FilterDecision">
  16507. <summary>
  16508. The return result from <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/>
  16509. </summary>
  16510. <remarks>
  16511. <para>
  16512. The return result from <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/>
  16513. </para>
  16514. </remarks>
  16515. </member>
  16516. <member name="F:log4net.Filter.FilterDecision.Deny">
  16517. <summary>
  16518. The log event must be dropped immediately without
  16519. consulting with the remaining filters, if any, in the chain.
  16520. </summary>
  16521. </member>
  16522. <member name="F:log4net.Filter.FilterDecision.Neutral">
  16523. <summary>
  16524. This filter is neutral with respect to the log event.
  16525. The remaining filters, if any, should be consulted for a final decision.
  16526. </summary>
  16527. </member>
  16528. <member name="F:log4net.Filter.FilterDecision.Accept">
  16529. <summary>
  16530. The log event must be logged immediately without
  16531. consulting with the remaining filters, if any, in the chain.
  16532. </summary>
  16533. </member>
  16534. <member name="T:log4net.Filter.LevelMatchFilter">
  16535. <summary>
  16536. This is a very simple filter based on <see cref="T:log4net.Core.Level"/> matching.
  16537. </summary>
  16538. <remarks>
  16539. <para>
  16540. The filter admits two options <see cref="P:log4net.Filter.LevelMatchFilter.LevelToMatch"/> and
  16541. <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/>. If there is an exact match between the value
  16542. of the <see cref="P:log4net.Filter.LevelMatchFilter.LevelToMatch"/> option and the <see cref="T:log4net.Core.Level"/> of the
  16543. <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
  16544. case the <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/> option value is set
  16545. to <c>true</c>, if it is <c>false</c> then
  16546. <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned. If the <see cref="T:log4net.Core.Level"/> does not match then
  16547. the result will be <see cref="F:log4net.Filter.FilterDecision.Neutral"/>.
  16548. </para>
  16549. </remarks>
  16550. <author>Nicko Cadell</author>
  16551. <author>Gert Driesen</author>
  16552. </member>
  16553. <member name="F:log4net.Filter.LevelMatchFilter.m_acceptOnMatch">
  16554. <summary>
  16555. flag to indicate if the filter should <see cref="F:log4net.Filter.FilterDecision.Accept"/> on a match
  16556. </summary>
  16557. </member>
  16558. <member name="F:log4net.Filter.LevelMatchFilter.m_levelToMatch">
  16559. <summary>
  16560. the <see cref="T:log4net.Core.Level"/> to match against
  16561. </summary>
  16562. </member>
  16563. <member name="M:log4net.Filter.LevelMatchFilter.#ctor">
  16564. <summary>
  16565. Default constructor
  16566. </summary>
  16567. </member>
  16568. <member name="M:log4net.Filter.LevelMatchFilter.Decide(log4net.Core.LoggingEvent)">
  16569. <summary>
  16570. Tests if the <see cref="T:log4net.Core.Level"/> of the logging event matches that of the filter
  16571. </summary>
  16572. <param name="loggingEvent">the event to filter</param>
  16573. <returns>see remarks</returns>
  16574. <remarks>
  16575. <para>
  16576. If the <see cref="T:log4net.Core.Level"/> of the event matches the level of the
  16577. filter then the result of the function depends on the
  16578. value of <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/>. If it is true then
  16579. the function will return <see cref="F:log4net.Filter.FilterDecision.Accept"/>, it it is false then it
  16580. will return <see cref="F:log4net.Filter.FilterDecision.Deny"/>. If the <see cref="T:log4net.Core.Level"/> does not match then
  16581. the result will be <see cref="F:log4net.Filter.FilterDecision.Neutral"/>.
  16582. </para>
  16583. </remarks>
  16584. </member>
  16585. <member name="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch">
  16586. <summary>
  16587. <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.LevelMatchFilter.LevelToMatch"/>
  16588. </summary>
  16589. <remarks>
  16590. <para>
  16591. The <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/> property is a flag that determines
  16592. the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
  16593. flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the
  16594. logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Deny"/> the event.
  16595. </para>
  16596. <para>
  16597. The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
  16598. </para>
  16599. </remarks>
  16600. </member>
  16601. <member name="P:log4net.Filter.LevelMatchFilter.LevelToMatch">
  16602. <summary>
  16603. The <see cref="T:log4net.Core.Level"/> that the filter will match
  16604. </summary>
  16605. <remarks>
  16606. <para>
  16607. The level that this filter will attempt to match against the
  16608. <see cref="T:log4net.Core.LoggingEvent"/> level. If a match is found then
  16609. the result depends on the value of <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/>.
  16610. </para>
  16611. </remarks>
  16612. </member>
  16613. <member name="T:log4net.Filter.LevelRangeFilter">
  16614. <summary>
  16615. This is a simple filter based on <see cref="T:log4net.Core.Level"/> matching.
  16616. </summary>
  16617. <remarks>
  16618. <para>
  16619. The filter admits three options <see cref="P:log4net.Filter.LevelRangeFilter.LevelMin"/> and <see cref="P:log4net.Filter.LevelRangeFilter.LevelMax"/>
  16620. that determine the range of priorities that are matched, and
  16621. <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>. If there is a match between the range
  16622. of priorities and the <see cref="T:log4net.Core.Level"/> of the <see cref="T:log4net.Core.LoggingEvent"/>, then the
  16623. <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"/>
  16624. option value is set to <c>true</c>, if it is <c>false</c>
  16625. then <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned. If there is no match, <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
  16626. </para>
  16627. </remarks>
  16628. <author>Nicko Cadell</author>
  16629. <author>Gert Driesen</author>
  16630. </member>
  16631. <member name="F:log4net.Filter.LevelRangeFilter.m_acceptOnMatch">
  16632. <summary>
  16633. Flag to indicate the behavior when matching a <see cref="T:log4net.Core.Level"/>
  16634. </summary>
  16635. </member>
  16636. <member name="F:log4net.Filter.LevelRangeFilter.m_levelMin">
  16637. <summary>
  16638. the minimum <see cref="T:log4net.Core.Level"/> value to match
  16639. </summary>
  16640. </member>
  16641. <member name="F:log4net.Filter.LevelRangeFilter.m_levelMax">
  16642. <summary>
  16643. the maximum <see cref="T:log4net.Core.Level"/> value to match
  16644. </summary>
  16645. </member>
  16646. <member name="M:log4net.Filter.LevelRangeFilter.#ctor">
  16647. <summary>
  16648. Default constructor
  16649. </summary>
  16650. </member>
  16651. <member name="M:log4net.Filter.LevelRangeFilter.Decide(log4net.Core.LoggingEvent)">
  16652. <summary>
  16653. Check if the event should be logged.
  16654. </summary>
  16655. <param name="loggingEvent">the logging event to check</param>
  16656. <returns>see remarks</returns>
  16657. <remarks>
  16658. <para>
  16659. If the <see cref="T:log4net.Core.Level"/> of the logging event is outside the range
  16660. matched by this filter then <see cref="F:log4net.Filter.FilterDecision.Deny"/>
  16661. is returned. If the <see cref="T:log4net.Core.Level"/> is matched then the value of
  16662. <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/> is checked. If it is true then
  16663. <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned, otherwise
  16664. <see cref="F:log4net.Filter.FilterDecision.Neutral"/> is returned.
  16665. </para>
  16666. </remarks>
  16667. </member>
  16668. <member name="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch">
  16669. <summary>
  16670. <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.LevelRangeFilter.LevelMin"/> and <see cref="P:log4net.Filter.LevelRangeFilter.LevelMax"/>
  16671. </summary>
  16672. <remarks>
  16673. <para>
  16674. The <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/> property is a flag that determines
  16675. the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
  16676. flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the
  16677. logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Neutral"/> the event.
  16678. </para>
  16679. <para>
  16680. The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
  16681. </para>
  16682. </remarks>
  16683. </member>
  16684. <member name="P:log4net.Filter.LevelRangeFilter.LevelMin">
  16685. <summary>
  16686. Set the minimum matched <see cref="T:log4net.Core.Level"/>
  16687. </summary>
  16688. <remarks>
  16689. <para>
  16690. The minimum level that this filter will attempt to match against the
  16691. <see cref="T:log4net.Core.LoggingEvent"/> level. If a match is found then
  16692. the result depends on the value of <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>.
  16693. </para>
  16694. </remarks>
  16695. </member>
  16696. <member name="P:log4net.Filter.LevelRangeFilter.LevelMax">
  16697. <summary>
  16698. Sets the maximum matched <see cref="T:log4net.Core.Level"/>
  16699. </summary>
  16700. <remarks>
  16701. <para>
  16702. The maximum level that this filter will attempt to match against the
  16703. <see cref="T:log4net.Core.LoggingEvent"/> level. If a match is found then
  16704. the result depends on the value of <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>.
  16705. </para>
  16706. </remarks>
  16707. </member>
  16708. <member name="T:log4net.Filter.LoggerMatchFilter">
  16709. <summary>
  16710. Simple filter to match a string in the event's logger name.
  16711. </summary>
  16712. <remarks>
  16713. <para>
  16714. The works very similar to the <see cref="T:log4net.Filter.LevelMatchFilter"/>. It admits two
  16715. options <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/> and <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/>. If the
  16716. <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> of the <see cref="T:log4net.Core.LoggingEvent"/> starts
  16717. with the value of the <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/> option, then the
  16718. <see cref="M:log4net.Filter.LoggerMatchFilter.Decide(log4net.Core.LoggingEvent)"/> method returns <see cref="F:log4net.Filter.FilterDecision.Accept"/> in
  16719. case the <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/> option value is set to <c>true</c>,
  16720. if it is <c>false</c> then <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
  16721. </para>
  16722. </remarks>
  16723. <author>Daniel Cazzulino</author>
  16724. </member>
  16725. <member name="F:log4net.Filter.LoggerMatchFilter.m_acceptOnMatch">
  16726. <summary>
  16727. Flag to indicate the behavior when we have a match
  16728. </summary>
  16729. </member>
  16730. <member name="F:log4net.Filter.LoggerMatchFilter.m_loggerToMatch">
  16731. <summary>
  16732. The logger name string to substring match against the event
  16733. </summary>
  16734. </member>
  16735. <member name="M:log4net.Filter.LoggerMatchFilter.#ctor">
  16736. <summary>
  16737. Default constructor
  16738. </summary>
  16739. </member>
  16740. <member name="M:log4net.Filter.LoggerMatchFilter.Decide(log4net.Core.LoggingEvent)">
  16741. <summary>
  16742. Check if this filter should allow the event to be logged
  16743. </summary>
  16744. <param name="loggingEvent">the event being logged</param>
  16745. <returns>see remarks</returns>
  16746. <remarks>
  16747. <para>
  16748. The rendered message is matched against the <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/>.
  16749. If the <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/> equals the beginning of
  16750. the incoming <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> (<see cref="M:String.StartsWith(string)"/>)
  16751. then a match will have occurred. If no match occurs
  16752. this function will return <see cref="F:log4net.Filter.FilterDecision.Neutral"/>
  16753. allowing other filters to check the event. If a match occurs then
  16754. the value of <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/> is checked. If it is
  16755. true then <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned otherwise
  16756. <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
  16757. </para>
  16758. </remarks>
  16759. </member>
  16760. <member name="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch">
  16761. <summary>
  16762. <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/>
  16763. </summary>
  16764. <remarks>
  16765. <para>
  16766. The <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/> property is a flag that determines
  16767. the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
  16768. flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the
  16769. logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Deny"/> the event.
  16770. </para>
  16771. <para>
  16772. The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
  16773. </para>
  16774. </remarks>
  16775. </member>
  16776. <member name="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch">
  16777. <summary>
  16778. The <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> that the filter will match
  16779. </summary>
  16780. <remarks>
  16781. <para>
  16782. This filter will attempt to match this value against logger name in
  16783. the following way. The match will be done against the beginning of the
  16784. logger name (using <see cref="M:String.StartsWith(string)"/>). The match is
  16785. case sensitive. If a match is found then
  16786. the result depends on the value of <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/>.
  16787. </para>
  16788. </remarks>
  16789. </member>
  16790. <member name="T:log4net.Filter.MdcFilter">
  16791. <summary>
  16792. Simple filter to match a keyed string in the <see cref="T:log4net.MDC"/>
  16793. </summary>
  16794. <remarks>
  16795. <para>
  16796. Simple filter to match a keyed string in the <see cref="T:log4net.MDC"/>
  16797. </para>
  16798. <para>
  16799. As the MDC has been replaced with layered properties the
  16800. <see cref="T:log4net.Filter.PropertyFilter"/> should be used instead.
  16801. </para>
  16802. </remarks>
  16803. <author>Nicko Cadell</author>
  16804. <author>Gert Driesen</author>
  16805. </member>
  16806. <member name="T:log4net.Filter.PropertyFilter">
  16807. <summary>
  16808. Simple filter to match a string an event property
  16809. </summary>
  16810. <remarks>
  16811. <para>
  16812. Simple filter to match a string in the value for a
  16813. specific event property
  16814. </para>
  16815. </remarks>
  16816. <author>Nicko Cadell</author>
  16817. </member>
  16818. <member name="T:log4net.Filter.StringMatchFilter">
  16819. <summary>
  16820. Simple filter to match a string in the rendered message
  16821. </summary>
  16822. <remarks>
  16823. <para>
  16824. Simple filter to match a string in the rendered message
  16825. </para>
  16826. </remarks>
  16827. <author>Nicko Cadell</author>
  16828. <author>Gert Driesen</author>
  16829. </member>
  16830. <member name="F:log4net.Filter.StringMatchFilter.m_acceptOnMatch">
  16831. <summary>
  16832. Flag to indicate the behavior when we have a match
  16833. </summary>
  16834. </member>
  16835. <member name="F:log4net.Filter.StringMatchFilter.m_stringToMatch">
  16836. <summary>
  16837. The string to substring match against the message
  16838. </summary>
  16839. </member>
  16840. <member name="F:log4net.Filter.StringMatchFilter.m_stringRegexToMatch">
  16841. <summary>
  16842. A string regex to match
  16843. </summary>
  16844. </member>
  16845. <member name="F:log4net.Filter.StringMatchFilter.m_regexToMatch">
  16846. <summary>
  16847. A regex object to match (generated from m_stringRegexToMatch)
  16848. </summary>
  16849. </member>
  16850. <member name="M:log4net.Filter.StringMatchFilter.#ctor">
  16851. <summary>
  16852. Default constructor
  16853. </summary>
  16854. </member>
  16855. <member name="M:log4net.Filter.StringMatchFilter.ActivateOptions">
  16856. <summary>
  16857. Initialize and precompile the Regex if required
  16858. </summary>
  16859. <remarks>
  16860. <para>
  16861. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  16862. activation scheme. The <see cref="M:log4net.Filter.StringMatchFilter.ActivateOptions"/> method must
  16863. be called on this object after the configuration properties have
  16864. been set. Until <see cref="M:log4net.Filter.StringMatchFilter.ActivateOptions"/> is called this
  16865. object is in an undefined state and must not be used.
  16866. </para>
  16867. <para>
  16868. If any of the configuration properties are modified then
  16869. <see cref="M:log4net.Filter.StringMatchFilter.ActivateOptions"/> must be called again.
  16870. </para>
  16871. </remarks>
  16872. </member>
  16873. <member name="M:log4net.Filter.StringMatchFilter.Decide(log4net.Core.LoggingEvent)">
  16874. <summary>
  16875. Check if this filter should allow the event to be logged
  16876. </summary>
  16877. <param name="loggingEvent">the event being logged</param>
  16878. <returns>see remarks</returns>
  16879. <remarks>
  16880. <para>
  16881. The rendered message is matched against the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/>.
  16882. If the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> occurs as a substring within
  16883. the message then a match will have occurred. If no match occurs
  16884. this function will return <see cref="F:log4net.Filter.FilterDecision.Neutral"/>
  16885. allowing other filters to check the event. If a match occurs then
  16886. the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/> is checked. If it is
  16887. true then <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned otherwise
  16888. <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
  16889. </para>
  16890. </remarks>
  16891. </member>
  16892. <member name="P:log4net.Filter.StringMatchFilter.AcceptOnMatch">
  16893. <summary>
  16894. <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> or <see cref="P:log4net.Filter.StringMatchFilter.RegexToMatch"/>
  16895. </summary>
  16896. <remarks>
  16897. <para>
  16898. The <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/> property is a flag that determines
  16899. the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
  16900. flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the
  16901. logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Neutral"/> the event.
  16902. </para>
  16903. <para>
  16904. The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
  16905. </para>
  16906. </remarks>
  16907. </member>
  16908. <member name="P:log4net.Filter.StringMatchFilter.StringToMatch">
  16909. <summary>
  16910. Sets the static string to match
  16911. </summary>
  16912. <remarks>
  16913. <para>
  16914. The string that will be substring matched against
  16915. the rendered message. If the message contains this
  16916. string then the filter will match. If a match is found then
  16917. the result depends on the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/>.
  16918. </para>
  16919. <para>
  16920. One of <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> or <see cref="P:log4net.Filter.StringMatchFilter.RegexToMatch"/>
  16921. must be specified.
  16922. </para>
  16923. </remarks>
  16924. </member>
  16925. <member name="P:log4net.Filter.StringMatchFilter.RegexToMatch">
  16926. <summary>
  16927. Sets the regular expression to match
  16928. </summary>
  16929. <remarks>
  16930. <para>
  16931. The regular expression pattern that will be matched against
  16932. the rendered message. If the message matches this
  16933. pattern then the filter will match. If a match is found then
  16934. the result depends on the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/>.
  16935. </para>
  16936. <para>
  16937. One of <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> or <see cref="P:log4net.Filter.StringMatchFilter.RegexToMatch"/>
  16938. must be specified.
  16939. </para>
  16940. </remarks>
  16941. </member>
  16942. <member name="F:log4net.Filter.PropertyFilter.m_key">
  16943. <summary>
  16944. The key to use to lookup the string from the event properties
  16945. </summary>
  16946. </member>
  16947. <member name="M:log4net.Filter.PropertyFilter.#ctor">
  16948. <summary>
  16949. Default constructor
  16950. </summary>
  16951. </member>
  16952. <member name="M:log4net.Filter.PropertyFilter.Decide(log4net.Core.LoggingEvent)">
  16953. <summary>
  16954. Check if this filter should allow the event to be logged
  16955. </summary>
  16956. <param name="loggingEvent">the event being logged</param>
  16957. <returns>see remarks</returns>
  16958. <remarks>
  16959. <para>
  16960. The event property for the <see cref="P:log4net.Filter.PropertyFilter.Key"/> is matched against
  16961. the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/>.
  16962. If the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> occurs as a substring within
  16963. the property value then a match will have occurred. If no match occurs
  16964. this function will return <see cref="F:log4net.Filter.FilterDecision.Neutral"/>
  16965. allowing other filters to check the event. If a match occurs then
  16966. the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/> is checked. If it is
  16967. true then <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned otherwise
  16968. <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
  16969. </para>
  16970. </remarks>
  16971. </member>
  16972. <member name="P:log4net.Filter.PropertyFilter.Key">
  16973. <summary>
  16974. The key to lookup in the event properties and then match against.
  16975. </summary>
  16976. <remarks>
  16977. <para>
  16978. The key name to use to lookup in the properties map of the
  16979. <see cref="T:log4net.Core.LoggingEvent"/>. The match will be performed against
  16980. the value of this property if it exists.
  16981. </para>
  16982. </remarks>
  16983. </member>
  16984. <member name="T:log4net.Filter.NdcFilter">
  16985. <summary>
  16986. Simple filter to match a string in the <see cref="T:log4net.NDC"/>
  16987. </summary>
  16988. <remarks>
  16989. <para>
  16990. Simple filter to match a string in the <see cref="T:log4net.NDC"/>
  16991. </para>
  16992. <para>
  16993. As the MDC has been replaced with named stacks stored in the
  16994. properties collections the <see cref="T:log4net.Filter.PropertyFilter"/> should
  16995. be used instead.
  16996. </para>
  16997. </remarks>
  16998. <author>Nicko Cadell</author>
  16999. <author>Gert Driesen</author>
  17000. </member>
  17001. <member name="M:log4net.Filter.NdcFilter.#ctor">
  17002. <summary>
  17003. Default constructor
  17004. </summary>
  17005. <remarks>
  17006. <para>
  17007. Sets the <see cref="P:log4net.Filter.PropertyFilter.Key"/> to <c>"NDC"</c>.
  17008. </para>
  17009. </remarks>
  17010. </member>
  17011. <member name="T:log4net.Layout.Pattern.AppDomainPatternConverter">
  17012. <summary>
  17013. Write the event appdomain name to the output
  17014. </summary>
  17015. <remarks>
  17016. <para>
  17017. Writes the <see cref="P:log4net.Core.LoggingEvent.Domain"/> to the output writer.
  17018. </para>
  17019. </remarks>
  17020. <author>Daniel Cazzulino</author>
  17021. <author>Nicko Cadell</author>
  17022. </member>
  17023. <member name="T:log4net.Layout.Pattern.PatternLayoutConverter">
  17024. <summary>
  17025. Abstract class that provides the formatting functionality that
  17026. derived classes need.
  17027. </summary>
  17028. <remarks>
  17029. Conversion specifiers in a conversion patterns are parsed to
  17030. individual PatternConverters. Each of which is responsible for
  17031. converting a logging event in a converter specific manner.
  17032. </remarks>
  17033. <author>Nicko Cadell</author>
  17034. </member>
  17035. <member name="T:log4net.Util.PatternConverter">
  17036. <summary>
  17037. Abstract class that provides the formatting functionality that
  17038. derived classes need.
  17039. </summary>
  17040. <remarks>
  17041. <para>
  17042. Conversion specifiers in a conversion patterns are parsed to
  17043. individual PatternConverters. Each of which is responsible for
  17044. converting a logging event in a converter specific manner.
  17045. </para>
  17046. </remarks>
  17047. <author>Nicko Cadell</author>
  17048. <author>Gert Driesen</author>
  17049. </member>
  17050. <member name="F:log4net.Util.PatternConverter.c_renderBufferSize">
  17051. <summary>
  17052. Initial buffer size
  17053. </summary>
  17054. </member>
  17055. <member name="F:log4net.Util.PatternConverter.c_renderBufferMaxCapacity">
  17056. <summary>
  17057. Maximum buffer size before it is recycled
  17058. </summary>
  17059. </member>
  17060. <member name="M:log4net.Util.PatternConverter.#ctor">
  17061. <summary>
  17062. Protected constructor
  17063. </summary>
  17064. <remarks>
  17065. <para>
  17066. Initializes a new instance of the <see cref="T:log4net.Util.PatternConverter"/> class.
  17067. </para>
  17068. </remarks>
  17069. </member>
  17070. <member name="M:log4net.Util.PatternConverter.Convert(System.IO.TextWriter,System.Object)">
  17071. <summary>
  17072. Evaluate this pattern converter and write the output to a writer.
  17073. </summary>
  17074. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17075. <param name="state">The state object on which the pattern converter should be executed.</param>
  17076. <remarks>
  17077. <para>
  17078. Derived pattern converters must override this method in order to
  17079. convert conversion specifiers in the appropriate way.
  17080. </para>
  17081. </remarks>
  17082. </member>
  17083. <member name="M:log4net.Util.PatternConverter.SetNext(log4net.Util.PatternConverter)">
  17084. <summary>
  17085. Set the next pattern converter in the chains
  17086. </summary>
  17087. <param name="patternConverter">the pattern converter that should follow this converter in the chain</param>
  17088. <returns>the next converter</returns>
  17089. <remarks>
  17090. <para>
  17091. The PatternConverter can merge with its neighbor during this method (or a sub class).
  17092. Therefore the return value may or may not be the value of the argument passed in.
  17093. </para>
  17094. </remarks>
  17095. </member>
  17096. <member name="M:log4net.Util.PatternConverter.Format(System.IO.TextWriter,System.Object)">
  17097. <summary>
  17098. Write the pattern converter to the writer with appropriate formatting
  17099. </summary>
  17100. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17101. <param name="state">The state object on which the pattern converter should be executed.</param>
  17102. <remarks>
  17103. <para>
  17104. This method calls <see cref="M:log4net.Util.PatternConverter.Convert(System.IO.TextWriter,System.Object)"/> to allow the subclass to perform
  17105. appropriate conversion of the pattern converter. If formatting options have
  17106. been specified via the <see cref="P:log4net.Util.PatternConverter.FormattingInfo"/> then this method will
  17107. apply those formattings before writing the output.
  17108. </para>
  17109. </remarks>
  17110. </member>
  17111. <member name="M:log4net.Util.PatternConverter.SpacePad(System.IO.TextWriter,System.Int32)">
  17112. <summary>
  17113. Fast space padding method.
  17114. </summary>
  17115. <param name="writer"><see cref="T:System.IO.TextWriter"/> to which the spaces will be appended.</param>
  17116. <param name="length">The number of spaces to be padded.</param>
  17117. <remarks>
  17118. <para>
  17119. Fast space padding method.
  17120. </para>
  17121. </remarks>
  17122. </member>
  17123. <member name="F:log4net.Util.PatternConverter.m_option">
  17124. <summary>
  17125. The option string to the converter
  17126. </summary>
  17127. </member>
  17128. <member name="M:log4net.Util.PatternConverter.WriteDictionary(System.IO.TextWriter,log4net.Repository.ILoggerRepository,System.Collections.IDictionary)">
  17129. <summary>
  17130. Write an dictionary to a <see cref="T:System.IO.TextWriter"/>
  17131. </summary>
  17132. <param name="writer">the writer to write to</param>
  17133. <param name="repository">a <see cref="T:log4net.Repository.ILoggerRepository"/> to use for object conversion</param>
  17134. <param name="value">the value to write to the writer</param>
  17135. <remarks>
  17136. <para>
  17137. Writes the <see cref="T:System.Collections.IDictionary"/> to a writer in the form:
  17138. </para>
  17139. <code>
  17140. {key1=value1, key2=value2, key3=value3}
  17141. </code>
  17142. <para>
  17143. If the <see cref="T:log4net.Repository.ILoggerRepository"/> specified
  17144. is not null then it is used to render the key and value to text, otherwise
  17145. the object's ToString method is called.
  17146. </para>
  17147. </remarks>
  17148. </member>
  17149. <member name="M:log4net.Util.PatternConverter.WriteDictionary(System.IO.TextWriter,log4net.Repository.ILoggerRepository,System.Collections.IDictionaryEnumerator)">
  17150. <summary>
  17151. Write an dictionary to a <see cref="T:System.IO.TextWriter"/>
  17152. </summary>
  17153. <param name="writer">the writer to write to</param>
  17154. <param name="repository">a <see cref="T:log4net.Repository.ILoggerRepository"/> to use for object conversion</param>
  17155. <param name="value">the value to write to the writer</param>
  17156. <remarks>
  17157. <para>
  17158. Writes the <see cref="T:System.Collections.IDictionaryEnumerator"/> to a writer in the form:
  17159. </para>
  17160. <code>
  17161. {key1=value1, key2=value2, key3=value3}
  17162. </code>
  17163. <para>
  17164. If the <see cref="T:log4net.Repository.ILoggerRepository"/> specified
  17165. is not null then it is used to render the key and value to text, otherwise
  17166. the object's ToString method is called.
  17167. </para>
  17168. </remarks>
  17169. </member>
  17170. <member name="M:log4net.Util.PatternConverter.WriteObject(System.IO.TextWriter,log4net.Repository.ILoggerRepository,System.Object)">
  17171. <summary>
  17172. Write an object to a <see cref="T:System.IO.TextWriter"/>
  17173. </summary>
  17174. <param name="writer">the writer to write to</param>
  17175. <param name="repository">a <see cref="T:log4net.Repository.ILoggerRepository"/> to use for object conversion</param>
  17176. <param name="value">the value to write to the writer</param>
  17177. <remarks>
  17178. <para>
  17179. Writes the Object to a writer. If the <see cref="T:log4net.Repository.ILoggerRepository"/> specified
  17180. is not null then it is used to render the object to text, otherwise
  17181. the object's ToString method is called.
  17182. </para>
  17183. </remarks>
  17184. </member>
  17185. <member name="P:log4net.Util.PatternConverter.Next">
  17186. <summary>
  17187. Get the next pattern converter in the chain
  17188. </summary>
  17189. <value>
  17190. the next pattern converter in the chain
  17191. </value>
  17192. <remarks>
  17193. <para>
  17194. Get the next pattern converter in the chain
  17195. </para>
  17196. </remarks>
  17197. </member>
  17198. <member name="P:log4net.Util.PatternConverter.FormattingInfo">
  17199. <summary>
  17200. Gets or sets the formatting info for this converter
  17201. </summary>
  17202. <value>
  17203. The formatting info for this converter
  17204. </value>
  17205. <remarks>
  17206. <para>
  17207. Gets or sets the formatting info for this converter
  17208. </para>
  17209. </remarks>
  17210. </member>
  17211. <member name="P:log4net.Util.PatternConverter.Option">
  17212. <summary>
  17213. Gets or sets the option value for this converter
  17214. </summary>
  17215. <summary>
  17216. The option for this converter
  17217. </summary>
  17218. <remarks>
  17219. <para>
  17220. Gets or sets the option value for this converter
  17221. </para>
  17222. </remarks>
  17223. </member>
  17224. <member name="P:log4net.Util.PatternConverter.Properties">
  17225. <summary>
  17226. </summary>
  17227. </member>
  17228. <member name="M:log4net.Layout.Pattern.PatternLayoutConverter.#ctor">
  17229. <summary>
  17230. Initializes a new instance of the <see cref="T:log4net.Layout.Pattern.PatternLayoutConverter"/> class.
  17231. </summary>
  17232. </member>
  17233. <member name="M:log4net.Layout.Pattern.PatternLayoutConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17234. <summary>
  17235. Derived pattern converters must override this method in order to
  17236. convert conversion specifiers in the correct way.
  17237. </summary>
  17238. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17239. <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> on which the pattern converter should be executed.</param>
  17240. </member>
  17241. <member name="M:log4net.Layout.Pattern.PatternLayoutConverter.Convert(System.IO.TextWriter,System.Object)">
  17242. <summary>
  17243. Derived pattern converters must override this method in order to
  17244. convert conversion specifiers in the correct way.
  17245. </summary>
  17246. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17247. <param name="state">The state object on which the pattern converter should be executed.</param>
  17248. </member>
  17249. <member name="F:log4net.Layout.Pattern.PatternLayoutConverter.m_ignoresException">
  17250. <summary>
  17251. Flag indicating if this converter handles exceptions
  17252. </summary>
  17253. <remarks>
  17254. <c>false</c> if this converter handles exceptions
  17255. </remarks>
  17256. </member>
  17257. <member name="P:log4net.Layout.Pattern.PatternLayoutConverter.IgnoresException">
  17258. <summary>
  17259. Flag indicating if this converter handles the logging event exception
  17260. </summary>
  17261. <value><c>false</c> if this converter handles the logging event exception</value>
  17262. <remarks>
  17263. <para>
  17264. If this converter handles the exception object contained within
  17265. <see cref="T:log4net.Core.LoggingEvent"/>, then this property should be set to
  17266. <c>false</c>. Otherwise, if the layout ignores the exception
  17267. object, then the property should be set to <c>true</c>.
  17268. </para>
  17269. <para>
  17270. Set this value to override a this default setting. The default
  17271. value is <c>true</c>, this converter does not handle the exception.
  17272. </para>
  17273. </remarks>
  17274. </member>
  17275. <member name="M:log4net.Layout.Pattern.AppDomainPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17276. <summary>
  17277. Write the event appdomain name to the output
  17278. </summary>
  17279. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17280. <param name="loggingEvent">the event being logged</param>
  17281. <remarks>
  17282. <para>
  17283. Writes the <see cref="P:log4net.Core.LoggingEvent.Domain"/> to the output <paramref name="writer"/>.
  17284. </para>
  17285. </remarks>
  17286. </member>
  17287. <member name="T:log4net.Layout.Pattern.DatePatternConverter">
  17288. <summary>
  17289. Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format
  17290. the date of a <see cref="T:log4net.Core.LoggingEvent"/>.
  17291. </summary>
  17292. <remarks>
  17293. <para>
  17294. Render the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> to the writer as a string.
  17295. </para>
  17296. <para>
  17297. The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines
  17298. the formatting of the date. The following values are allowed:
  17299. <list type="definition">
  17300. <listheader>
  17301. <term>Option value</term>
  17302. <description>Output</description>
  17303. </listheader>
  17304. <item>
  17305. <term>ISO8601</term>
  17306. <description>
  17307. Uses the <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/> formatter.
  17308. Formats using the <c>"yyyy-MM-dd HH:mm:ss,fff"</c> pattern.
  17309. </description>
  17310. </item>
  17311. <item>
  17312. <term>DATE</term>
  17313. <description>
  17314. Uses the <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> formatter.
  17315. Formats using the <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example, <c>"06 Nov 1994 15:49:37,459"</c>.
  17316. </description>
  17317. </item>
  17318. <item>
  17319. <term>ABSOLUTE</term>
  17320. <description>
  17321. Uses the <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/> formatter.
  17322. Formats using the <c>"HH:mm:ss,yyyy"</c> for example, <c>"15:49:37,459"</c>.
  17323. </description>
  17324. </item>
  17325. <item>
  17326. <term>other</term>
  17327. <description>
  17328. Any other pattern string uses the <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/> formatter.
  17329. This formatter passes the pattern string to the <see cref="T:System.DateTime"/>
  17330. <see cref="M:DateTime.ToString(string)"/> method.
  17331. For details on valid patterns see
  17332. <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.asp">DateTimeFormatInfo Class</a>.
  17333. </description>
  17334. </item>
  17335. </list>
  17336. </para>
  17337. <para>
  17338. The <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> is in the local time zone and is rendered in that zone.
  17339. To output the time in Universal time see <see cref="T:log4net.Layout.Pattern.UtcDatePatternConverter"/>.
  17340. </para>
  17341. </remarks>
  17342. <author>Nicko Cadell</author>
  17343. </member>
  17344. <member name="F:log4net.Layout.Pattern.DatePatternConverter.m_dateFormatter">
  17345. <summary>
  17346. The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
  17347. </summary>
  17348. <remarks>
  17349. <para>
  17350. The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
  17351. </para>
  17352. </remarks>
  17353. </member>
  17354. <member name="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions">
  17355. <summary>
  17356. Initialize the converter pattern based on the <see cref="P:log4net.Util.PatternConverter.Option"/> property.
  17357. </summary>
  17358. <remarks>
  17359. <para>
  17360. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  17361. activation scheme. The <see cref="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions"/> method must
  17362. be called on this object after the configuration properties have
  17363. been set. Until <see cref="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions"/> is called this
  17364. object is in an undefined state and must not be used.
  17365. </para>
  17366. <para>
  17367. If any of the configuration properties are modified then
  17368. <see cref="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions"/> must be called again.
  17369. </para>
  17370. </remarks>
  17371. </member>
  17372. <member name="M:log4net.Layout.Pattern.DatePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17373. <summary>
  17374. Convert the pattern into the rendered message
  17375. </summary>
  17376. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17377. <param name="loggingEvent">the event being logged</param>
  17378. <remarks>
  17379. <para>
  17380. Pass the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
  17381. for it to render it to the writer.
  17382. </para>
  17383. <para>
  17384. The <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> passed is in the local time zone.
  17385. </para>
  17386. </remarks>
  17387. </member>
  17388. <member name="F:log4net.Layout.Pattern.DatePatternConverter.declaringType">
  17389. <summary>
  17390. The fully qualified type of the DatePatternConverter class.
  17391. </summary>
  17392. <remarks>
  17393. Used by the internal logger to record the Type of the
  17394. log message.
  17395. </remarks>
  17396. </member>
  17397. <member name="T:log4net.Layout.Pattern.ExceptionPatternConverter">
  17398. <summary>
  17399. Write the exception text to the output
  17400. </summary>
  17401. <remarks>
  17402. <para>
  17403. If an exception object is stored in the logging event
  17404. it will be rendered into the pattern output with a
  17405. trailing newline.
  17406. </para>
  17407. <para>
  17408. If there is no exception then nothing will be output
  17409. and no trailing newline will be appended.
  17410. It is typical to put a newline before the exception
  17411. and to have the exception as the last data in the pattern.
  17412. </para>
  17413. </remarks>
  17414. <author>Nicko Cadell</author>
  17415. </member>
  17416. <member name="M:log4net.Layout.Pattern.ExceptionPatternConverter.#ctor">
  17417. <summary>
  17418. Default constructor
  17419. </summary>
  17420. </member>
  17421. <member name="M:log4net.Layout.Pattern.ExceptionPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17422. <summary>
  17423. Write the exception text to the output
  17424. </summary>
  17425. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17426. <param name="loggingEvent">the event being logged</param>
  17427. <remarks>
  17428. <para>
  17429. If an exception object is stored in the logging event
  17430. it will be rendered into the pattern output with a
  17431. trailing newline.
  17432. </para>
  17433. <para>
  17434. If there is no exception or the exception property specified
  17435. by the Option value does not exist then nothing will be output
  17436. and no trailing newline will be appended.
  17437. It is typical to put a newline before the exception
  17438. and to have the exception as the last data in the pattern.
  17439. </para>
  17440. <para>
  17441. Recognized values for the Option parameter are:
  17442. </para>
  17443. <list type="bullet">
  17444. <item>
  17445. <description>Message</description>
  17446. </item>
  17447. <item>
  17448. <description>Source</description>
  17449. </item>
  17450. <item>
  17451. <description>StackTrace</description>
  17452. </item>
  17453. <item>
  17454. <description>TargetSite</description>
  17455. </item>
  17456. <item>
  17457. <description>HelpLink</description>
  17458. </item>
  17459. </list>
  17460. </remarks>
  17461. </member>
  17462. <member name="T:log4net.Layout.Pattern.FileLocationPatternConverter">
  17463. <summary>
  17464. Writes the caller location file name to the output
  17465. </summary>
  17466. <remarks>
  17467. <para>
  17468. Writes the value of the <see cref="P:log4net.Core.LocationInfo.FileName"/> for
  17469. the event to the output writer.
  17470. </para>
  17471. </remarks>
  17472. <author>Nicko Cadell</author>
  17473. </member>
  17474. <member name="M:log4net.Layout.Pattern.FileLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17475. <summary>
  17476. Write the caller location file name to the output
  17477. </summary>
  17478. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17479. <param name="loggingEvent">the event being logged</param>
  17480. <remarks>
  17481. <para>
  17482. Writes the value of the <see cref="P:log4net.Core.LocationInfo.FileName"/> for
  17483. the <paramref name="loggingEvent"/> to the output <paramref name="writer"/>.
  17484. </para>
  17485. </remarks>
  17486. </member>
  17487. <member name="T:log4net.Layout.Pattern.FullLocationPatternConverter">
  17488. <summary>
  17489. Write the caller location info to the output
  17490. </summary>
  17491. <remarks>
  17492. <para>
  17493. Writes the <see cref="P:log4net.Core.LocationInfo.FullInfo"/> to the output writer.
  17494. </para>
  17495. </remarks>
  17496. <author>Nicko Cadell</author>
  17497. </member>
  17498. <member name="M:log4net.Layout.Pattern.FullLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17499. <summary>
  17500. Write the caller location info to the output
  17501. </summary>
  17502. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17503. <param name="loggingEvent">the event being logged</param>
  17504. <remarks>
  17505. <para>
  17506. Writes the <see cref="P:log4net.Core.LocationInfo.FullInfo"/> to the output writer.
  17507. </para>
  17508. </remarks>
  17509. </member>
  17510. <member name="T:log4net.Layout.Pattern.IdentityPatternConverter">
  17511. <summary>
  17512. Writes the event identity to the output
  17513. </summary>
  17514. <remarks>
  17515. <para>
  17516. Writes the value of the <see cref="P:log4net.Core.LoggingEvent.Identity"/> to
  17517. the output writer.
  17518. </para>
  17519. </remarks>
  17520. <author>Daniel Cazzulino</author>
  17521. <author>Nicko Cadell</author>
  17522. </member>
  17523. <member name="M:log4net.Layout.Pattern.IdentityPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17524. <summary>
  17525. Writes the event identity to the output
  17526. </summary>
  17527. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17528. <param name="loggingEvent">the event being logged</param>
  17529. <remarks>
  17530. <para>
  17531. Writes the value of the <paramref name="loggingEvent"/>
  17532. <see cref="P:log4net.Core.LoggingEvent.Identity"/> to
  17533. the output <paramref name="writer"/>.
  17534. </para>
  17535. </remarks>
  17536. </member>
  17537. <member name="T:log4net.Layout.Pattern.LevelPatternConverter">
  17538. <summary>
  17539. Write the event level to the output
  17540. </summary>
  17541. <remarks>
  17542. <para>
  17543. Writes the display name of the event <see cref="P:log4net.Core.LoggingEvent.Level"/>
  17544. to the writer.
  17545. </para>
  17546. </remarks>
  17547. <author>Nicko Cadell</author>
  17548. </member>
  17549. <member name="M:log4net.Layout.Pattern.LevelPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17550. <summary>
  17551. Write the event level to the output
  17552. </summary>
  17553. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17554. <param name="loggingEvent">the event being logged</param>
  17555. <remarks>
  17556. <para>
  17557. Writes the <see cref="P:log4net.Core.Level.DisplayName"/> of the <paramref name="loggingEvent"/> <see cref="P:log4net.Core.LoggingEvent.Level"/>
  17558. to the <paramref name="writer"/>.
  17559. </para>
  17560. </remarks>
  17561. </member>
  17562. <member name="T:log4net.Layout.Pattern.LineLocationPatternConverter">
  17563. <summary>
  17564. Write the caller location line number to the output
  17565. </summary>
  17566. <remarks>
  17567. <para>
  17568. Writes the value of the <see cref="P:log4net.Core.LocationInfo.LineNumber"/> for
  17569. the event to the output writer.
  17570. </para>
  17571. </remarks>
  17572. <author>Nicko Cadell</author>
  17573. </member>
  17574. <member name="M:log4net.Layout.Pattern.LineLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17575. <summary>
  17576. Write the caller location line number to the output
  17577. </summary>
  17578. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17579. <param name="loggingEvent">the event being logged</param>
  17580. <remarks>
  17581. <para>
  17582. Writes the value of the <see cref="P:log4net.Core.LocationInfo.LineNumber"/> for
  17583. the <paramref name="loggingEvent"/> to the output <paramref name="writer"/>.
  17584. </para>
  17585. </remarks>
  17586. </member>
  17587. <member name="T:log4net.Layout.Pattern.LoggerPatternConverter">
  17588. <summary>
  17589. Converter for logger name
  17590. </summary>
  17591. <remarks>
  17592. <para>
  17593. Outputs the <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> of the event.
  17594. </para>
  17595. </remarks>
  17596. <author>Nicko Cadell</author>
  17597. </member>
  17598. <member name="T:log4net.Layout.Pattern.NamedPatternConverter">
  17599. <summary>
  17600. Converter to output and truncate <c>'.'</c> separated strings
  17601. </summary>
  17602. <remarks>
  17603. <para>
  17604. This abstract class supports truncating a <c>'.'</c> separated string
  17605. to show a specified number of elements from the right hand side.
  17606. This is used to truncate class names that are fully qualified.
  17607. </para>
  17608. <para>
  17609. Subclasses should override the <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)"/> method to
  17610. return the fully qualified string.
  17611. </para>
  17612. </remarks>
  17613. <author>Nicko Cadell</author>
  17614. </member>
  17615. <member name="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions">
  17616. <summary>
  17617. Initialize the converter
  17618. </summary>
  17619. <remarks>
  17620. <para>
  17621. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  17622. activation scheme. The <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions"/> method must
  17623. be called on this object after the configuration properties have
  17624. been set. Until <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions"/> is called this
  17625. object is in an undefined state and must not be used.
  17626. </para>
  17627. <para>
  17628. If any of the configuration properties are modified then
  17629. <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions"/> must be called again.
  17630. </para>
  17631. </remarks>
  17632. </member>
  17633. <member name="M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)">
  17634. <summary>
  17635. Get the fully qualified string data
  17636. </summary>
  17637. <param name="loggingEvent">the event being logged</param>
  17638. <returns>the fully qualified name</returns>
  17639. <remarks>
  17640. <para>
  17641. Overridden by subclasses to get the fully qualified name before the
  17642. precision is applied to it.
  17643. </para>
  17644. <para>
  17645. Return the fully qualified <c>'.'</c> (dot/period) separated string.
  17646. </para>
  17647. </remarks>
  17648. </member>
  17649. <member name="M:log4net.Layout.Pattern.NamedPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17650. <summary>
  17651. Convert the pattern to the rendered message
  17652. </summary>
  17653. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17654. <param name="loggingEvent">the event being logged</param>
  17655. <remarks>
  17656. Render the <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)"/> to the precision
  17657. specified by the <see cref="P:log4net.Util.PatternConverter.Option"/> property.
  17658. </remarks>
  17659. </member>
  17660. <member name="F:log4net.Layout.Pattern.NamedPatternConverter.declaringType">
  17661. <summary>
  17662. The fully qualified type of the NamedPatternConverter class.
  17663. </summary>
  17664. <remarks>
  17665. Used by the internal logger to record the Type of the
  17666. log message.
  17667. </remarks>
  17668. </member>
  17669. <member name="M:log4net.Layout.Pattern.LoggerPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)">
  17670. <summary>
  17671. Gets the fully qualified name of the logger
  17672. </summary>
  17673. <param name="loggingEvent">the event being logged</param>
  17674. <returns>The fully qualified logger name</returns>
  17675. <remarks>
  17676. <para>
  17677. Returns the <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> of the <paramref name="loggingEvent"/>.
  17678. </para>
  17679. </remarks>
  17680. </member>
  17681. <member name="T:log4net.Layout.Pattern.MessagePatternConverter">
  17682. <summary>
  17683. Writes the event message to the output
  17684. </summary>
  17685. <remarks>
  17686. <para>
  17687. Uses the <see cref="M:log4net.Core.LoggingEvent.WriteRenderedMessage(System.IO.TextWriter)"/> method
  17688. to write out the event message.
  17689. </para>
  17690. </remarks>
  17691. <author>Nicko Cadell</author>
  17692. </member>
  17693. <member name="M:log4net.Layout.Pattern.MessagePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17694. <summary>
  17695. Writes the event message to the output
  17696. </summary>
  17697. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17698. <param name="loggingEvent">the event being logged</param>
  17699. <remarks>
  17700. <para>
  17701. Uses the <see cref="M:log4net.Core.LoggingEvent.WriteRenderedMessage(System.IO.TextWriter)"/> method
  17702. to write out the event message.
  17703. </para>
  17704. </remarks>
  17705. </member>
  17706. <member name="T:log4net.Layout.Pattern.MethodLocationPatternConverter">
  17707. <summary>
  17708. Write the method name to the output
  17709. </summary>
  17710. <remarks>
  17711. <para>
  17712. Writes the caller location <see cref="P:log4net.Core.LocationInfo.MethodName"/> to
  17713. the output.
  17714. </para>
  17715. </remarks>
  17716. <author>Nicko Cadell</author>
  17717. </member>
  17718. <member name="M:log4net.Layout.Pattern.MethodLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17719. <summary>
  17720. Write the method name to the output
  17721. </summary>
  17722. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17723. <param name="loggingEvent">the event being logged</param>
  17724. <remarks>
  17725. <para>
  17726. Writes the caller location <see cref="P:log4net.Core.LocationInfo.MethodName"/> to
  17727. the output.
  17728. </para>
  17729. </remarks>
  17730. </member>
  17731. <member name="T:log4net.Layout.Pattern.NdcPatternConverter">
  17732. <summary>
  17733. Converter to include event NDC
  17734. </summary>
  17735. <remarks>
  17736. <para>
  17737. Outputs the value of the event property named <c>NDC</c>.
  17738. </para>
  17739. <para>
  17740. The <see cref="T:log4net.Layout.Pattern.PropertyPatternConverter"/> should be used instead.
  17741. </para>
  17742. </remarks>
  17743. <author>Nicko Cadell</author>
  17744. </member>
  17745. <member name="M:log4net.Layout.Pattern.NdcPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17746. <summary>
  17747. Write the event NDC to the output
  17748. </summary>
  17749. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17750. <param name="loggingEvent">the event being logged</param>
  17751. <remarks>
  17752. <para>
  17753. As the thread context stacks are now stored in named event properties
  17754. this converter simply looks up the value of the <c>NDC</c> property.
  17755. </para>
  17756. <para>
  17757. The <see cref="T:log4net.Layout.Pattern.PropertyPatternConverter"/> should be used instead.
  17758. </para>
  17759. </remarks>
  17760. </member>
  17761. <member name="T:log4net.Layout.Pattern.PropertyPatternConverter">
  17762. <summary>
  17763. Property pattern converter
  17764. </summary>
  17765. <remarks>
  17766. <para>
  17767. Writes out the value of a named property. The property name
  17768. should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
  17769. property.
  17770. </para>
  17771. <para>
  17772. If the <see cref="P:log4net.Util.PatternConverter.Option"/> is set to <c>null</c>
  17773. then all the properties are written as key value pairs.
  17774. </para>
  17775. </remarks>
  17776. <author>Nicko Cadell</author>
  17777. </member>
  17778. <member name="M:log4net.Layout.Pattern.PropertyPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17779. <summary>
  17780. Write the property value to the output
  17781. </summary>
  17782. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17783. <param name="loggingEvent">the event being logged</param>
  17784. <remarks>
  17785. <para>
  17786. Writes out the value of a named property. The property name
  17787. should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
  17788. property.
  17789. </para>
  17790. <para>
  17791. If the <see cref="P:log4net.Util.PatternConverter.Option"/> is set to <c>null</c>
  17792. then all the properties are written as key value pairs.
  17793. </para>
  17794. </remarks>
  17795. </member>
  17796. <member name="T:log4net.Layout.Pattern.RelativeTimePatternConverter">
  17797. <summary>
  17798. Converter to output the relative time of the event
  17799. </summary>
  17800. <remarks>
  17801. <para>
  17802. Converter to output the time of the event relative to the start of the program.
  17803. </para>
  17804. </remarks>
  17805. <author>Nicko Cadell</author>
  17806. </member>
  17807. <member name="M:log4net.Layout.Pattern.RelativeTimePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17808. <summary>
  17809. Write the relative time to the output
  17810. </summary>
  17811. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17812. <param name="loggingEvent">the event being logged</param>
  17813. <remarks>
  17814. <para>
  17815. Writes out the relative time of the event in milliseconds.
  17816. That is the number of milliseconds between the event <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/>
  17817. and the <see cref="P:log4net.Core.LoggingEvent.StartTime"/>.
  17818. </para>
  17819. </remarks>
  17820. </member>
  17821. <member name="M:log4net.Layout.Pattern.RelativeTimePatternConverter.TimeDifferenceInMillis(System.DateTime,System.DateTime)">
  17822. <summary>
  17823. Helper method to get the time difference between two DateTime objects
  17824. </summary>
  17825. <param name="start">start time (in the current local time zone)</param>
  17826. <param name="end">end time (in the current local time zone)</param>
  17827. <returns>the time difference in milliseconds</returns>
  17828. </member>
  17829. <member name="T:log4net.Layout.Pattern.StackTraceDetailPatternConverter">
  17830. <summary>
  17831. Write the caller stack frames to the output
  17832. </summary>
  17833. <remarks>
  17834. <para>
  17835. Writes the <see cref="P:log4net.Core.LocationInfo.StackFrames"/> to the output writer, using format:
  17836. type3.MethodCall3(type param,...) &gt; type2.MethodCall2(type param,...) &gt; type1.MethodCall1(type param,...)
  17837. </para>
  17838. </remarks>
  17839. <author>Adam Davies</author>
  17840. </member>
  17841. <member name="T:log4net.Layout.Pattern.StackTracePatternConverter">
  17842. <summary>
  17843. Write the caller stack frames to the output
  17844. </summary>
  17845. <remarks>
  17846. <para>
  17847. Writes the <see cref="P:log4net.Core.LocationInfo.StackFrames"/> to the output writer, using format:
  17848. type3.MethodCall3 &gt; type2.MethodCall2 &gt; type1.MethodCall1
  17849. </para>
  17850. </remarks>
  17851. <author>Michael Cromwell</author>
  17852. </member>
  17853. <member name="M:log4net.Layout.Pattern.StackTracePatternConverter.ActivateOptions">
  17854. <summary>
  17855. Initialize the converter
  17856. </summary>
  17857. <remarks>
  17858. <para>
  17859. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  17860. activation scheme. The <see cref="M:log4net.Layout.Pattern.StackTracePatternConverter.ActivateOptions"/> method must
  17861. be called on this object after the configuration properties have
  17862. been set. Until <see cref="M:log4net.Layout.Pattern.StackTracePatternConverter.ActivateOptions"/> is called this
  17863. object is in an undefined state and must not be used.
  17864. </para>
  17865. <para>
  17866. If any of the configuration properties are modified then
  17867. <see cref="M:log4net.Layout.Pattern.StackTracePatternConverter.ActivateOptions"/> must be called again.
  17868. </para>
  17869. </remarks>
  17870. </member>
  17871. <member name="M:log4net.Layout.Pattern.StackTracePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17872. <summary>
  17873. Write the strack frames to the output
  17874. </summary>
  17875. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17876. <param name="loggingEvent">the event being logged</param>
  17877. <remarks>
  17878. <para>
  17879. Writes the <see cref="P:log4net.Core.LocationInfo.StackFrames"/> to the output writer.
  17880. </para>
  17881. </remarks>
  17882. </member>
  17883. <member name="M:log4net.Layout.Pattern.StackTracePatternConverter.GetMethodInformation(log4net.Core.MethodItem)">
  17884. <summary>
  17885. Returns the Name of the method
  17886. </summary>
  17887. <param name="method"></param>
  17888. <remarks>This method was created, so this class could be used as a base class for StackTraceDetailPatternConverter</remarks>
  17889. <returns>string</returns>
  17890. </member>
  17891. <member name="F:log4net.Layout.Pattern.StackTracePatternConverter.declaringType">
  17892. <summary>
  17893. The fully qualified type of the StackTracePatternConverter class.
  17894. </summary>
  17895. <remarks>
  17896. Used by the internal logger to record the Type of the
  17897. log message.
  17898. </remarks>
  17899. </member>
  17900. <member name="F:log4net.Layout.Pattern.StackTraceDetailPatternConverter.declaringType">
  17901. <summary>
  17902. The fully qualified type of the StackTraceDetailPatternConverter class.
  17903. </summary>
  17904. <remarks>
  17905. Used by the internal logger to record the Type of the
  17906. log message.
  17907. </remarks>
  17908. </member>
  17909. <member name="T:log4net.Layout.Pattern.ThreadPatternConverter">
  17910. <summary>
  17911. Converter to include event thread name
  17912. </summary>
  17913. <remarks>
  17914. <para>
  17915. Writes the <see cref="P:log4net.Core.LoggingEvent.ThreadName"/> to the output.
  17916. </para>
  17917. </remarks>
  17918. <author>Nicko Cadell</author>
  17919. </member>
  17920. <member name="M:log4net.Layout.Pattern.ThreadPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17921. <summary>
  17922. Write the ThreadName to the output
  17923. </summary>
  17924. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17925. <param name="loggingEvent">the event being logged</param>
  17926. <remarks>
  17927. <para>
  17928. Writes the <see cref="P:log4net.Core.LoggingEvent.ThreadName"/> to the <paramref name="writer"/>.
  17929. </para>
  17930. </remarks>
  17931. </member>
  17932. <member name="T:log4net.Layout.Pattern.TypeNamePatternConverter">
  17933. <summary>
  17934. Pattern converter for the class name
  17935. </summary>
  17936. <remarks>
  17937. <para>
  17938. Outputs the <see cref="P:log4net.Core.LocationInfo.ClassName"/> of the event.
  17939. </para>
  17940. </remarks>
  17941. <author>Nicko Cadell</author>
  17942. </member>
  17943. <member name="M:log4net.Layout.Pattern.TypeNamePatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)">
  17944. <summary>
  17945. Gets the fully qualified name of the class
  17946. </summary>
  17947. <param name="loggingEvent">the event being logged</param>
  17948. <returns>The fully qualified type name for the caller location</returns>
  17949. <remarks>
  17950. <para>
  17951. Returns the <see cref="P:log4net.Core.LocationInfo.ClassName"/> of the <paramref name="loggingEvent"/>.
  17952. </para>
  17953. </remarks>
  17954. </member>
  17955. <member name="T:log4net.Layout.Pattern.UserNamePatternConverter">
  17956. <summary>
  17957. Converter to include event user name
  17958. </summary>
  17959. <author>Douglas de la Torre</author>
  17960. <author>Nicko Cadell</author>
  17961. </member>
  17962. <member name="M:log4net.Layout.Pattern.UserNamePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17963. <summary>
  17964. Convert the pattern to the rendered message
  17965. </summary>
  17966. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17967. <param name="loggingEvent">the event being logged</param>
  17968. </member>
  17969. <member name="T:log4net.Layout.Pattern.UtcDatePatternConverter">
  17970. <summary>
  17971. Write the TimeStamp to the output
  17972. </summary>
  17973. <remarks>
  17974. <para>
  17975. Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format
  17976. the date of a <see cref="T:log4net.Core.LoggingEvent"/>.
  17977. </para>
  17978. <para>
  17979. Uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/>
  17980. in Universal time.
  17981. </para>
  17982. <para>
  17983. See the <see cref="T:log4net.Layout.Pattern.DatePatternConverter"/> for details on the date pattern syntax.
  17984. </para>
  17985. </remarks>
  17986. <seealso cref="T:log4net.Layout.Pattern.DatePatternConverter"/>
  17987. <author>Nicko Cadell</author>
  17988. </member>
  17989. <member name="M:log4net.Layout.Pattern.UtcDatePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17990. <summary>
  17991. Write the TimeStamp to the output
  17992. </summary>
  17993. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17994. <param name="loggingEvent">the event being logged</param>
  17995. <remarks>
  17996. <para>
  17997. Pass the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
  17998. for it to render it to the writer.
  17999. </para>
  18000. <para>
  18001. The <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> passed is in the local time zone, this is converted
  18002. to Universal time before it is rendered.
  18003. </para>
  18004. </remarks>
  18005. <seealso cref="T:log4net.Layout.Pattern.DatePatternConverter"/>
  18006. </member>
  18007. <member name="F:log4net.Layout.Pattern.UtcDatePatternConverter.declaringType">
  18008. <summary>
  18009. The fully qualified type of the UtcDatePatternConverter class.
  18010. </summary>
  18011. <remarks>
  18012. Used by the internal logger to record the Type of the
  18013. log message.
  18014. </remarks>
  18015. </member>
  18016. <member name="T:log4net.Layout.DynamicPatternLayout">
  18017. <summary>
  18018. A flexible layout configurable with pattern string that re-evaluates on each call.
  18019. </summary>
  18020. <remarks>
  18021. <para>This class is built on <see cref="T:log4net.Layout.PatternLayout"></see> and provides all the
  18022. features and capabilities of PatternLayout. PatternLayout is a 'static' class
  18023. in that its layout is done once at configuration time. This class will recreate
  18024. the layout on each reference.</para>
  18025. <para>One important difference between PatternLayout and DynamicPatternLayout is the
  18026. treatment of the Header and Footer parameters in the configuration. The Header and Footer
  18027. parameters for DynamicPatternLayout must be syntactically in the form of a PatternString,
  18028. but should not be marked as type log4net.Util.PatternString. Doing so causes the
  18029. pattern to be statically converted at configuration time and causes DynamicPatternLayout
  18030. to perform the same as PatternLayout.</para>
  18031. <para>Please see <see cref="T:log4net.Layout.PatternLayout"/> for complete documentation.</para>
  18032. <example>
  18033. &lt;layout type="log4net.Layout.DynamicPatternLayout"&gt;
  18034. &lt;param name="Header" value="%newline**** Trace Opened Local: %date{yyyy-MM-dd HH:mm:ss.fff} UTC: %utcdate{yyyy-MM-dd HH:mm:ss.fff} ****%newline" /&gt;
  18035. &lt;param name="Footer" value="**** Trace Closed %date{yyyy-MM-dd HH:mm:ss.fff} ****%newline" /&gt;
  18036. &lt;/layout&gt;
  18037. </example>
  18038. </remarks>
  18039. </member>
  18040. <member name="T:log4net.Layout.PatternLayout">
  18041. <summary>
  18042. A flexible layout configurable with pattern string.
  18043. </summary>
  18044. <remarks>
  18045. <para>
  18046. The goal of this class is to <see cref="M:PatternLayout.Format(TextWriter,LoggingEvent)"/> a
  18047. <see cref="T:log4net.Core.LoggingEvent"/> as a string. The results
  18048. depend on the <i>conversion pattern</i>.
  18049. </para>
  18050. <para>
  18051. The conversion pattern is closely related to the conversion
  18052. pattern of the printf function in C. A conversion pattern is
  18053. composed of literal text and format control expressions called
  18054. <i>conversion specifiers</i>.
  18055. </para>
  18056. <para>
  18057. <i>You are free to insert any literal text within the conversion
  18058. pattern.</i>
  18059. </para>
  18060. <para>
  18061. Each conversion specifier starts with a percent sign (%) and is
  18062. followed by optional <i>format modifiers</i> and a <i>conversion
  18063. pattern name</i>. The conversion pattern name specifies the type of
  18064. data, e.g. logger, level, date, thread name. The format
  18065. modifiers control such things as field width, padding, left and
  18066. right justification. The following is a simple example.
  18067. </para>
  18068. <para>
  18069. Let the conversion pattern be <b>"%-5level [%thread]: %message%newline"</b> and assume
  18070. that the log4net environment was set to use a PatternLayout. Then the
  18071. statements
  18072. </para>
  18073. <code lang="C#">
  18074. ILog log = LogManager.GetLogger(typeof(TestApp));
  18075. log.Debug("Message 1");
  18076. log.Warn("Message 2");
  18077. </code>
  18078. <para>would yield the output</para>
  18079. <code>
  18080. DEBUG [main]: Message 1
  18081. WARN [main]: Message 2
  18082. </code>
  18083. <para>
  18084. Note that there is no explicit separator between text and
  18085. conversion specifiers. The pattern parser knows when it has reached
  18086. the end of a conversion specifier when it reads a conversion
  18087. character. In the example above the conversion specifier
  18088. <b>%-5level</b> means the level of the logging event should be left
  18089. justified to a width of five characters.
  18090. </para>
  18091. <para>
  18092. The recognized conversion pattern names are:
  18093. </para>
  18094. <list type="table">
  18095. <listheader>
  18096. <term>Conversion Pattern Name</term>
  18097. <description>Effect</description>
  18098. </listheader>
  18099. <item>
  18100. <term>a</term>
  18101. <description>Equivalent to <b>appdomain</b></description>
  18102. </item>
  18103. <item>
  18104. <term>appdomain</term>
  18105. <description>
  18106. Used to output the friendly name of the AppDomain where the
  18107. logging event was generated.
  18108. </description>
  18109. </item>
  18110. <item>
  18111. <term>aspnet-cache</term>
  18112. <description>
  18113. <para>
  18114. Used to output all cache items in the case of <b>%aspnet-cache</b> or just one named item if used as <b>%aspnet-cache{key}</b>
  18115. </para>
  18116. <para>
  18117. This pattern is not available for Compact Framework or Client Profile assemblies.
  18118. </para>
  18119. </description>
  18120. </item>
  18121. <item>
  18122. <term>aspnet-context</term>
  18123. <description>
  18124. <para>
  18125. Used to output all context items in the case of <b>%aspnet-context</b> or just one named item if used as <b>%aspnet-context{key}</b>
  18126. </para>
  18127. <para>
  18128. This pattern is not available for Compact Framework or Client Profile assemblies.
  18129. </para>
  18130. </description>
  18131. </item>
  18132. <item>
  18133. <term>aspnet-request</term>
  18134. <description>
  18135. <para>
  18136. Used to output all request parameters in the case of <b>%aspnet-request</b> or just one named param if used as <b>%aspnet-request{key}</b>
  18137. </para>
  18138. <para>
  18139. This pattern is not available for Compact Framework or Client Profile assemblies.
  18140. </para>
  18141. </description>
  18142. </item>
  18143. <item>
  18144. <term>aspnet-session</term>
  18145. <description>
  18146. <para>
  18147. Used to output all session items in the case of <b>%aspnet-session</b> or just one named item if used as <b>%aspnet-session{key}</b>
  18148. </para>
  18149. <para>
  18150. This pattern is not available for Compact Framework or Client Profile assemblies.
  18151. </para>
  18152. </description>
  18153. </item>
  18154. <item>
  18155. <term>c</term>
  18156. <description>Equivalent to <b>logger</b></description>
  18157. </item>
  18158. <item>
  18159. <term>C</term>
  18160. <description>Equivalent to <b>type</b></description>
  18161. </item>
  18162. <item>
  18163. <term>class</term>
  18164. <description>Equivalent to <b>type</b></description>
  18165. </item>
  18166. <item>
  18167. <term>d</term>
  18168. <description>Equivalent to <b>date</b></description>
  18169. </item>
  18170. <item>
  18171. <term>date</term>
  18172. <description>
  18173. <para>
  18174. Used to output the date of the logging event in the local time zone.
  18175. To output the date in universal time use the <c>%utcdate</c> pattern.
  18176. The date conversion
  18177. specifier may be followed by a <i>date format specifier</i> enclosed
  18178. between braces. For example, <b>%date{HH:mm:ss,fff}</b> or
  18179. <b>%date{dd MMM yyyy HH:mm:ss,fff}</b>. If no date format specifier is
  18180. given then ISO8601 format is
  18181. assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
  18182. </para>
  18183. <para>
  18184. The date format specifier admits the same syntax as the
  18185. time pattern string of the <see cref="M:DateTime.ToString(string)"/>.
  18186. </para>
  18187. <para>
  18188. For better results it is recommended to use the log4net date
  18189. formatters. These can be specified using one of the strings
  18190. "ABSOLUTE", "DATE" and "ISO8601" for specifying
  18191. <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>,
  18192. <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively
  18193. <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example,
  18194. <b>%date{ISO8601}</b> or <b>%date{ABSOLUTE}</b>.
  18195. </para>
  18196. <para>
  18197. These dedicated date formatters perform significantly
  18198. better than <see cref="M:DateTime.ToString(string)"/>.
  18199. </para>
  18200. </description>
  18201. </item>
  18202. <item>
  18203. <term>exception</term>
  18204. <description>
  18205. <para>
  18206. Used to output the exception passed in with the log message.
  18207. </para>
  18208. <para>
  18209. If an exception object is stored in the logging event
  18210. it will be rendered into the pattern output with a
  18211. trailing newline.
  18212. If there is no exception then nothing will be output
  18213. and no trailing newline will be appended.
  18214. It is typical to put a newline before the exception
  18215. and to have the exception as the last data in the pattern.
  18216. </para>
  18217. </description>
  18218. </item>
  18219. <item>
  18220. <term>F</term>
  18221. <description>Equivalent to <b>file</b></description>
  18222. </item>
  18223. <item>
  18224. <term>file</term>
  18225. <description>
  18226. <para>
  18227. Used to output the file name where the logging request was
  18228. issued.
  18229. </para>
  18230. <para>
  18231. <b>WARNING</b> Generating caller location information is
  18232. extremely slow. Its use should be avoided unless execution speed
  18233. is not an issue.
  18234. </para>
  18235. <para>
  18236. See the note below on the availability of caller location information.
  18237. </para>
  18238. </description>
  18239. </item>
  18240. <item>
  18241. <term>identity</term>
  18242. <description>
  18243. <para>
  18244. Used to output the user name for the currently active user
  18245. (Principal.Identity.Name).
  18246. </para>
  18247. <para>
  18248. <b>WARNING</b> Generating caller information is
  18249. extremely slow. Its use should be avoided unless execution speed
  18250. is not an issue.
  18251. </para>
  18252. </description>
  18253. </item>
  18254. <item>
  18255. <term>l</term>
  18256. <description>Equivalent to <b>location</b></description>
  18257. </item>
  18258. <item>
  18259. <term>L</term>
  18260. <description>Equivalent to <b>line</b></description>
  18261. </item>
  18262. <item>
  18263. <term>location</term>
  18264. <description>
  18265. <para>
  18266. Used to output location information of the caller which generated
  18267. the logging event.
  18268. </para>
  18269. <para>
  18270. The location information depends on the CLI implementation but
  18271. usually consists of the fully qualified name of the calling
  18272. method followed by the callers source the file name and line
  18273. number between parentheses.
  18274. </para>
  18275. <para>
  18276. The location information can be very useful. However, its
  18277. generation is <b>extremely</b> slow. Its use should be avoided
  18278. unless execution speed is not an issue.
  18279. </para>
  18280. <para>
  18281. See the note below on the availability of caller location information.
  18282. </para>
  18283. </description>
  18284. </item>
  18285. <item>
  18286. <term>level</term>
  18287. <description>
  18288. <para>
  18289. Used to output the level of the logging event.
  18290. </para>
  18291. </description>
  18292. </item>
  18293. <item>
  18294. <term>line</term>
  18295. <description>
  18296. <para>
  18297. Used to output the line number from where the logging request
  18298. was issued.
  18299. </para>
  18300. <para>
  18301. <b>WARNING</b> Generating caller location information is
  18302. extremely slow. Its use should be avoided unless execution speed
  18303. is not an issue.
  18304. </para>
  18305. <para>
  18306. See the note below on the availability of caller location information.
  18307. </para>
  18308. </description>
  18309. </item>
  18310. <item>
  18311. <term>logger</term>
  18312. <description>
  18313. <para>
  18314. Used to output the logger of the logging event. The
  18315. logger conversion specifier can be optionally followed by
  18316. <i>precision specifier</i>, that is a decimal constant in
  18317. brackets.
  18318. </para>
  18319. <para>
  18320. If a precision specifier is given, then only the corresponding
  18321. number of right most components of the logger name will be
  18322. printed. By default the logger name is printed in full.
  18323. </para>
  18324. <para>
  18325. For example, for the logger name "a.b.c" the pattern
  18326. <b>%logger{2}</b> will output "b.c".
  18327. </para>
  18328. </description>
  18329. </item>
  18330. <item>
  18331. <term>m</term>
  18332. <description>Equivalent to <b>message</b></description>
  18333. </item>
  18334. <item>
  18335. <term>M</term>
  18336. <description>Equivalent to <b>method</b></description>
  18337. </item>
  18338. <item>
  18339. <term>message</term>
  18340. <description>
  18341. <para>
  18342. Used to output the application supplied message associated with
  18343. the logging event.
  18344. </para>
  18345. </description>
  18346. </item>
  18347. <item>
  18348. <term>mdc</term>
  18349. <description>
  18350. <para>
  18351. The MDC (old name for the ThreadContext.Properties) is now part of the
  18352. combined event properties. This pattern is supported for compatibility
  18353. but is equivalent to <b>property</b>.
  18354. </para>
  18355. </description>
  18356. </item>
  18357. <item>
  18358. <term>method</term>
  18359. <description>
  18360. <para>
  18361. Used to output the method name where the logging request was
  18362. issued.
  18363. </para>
  18364. <para>
  18365. <b>WARNING</b> Generating caller location information is
  18366. extremely slow. Its use should be avoided unless execution speed
  18367. is not an issue.
  18368. </para>
  18369. <para>
  18370. See the note below on the availability of caller location information.
  18371. </para>
  18372. </description>
  18373. </item>
  18374. <item>
  18375. <term>n</term>
  18376. <description>Equivalent to <b>newline</b></description>
  18377. </item>
  18378. <item>
  18379. <term>newline</term>
  18380. <description>
  18381. <para>
  18382. Outputs the platform dependent line separator character or
  18383. characters.
  18384. </para>
  18385. <para>
  18386. This conversion pattern offers the same performance as using
  18387. non-portable line separator strings such as "\n", or "\r\n".
  18388. Thus, it is the preferred way of specifying a line separator.
  18389. </para>
  18390. </description>
  18391. </item>
  18392. <item>
  18393. <term>ndc</term>
  18394. <description>
  18395. <para>
  18396. Used to output the NDC (nested diagnostic context) associated
  18397. with the thread that generated the logging event.
  18398. </para>
  18399. </description>
  18400. </item>
  18401. <item>
  18402. <term>p</term>
  18403. <description>Equivalent to <b>level</b></description>
  18404. </item>
  18405. <item>
  18406. <term>P</term>
  18407. <description>Equivalent to <b>property</b></description>
  18408. </item>
  18409. <item>
  18410. <term>properties</term>
  18411. <description>Equivalent to <b>property</b></description>
  18412. </item>
  18413. <item>
  18414. <term>property</term>
  18415. <description>
  18416. <para>
  18417. Used to output the an event specific property. The key to
  18418. lookup must be specified within braces and directly following the
  18419. pattern specifier, e.g. <b>%property{user}</b> would include the value
  18420. from the property that is keyed by the string 'user'. Each property value
  18421. that is to be included in the log must be specified separately.
  18422. Properties are added to events by loggers or appenders. By default
  18423. the <c>log4net:HostName</c> property is set to the name of machine on
  18424. which the event was originally logged.
  18425. </para>
  18426. <para>
  18427. If no key is specified, e.g. <b>%property</b> then all the keys and their
  18428. values are printed in a comma separated list.
  18429. </para>
  18430. <para>
  18431. The properties of an event are combined from a number of different
  18432. contexts. These are listed below in the order in which they are searched.
  18433. </para>
  18434. <list type="definition">
  18435. <item>
  18436. <term>the event properties</term>
  18437. <description>
  18438. The event has <see cref="P:log4net.Core.LoggingEvent.Properties"/> that can be set. These
  18439. properties are specific to this event only.
  18440. </description>
  18441. </item>
  18442. <item>
  18443. <term>the thread properties</term>
  18444. <description>
  18445. The <see cref="P:log4net.ThreadContext.Properties"/> that are set on the current
  18446. thread. These properties are shared by all events logged on this thread.
  18447. </description>
  18448. </item>
  18449. <item>
  18450. <term>the global properties</term>
  18451. <description>
  18452. The <see cref="P:log4net.GlobalContext.Properties"/> that are set globally. These
  18453. properties are shared by all the threads in the AppDomain.
  18454. </description>
  18455. </item>
  18456. </list>
  18457. </description>
  18458. </item>
  18459. <item>
  18460. <term>r</term>
  18461. <description>Equivalent to <b>timestamp</b></description>
  18462. </item>
  18463. <item>
  18464. <term>stacktrace</term>
  18465. <description>
  18466. <para>
  18467. Used to output the stack trace of the logging event
  18468. The stack trace level specifier may be enclosed
  18469. between braces. For example, <b>%stacktrace{level}</b>.
  18470. If no stack trace level specifier is given then 1 is assumed
  18471. </para>
  18472. <para>
  18473. Output uses the format:
  18474. type3.MethodCall3 &gt; type2.MethodCall2 &gt; type1.MethodCall1
  18475. </para>
  18476. <para>
  18477. This pattern is not available for Compact Framework assemblies.
  18478. </para>
  18479. </description>
  18480. </item>
  18481. <item>
  18482. <term>stacktracedetail</term>
  18483. <description>
  18484. <para>
  18485. Used to output the stack trace of the logging event
  18486. The stack trace level specifier may be enclosed
  18487. between braces. For example, <b>%stacktracedetail{level}</b>.
  18488. If no stack trace level specifier is given then 1 is assumed
  18489. </para>
  18490. <para>
  18491. Output uses the format:
  18492. type3.MethodCall3(type param,...) &gt; type2.MethodCall2(type param,...) &gt; type1.MethodCall1(type param,...)
  18493. </para>
  18494. <para>
  18495. This pattern is not available for Compact Framework assemblies.
  18496. </para>
  18497. </description>
  18498. </item>
  18499. <item>
  18500. <term>t</term>
  18501. <description>Equivalent to <b>thread</b></description>
  18502. </item>
  18503. <item>
  18504. <term>timestamp</term>
  18505. <description>
  18506. <para>
  18507. Used to output the number of milliseconds elapsed since the start
  18508. of the application until the creation of the logging event.
  18509. </para>
  18510. </description>
  18511. </item>
  18512. <item>
  18513. <term>thread</term>
  18514. <description>
  18515. <para>
  18516. Used to output the name of the thread that generated the
  18517. logging event. Uses the thread number if no name is available.
  18518. </para>
  18519. </description>
  18520. </item>
  18521. <item>
  18522. <term>type</term>
  18523. <description>
  18524. <para>
  18525. Used to output the fully qualified type name of the caller
  18526. issuing the logging request. This conversion specifier
  18527. can be optionally followed by <i>precision specifier</i>, that
  18528. is a decimal constant in brackets.
  18529. </para>
  18530. <para>
  18531. If a precision specifier is given, then only the corresponding
  18532. number of right most components of the class name will be
  18533. printed. By default the class name is output in fully qualified form.
  18534. </para>
  18535. <para>
  18536. For example, for the class name "log4net.Layout.PatternLayout", the
  18537. pattern <b>%type{1}</b> will output "PatternLayout".
  18538. </para>
  18539. <para>
  18540. <b>WARNING</b> Generating the caller class information is
  18541. slow. Thus, its use should be avoided unless execution speed is
  18542. not an issue.
  18543. </para>
  18544. <para>
  18545. See the note below on the availability of caller location information.
  18546. </para>
  18547. </description>
  18548. </item>
  18549. <item>
  18550. <term>u</term>
  18551. <description>Equivalent to <b>identity</b></description>
  18552. </item>
  18553. <item>
  18554. <term>username</term>
  18555. <description>
  18556. <para>
  18557. Used to output the WindowsIdentity for the currently
  18558. active user.
  18559. </para>
  18560. <para>
  18561. <b>WARNING</b> Generating caller WindowsIdentity information is
  18562. extremely slow. Its use should be avoided unless execution speed
  18563. is not an issue.
  18564. </para>
  18565. </description>
  18566. </item>
  18567. <item>
  18568. <term>utcdate</term>
  18569. <description>
  18570. <para>
  18571. Used to output the date of the logging event in universal time.
  18572. The date conversion
  18573. specifier may be followed by a <i>date format specifier</i> enclosed
  18574. between braces. For example, <b>%utcdate{HH:mm:ss,fff}</b> or
  18575. <b>%utcdate{dd MMM yyyy HH:mm:ss,fff}</b>. If no date format specifier is
  18576. given then ISO8601 format is
  18577. assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
  18578. </para>
  18579. <para>
  18580. The date format specifier admits the same syntax as the
  18581. time pattern string of the <see cref="M:DateTime.ToString(string)"/>.
  18582. </para>
  18583. <para>
  18584. For better results it is recommended to use the log4net date
  18585. formatters. These can be specified using one of the strings
  18586. "ABSOLUTE", "DATE" and "ISO8601" for specifying
  18587. <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>,
  18588. <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively
  18589. <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example,
  18590. <b>%utcdate{ISO8601}</b> or <b>%utcdate{ABSOLUTE}</b>.
  18591. </para>
  18592. <para>
  18593. These dedicated date formatters perform significantly
  18594. better than <see cref="M:DateTime.ToString(string)"/>.
  18595. </para>
  18596. </description>
  18597. </item>
  18598. <item>
  18599. <term>w</term>
  18600. <description>Equivalent to <b>username</b></description>
  18601. </item>
  18602. <item>
  18603. <term>x</term>
  18604. <description>Equivalent to <b>ndc</b></description>
  18605. </item>
  18606. <item>
  18607. <term>X</term>
  18608. <description>Equivalent to <b>mdc</b></description>
  18609. </item>
  18610. <item>
  18611. <term>%</term>
  18612. <description>
  18613. <para>
  18614. The sequence %% outputs a single percent sign.
  18615. </para>
  18616. </description>
  18617. </item>
  18618. </list>
  18619. <para>
  18620. The single letter patterns are deprecated in favor of the
  18621. longer more descriptive pattern names.
  18622. </para>
  18623. <para>
  18624. By default the relevant information is output as is. However,
  18625. with the aid of format modifiers it is possible to change the
  18626. minimum field width, the maximum field width and justification.
  18627. </para>
  18628. <para>
  18629. The optional format modifier is placed between the percent sign
  18630. and the conversion pattern name.
  18631. </para>
  18632. <para>
  18633. The first optional format modifier is the <i>left justification
  18634. flag</i> which is just the minus (-) character. Then comes the
  18635. optional <i>minimum field width</i> modifier. This is a decimal
  18636. constant that represents the minimum number of characters to
  18637. output. If the data item requires fewer characters, it is padded on
  18638. either the left or the right until the minimum width is
  18639. reached. The default is to pad on the left (right justify) but you
  18640. can specify right padding with the left justification flag. The
  18641. padding character is space. If the data item is larger than the
  18642. minimum field width, the field is expanded to accommodate the
  18643. data. The value is never truncated.
  18644. </para>
  18645. <para>
  18646. This behavior can be changed using the <i>maximum field
  18647. width</i> modifier which is designated by a period followed by a
  18648. decimal constant. If the data item is longer than the maximum
  18649. field, then the extra characters are removed from the
  18650. <i>beginning</i> of the data item and not from the end. For
  18651. example, it the maximum field width is eight and the data item is
  18652. ten characters long, then the first two characters of the data item
  18653. are dropped. This behavior deviates from the printf function in C
  18654. where truncation is done from the end.
  18655. </para>
  18656. <para>
  18657. Below are various format modifier examples for the logger
  18658. conversion specifier.
  18659. </para>
  18660. <div class="tablediv">
  18661. <table class="dtTABLE" cellspacing="0">
  18662. <tr>
  18663. <th>Format modifier</th>
  18664. <th>left justify</th>
  18665. <th>minimum width</th>
  18666. <th>maximum width</th>
  18667. <th>comment</th>
  18668. </tr>
  18669. <tr>
  18670. <td align="center">%20logger</td>
  18671. <td align="center">false</td>
  18672. <td align="center">20</td>
  18673. <td align="center">none</td>
  18674. <td>
  18675. <para>
  18676. Left pad with spaces if the logger name is less than 20
  18677. characters long.
  18678. </para>
  18679. </td>
  18680. </tr>
  18681. <tr>
  18682. <td align="center">%-20logger</td>
  18683. <td align="center">true</td>
  18684. <td align="center">20</td>
  18685. <td align="center">none</td>
  18686. <td>
  18687. <para>
  18688. Right pad with spaces if the logger
  18689. name is less than 20 characters long.
  18690. </para>
  18691. </td>
  18692. </tr>
  18693. <tr>
  18694. <td align="center">%.30logger</td>
  18695. <td align="center">NA</td>
  18696. <td align="center">none</td>
  18697. <td align="center">30</td>
  18698. <td>
  18699. <para>
  18700. Truncate from the beginning if the logger
  18701. name is longer than 30 characters.
  18702. </para>
  18703. </td>
  18704. </tr>
  18705. <tr>
  18706. <td align="center"><nobr>%20.30logger</nobr></td>
  18707. <td align="center">false</td>
  18708. <td align="center">20</td>
  18709. <td align="center">30</td>
  18710. <td>
  18711. <para>
  18712. Left pad with spaces if the logger name is shorter than 20
  18713. characters. However, if logger name is longer than 30 characters,
  18714. then truncate from the beginning.
  18715. </para>
  18716. </td>
  18717. </tr>
  18718. <tr>
  18719. <td align="center">%-20.30logger</td>
  18720. <td align="center">true</td>
  18721. <td align="center">20</td>
  18722. <td align="center">30</td>
  18723. <td>
  18724. <para>
  18725. Right pad with spaces if the logger name is shorter than 20
  18726. characters. However, if logger name is longer than 30 characters,
  18727. then truncate from the beginning.
  18728. </para>
  18729. </td>
  18730. </tr>
  18731. </table>
  18732. </div>
  18733. <para>
  18734. <b>Note about caller location information.</b><br/>
  18735. The following patterns <c>%type %file %line %method %location %class %C %F %L %l %M</c>
  18736. all generate caller location information.
  18737. Location information uses the <c>System.Diagnostics.StackTrace</c> class to generate
  18738. a call stack. The caller's information is then extracted from this stack.
  18739. </para>
  18740. <note type="caution">
  18741. <para>
  18742. The <c>System.Diagnostics.StackTrace</c> class is not supported on the
  18743. .NET Compact Framework 1.0 therefore caller location information is not
  18744. available on that framework.
  18745. </para>
  18746. </note>
  18747. <note type="caution">
  18748. <para>
  18749. The <c>System.Diagnostics.StackTrace</c> class has this to say about Release builds:
  18750. </para>
  18751. <para>
  18752. "StackTrace information will be most informative with Debug build configurations.
  18753. By default, Debug builds include debug symbols, while Release builds do not. The
  18754. debug symbols contain most of the file, method name, line number, and column
  18755. information used in constructing StackFrame and StackTrace objects. StackTrace
  18756. might not report as many method calls as expected, due to code transformations
  18757. that occur during optimization."
  18758. </para>
  18759. <para>
  18760. This means that in a Release build the caller information may be incomplete or may
  18761. not exist at all! Therefore caller location information cannot be relied upon in a Release build.
  18762. </para>
  18763. </note>
  18764. <para>
  18765. Additional pattern converters may be registered with a specific <see cref="T:log4net.Layout.PatternLayout"/>
  18766. instance using the <see cref="M:AddConverter(string, Type)"/> method.
  18767. </para>
  18768. </remarks>
  18769. <example>
  18770. This is a more detailed pattern.
  18771. <code><b>%timestamp [%thread] %level %logger %ndc - %message%newline</b></code>
  18772. </example>
  18773. <example>
  18774. A similar pattern except that the relative time is
  18775. right padded if less than 6 digits, thread name is right padded if
  18776. less than 15 characters and truncated if longer and the logger
  18777. name is left padded if shorter than 30 characters and truncated if
  18778. longer.
  18779. <code><b>%-6timestamp [%15.15thread] %-5level %30.30logger %ndc - %message%newline</b></code>
  18780. </example>
  18781. <author>Nicko Cadell</author>
  18782. <author>Gert Driesen</author>
  18783. <author>Douglas de la Torre</author>
  18784. <author>Daniel Cazzulino</author>
  18785. </member>
  18786. <member name="T:log4net.Layout.LayoutSkeleton">
  18787. <summary>
  18788. Extend this abstract class to create your own log layout format.
  18789. </summary>
  18790. <remarks>
  18791. <para>
  18792. This is the base implementation of the <see cref="T:log4net.Layout.ILayout"/>
  18793. interface. Most layout objects should extend this class.
  18794. </para>
  18795. </remarks>
  18796. <remarks>
  18797. <note type="inheritinfo">
  18798. <para>
  18799. Subclasses must implement the <see cref="M:Format(TextWriter,LoggingEvent)"/>
  18800. method.
  18801. </para>
  18802. <para>
  18803. Subclasses should set the <see cref="P:log4net.Layout.LayoutSkeleton.IgnoresException"/> in their default
  18804. constructor.
  18805. </para>
  18806. </note>
  18807. </remarks>
  18808. <author>Nicko Cadell</author>
  18809. <author>Gert Driesen</author>
  18810. </member>
  18811. <member name="T:log4net.Layout.ILayout">
  18812. <summary>
  18813. Interface implemented by layout objects
  18814. </summary>
  18815. <remarks>
  18816. <para>
  18817. An <see cref="T:log4net.Layout.ILayout"/> object is used to format a <see cref="T:log4net.Core.LoggingEvent"/>
  18818. as text. The <see cref="M:Format(TextWriter,LoggingEvent)"/> method is called by an
  18819. appender to transform the <see cref="T:log4net.Core.LoggingEvent"/> into a string.
  18820. </para>
  18821. <para>
  18822. The layout can also supply <see cref="P:log4net.Layout.ILayout.Header"/> and <see cref="P:log4net.Layout.ILayout.Footer"/>
  18823. text that is appender before any events and after all the events respectively.
  18824. </para>
  18825. </remarks>
  18826. <author>Nicko Cadell</author>
  18827. <author>Gert Driesen</author>
  18828. </member>
  18829. <member name="M:log4net.Layout.ILayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  18830. <summary>
  18831. Implement this method to create your own layout format.
  18832. </summary>
  18833. <param name="writer">The TextWriter to write the formatted event to</param>
  18834. <param name="loggingEvent">The event to format</param>
  18835. <remarks>
  18836. <para>
  18837. This method is called by an appender to format
  18838. the <paramref name="loggingEvent"/> as text and output to a writer.
  18839. </para>
  18840. <para>
  18841. If the caller does not have a <see cref="T:System.IO.TextWriter"/> and prefers the
  18842. event to be formatted as a <see cref="T:System.String"/> then the following
  18843. code can be used to format the event into a <see cref="T:System.IO.StringWriter"/>.
  18844. </para>
  18845. <code lang="C#">
  18846. StringWriter writer = new StringWriter();
  18847. Layout.Format(writer, loggingEvent);
  18848. string formattedEvent = writer.ToString();
  18849. </code>
  18850. </remarks>
  18851. </member>
  18852. <member name="P:log4net.Layout.ILayout.ContentType">
  18853. <summary>
  18854. The content type output by this layout.
  18855. </summary>
  18856. <value>The content type</value>
  18857. <remarks>
  18858. <para>
  18859. The content type output by this layout.
  18860. </para>
  18861. <para>
  18862. This is a MIME type e.g. <c>"text/plain"</c>.
  18863. </para>
  18864. </remarks>
  18865. </member>
  18866. <member name="P:log4net.Layout.ILayout.Header">
  18867. <summary>
  18868. The header for the layout format.
  18869. </summary>
  18870. <value>the layout header</value>
  18871. <remarks>
  18872. <para>
  18873. The Header text will be appended before any logging events
  18874. are formatted and appended.
  18875. </para>
  18876. </remarks>
  18877. </member>
  18878. <member name="P:log4net.Layout.ILayout.Footer">
  18879. <summary>
  18880. The footer for the layout format.
  18881. </summary>
  18882. <value>the layout footer</value>
  18883. <remarks>
  18884. <para>
  18885. The Footer text will be appended after all the logging events
  18886. have been formatted and appended.
  18887. </para>
  18888. </remarks>
  18889. </member>
  18890. <member name="P:log4net.Layout.ILayout.IgnoresException">
  18891. <summary>
  18892. Flag indicating if this layout handle exceptions
  18893. </summary>
  18894. <value><c>false</c> if this layout handles exceptions</value>
  18895. <remarks>
  18896. <para>
  18897. If this layout handles the exception object contained within
  18898. <see cref="T:log4net.Core.LoggingEvent"/>, then the layout should return
  18899. <c>false</c>. Otherwise, if the layout ignores the exception
  18900. object, then the layout should return <c>true</c>.
  18901. </para>
  18902. </remarks>
  18903. </member>
  18904. <member name="F:log4net.Layout.LayoutSkeleton.m_header">
  18905. <summary>
  18906. The header text
  18907. </summary>
  18908. <remarks>
  18909. <para>
  18910. See <see cref="P:log4net.Layout.LayoutSkeleton.Header"/> for more information.
  18911. </para>
  18912. </remarks>
  18913. </member>
  18914. <member name="F:log4net.Layout.LayoutSkeleton.m_footer">
  18915. <summary>
  18916. The footer text
  18917. </summary>
  18918. <remarks>
  18919. <para>
  18920. See <see cref="P:log4net.Layout.LayoutSkeleton.Footer"/> for more information.
  18921. </para>
  18922. </remarks>
  18923. </member>
  18924. <member name="F:log4net.Layout.LayoutSkeleton.m_ignoresException">
  18925. <summary>
  18926. Flag indicating if this layout handles exceptions
  18927. </summary>
  18928. <remarks>
  18929. <para>
  18930. <c>false</c> if this layout handles exceptions
  18931. </para>
  18932. </remarks>
  18933. </member>
  18934. <member name="M:log4net.Layout.LayoutSkeleton.#ctor">
  18935. <summary>
  18936. Empty default constructor
  18937. </summary>
  18938. <remarks>
  18939. <para>
  18940. Empty default constructor
  18941. </para>
  18942. </remarks>
  18943. </member>
  18944. <member name="M:log4net.Layout.LayoutSkeleton.ActivateOptions">
  18945. <summary>
  18946. Activate component options
  18947. </summary>
  18948. <remarks>
  18949. <para>
  18950. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  18951. activation scheme. The <see cref="M:log4net.Layout.LayoutSkeleton.ActivateOptions"/> method must
  18952. be called on this object after the configuration properties have
  18953. been set. Until <see cref="M:log4net.Layout.LayoutSkeleton.ActivateOptions"/> is called this
  18954. object is in an undefined state and must not be used.
  18955. </para>
  18956. <para>
  18957. If any of the configuration properties are modified then
  18958. <see cref="M:log4net.Layout.LayoutSkeleton.ActivateOptions"/> must be called again.
  18959. </para>
  18960. <para>
  18961. This method must be implemented by the subclass.
  18962. </para>
  18963. </remarks>
  18964. </member>
  18965. <member name="M:log4net.Layout.LayoutSkeleton.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  18966. <summary>
  18967. Implement this method to create your own layout format.
  18968. </summary>
  18969. <param name="writer">The TextWriter to write the formatted event to</param>
  18970. <param name="loggingEvent">The event to format</param>
  18971. <remarks>
  18972. <para>
  18973. This method is called by an appender to format
  18974. the <paramref name="loggingEvent"/> as text.
  18975. </para>
  18976. </remarks>
  18977. </member>
  18978. <member name="M:log4net.Layout.LayoutSkeleton.Format(log4net.Core.LoggingEvent)">
  18979. <summary>
  18980. Convenience method for easily formatting the logging event into a string variable.
  18981. </summary>
  18982. <param name="loggingEvent"></param>
  18983. <remarks>
  18984. Creates a new StringWriter instance to store the formatted logging event.
  18985. </remarks>
  18986. </member>
  18987. <member name="P:log4net.Layout.LayoutSkeleton.ContentType">
  18988. <summary>
  18989. The content type output by this layout.
  18990. </summary>
  18991. <value>The content type is <c>"text/plain"</c></value>
  18992. <remarks>
  18993. <para>
  18994. The content type output by this layout.
  18995. </para>
  18996. <para>
  18997. This base class uses the value <c>"text/plain"</c>.
  18998. To change this value a subclass must override this
  18999. property.
  19000. </para>
  19001. </remarks>
  19002. </member>
  19003. <member name="P:log4net.Layout.LayoutSkeleton.Header">
  19004. <summary>
  19005. The header for the layout format.
  19006. </summary>
  19007. <value>the layout header</value>
  19008. <remarks>
  19009. <para>
  19010. The Header text will be appended before any logging events
  19011. are formatted and appended.
  19012. </para>
  19013. </remarks>
  19014. </member>
  19015. <member name="P:log4net.Layout.LayoutSkeleton.Footer">
  19016. <summary>
  19017. The footer for the layout format.
  19018. </summary>
  19019. <value>the layout footer</value>
  19020. <remarks>
  19021. <para>
  19022. The Footer text will be appended after all the logging events
  19023. have been formatted and appended.
  19024. </para>
  19025. </remarks>
  19026. </member>
  19027. <member name="P:log4net.Layout.LayoutSkeleton.IgnoresException">
  19028. <summary>
  19029. Flag indicating if this layout handles exceptions
  19030. </summary>
  19031. <value><c>false</c> if this layout handles exceptions</value>
  19032. <remarks>
  19033. <para>
  19034. If this layout handles the exception object contained within
  19035. <see cref="T:log4net.Core.LoggingEvent"/>, then the layout should return
  19036. <c>false</c>. Otherwise, if the layout ignores the exception
  19037. object, then the layout should return <c>true</c>.
  19038. </para>
  19039. <para>
  19040. Set this value to override a this default setting. The default
  19041. value is <c>true</c>, this layout does not handle the exception.
  19042. </para>
  19043. </remarks>
  19044. </member>
  19045. <member name="F:log4net.Layout.PatternLayout.DefaultConversionPattern">
  19046. <summary>
  19047. Default pattern string for log output.
  19048. </summary>
  19049. <remarks>
  19050. <para>
  19051. Default pattern string for log output.
  19052. Currently set to the string <b>"%message%newline"</b>
  19053. which just prints the application supplied message.
  19054. </para>
  19055. </remarks>
  19056. </member>
  19057. <member name="F:log4net.Layout.PatternLayout.DetailConversionPattern">
  19058. <summary>
  19059. A detailed conversion pattern
  19060. </summary>
  19061. <remarks>
  19062. <para>
  19063. A conversion pattern which includes Time, Thread, Logger, and Nested Context.
  19064. Current value is <b>%timestamp [%thread] %level %logger %ndc - %message%newline</b>.
  19065. </para>
  19066. </remarks>
  19067. </member>
  19068. <member name="F:log4net.Layout.PatternLayout.s_globalRulesRegistry">
  19069. <summary>
  19070. Internal map of converter identifiers to converter types.
  19071. </summary>
  19072. <remarks>
  19073. <para>
  19074. This static map is overridden by the m_converterRegistry instance map
  19075. </para>
  19076. </remarks>
  19077. </member>
  19078. <member name="F:log4net.Layout.PatternLayout.m_pattern">
  19079. <summary>
  19080. the pattern
  19081. </summary>
  19082. </member>
  19083. <member name="F:log4net.Layout.PatternLayout.m_head">
  19084. <summary>
  19085. the head of the pattern converter chain
  19086. </summary>
  19087. </member>
  19088. <member name="F:log4net.Layout.PatternLayout.m_instanceRulesRegistry">
  19089. <summary>
  19090. patterns defined on this PatternLayout only
  19091. </summary>
  19092. </member>
  19093. <member name="M:log4net.Layout.PatternLayout.#cctor">
  19094. <summary>
  19095. Initialize the global registry
  19096. </summary>
  19097. <remarks>
  19098. <para>
  19099. Defines the builtin global rules.
  19100. </para>
  19101. </remarks>
  19102. </member>
  19103. <member name="M:log4net.Layout.PatternLayout.#ctor">
  19104. <summary>
  19105. Constructs a PatternLayout using the DefaultConversionPattern
  19106. </summary>
  19107. <remarks>
  19108. <para>
  19109. The default pattern just produces the application supplied message.
  19110. </para>
  19111. <para>
  19112. Note to Inheritors: This constructor calls the virtual method
  19113. <see cref="M:log4net.Layout.PatternLayout.CreatePatternParser(System.String)"/>. If you override this method be
  19114. aware that it will be called before your is called constructor.
  19115. </para>
  19116. <para>
  19117. As per the <see cref="T:log4net.Core.IOptionHandler"/> contract the <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/>
  19118. method must be called after the properties on this object have been
  19119. configured.
  19120. </para>
  19121. </remarks>
  19122. </member>
  19123. <member name="M:log4net.Layout.PatternLayout.#ctor(System.String)">
  19124. <summary>
  19125. Constructs a PatternLayout using the supplied conversion pattern
  19126. </summary>
  19127. <param name="pattern">the pattern to use</param>
  19128. <remarks>
  19129. <para>
  19130. Note to Inheritors: This constructor calls the virtual method
  19131. <see cref="M:log4net.Layout.PatternLayout.CreatePatternParser(System.String)"/>. If you override this method be
  19132. aware that it will be called before your is called constructor.
  19133. </para>
  19134. <para>
  19135. When using this constructor the <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> method
  19136. need not be called. This may not be the case when using a subclass.
  19137. </para>
  19138. </remarks>
  19139. </member>
  19140. <member name="M:log4net.Layout.PatternLayout.CreatePatternParser(System.String)">
  19141. <summary>
  19142. Create the pattern parser instance
  19143. </summary>
  19144. <param name="pattern">the pattern to parse</param>
  19145. <returns>The <see cref="T:log4net.Util.PatternParser"/> that will format the event</returns>
  19146. <remarks>
  19147. <para>
  19148. Creates the <see cref="T:log4net.Util.PatternParser"/> used to parse the conversion string. Sets the
  19149. global and instance rules on the <see cref="T:log4net.Util.PatternParser"/>.
  19150. </para>
  19151. </remarks>
  19152. </member>
  19153. <member name="M:log4net.Layout.PatternLayout.ActivateOptions">
  19154. <summary>
  19155. Initialize layout options
  19156. </summary>
  19157. <remarks>
  19158. <para>
  19159. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  19160. activation scheme. The <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> method must
  19161. be called on this object after the configuration properties have
  19162. been set. Until <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> is called this
  19163. object is in an undefined state and must not be used.
  19164. </para>
  19165. <para>
  19166. If any of the configuration properties are modified then
  19167. <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> must be called again.
  19168. </para>
  19169. </remarks>
  19170. </member>
  19171. <member name="M:log4net.Layout.PatternLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  19172. <summary>
  19173. Produces a formatted string as specified by the conversion pattern.
  19174. </summary>
  19175. <param name="loggingEvent">the event being logged</param>
  19176. <param name="writer">The TextWriter to write the formatted event to</param>
  19177. <remarks>
  19178. <para>
  19179. Parse the <see cref="T:log4net.Core.LoggingEvent"/> using the patter format
  19180. specified in the <see cref="P:log4net.Layout.PatternLayout.ConversionPattern"/> property.
  19181. </para>
  19182. </remarks>
  19183. </member>
  19184. <member name="M:log4net.Layout.PatternLayout.AddConverter(log4net.Util.ConverterInfo)">
  19185. <summary>
  19186. Add a converter to this PatternLayout
  19187. </summary>
  19188. <param name="converterInfo">the converter info</param>
  19189. <remarks>
  19190. <para>
  19191. This version of the method is used by the configurator.
  19192. Programmatic users should use the alternative <see cref="M:AddConverter(string,Type)"/> method.
  19193. </para>
  19194. </remarks>
  19195. </member>
  19196. <member name="M:log4net.Layout.PatternLayout.AddConverter(System.String,System.Type)">
  19197. <summary>
  19198. Add a converter to this PatternLayout
  19199. </summary>
  19200. <param name="name">the name of the conversion pattern for this converter</param>
  19201. <param name="type">the type of the converter</param>
  19202. <remarks>
  19203. <para>
  19204. Add a named pattern converter to this instance. This
  19205. converter will be used in the formatting of the event.
  19206. This method must be called before <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/>.
  19207. </para>
  19208. <para>
  19209. The <paramref name="type"/> specified must extend the
  19210. <see cref="T:log4net.Util.PatternConverter"/> type.
  19211. </para>
  19212. </remarks>
  19213. </member>
  19214. <member name="P:log4net.Layout.PatternLayout.ConversionPattern">
  19215. <summary>
  19216. The pattern formatting string
  19217. </summary>
  19218. <remarks>
  19219. <para>
  19220. The <b>ConversionPattern</b> option. This is the string which
  19221. controls formatting and consists of a mix of literal content and
  19222. conversion specifiers.
  19223. </para>
  19224. </remarks>
  19225. </member>
  19226. <member name="F:log4net.Layout.DynamicPatternLayout.m_headerPatternString">
  19227. <summary>
  19228. The header PatternString
  19229. </summary>
  19230. </member>
  19231. <member name="F:log4net.Layout.DynamicPatternLayout.m_footerPatternString">
  19232. <summary>
  19233. The footer PatternString
  19234. </summary>
  19235. </member>
  19236. <member name="M:log4net.Layout.DynamicPatternLayout.#ctor">
  19237. <summary>
  19238. Constructs a DynamicPatternLayout using the DefaultConversionPattern
  19239. </summary>
  19240. <remarks>
  19241. <para>
  19242. The default pattern just produces the application supplied message.
  19243. </para>
  19244. </remarks>
  19245. </member>
  19246. <member name="M:log4net.Layout.DynamicPatternLayout.#ctor(System.String)">
  19247. <summary>
  19248. Constructs a DynamicPatternLayout using the supplied conversion pattern
  19249. </summary>
  19250. <param name="pattern">the pattern to use</param>
  19251. <remarks>
  19252. </remarks>
  19253. </member>
  19254. <member name="P:log4net.Layout.DynamicPatternLayout.Header">
  19255. <summary>
  19256. The header for the layout format.
  19257. </summary>
  19258. <value>the layout header</value>
  19259. <remarks>
  19260. <para>
  19261. The Header text will be appended before any logging events
  19262. are formatted and appended.
  19263. </para>
  19264. The pattern will be formatted on each get operation.
  19265. </remarks>
  19266. </member>
  19267. <member name="P:log4net.Layout.DynamicPatternLayout.Footer">
  19268. <summary>
  19269. The footer for the layout format.
  19270. </summary>
  19271. <value>the layout footer</value>
  19272. <remarks>
  19273. <para>
  19274. The Footer text will be appended after all the logging events
  19275. have been formatted and appended.
  19276. </para>
  19277. The pattern will be formatted on each get operation.
  19278. </remarks>
  19279. </member>
  19280. <member name="T:log4net.Layout.ExceptionLayout">
  19281. <summary>
  19282. A Layout that renders only the Exception text from the logging event
  19283. </summary>
  19284. <remarks>
  19285. <para>
  19286. A Layout that renders only the Exception text from the logging event.
  19287. </para>
  19288. <para>
  19289. This Layout should only be used with appenders that utilize multiple
  19290. layouts (e.g. <see cref="T:log4net.Appender.AdoNetAppender"/>).
  19291. </para>
  19292. </remarks>
  19293. <author>Nicko Cadell</author>
  19294. <author>Gert Driesen</author>
  19295. </member>
  19296. <member name="M:log4net.Layout.ExceptionLayout.#ctor">
  19297. <summary>
  19298. Default constructor
  19299. </summary>
  19300. <remarks>
  19301. <para>
  19302. Constructs a ExceptionLayout
  19303. </para>
  19304. </remarks>
  19305. </member>
  19306. <member name="M:log4net.Layout.ExceptionLayout.ActivateOptions">
  19307. <summary>
  19308. Activate component options
  19309. </summary>
  19310. <remarks>
  19311. <para>
  19312. Part of the <see cref="T:log4net.Core.IOptionHandler"/> component activation
  19313. framework.
  19314. </para>
  19315. <para>
  19316. This method does nothing as options become effective immediately.
  19317. </para>
  19318. </remarks>
  19319. </member>
  19320. <member name="M:log4net.Layout.ExceptionLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  19321. <summary>
  19322. Gets the exception text from the logging event
  19323. </summary>
  19324. <param name="writer">The TextWriter to write the formatted event to</param>
  19325. <param name="loggingEvent">the event being logged</param>
  19326. <remarks>
  19327. <para>
  19328. Write the exception string to the <see cref="T:System.IO.TextWriter"/>.
  19329. The exception string is retrieved from <see cref="M:LoggingEvent.GetExceptionString()"/>.
  19330. </para>
  19331. </remarks>
  19332. </member>
  19333. <member name="T:log4net.Layout.IRawLayout">
  19334. <summary>
  19335. Interface for raw layout objects
  19336. </summary>
  19337. <remarks>
  19338. <para>
  19339. Interface used to format a <see cref="T:log4net.Core.LoggingEvent"/>
  19340. to an object.
  19341. </para>
  19342. <para>
  19343. This interface should not be confused with the
  19344. <see cref="T:log4net.Layout.ILayout"/> interface. This interface is used in
  19345. only certain specialized situations where a raw object is
  19346. required rather than a formatted string. The <see cref="T:log4net.Layout.ILayout"/>
  19347. is not generally useful than this interface.
  19348. </para>
  19349. </remarks>
  19350. <author>Nicko Cadell</author>
  19351. <author>Gert Driesen</author>
  19352. </member>
  19353. <member name="M:log4net.Layout.IRawLayout.Format(log4net.Core.LoggingEvent)">
  19354. <summary>
  19355. Implement this method to create your own layout format.
  19356. </summary>
  19357. <param name="loggingEvent">The event to format</param>
  19358. <returns>returns the formatted event</returns>
  19359. <remarks>
  19360. <para>
  19361. Implement this method to create your own layout format.
  19362. </para>
  19363. </remarks>
  19364. </member>
  19365. <member name="T:log4net.Layout.Layout2RawLayoutAdapter">
  19366. <summary>
  19367. Adapts any <see cref="T:log4net.Layout.ILayout"/> to a <see cref="T:log4net.Layout.IRawLayout"/>
  19368. </summary>
  19369. <remarks>
  19370. <para>
  19371. Where an <see cref="T:log4net.Layout.IRawLayout"/> is required this adapter
  19372. allows a <see cref="T:log4net.Layout.ILayout"/> to be specified.
  19373. </para>
  19374. </remarks>
  19375. <author>Nicko Cadell</author>
  19376. <author>Gert Driesen</author>
  19377. </member>
  19378. <member name="F:log4net.Layout.Layout2RawLayoutAdapter.m_layout">
  19379. <summary>
  19380. The layout to adapt
  19381. </summary>
  19382. </member>
  19383. <member name="M:log4net.Layout.Layout2RawLayoutAdapter.#ctor(log4net.Layout.ILayout)">
  19384. <summary>
  19385. Construct a new adapter
  19386. </summary>
  19387. <param name="layout">the layout to adapt</param>
  19388. <remarks>
  19389. <para>
  19390. Create the adapter for the specified <paramref name="layout"/>.
  19391. </para>
  19392. </remarks>
  19393. </member>
  19394. <member name="M:log4net.Layout.Layout2RawLayoutAdapter.Format(log4net.Core.LoggingEvent)">
  19395. <summary>
  19396. Format the logging event as an object.
  19397. </summary>
  19398. <param name="loggingEvent">The event to format</param>
  19399. <returns>returns the formatted event</returns>
  19400. <remarks>
  19401. <para>
  19402. Format the logging event as an object.
  19403. </para>
  19404. <para>
  19405. Uses the <see cref="T:log4net.Layout.ILayout"/> object supplied to
  19406. the constructor to perform the formatting.
  19407. </para>
  19408. </remarks>
  19409. </member>
  19410. <member name="T:log4net.Layout.RawLayoutConverter">
  19411. <summary>
  19412. Type converter for the <see cref="T:log4net.Layout.IRawLayout"/> interface
  19413. </summary>
  19414. <remarks>
  19415. <para>
  19416. Used to convert objects to the <see cref="T:log4net.Layout.IRawLayout"/> interface.
  19417. Supports converting from the <see cref="T:log4net.Layout.ILayout"/> interface to
  19418. the <see cref="T:log4net.Layout.IRawLayout"/> interface using the <see cref="T:log4net.Layout.Layout2RawLayoutAdapter"/>.
  19419. </para>
  19420. </remarks>
  19421. <author>Nicko Cadell</author>
  19422. <author>Gert Driesen</author>
  19423. </member>
  19424. <member name="T:log4net.Util.TypeConverters.IConvertFrom">
  19425. <summary>
  19426. Interface supported by type converters
  19427. </summary>
  19428. <remarks>
  19429. <para>
  19430. This interface supports conversion from arbitrary types
  19431. to a single target type. See <see cref="T:log4net.Util.TypeConverters.TypeConverterAttribute"/>.
  19432. </para>
  19433. </remarks>
  19434. <author>Nicko Cadell</author>
  19435. <author>Gert Driesen</author>
  19436. </member>
  19437. <member name="M:log4net.Util.TypeConverters.IConvertFrom.CanConvertFrom(System.Type)">
  19438. <summary>
  19439. Can the source type be converted to the type supported by this object
  19440. </summary>
  19441. <param name="sourceType">the type to convert</param>
  19442. <returns>true if the conversion is possible</returns>
  19443. <remarks>
  19444. <para>
  19445. Test if the <paramref name="sourceType"/> can be converted to the
  19446. type supported by this converter.
  19447. </para>
  19448. </remarks>
  19449. </member>
  19450. <member name="M:log4net.Util.TypeConverters.IConvertFrom.ConvertFrom(System.Object)">
  19451. <summary>
  19452. Convert the source object to the type supported by this object
  19453. </summary>
  19454. <param name="source">the object to convert</param>
  19455. <returns>the converted object</returns>
  19456. <remarks>
  19457. <para>
  19458. Converts the <paramref name="source"/> to the type supported
  19459. by this converter.
  19460. </para>
  19461. </remarks>
  19462. </member>
  19463. <member name="M:log4net.Layout.RawLayoutConverter.CanConvertFrom(System.Type)">
  19464. <summary>
  19465. Can the sourceType be converted to an <see cref="T:log4net.Layout.IRawLayout"/>
  19466. </summary>
  19467. <param name="sourceType">the source to be to be converted</param>
  19468. <returns><c>true</c> if the source type can be converted to <see cref="T:log4net.Layout.IRawLayout"/></returns>
  19469. <remarks>
  19470. <para>
  19471. Test if the <paramref name="sourceType"/> can be converted to a
  19472. <see cref="T:log4net.Layout.IRawLayout"/>. Only <see cref="T:log4net.Layout.ILayout"/> is supported
  19473. as the <paramref name="sourceType"/>.
  19474. </para>
  19475. </remarks>
  19476. </member>
  19477. <member name="M:log4net.Layout.RawLayoutConverter.ConvertFrom(System.Object)">
  19478. <summary>
  19479. Convert the value to a <see cref="T:log4net.Layout.IRawLayout"/> object
  19480. </summary>
  19481. <param name="source">the value to convert</param>
  19482. <returns>the <see cref="T:log4net.Layout.IRawLayout"/> object</returns>
  19483. <remarks>
  19484. <para>
  19485. Convert the <paramref name="source"/> object to a
  19486. <see cref="T:log4net.Layout.IRawLayout"/> object. If the <paramref name="source"/> object
  19487. is a <see cref="T:log4net.Layout.ILayout"/> then the <see cref="T:log4net.Layout.Layout2RawLayoutAdapter"/>
  19488. is used to adapt between the two interfaces, otherwise an
  19489. exception is thrown.
  19490. </para>
  19491. </remarks>
  19492. </member>
  19493. <member name="T:log4net.Layout.RawPropertyLayout">
  19494. <summary>
  19495. Extract the value of a property from the <see cref="T:log4net.Core.LoggingEvent"/>
  19496. </summary>
  19497. <remarks>
  19498. <para>
  19499. Extract the value of a property from the <see cref="T:log4net.Core.LoggingEvent"/>
  19500. </para>
  19501. </remarks>
  19502. <author>Nicko Cadell</author>
  19503. </member>
  19504. <member name="M:log4net.Layout.RawPropertyLayout.#ctor">
  19505. <summary>
  19506. Constructs a RawPropertyLayout
  19507. </summary>
  19508. </member>
  19509. <member name="M:log4net.Layout.RawPropertyLayout.Format(log4net.Core.LoggingEvent)">
  19510. <summary>
  19511. Lookup the property for <see cref="P:log4net.Layout.RawPropertyLayout.Key"/>
  19512. </summary>
  19513. <param name="loggingEvent">The event to format</param>
  19514. <returns>returns property value</returns>
  19515. <remarks>
  19516. <para>
  19517. Looks up and returns the object value of the property
  19518. named <see cref="P:log4net.Layout.RawPropertyLayout.Key"/>. If there is no property defined
  19519. with than name then <c>null</c> will be returned.
  19520. </para>
  19521. </remarks>
  19522. </member>
  19523. <member name="P:log4net.Layout.RawPropertyLayout.Key">
  19524. <summary>
  19525. The name of the value to lookup in the LoggingEvent Properties collection.
  19526. </summary>
  19527. <value>
  19528. Value to lookup in the LoggingEvent Properties collection
  19529. </value>
  19530. <remarks>
  19531. <para>
  19532. String name of the property to lookup in the <see cref="T:log4net.Core.LoggingEvent"/>.
  19533. </para>
  19534. </remarks>
  19535. </member>
  19536. <member name="T:log4net.Layout.RawTimeStampLayout">
  19537. <summary>
  19538. Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
  19539. </summary>
  19540. <remarks>
  19541. <para>
  19542. Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
  19543. </para>
  19544. </remarks>
  19545. <author>Nicko Cadell</author>
  19546. <author>Gert Driesen</author>
  19547. </member>
  19548. <member name="M:log4net.Layout.RawTimeStampLayout.#ctor">
  19549. <summary>
  19550. Constructs a RawTimeStampLayout
  19551. </summary>
  19552. </member>
  19553. <member name="M:log4net.Layout.RawTimeStampLayout.Format(log4net.Core.LoggingEvent)">
  19554. <summary>
  19555. Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
  19556. </summary>
  19557. <param name="loggingEvent">The event to format</param>
  19558. <returns>returns the time stamp</returns>
  19559. <remarks>
  19560. <para>
  19561. Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
  19562. </para>
  19563. <para>
  19564. The time stamp is in local time. To format the time stamp
  19565. in universal time use <see cref="T:log4net.Layout.RawUtcTimeStampLayout"/>.
  19566. </para>
  19567. </remarks>
  19568. </member>
  19569. <member name="T:log4net.Layout.RawUtcTimeStampLayout">
  19570. <summary>
  19571. Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
  19572. </summary>
  19573. <remarks>
  19574. <para>
  19575. Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
  19576. </para>
  19577. </remarks>
  19578. <author>Nicko Cadell</author>
  19579. <author>Gert Driesen</author>
  19580. </member>
  19581. <member name="M:log4net.Layout.RawUtcTimeStampLayout.#ctor">
  19582. <summary>
  19583. Constructs a RawUtcTimeStampLayout
  19584. </summary>
  19585. </member>
  19586. <member name="M:log4net.Layout.RawUtcTimeStampLayout.Format(log4net.Core.LoggingEvent)">
  19587. <summary>
  19588. Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
  19589. </summary>
  19590. <param name="loggingEvent">The event to format</param>
  19591. <returns>returns the time stamp</returns>
  19592. <remarks>
  19593. <para>
  19594. Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
  19595. </para>
  19596. <para>
  19597. The time stamp is in universal time. To format the time stamp
  19598. in local time use <see cref="T:log4net.Layout.RawTimeStampLayout"/>.
  19599. </para>
  19600. </remarks>
  19601. </member>
  19602. <member name="T:log4net.Layout.SimpleLayout">
  19603. <summary>
  19604. A very simple layout
  19605. </summary>
  19606. <remarks>
  19607. <para>
  19608. SimpleLayout consists of the level of the log statement,
  19609. followed by " - " and then the log message itself. For example,
  19610. <code>
  19611. DEBUG - Hello world
  19612. </code>
  19613. </para>
  19614. </remarks>
  19615. <author>Nicko Cadell</author>
  19616. <author>Gert Driesen</author>
  19617. </member>
  19618. <member name="M:log4net.Layout.SimpleLayout.#ctor">
  19619. <summary>
  19620. Constructs a SimpleLayout
  19621. </summary>
  19622. </member>
  19623. <member name="M:log4net.Layout.SimpleLayout.ActivateOptions">
  19624. <summary>
  19625. Initialize layout options
  19626. </summary>
  19627. <remarks>
  19628. <para>
  19629. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  19630. activation scheme. The <see cref="M:log4net.Layout.SimpleLayout.ActivateOptions"/> method must
  19631. be called on this object after the configuration properties have
  19632. been set. Until <see cref="M:log4net.Layout.SimpleLayout.ActivateOptions"/> is called this
  19633. object is in an undefined state and must not be used.
  19634. </para>
  19635. <para>
  19636. If any of the configuration properties are modified then
  19637. <see cref="M:log4net.Layout.SimpleLayout.ActivateOptions"/> must be called again.
  19638. </para>
  19639. </remarks>
  19640. </member>
  19641. <member name="M:log4net.Layout.SimpleLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  19642. <summary>
  19643. Produces a simple formatted output.
  19644. </summary>
  19645. <param name="loggingEvent">the event being logged</param>
  19646. <param name="writer">The TextWriter to write the formatted event to</param>
  19647. <remarks>
  19648. <para>
  19649. Formats the event as the level of the even,
  19650. followed by " - " and then the log message itself. The
  19651. output is terminated by a newline.
  19652. </para>
  19653. </remarks>
  19654. </member>
  19655. <member name="T:log4net.Layout.XmlLayout">
  19656. <summary>
  19657. Layout that formats the log events as XML elements.
  19658. </summary>
  19659. <remarks>
  19660. <para>
  19661. The output of the <see cref="T:log4net.Layout.XmlLayout"/> consists of a series of
  19662. log4net:event elements. It does not output a complete well-formed XML
  19663. file. The output is designed to be included as an <em>external entity</em>
  19664. in a separate file to form a correct XML file.
  19665. </para>
  19666. <para>
  19667. For example, if <c>abc</c> is the name of the file where
  19668. the <see cref="T:log4net.Layout.XmlLayout"/> output goes, then a well-formed XML file would
  19669. be:
  19670. </para>
  19671. <code lang="XML">
  19672. &lt;?xml version="1.0" ?&gt;
  19673. &lt;!DOCTYPE log4net:events SYSTEM "log4net-events.dtd" [&lt;!ENTITY data SYSTEM "abc"&gt;]&gt;
  19674. &lt;log4net:events version="1.2" xmlns:log4net="http://logging.apache.org/log4net/schemas/log4net-events-1.2&gt;
  19675. &amp;data;
  19676. &lt;/log4net:events&gt;
  19677. </code>
  19678. <para>
  19679. This approach enforces the independence of the <see cref="T:log4net.Layout.XmlLayout"/>
  19680. and the appender where it is embedded.
  19681. </para>
  19682. <para>
  19683. The <c>version</c> attribute helps components to correctly
  19684. interpret output generated by <see cref="T:log4net.Layout.XmlLayout"/>. The value of
  19685. this attribute should be "1.2" for release 1.2 and later.
  19686. </para>
  19687. <para>
  19688. Alternatively the <c>Header</c> and <c>Footer</c> properties can be
  19689. configured to output the correct XML header, open tag and close tag.
  19690. When setting the <c>Header</c> and <c>Footer</c> properties it is essential
  19691. that the underlying data store not be appendable otherwise the data
  19692. will become invalid XML.
  19693. </para>
  19694. </remarks>
  19695. <author>Nicko Cadell</author>
  19696. <author>Gert Driesen</author>
  19697. </member>
  19698. <member name="T:log4net.Layout.XmlLayoutBase">
  19699. <summary>
  19700. Layout that formats the log events as XML elements.
  19701. </summary>
  19702. <remarks>
  19703. <para>
  19704. This is an abstract class that must be subclassed by an implementation
  19705. to conform to a specific schema.
  19706. </para>
  19707. <para>
  19708. Deriving classes must implement the <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method.
  19709. </para>
  19710. </remarks>
  19711. <author>Nicko Cadell</author>
  19712. <author>Gert Driesen</author>
  19713. </member>
  19714. <member name="M:log4net.Layout.XmlLayoutBase.#ctor">
  19715. <summary>
  19716. Protected constructor to support subclasses
  19717. </summary>
  19718. <remarks>
  19719. <para>
  19720. Initializes a new instance of the <see cref="T:log4net.Layout.XmlLayoutBase"/> class
  19721. with no location info.
  19722. </para>
  19723. </remarks>
  19724. </member>
  19725. <member name="M:log4net.Layout.XmlLayoutBase.#ctor(System.Boolean)">
  19726. <summary>
  19727. Protected constructor to support subclasses
  19728. </summary>
  19729. <remarks>
  19730. <para>
  19731. The <paramref name="locationInfo" /> parameter determines whether
  19732. location information will be output by the layout. If
  19733. <paramref name="locationInfo" /> is set to <c>true</c>, then the
  19734. file name and line number of the statement at the origin of the log
  19735. statement will be output.
  19736. </para>
  19737. <para>
  19738. If you are embedding this layout within an SMTPAppender
  19739. then make sure to set the <b>LocationInfo</b> option of that
  19740. appender as well.
  19741. </para>
  19742. </remarks>
  19743. </member>
  19744. <member name="M:log4net.Layout.XmlLayoutBase.ActivateOptions">
  19745. <summary>
  19746. Initialize layout options
  19747. </summary>
  19748. <remarks>
  19749. <para>
  19750. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  19751. activation scheme. The <see cref="M:log4net.Layout.XmlLayoutBase.ActivateOptions"/> method must
  19752. be called on this object after the configuration properties have
  19753. been set. Until <see cref="M:log4net.Layout.XmlLayoutBase.ActivateOptions"/> is called this
  19754. object is in an undefined state and must not be used.
  19755. </para>
  19756. <para>
  19757. If any of the configuration properties are modified then
  19758. <see cref="M:log4net.Layout.XmlLayoutBase.ActivateOptions"/> must be called again.
  19759. </para>
  19760. </remarks>
  19761. </member>
  19762. <member name="M:log4net.Layout.XmlLayoutBase.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  19763. <summary>
  19764. Produces a formatted string.
  19765. </summary>
  19766. <param name="loggingEvent">The event being logged.</param>
  19767. <param name="writer">The TextWriter to write the formatted event to</param>
  19768. <remarks>
  19769. <para>
  19770. Format the <see cref="T:log4net.Core.LoggingEvent"/> and write it to the <see cref="T:System.IO.TextWriter"/>.
  19771. </para>
  19772. <para>
  19773. This method creates an <see cref="T:System.Xml.XmlTextWriter"/> that writes to the
  19774. <paramref name="writer"/>. The <see cref="T:System.Xml.XmlTextWriter"/> is passed
  19775. to the <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method. Subclasses should override the
  19776. <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method rather than this method.
  19777. </para>
  19778. </remarks>
  19779. </member>
  19780. <member name="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)">
  19781. <summary>
  19782. Does the actual writing of the XML.
  19783. </summary>
  19784. <param name="writer">The writer to use to output the event to.</param>
  19785. <param name="loggingEvent">The event to write.</param>
  19786. <remarks>
  19787. <para>
  19788. Subclasses should override this method to format
  19789. the <see cref="T:log4net.Core.LoggingEvent"/> as XML.
  19790. </para>
  19791. </remarks>
  19792. </member>
  19793. <member name="F:log4net.Layout.XmlLayoutBase.m_locationInfo">
  19794. <summary>
  19795. Flag to indicate if location information should be included in
  19796. the XML events.
  19797. </summary>
  19798. </member>
  19799. <member name="F:log4net.Layout.XmlLayoutBase.m_invalidCharReplacement">
  19800. <summary>
  19801. The string to replace invalid chars with
  19802. </summary>
  19803. </member>
  19804. <member name="P:log4net.Layout.XmlLayoutBase.LocationInfo">
  19805. <summary>
  19806. Gets a value indicating whether to include location information in
  19807. the XML events.
  19808. </summary>
  19809. <value>
  19810. <c>true</c> if location information should be included in the XML
  19811. events; otherwise, <c>false</c>.
  19812. </value>
  19813. <remarks>
  19814. <para>
  19815. If <see cref="P:log4net.Layout.XmlLayoutBase.LocationInfo"/> is set to <c>true</c>, then the file
  19816. name and line number of the statement at the origin of the log
  19817. statement will be output.
  19818. </para>
  19819. <para>
  19820. If you are embedding this layout within an <c>SMTPAppender</c>
  19821. then make sure to set the <b>LocationInfo</b> option of that
  19822. appender as well.
  19823. </para>
  19824. </remarks>
  19825. </member>
  19826. <member name="P:log4net.Layout.XmlLayoutBase.InvalidCharReplacement">
  19827. <summary>
  19828. The string to replace characters that can not be expressed in XML with.
  19829. <remarks>
  19830. <para>
  19831. Not all characters may be expressed in XML. This property contains the
  19832. string to replace those that can not with. This defaults to a ?. Set it
  19833. to the empty string to simply remove offending characters. For more
  19834. details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets
  19835. Character replacement will occur in the log message, the property names
  19836. and the property values.
  19837. </para>
  19838. </remarks>
  19839. </summary>
  19840. </member>
  19841. <member name="P:log4net.Layout.XmlLayoutBase.ContentType">
  19842. <summary>
  19843. Gets the content type output by this layout.
  19844. </summary>
  19845. <value>
  19846. As this is the XML layout, the value is always <c>"text/xml"</c>.
  19847. </value>
  19848. <remarks>
  19849. <para>
  19850. As this is the XML layout, the value is always <c>"text/xml"</c>.
  19851. </para>
  19852. </remarks>
  19853. </member>
  19854. <member name="M:log4net.Layout.XmlLayout.#ctor">
  19855. <summary>
  19856. Constructs an XmlLayout
  19857. </summary>
  19858. </member>
  19859. <member name="M:log4net.Layout.XmlLayout.#ctor(System.Boolean)">
  19860. <summary>
  19861. Constructs an XmlLayout.
  19862. </summary>
  19863. <remarks>
  19864. <para>
  19865. The <b>LocationInfo</b> option takes a boolean value. By
  19866. default, it is set to false which means there will be no location
  19867. information output by this layout. If the the option is set to
  19868. true, then the file name and line number of the statement
  19869. at the origin of the log statement will be output.
  19870. </para>
  19871. <para>
  19872. If you are embedding this layout within an SmtpAppender
  19873. then make sure to set the <b>LocationInfo</b> option of that
  19874. appender as well.
  19875. </para>
  19876. </remarks>
  19877. </member>
  19878. <member name="M:log4net.Layout.XmlLayout.ActivateOptions">
  19879. <summary>
  19880. Initialize layout options
  19881. </summary>
  19882. <remarks>
  19883. <para>
  19884. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  19885. activation scheme. The <see cref="M:log4net.Layout.XmlLayout.ActivateOptions"/> method must
  19886. be called on this object after the configuration properties have
  19887. been set. Until <see cref="M:log4net.Layout.XmlLayout.ActivateOptions"/> is called this
  19888. object is in an undefined state and must not be used.
  19889. </para>
  19890. <para>
  19891. If any of the configuration properties are modified then
  19892. <see cref="M:log4net.Layout.XmlLayout.ActivateOptions"/> must be called again.
  19893. </para>
  19894. <para>
  19895. Builds a cache of the element names
  19896. </para>
  19897. </remarks>
  19898. </member>
  19899. <member name="M:log4net.Layout.XmlLayout.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)">
  19900. <summary>
  19901. Does the actual writing of the XML.
  19902. </summary>
  19903. <param name="writer">The writer to use to output the event to.</param>
  19904. <param name="loggingEvent">The event to write.</param>
  19905. <remarks>
  19906. <para>
  19907. Override the base class <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method
  19908. to write the <see cref="T:log4net.Core.LoggingEvent"/> to the <see cref="T:System.Xml.XmlWriter"/>.
  19909. </para>
  19910. </remarks>
  19911. </member>
  19912. <member name="F:log4net.Layout.XmlLayout.m_prefix">
  19913. <summary>
  19914. The prefix to use for all generated element names
  19915. </summary>
  19916. </member>
  19917. <member name="P:log4net.Layout.XmlLayout.Prefix">
  19918. <summary>
  19919. The prefix to use for all element names
  19920. </summary>
  19921. <remarks>
  19922. <para>
  19923. The default prefix is <b>log4net</b>. Set this property
  19924. to change the prefix. If the prefix is set to an empty string
  19925. then no prefix will be written.
  19926. </para>
  19927. </remarks>
  19928. </member>
  19929. <member name="P:log4net.Layout.XmlLayout.Base64EncodeMessage">
  19930. <summary>
  19931. Set whether or not to base64 encode the message.
  19932. </summary>
  19933. <remarks>
  19934. <para>
  19935. By default the log message will be written as text to the xml
  19936. output. This can cause problems when the message contains binary
  19937. data. By setting this to true the contents of the message will be
  19938. base64 encoded. If this is set then invalid character replacement
  19939. (see <see cref="P:log4net.Layout.XmlLayoutBase.InvalidCharReplacement"/>) will not be performed
  19940. on the log message.
  19941. </para>
  19942. </remarks>
  19943. </member>
  19944. <member name="P:log4net.Layout.XmlLayout.Base64EncodeProperties">
  19945. <summary>
  19946. Set whether or not to base64 encode the property values.
  19947. </summary>
  19948. <remarks>
  19949. <para>
  19950. By default the properties will be written as text to the xml
  19951. output. This can cause problems when one or more properties contain
  19952. binary data. By setting this to true the values of the properties
  19953. will be base64 encoded. If this is set then invalid character replacement
  19954. (see <see cref="P:log4net.Layout.XmlLayoutBase.InvalidCharReplacement"/>) will not be performed
  19955. on the property values.
  19956. </para>
  19957. </remarks>
  19958. </member>
  19959. <member name="T:log4net.Layout.XmlLayoutSchemaLog4j">
  19960. <summary>
  19961. Layout that formats the log events as XML elements compatible with the log4j schema
  19962. </summary>
  19963. <remarks>
  19964. <para>
  19965. Formats the log events according to the http://logging.apache.org/log4j schema.
  19966. </para>
  19967. </remarks>
  19968. <author>Nicko Cadell</author>
  19969. </member>
  19970. <member name="F:log4net.Layout.XmlLayoutSchemaLog4j.s_date1970">
  19971. <summary>
  19972. The 1st of January 1970 in UTC
  19973. </summary>
  19974. </member>
  19975. <member name="M:log4net.Layout.XmlLayoutSchemaLog4j.#ctor">
  19976. <summary>
  19977. Constructs an XMLLayoutSchemaLog4j
  19978. </summary>
  19979. </member>
  19980. <member name="M:log4net.Layout.XmlLayoutSchemaLog4j.#ctor(System.Boolean)">
  19981. <summary>
  19982. Constructs an XMLLayoutSchemaLog4j.
  19983. </summary>
  19984. <remarks>
  19985. <para>
  19986. The <b>LocationInfo</b> option takes a boolean value. By
  19987. default, it is set to false which means there will be no location
  19988. information output by this layout. If the the option is set to
  19989. true, then the file name and line number of the statement
  19990. at the origin of the log statement will be output.
  19991. </para>
  19992. <para>
  19993. If you are embedding this layout within an SMTPAppender
  19994. then make sure to set the <b>LocationInfo</b> option of that
  19995. appender as well.
  19996. </para>
  19997. </remarks>
  19998. </member>
  19999. <member name="M:log4net.Layout.XmlLayoutSchemaLog4j.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)">
  20000. <summary>
  20001. Actually do the writing of the xml
  20002. </summary>
  20003. <param name="writer">the writer to use</param>
  20004. <param name="loggingEvent">the event to write</param>
  20005. <remarks>
  20006. <para>
  20007. Generate XML that is compatible with the log4j schema.
  20008. </para>
  20009. </remarks>
  20010. </member>
  20011. <member name="P:log4net.Layout.XmlLayoutSchemaLog4j.Version">
  20012. <summary>
  20013. The version of the log4j schema to use.
  20014. </summary>
  20015. <remarks>
  20016. <para>
  20017. Only version 1.2 of the log4j schema is supported.
  20018. </para>
  20019. </remarks>
  20020. </member>
  20021. <member name="T:log4net.ObjectRenderer.DefaultRenderer">
  20022. <summary>
  20023. The default object Renderer.
  20024. </summary>
  20025. <remarks>
  20026. <para>
  20027. The default renderer supports rendering objects and collections to strings.
  20028. </para>
  20029. <para>
  20030. See the <see cref="M:log4net.ObjectRenderer.DefaultRenderer.RenderObject(log4net.ObjectRenderer.RendererMap,System.Object,System.IO.TextWriter)"/> method for details of the output.
  20031. </para>
  20032. </remarks>
  20033. <author>Nicko Cadell</author>
  20034. <author>Gert Driesen</author>
  20035. </member>
  20036. <member name="T:log4net.ObjectRenderer.IObjectRenderer">
  20037. <summary>
  20038. Implement this interface in order to render objects as strings
  20039. </summary>
  20040. <remarks>
  20041. <para>
  20042. Certain types require special case conversion to
  20043. string form. This conversion is done by an object renderer.
  20044. Object renderers implement the <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>
  20045. interface.
  20046. </para>
  20047. </remarks>
  20048. <author>Nicko Cadell</author>
  20049. <author>Gert Driesen</author>
  20050. </member>
  20051. <member name="M:log4net.ObjectRenderer.IObjectRenderer.RenderObject(log4net.ObjectRenderer.RendererMap,System.Object,System.IO.TextWriter)">
  20052. <summary>
  20053. Render the object <paramref name="obj"/> to a string
  20054. </summary>
  20055. <param name="rendererMap">The map used to lookup renderers</param>
  20056. <param name="obj">The object to render</param>
  20057. <param name="writer">The writer to render to</param>
  20058. <remarks>
  20059. <para>
  20060. Render the object <paramref name="obj"/> to a
  20061. string.
  20062. </para>
  20063. <para>
  20064. The <paramref name="rendererMap"/> parameter is
  20065. provided to lookup and render other objects. This is
  20066. very useful where <paramref name="obj"/> contains
  20067. nested objects of unknown type. The <see cref="M:RendererMap.FindAndRender(object, TextWriter)"/>
  20068. method can be used to render these objects.
  20069. </para>
  20070. </remarks>
  20071. </member>
  20072. <member name="M:log4net.ObjectRenderer.DefaultRenderer.#ctor">
  20073. <summary>
  20074. Default constructor
  20075. </summary>
  20076. <remarks>
  20077. <para>
  20078. Default constructor
  20079. </para>
  20080. </remarks>
  20081. </member>
  20082. <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderObject(log4net.ObjectRenderer.RendererMap,System.Object,System.IO.TextWriter)">
  20083. <summary>
  20084. Render the object <paramref name="obj"/> to a string
  20085. </summary>
  20086. <param name="rendererMap">The map used to lookup renderers</param>
  20087. <param name="obj">The object to render</param>
  20088. <param name="writer">The writer to render to</param>
  20089. <remarks>
  20090. <para>
  20091. Render the object <paramref name="obj"/> to a string.
  20092. </para>
  20093. <para>
  20094. The <paramref name="rendererMap"/> parameter is
  20095. provided to lookup and render other objects. This is
  20096. very useful where <paramref name="obj"/> contains
  20097. nested objects of unknown type. The <see cref="M:RendererMap.FindAndRender(object)"/>
  20098. method can be used to render these objects.
  20099. </para>
  20100. <para>
  20101. The default renderer supports rendering objects to strings as follows:
  20102. </para>
  20103. <list type="table">
  20104. <listheader>
  20105. <term>Value</term>
  20106. <description>Rendered String</description>
  20107. </listheader>
  20108. <item>
  20109. <term><c>null</c></term>
  20110. <description>
  20111. <para>"(null)"</para>
  20112. </description>
  20113. </item>
  20114. <item>
  20115. <term><see cref="T:System.Array"/></term>
  20116. <description>
  20117. <para>
  20118. For a one dimensional array this is the
  20119. array type name, an open brace, followed by a comma
  20120. separated list of the elements (using the appropriate
  20121. renderer), followed by a close brace.
  20122. </para>
  20123. <para>
  20124. For example: <c>int[] {1, 2, 3}</c>.
  20125. </para>
  20126. <para>
  20127. If the array is not one dimensional the
  20128. <c>Array.ToString()</c> is returned.
  20129. </para>
  20130. </description>
  20131. </item>
  20132. <item>
  20133. <term><see cref="T:System.Collections.IEnumerable"/>, <see cref="T:System.Collections.ICollection"/> &amp; <see cref="T:System.Collections.IEnumerator"/></term>
  20134. <description>
  20135. <para>
  20136. Rendered as an open brace, followed by a comma
  20137. separated list of the elements (using the appropriate
  20138. renderer), followed by a close brace.
  20139. </para>
  20140. <para>
  20141. For example: <c>{a, b, c}</c>.
  20142. </para>
  20143. <para>
  20144. All collection classes that implement <see cref="T:System.Collections.ICollection"/> its subclasses,
  20145. or generic equivalents all implement the <see cref="T:System.Collections.IEnumerable"/> interface.
  20146. </para>
  20147. </description>
  20148. </item>
  20149. <item>
  20150. <term><see cref="T:System.Collections.DictionaryEntry"/></term>
  20151. <description>
  20152. <para>
  20153. Rendered as the key, an equals sign ('='), and the value (using the appropriate
  20154. renderer).
  20155. </para>
  20156. <para>
  20157. For example: <c>key=value</c>.
  20158. </para>
  20159. </description>
  20160. </item>
  20161. <item>
  20162. <term>other</term>
  20163. <description>
  20164. <para><c>Object.ToString()</c></para>
  20165. </description>
  20166. </item>
  20167. </list>
  20168. </remarks>
  20169. </member>
  20170. <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderArray(log4net.ObjectRenderer.RendererMap,System.Array,System.IO.TextWriter)">
  20171. <summary>
  20172. Render the array argument into a string
  20173. </summary>
  20174. <param name="rendererMap">The map used to lookup renderers</param>
  20175. <param name="array">the array to render</param>
  20176. <param name="writer">The writer to render to</param>
  20177. <remarks>
  20178. <para>
  20179. For a one dimensional array this is the
  20180. array type name, an open brace, followed by a comma
  20181. separated list of the elements (using the appropriate
  20182. renderer), followed by a close brace. For example:
  20183. <c>int[] {1, 2, 3}</c>.
  20184. </para>
  20185. <para>
  20186. If the array is not one dimensional the
  20187. <c>Array.ToString()</c> is returned.
  20188. </para>
  20189. </remarks>
  20190. </member>
  20191. <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderEnumerator(log4net.ObjectRenderer.RendererMap,System.Collections.IEnumerator,System.IO.TextWriter)">
  20192. <summary>
  20193. Render the enumerator argument into a string
  20194. </summary>
  20195. <param name="rendererMap">The map used to lookup renderers</param>
  20196. <param name="enumerator">the enumerator to render</param>
  20197. <param name="writer">The writer to render to</param>
  20198. <remarks>
  20199. <para>
  20200. Rendered as an open brace, followed by a comma
  20201. separated list of the elements (using the appropriate
  20202. renderer), followed by a close brace. For example:
  20203. <c>{a, b, c}</c>.
  20204. </para>
  20205. </remarks>
  20206. </member>
  20207. <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderDictionaryEntry(log4net.ObjectRenderer.RendererMap,System.Collections.DictionaryEntry,System.IO.TextWriter)">
  20208. <summary>
  20209. Render the DictionaryEntry argument into a string
  20210. </summary>
  20211. <param name="rendererMap">The map used to lookup renderers</param>
  20212. <param name="entry">the DictionaryEntry to render</param>
  20213. <param name="writer">The writer to render to</param>
  20214. <remarks>
  20215. <para>
  20216. Render the key, an equals sign ('='), and the value (using the appropriate
  20217. renderer). For example: <c>key=value</c>.
  20218. </para>
  20219. </remarks>
  20220. </member>
  20221. <member name="T:log4net.ObjectRenderer.RendererMap">
  20222. <summary>
  20223. Map class objects to an <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
  20224. </summary>
  20225. <remarks>
  20226. <para>
  20227. Maintains a mapping between types that require special
  20228. rendering and the <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> that
  20229. is used to render them.
  20230. </para>
  20231. <para>
  20232. The <see cref="M:FindAndRender(object)"/> method is used to render an
  20233. <c>object</c> using the appropriate renderers defined in this map.
  20234. </para>
  20235. </remarks>
  20236. <author>Nicko Cadell</author>
  20237. <author>Gert Driesen</author>
  20238. </member>
  20239. <member name="M:log4net.ObjectRenderer.RendererMap.#ctor">
  20240. <summary>
  20241. Default Constructor
  20242. </summary>
  20243. <remarks>
  20244. <para>
  20245. Default constructor.
  20246. </para>
  20247. </remarks>
  20248. </member>
  20249. <member name="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object)">
  20250. <summary>
  20251. Render <paramref name="obj"/> using the appropriate renderer.
  20252. </summary>
  20253. <param name="obj">the object to render to a string</param>
  20254. <returns>the object rendered as a string</returns>
  20255. <remarks>
  20256. <para>
  20257. This is a convenience method used to render an object to a string.
  20258. The alternative method <see cref="M:FindAndRender(object,TextWriter)"/>
  20259. should be used when streaming output to a <see cref="T:System.IO.TextWriter"/>.
  20260. </para>
  20261. </remarks>
  20262. </member>
  20263. <member name="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object,System.IO.TextWriter)">
  20264. <summary>
  20265. Render <paramref name="obj"/> using the appropriate renderer.
  20266. </summary>
  20267. <param name="obj">the object to render to a string</param>
  20268. <param name="writer">The writer to render to</param>
  20269. <remarks>
  20270. <para>
  20271. Find the appropriate renderer for the type of the
  20272. <paramref name="obj"/> parameter. This is accomplished by calling the
  20273. <see cref="M:Get(Type)"/> method. Once a renderer is found, it is
  20274. applied on the object <paramref name="obj"/> and the result is returned
  20275. as a <see cref="T:System.String"/>.
  20276. </para>
  20277. </remarks>
  20278. </member>
  20279. <member name="M:log4net.ObjectRenderer.RendererMap.Get(System.Object)">
  20280. <summary>
  20281. Gets the renderer for the specified object type
  20282. </summary>
  20283. <param name="obj">the object to lookup the renderer for</param>
  20284. <returns>the renderer for <paramref name="obj"/></returns>
  20285. <remarks>
  20286. <param>
  20287. Gets the renderer for the specified object type.
  20288. </param>
  20289. <param>
  20290. Syntactic sugar method that calls <see cref="M:Get(Type)"/>
  20291. with the type of the object parameter.
  20292. </param>
  20293. </remarks>
  20294. </member>
  20295. <member name="M:log4net.ObjectRenderer.RendererMap.Get(System.Type)">
  20296. <summary>
  20297. Gets the renderer for the specified type
  20298. </summary>
  20299. <param name="type">the type to lookup the renderer for</param>
  20300. <returns>the renderer for the specified type</returns>
  20301. <remarks>
  20302. <para>
  20303. Returns the renderer for the specified type.
  20304. If no specific renderer has been defined the
  20305. <see cref="P:log4net.ObjectRenderer.RendererMap.DefaultRenderer"/> will be returned.
  20306. </para>
  20307. </remarks>
  20308. </member>
  20309. <member name="M:log4net.ObjectRenderer.RendererMap.SearchTypeAndInterfaces(System.Type)">
  20310. <summary>
  20311. Internal function to recursively search interfaces
  20312. </summary>
  20313. <param name="type">the type to lookup the renderer for</param>
  20314. <returns>the renderer for the specified type</returns>
  20315. </member>
  20316. <member name="M:log4net.ObjectRenderer.RendererMap.Clear">
  20317. <summary>
  20318. Clear the map of renderers
  20319. </summary>
  20320. <remarks>
  20321. <para>
  20322. Clear the custom renderers defined by using
  20323. <see cref="M:log4net.ObjectRenderer.RendererMap.Put(System.Type,log4net.ObjectRenderer.IObjectRenderer)"/>. The <see cref="P:log4net.ObjectRenderer.RendererMap.DefaultRenderer"/>
  20324. cannot be removed.
  20325. </para>
  20326. </remarks>
  20327. </member>
  20328. <member name="M:log4net.ObjectRenderer.RendererMap.Put(System.Type,log4net.ObjectRenderer.IObjectRenderer)">
  20329. <summary>
  20330. Register an <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> for <paramref name="typeToRender"/>.
  20331. </summary>
  20332. <param name="typeToRender">the type that will be rendered by <paramref name="renderer"/></param>
  20333. <param name="renderer">the renderer for <paramref name="typeToRender"/></param>
  20334. <remarks>
  20335. <para>
  20336. Register an object renderer for a specific source type.
  20337. This renderer will be returned from a call to <see cref="M:Get(Type)"/>
  20338. specifying the same <paramref name="typeToRender"/> as an argument.
  20339. </para>
  20340. </remarks>
  20341. </member>
  20342. <member name="P:log4net.ObjectRenderer.RendererMap.DefaultRenderer">
  20343. <summary>
  20344. Get the default renderer instance
  20345. </summary>
  20346. <value>the default renderer</value>
  20347. <remarks>
  20348. <para>
  20349. Get the default renderer
  20350. </para>
  20351. </remarks>
  20352. </member>
  20353. <member name="T:log4net.Plugin.IPlugin">
  20354. <summary>
  20355. Interface implemented by logger repository plugins.
  20356. </summary>
  20357. <remarks>
  20358. <para>
  20359. Plugins define additional behavior that can be associated
  20360. with a <see cref="T:log4net.Repository.ILoggerRepository"/>.
  20361. The <see cref="T:log4net.Plugin.PluginMap"/> held by the <see cref="P:log4net.Repository.ILoggerRepository.PluginMap"/>
  20362. property is used to store the plugins for a repository.
  20363. </para>
  20364. <para>
  20365. The <c>log4net.Config.PluginAttribute</c> can be used to
  20366. attach plugins to repositories created using configuration
  20367. attributes.
  20368. </para>
  20369. </remarks>
  20370. <author>Nicko Cadell</author>
  20371. <author>Gert Driesen</author>
  20372. </member>
  20373. <member name="M:log4net.Plugin.IPlugin.Attach(log4net.Repository.ILoggerRepository)">
  20374. <summary>
  20375. Attaches the plugin to the specified <see cref="T:log4net.Repository.ILoggerRepository"/>.
  20376. </summary>
  20377. <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin should be attached to.</param>
  20378. <remarks>
  20379. <para>
  20380. A plugin may only be attached to a single repository.
  20381. </para>
  20382. <para>
  20383. This method is called when the plugin is attached to the repository.
  20384. </para>
  20385. </remarks>
  20386. </member>
  20387. <member name="M:log4net.Plugin.IPlugin.Shutdown">
  20388. <summary>
  20389. Is called when the plugin is to shutdown.
  20390. </summary>
  20391. <remarks>
  20392. <para>
  20393. This method is called to notify the plugin that
  20394. it should stop operating and should detach from
  20395. the repository.
  20396. </para>
  20397. </remarks>
  20398. </member>
  20399. <member name="P:log4net.Plugin.IPlugin.Name">
  20400. <summary>
  20401. Gets the name of the plugin.
  20402. </summary>
  20403. <value>
  20404. The name of the plugin.
  20405. </value>
  20406. <remarks>
  20407. <para>
  20408. Plugins are stored in the <see cref="T:log4net.Plugin.PluginMap"/>
  20409. keyed by name. Each plugin instance attached to a
  20410. repository must be a unique name.
  20411. </para>
  20412. </remarks>
  20413. </member>
  20414. <member name="T:log4net.Plugin.PluginCollection">
  20415. <summary>
  20416. A strongly-typed collection of <see cref="T:log4net.Plugin.IPlugin"/> objects.
  20417. </summary>
  20418. <author>Nicko Cadell</author>
  20419. </member>
  20420. <member name="M:log4net.Plugin.PluginCollection.ReadOnly(log4net.Plugin.PluginCollection)">
  20421. <summary>
  20422. Creates a read-only wrapper for a <c>PluginCollection</c> instance.
  20423. </summary>
  20424. <param name="list">list to create a readonly wrapper arround</param>
  20425. <returns>
  20426. A <c>PluginCollection</c> wrapper that is read-only.
  20427. </returns>
  20428. </member>
  20429. <member name="M:log4net.Plugin.PluginCollection.#ctor">
  20430. <summary>
  20431. Initializes a new instance of the <c>PluginCollection</c> class
  20432. that is empty and has the default initial capacity.
  20433. </summary>
  20434. </member>
  20435. <member name="M:log4net.Plugin.PluginCollection.#ctor(System.Int32)">
  20436. <summary>
  20437. Initializes a new instance of the <c>PluginCollection</c> class
  20438. that has the specified initial capacity.
  20439. </summary>
  20440. <param name="capacity">
  20441. The number of elements that the new <c>PluginCollection</c> is initially capable of storing.
  20442. </param>
  20443. </member>
  20444. <member name="M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.PluginCollection)">
  20445. <summary>
  20446. Initializes a new instance of the <c>PluginCollection</c> class
  20447. that contains elements copied from the specified <c>PluginCollection</c>.
  20448. </summary>
  20449. <param name="c">The <c>PluginCollection</c> whose elements are copied to the new collection.</param>
  20450. </member>
  20451. <member name="M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.IPlugin[])">
  20452. <summary>
  20453. Initializes a new instance of the <c>PluginCollection</c> class
  20454. that contains elements copied from the specified <see cref="T:log4net.Plugin.IPlugin"/> array.
  20455. </summary>
  20456. <param name="a">The <see cref="T:log4net.Plugin.IPlugin"/> array whose elements are copied to the new list.</param>
  20457. </member>
  20458. <member name="M:log4net.Plugin.PluginCollection.#ctor(System.Collections.ICollection)">
  20459. <summary>
  20460. Initializes a new instance of the <c>PluginCollection</c> class
  20461. that contains elements copied from the specified <see cref="T:log4net.Plugin.IPlugin"/> collection.
  20462. </summary>
  20463. <param name="col">The <see cref="T:log4net.Plugin.IPlugin"/> collection whose elements are copied to the new list.</param>
  20464. </member>
  20465. <member name="M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.PluginCollection.Tag)">
  20466. <summary>
  20467. Allow subclasses to avoid our default constructors
  20468. </summary>
  20469. <param name="tag"></param>
  20470. <exclude/>
  20471. </member>
  20472. <member name="M:log4net.Plugin.PluginCollection.CopyTo(log4net.Plugin.IPlugin[])">
  20473. <summary>
  20474. Copies the entire <c>PluginCollection</c> to a one-dimensional
  20475. <see cref="T:log4net.Plugin.IPlugin"/> array.
  20476. </summary>
  20477. <param name="array">The one-dimensional <see cref="T:log4net.Plugin.IPlugin"/> array to copy to.</param>
  20478. </member>
  20479. <member name="M:log4net.Plugin.PluginCollection.CopyTo(log4net.Plugin.IPlugin[],System.Int32)">
  20480. <summary>
  20481. Copies the entire <c>PluginCollection</c> to a one-dimensional
  20482. <see cref="T:log4net.Plugin.IPlugin"/> array, starting at the specified index of the target array.
  20483. </summary>
  20484. <param name="array">The one-dimensional <see cref="T:log4net.Plugin.IPlugin"/> array to copy to.</param>
  20485. <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param>
  20486. </member>
  20487. <member name="M:log4net.Plugin.PluginCollection.Add(log4net.Plugin.IPlugin)">
  20488. <summary>
  20489. Adds a <see cref="T:log4net.Plugin.IPlugin"/> to the end of the <c>PluginCollection</c>.
  20490. </summary>
  20491. <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to be added to the end of the <c>PluginCollection</c>.</param>
  20492. <returns>The index at which the value has been added.</returns>
  20493. </member>
  20494. <member name="M:log4net.Plugin.PluginCollection.Clear">
  20495. <summary>
  20496. Removes all elements from the <c>PluginCollection</c>.
  20497. </summary>
  20498. </member>
  20499. <member name="M:log4net.Plugin.PluginCollection.Clone">
  20500. <summary>
  20501. Creates a shallow copy of the <see cref="T:log4net.Plugin.PluginCollection"/>.
  20502. </summary>
  20503. <returns>A new <see cref="T:log4net.Plugin.PluginCollection"/> with a shallow copy of the collection data.</returns>
  20504. </member>
  20505. <member name="M:log4net.Plugin.PluginCollection.Contains(log4net.Plugin.IPlugin)">
  20506. <summary>
  20507. Determines whether a given <see cref="T:log4net.Plugin.IPlugin"/> is in the <c>PluginCollection</c>.
  20508. </summary>
  20509. <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to check for.</param>
  20510. <returns><c>true</c> if <paramref name="item"/> is found in the <c>PluginCollection</c>; otherwise, <c>false</c>.</returns>
  20511. </member>
  20512. <member name="M:log4net.Plugin.PluginCollection.IndexOf(log4net.Plugin.IPlugin)">
  20513. <summary>
  20514. Returns the zero-based index of the first occurrence of a <see cref="T:log4net.Plugin.IPlugin"/>
  20515. in the <c>PluginCollection</c>.
  20516. </summary>
  20517. <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to locate in the <c>PluginCollection</c>.</param>
  20518. <returns>
  20519. The zero-based index of the first occurrence of <paramref name="item"/>
  20520. in the entire <c>PluginCollection</c>, if found; otherwise, -1.
  20521. </returns>
  20522. </member>
  20523. <member name="M:log4net.Plugin.PluginCollection.Insert(System.Int32,log4net.Plugin.IPlugin)">
  20524. <summary>
  20525. Inserts an element into the <c>PluginCollection</c> at the specified index.
  20526. </summary>
  20527. <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
  20528. <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to insert.</param>
  20529. <exception cref="T:System.ArgumentOutOfRangeException">
  20530. <para><paramref name="index"/> is less than zero</para>
  20531. <para>-or-</para>
  20532. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
  20533. </exception>
  20534. </member>
  20535. <member name="M:log4net.Plugin.PluginCollection.Remove(log4net.Plugin.IPlugin)">
  20536. <summary>
  20537. Removes the first occurrence of a specific <see cref="T:log4net.Plugin.IPlugin"/> from the <c>PluginCollection</c>.
  20538. </summary>
  20539. <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to remove from the <c>PluginCollection</c>.</param>
  20540. <exception cref="T:System.ArgumentException">
  20541. The specified <see cref="T:log4net.Plugin.IPlugin"/> was not found in the <c>PluginCollection</c>.
  20542. </exception>
  20543. </member>
  20544. <member name="M:log4net.Plugin.PluginCollection.RemoveAt(System.Int32)">
  20545. <summary>
  20546. Removes the element at the specified index of the <c>PluginCollection</c>.
  20547. </summary>
  20548. <param name="index">The zero-based index of the element to remove.</param>
  20549. <exception cref="T:System.ArgumentOutOfRangeException">
  20550. <para><paramref name="index"/> is less than zero.</para>
  20551. <para>-or-</para>
  20552. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
  20553. </exception>
  20554. </member>
  20555. <member name="M:log4net.Plugin.PluginCollection.GetEnumerator">
  20556. <summary>
  20557. Returns an enumerator that can iterate through the <c>PluginCollection</c>.
  20558. </summary>
  20559. <returns>An <see cref="T:log4net.Plugin.PluginCollection.Enumerator"/> for the entire <c>PluginCollection</c>.</returns>
  20560. </member>
  20561. <member name="M:log4net.Plugin.PluginCollection.AddRange(log4net.Plugin.PluginCollection)">
  20562. <summary>
  20563. Adds the elements of another <c>PluginCollection</c> to the current <c>PluginCollection</c>.
  20564. </summary>
  20565. <param name="x">The <c>PluginCollection</c> whose elements should be added to the end of the current <c>PluginCollection</c>.</param>
  20566. <returns>The new <see cref="P:log4net.Plugin.PluginCollection.Count"/> of the <c>PluginCollection</c>.</returns>
  20567. </member>
  20568. <member name="M:log4net.Plugin.PluginCollection.AddRange(log4net.Plugin.IPlugin[])">
  20569. <summary>
  20570. Adds the elements of a <see cref="T:log4net.Plugin.IPlugin"/> array to the current <c>PluginCollection</c>.
  20571. </summary>
  20572. <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>
  20573. <returns>The new <see cref="P:log4net.Plugin.PluginCollection.Count"/> of the <c>PluginCollection</c>.</returns>
  20574. </member>
  20575. <member name="M:log4net.Plugin.PluginCollection.AddRange(System.Collections.ICollection)">
  20576. <summary>
  20577. Adds the elements of a <see cref="T:log4net.Plugin.IPlugin"/> collection to the current <c>PluginCollection</c>.
  20578. </summary>
  20579. <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>
  20580. <returns>The new <see cref="P:log4net.Plugin.PluginCollection.Count"/> of the <c>PluginCollection</c>.</returns>
  20581. </member>
  20582. <member name="M:log4net.Plugin.PluginCollection.TrimToSize">
  20583. <summary>
  20584. Sets the capacity to the actual number of elements.
  20585. </summary>
  20586. </member>
  20587. <member name="M:log4net.Plugin.PluginCollection.ValidateIndex(System.Int32)">
  20588. <exception cref="T:System.ArgumentOutOfRangeException">
  20589. <para><paramref name="i"/> is less than zero.</para>
  20590. <para>-or-</para>
  20591. <para><paramref name="i"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
  20592. </exception>
  20593. </member>
  20594. <member name="M:log4net.Plugin.PluginCollection.ValidateIndex(System.Int32,System.Boolean)">
  20595. <exception cref="T:System.ArgumentOutOfRangeException">
  20596. <para><paramref name="i"/> is less than zero.</para>
  20597. <para>-or-</para>
  20598. <para><paramref name="i"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
  20599. </exception>
  20600. </member>
  20601. <member name="P:log4net.Plugin.PluginCollection.Count">
  20602. <summary>
  20603. Gets the number of elements actually contained in the <c>PluginCollection</c>.
  20604. </summary>
  20605. </member>
  20606. <member name="P:log4net.Plugin.PluginCollection.IsSynchronized">
  20607. <summary>
  20608. Gets a value indicating whether access to the collection is synchronized (thread-safe).
  20609. </summary>
  20610. <returns>true if access to the ICollection is synchronized (thread-safe); otherwise, false.</returns>
  20611. </member>
  20612. <member name="P:log4net.Plugin.PluginCollection.SyncRoot">
  20613. <summary>
  20614. Gets an object that can be used to synchronize access to the collection.
  20615. </summary>
  20616. <value>
  20617. An object that can be used to synchronize access to the collection.
  20618. </value>
  20619. </member>
  20620. <member name="P:log4net.Plugin.PluginCollection.Item(System.Int32)">
  20621. <summary>
  20622. Gets or sets the <see cref="T:log4net.Plugin.IPlugin"/> at the specified index.
  20623. </summary>
  20624. <value>
  20625. The <see cref="T:log4net.Plugin.IPlugin"/> at the specified index.
  20626. </value>
  20627. <param name="index">The zero-based index of the element to get or set.</param>
  20628. <exception cref="T:System.ArgumentOutOfRangeException">
  20629. <para><paramref name="index"/> is less than zero.</para>
  20630. <para>-or-</para>
  20631. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
  20632. </exception>
  20633. </member>
  20634. <member name="P:log4net.Plugin.PluginCollection.IsFixedSize">
  20635. <summary>
  20636. Gets a value indicating whether the collection has a fixed size.
  20637. </summary>
  20638. <value><c>true</c> if the collection has a fixed size; otherwise, <c>false</c>. The default is <c>false</c>.</value>
  20639. </member>
  20640. <member name="P:log4net.Plugin.PluginCollection.IsReadOnly">
  20641. <summary>
  20642. Gets a value indicating whether the IList is read-only.
  20643. </summary>
  20644. <value><c>true</c> if the collection is read-only; otherwise, <c>false</c>. The default is <c>false</c>.</value>
  20645. </member>
  20646. <member name="P:log4net.Plugin.PluginCollection.Capacity">
  20647. <summary>
  20648. Gets or sets the number of elements the <c>PluginCollection</c> can contain.
  20649. </summary>
  20650. <value>
  20651. The number of elements the <c>PluginCollection</c> can contain.
  20652. </value>
  20653. </member>
  20654. <member name="T:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator">
  20655. <summary>
  20656. Supports type-safe iteration over a <see cref="T:log4net.Plugin.PluginCollection"/>.
  20657. </summary>
  20658. <exclude/>
  20659. </member>
  20660. <member name="M:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator.MoveNext">
  20661. <summary>
  20662. Advances the enumerator to the next element in the collection.
  20663. </summary>
  20664. <returns>
  20665. <c>true</c> if the enumerator was successfully advanced to the next element;
  20666. <c>false</c> if the enumerator has passed the end of the collection.
  20667. </returns>
  20668. <exception cref="T:System.InvalidOperationException">
  20669. The collection was modified after the enumerator was created.
  20670. </exception>
  20671. </member>
  20672. <member name="M:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator.Reset">
  20673. <summary>
  20674. Sets the enumerator to its initial position, before the first element in the collection.
  20675. </summary>
  20676. </member>
  20677. <member name="P:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator.Current">
  20678. <summary>
  20679. Gets the current element in the collection.
  20680. </summary>
  20681. </member>
  20682. <member name="T:log4net.Plugin.PluginCollection.Tag">
  20683. <summary>
  20684. Type visible only to our subclasses
  20685. Used to access protected constructor
  20686. </summary>
  20687. <exclude/>
  20688. </member>
  20689. <member name="F:log4net.Plugin.PluginCollection.Tag.Default">
  20690. <summary>
  20691. A value
  20692. </summary>
  20693. </member>
  20694. <member name="T:log4net.Plugin.PluginCollection.Enumerator">
  20695. <summary>
  20696. Supports simple iteration over a <see cref="T:log4net.Plugin.PluginCollection"/>.
  20697. </summary>
  20698. <exclude/>
  20699. </member>
  20700. <member name="M:log4net.Plugin.PluginCollection.Enumerator.#ctor(log4net.Plugin.PluginCollection)">
  20701. <summary>
  20702. Initializes a new instance of the <c>Enumerator</c> class.
  20703. </summary>
  20704. <param name="tc"></param>
  20705. </member>
  20706. <member name="M:log4net.Plugin.PluginCollection.Enumerator.MoveNext">
  20707. <summary>
  20708. Advances the enumerator to the next element in the collection.
  20709. </summary>
  20710. <returns>
  20711. <c>true</c> if the enumerator was successfully advanced to the next element;
  20712. <c>false</c> if the enumerator has passed the end of the collection.
  20713. </returns>
  20714. <exception cref="T:System.InvalidOperationException">
  20715. The collection was modified after the enumerator was created.
  20716. </exception>
  20717. </member>
  20718. <member name="M:log4net.Plugin.PluginCollection.Enumerator.Reset">
  20719. <summary>
  20720. Sets the enumerator to its initial position, before the first element in the collection.
  20721. </summary>
  20722. </member>
  20723. <member name="P:log4net.Plugin.PluginCollection.Enumerator.Current">
  20724. <summary>
  20725. Gets the current element in the collection.
  20726. </summary>
  20727. <value>
  20728. The current element in the collection.
  20729. </value>
  20730. </member>
  20731. <member name="T:log4net.Plugin.PluginCollection.ReadOnlyPluginCollection">
  20732. <exclude/>
  20733. </member>
  20734. <member name="T:log4net.Plugin.PluginMap">
  20735. <summary>
  20736. Map of repository plugins.
  20737. </summary>
  20738. <remarks>
  20739. <para>
  20740. This class is a name keyed map of the plugins that are
  20741. attached to a repository.
  20742. </para>
  20743. </remarks>
  20744. <author>Nicko Cadell</author>
  20745. <author>Gert Driesen</author>
  20746. </member>
  20747. <member name="M:log4net.Plugin.PluginMap.#ctor(log4net.Repository.ILoggerRepository)">
  20748. <summary>
  20749. Constructor
  20750. </summary>
  20751. <param name="repository">The repository that the plugins should be attached to.</param>
  20752. <remarks>
  20753. <para>
  20754. Initialize a new instance of the <see cref="T:log4net.Plugin.PluginMap"/> class with a
  20755. repository that the plugins should be attached to.
  20756. </para>
  20757. </remarks>
  20758. </member>
  20759. <member name="M:log4net.Plugin.PluginMap.Add(log4net.Plugin.IPlugin)">
  20760. <summary>
  20761. Adds a <see cref="T:log4net.Plugin.IPlugin"/> to the map.
  20762. </summary>
  20763. <param name="plugin">The <see cref="T:log4net.Plugin.IPlugin"/> to add to the map.</param>
  20764. <remarks>
  20765. <para>
  20766. The <see cref="T:log4net.Plugin.IPlugin"/> will be attached to the repository when added.
  20767. </para>
  20768. <para>
  20769. If there already exists a plugin with the same name
  20770. attached to the repository then the old plugin will
  20771. be <see cref="M:log4net.Plugin.IPlugin.Shutdown"/> and replaced with
  20772. the new plugin.
  20773. </para>
  20774. </remarks>
  20775. </member>
  20776. <member name="M:log4net.Plugin.PluginMap.Remove(log4net.Plugin.IPlugin)">
  20777. <summary>
  20778. Removes a <see cref="T:log4net.Plugin.IPlugin"/> from the map.
  20779. </summary>
  20780. <param name="plugin">The <see cref="T:log4net.Plugin.IPlugin"/> to remove from the map.</param>
  20781. <remarks>
  20782. <para>
  20783. Remove a specific plugin from this map.
  20784. </para>
  20785. </remarks>
  20786. </member>
  20787. <member name="P:log4net.Plugin.PluginMap.Item(System.String)">
  20788. <summary>
  20789. Gets a <see cref="T:log4net.Plugin.IPlugin"/> by name.
  20790. </summary>
  20791. <param name="name">The name of the <see cref="T:log4net.Plugin.IPlugin"/> to lookup.</param>
  20792. <returns>
  20793. The <see cref="T:log4net.Plugin.IPlugin"/> from the map with the name specified, or
  20794. <c>null</c> if no plugin is found.
  20795. </returns>
  20796. <remarks>
  20797. <para>
  20798. Lookup a plugin by name. If the plugin is not found <c>null</c>
  20799. will be returned.
  20800. </para>
  20801. </remarks>
  20802. </member>
  20803. <member name="P:log4net.Plugin.PluginMap.AllPlugins">
  20804. <summary>
  20805. Gets all possible plugins as a list of <see cref="T:log4net.Plugin.IPlugin"/> objects.
  20806. </summary>
  20807. <value>All possible plugins as a list of <see cref="T:log4net.Plugin.IPlugin"/> objects.</value>
  20808. <remarks>
  20809. <para>
  20810. Get a collection of all the plugins defined in this map.
  20811. </para>
  20812. </remarks>
  20813. </member>
  20814. <member name="T:log4net.Plugin.PluginSkeleton">
  20815. <summary>
  20816. Base implementation of <see cref="T:log4net.Plugin.IPlugin"/>
  20817. </summary>
  20818. <remarks>
  20819. <para>
  20820. Default abstract implementation of the <see cref="T:log4net.Plugin.IPlugin"/>
  20821. interface. This base class can be used by implementors
  20822. of the <see cref="T:log4net.Plugin.IPlugin"/> interface.
  20823. </para>
  20824. </remarks>
  20825. <author>Nicko Cadell</author>
  20826. <author>Gert Driesen</author>
  20827. </member>
  20828. <member name="M:log4net.Plugin.PluginSkeleton.#ctor(System.String)">
  20829. <summary>
  20830. Constructor
  20831. </summary>
  20832. <param name="name">the name of the plugin</param>
  20833. <remarks>
  20834. Initializes a new Plugin with the specified name.
  20835. </remarks>
  20836. </member>
  20837. <member name="M:log4net.Plugin.PluginSkeleton.Attach(log4net.Repository.ILoggerRepository)">
  20838. <summary>
  20839. Attaches this plugin to a <see cref="T:log4net.Repository.ILoggerRepository"/>.
  20840. </summary>
  20841. <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin should be attached to.</param>
  20842. <remarks>
  20843. <para>
  20844. A plugin may only be attached to a single repository.
  20845. </para>
  20846. <para>
  20847. This method is called when the plugin is attached to the repository.
  20848. </para>
  20849. </remarks>
  20850. </member>
  20851. <member name="M:log4net.Plugin.PluginSkeleton.Shutdown">
  20852. <summary>
  20853. Is called when the plugin is to shutdown.
  20854. </summary>
  20855. <remarks>
  20856. <para>
  20857. This method is called to notify the plugin that
  20858. it should stop operating and should detach from
  20859. the repository.
  20860. </para>
  20861. </remarks>
  20862. </member>
  20863. <member name="F:log4net.Plugin.PluginSkeleton.m_name">
  20864. <summary>
  20865. The name of this plugin.
  20866. </summary>
  20867. </member>
  20868. <member name="F:log4net.Plugin.PluginSkeleton.m_repository">
  20869. <summary>
  20870. The repository this plugin is attached to.
  20871. </summary>
  20872. </member>
  20873. <member name="P:log4net.Plugin.PluginSkeleton.Name">
  20874. <summary>
  20875. Gets or sets the name of the plugin.
  20876. </summary>
  20877. <value>
  20878. The name of the plugin.
  20879. </value>
  20880. <remarks>
  20881. <para>
  20882. Plugins are stored in the <see cref="T:log4net.Plugin.PluginMap"/>
  20883. keyed by name. Each plugin instance attached to a
  20884. repository must be a unique name.
  20885. </para>
  20886. <para>
  20887. The name of the plugin must not change one the
  20888. plugin has been attached to a repository.
  20889. </para>
  20890. </remarks>
  20891. </member>
  20892. <member name="P:log4net.Plugin.PluginSkeleton.LoggerRepository">
  20893. <summary>
  20894. The repository for this plugin
  20895. </summary>
  20896. <value>
  20897. The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin is attached to.
  20898. </value>
  20899. <remarks>
  20900. <para>
  20901. Gets or sets the <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin is
  20902. attached to.
  20903. </para>
  20904. </remarks>
  20905. </member>
  20906. <member name="T:log4net.Plugin.RemoteLoggingServerPlugin">
  20907. <summary>
  20908. Plugin that listens for events from the <see cref="T:log4net.Appender.RemotingAppender"/>
  20909. </summary>
  20910. <remarks>
  20911. <para>
  20912. This plugin publishes an instance of <see cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
  20913. on a specified <see cref="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri"/>. This listens for logging events delivered from
  20914. a remote <see cref="T:log4net.Appender.RemotingAppender"/>.
  20915. </para>
  20916. <para>
  20917. When an event is received it is relogged within the attached repository
  20918. as if it had been raised locally.
  20919. </para>
  20920. </remarks>
  20921. <author>Nicko Cadell</author>
  20922. <author>Gert Driesen</author>
  20923. </member>
  20924. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.#ctor">
  20925. <summary>
  20926. Default constructor
  20927. </summary>
  20928. <remarks>
  20929. <para>
  20930. Initializes a new instance of the <see cref="T:log4net.Plugin.RemoteLoggingServerPlugin"/> class.
  20931. </para>
  20932. <para>
  20933. The <see cref="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri"/> property must be set.
  20934. </para>
  20935. </remarks>
  20936. </member>
  20937. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.#ctor(System.String)">
  20938. <summary>
  20939. Construct with sink Uri.
  20940. </summary>
  20941. <param name="sinkUri">The name to publish the sink under in the remoting infrastructure.
  20942. See <see cref="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri"/> for more details.</param>
  20943. <remarks>
  20944. <para>
  20945. Initializes a new instance of the <see cref="T:log4net.Plugin.RemoteLoggingServerPlugin"/> class
  20946. with specified name.
  20947. </para>
  20948. </remarks>
  20949. </member>
  20950. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.Attach(log4net.Repository.ILoggerRepository)">
  20951. <summary>
  20952. Attaches this plugin to a <see cref="T:log4net.Repository.ILoggerRepository"/>.
  20953. </summary>
  20954. <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin should be attached to.</param>
  20955. <remarks>
  20956. <para>
  20957. A plugin may only be attached to a single repository.
  20958. </para>
  20959. <para>
  20960. This method is called when the plugin is attached to the repository.
  20961. </para>
  20962. </remarks>
  20963. </member>
  20964. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.Shutdown">
  20965. <summary>
  20966. Is called when the plugin is to shutdown.
  20967. </summary>
  20968. <remarks>
  20969. <para>
  20970. When the plugin is shutdown the remote logging
  20971. sink is disconnected.
  20972. </para>
  20973. </remarks>
  20974. </member>
  20975. <member name="F:log4net.Plugin.RemoteLoggingServerPlugin.declaringType">
  20976. <summary>
  20977. The fully qualified type of the RemoteLoggingServerPlugin class.
  20978. </summary>
  20979. <remarks>
  20980. Used by the internal logger to record the Type of the
  20981. log message.
  20982. </remarks>
  20983. </member>
  20984. <member name="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri">
  20985. <summary>
  20986. Gets or sets the URI of this sink.
  20987. </summary>
  20988. <value>
  20989. The URI of this sink.
  20990. </value>
  20991. <remarks>
  20992. <para>
  20993. This is the name under which the object is marshaled.
  20994. <see cref="M:RemotingServices.Marshal(MarshalByRefObject,String,Type)"/>
  20995. </para>
  20996. </remarks>
  20997. </member>
  20998. <member name="T:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl">
  20999. <summary>
  21000. Delivers <see cref="T:log4net.Core.LoggingEvent"/> objects to a remote sink.
  21001. </summary>
  21002. <remarks>
  21003. <para>
  21004. Internal class used to listen for logging events
  21005. and deliver them to the local repository.
  21006. </para>
  21007. </remarks>
  21008. </member>
  21009. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.#ctor(log4net.Repository.ILoggerRepository)">
  21010. <summary>
  21011. Constructor
  21012. </summary>
  21013. <param name="repository">The repository to log to.</param>
  21014. <remarks>
  21015. <para>
  21016. Initializes a new instance of the <see cref="T:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl"/> for the
  21017. specified <see cref="T:log4net.Repository.ILoggerRepository"/>.
  21018. </para>
  21019. </remarks>
  21020. </member>
  21021. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.LogEvents(log4net.Core.LoggingEvent[])">
  21022. <summary>
  21023. Logs the events to the repository.
  21024. </summary>
  21025. <param name="events">The events to log.</param>
  21026. <remarks>
  21027. <para>
  21028. The events passed are logged to the <see cref="T:log4net.Repository.ILoggerRepository"/>
  21029. </para>
  21030. </remarks>
  21031. </member>
  21032. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.InitializeLifetimeService">
  21033. <summary>
  21034. Obtains a lifetime service object to control the lifetime
  21035. policy for this instance.
  21036. </summary>
  21037. <returns><c>null</c> to indicate that this instance should live forever.</returns>
  21038. <remarks>
  21039. <para>
  21040. Obtains a lifetime service object to control the lifetime
  21041. policy for this instance. This object should live forever
  21042. therefore this implementation returns <c>null</c>.
  21043. </para>
  21044. </remarks>
  21045. </member>
  21046. <member name="F:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.m_repository">
  21047. <summary>
  21048. The underlying <see cref="T:log4net.Repository.ILoggerRepository"/> that events should
  21049. be logged to.
  21050. </summary>
  21051. </member>
  21052. <member name="T:log4net.Repository.Hierarchy.DefaultLoggerFactory">
  21053. <summary>
  21054. Default implementation of <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
  21055. </summary>
  21056. <remarks>
  21057. <para>
  21058. This default implementation of the <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
  21059. interface is used to create the default subclass
  21060. of the <see cref="T:log4net.Repository.Hierarchy.Logger"/> object.
  21061. </para>
  21062. </remarks>
  21063. <author>Nicko Cadell</author>
  21064. <author>Gert Driesen</author>
  21065. </member>
  21066. <member name="T:log4net.Repository.Hierarchy.ILoggerFactory">
  21067. <summary>
  21068. Interface abstracts creation of <see cref="T:log4net.Repository.Hierarchy.Logger"/> instances
  21069. </summary>
  21070. <remarks>
  21071. <para>
  21072. This interface is used by the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> to
  21073. create new <see cref="T:log4net.Repository.Hierarchy.Logger"/> objects.
  21074. </para>
  21075. <para>
  21076. The <see cref="M:log4net.Repository.Hierarchy.ILoggerFactory.CreateLogger(log4net.Repository.ILoggerRepository,System.String)"/> method is called
  21077. to create a named <see cref="T:log4net.Repository.Hierarchy.Logger"/>.
  21078. </para>
  21079. <para>
  21080. Implement this interface to create new subclasses of <see cref="T:log4net.Repository.Hierarchy.Logger"/>.
  21081. </para>
  21082. </remarks>
  21083. <author>Nicko Cadell</author>
  21084. <author>Gert Driesen</author>
  21085. </member>
  21086. <member name="M:log4net.Repository.Hierarchy.ILoggerFactory.CreateLogger(log4net.Repository.ILoggerRepository,System.String)">
  21087. <summary>
  21088. Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance
  21089. </summary>
  21090. <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that will own the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
  21091. <param name="name">The name of the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
  21092. <returns>The <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance for the specified name.</returns>
  21093. <remarks>
  21094. <para>
  21095. Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance with the
  21096. specified name.
  21097. </para>
  21098. <para>
  21099. Called by the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> to create
  21100. new named <see cref="T:log4net.Repository.Hierarchy.Logger"/> instances.
  21101. </para>
  21102. <para>
  21103. If the <paramref name="name"/> is <c>null</c> then the root logger
  21104. must be returned.
  21105. </para>
  21106. </remarks>
  21107. </member>
  21108. <member name="M:log4net.Repository.Hierarchy.DefaultLoggerFactory.#ctor">
  21109. <summary>
  21110. Default constructor
  21111. </summary>
  21112. <remarks>
  21113. <para>
  21114. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.DefaultLoggerFactory"/> class.
  21115. </para>
  21116. </remarks>
  21117. </member>
  21118. <member name="M:log4net.Repository.Hierarchy.DefaultLoggerFactory.CreateLogger(log4net.Repository.ILoggerRepository,System.String)">
  21119. <summary>
  21120. Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance
  21121. </summary>
  21122. <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that will own the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
  21123. <param name="name">The name of the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
  21124. <returns>The <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance for the specified name.</returns>
  21125. <remarks>
  21126. <para>
  21127. Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance with the
  21128. specified name.
  21129. </para>
  21130. <para>
  21131. Called by the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> to create
  21132. new named <see cref="T:log4net.Repository.Hierarchy.Logger"/> instances.
  21133. </para>
  21134. <para>
  21135. If the <paramref name="name"/> is <c>null</c> then the root logger
  21136. must be returned.
  21137. </para>
  21138. </remarks>
  21139. </member>
  21140. <member name="T:log4net.Repository.Hierarchy.DefaultLoggerFactory.LoggerImpl">
  21141. <summary>
  21142. Default internal subclass of <see cref="T:log4net.Repository.Hierarchy.Logger"/>
  21143. </summary>
  21144. <remarks>
  21145. <para>
  21146. This subclass has no additional behavior over the
  21147. <see cref="T:log4net.Repository.Hierarchy.Logger"/> class but does allow instances
  21148. to be created.
  21149. </para>
  21150. </remarks>
  21151. </member>
  21152. <member name="T:log4net.Repository.Hierarchy.Logger">
  21153. <summary>
  21154. Implementation of <see cref="T:log4net.Core.ILogger"/> used by <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/>
  21155. </summary>
  21156. <remarks>
  21157. <para>
  21158. Internal class used to provide implementation of <see cref="T:log4net.Core.ILogger"/>
  21159. interface. Applications should use <see cref="T:log4net.LogManager"/> to get
  21160. logger instances.
  21161. </para>
  21162. <para>
  21163. This is one of the central classes in the log4net implementation. One of the
  21164. distinctive features of log4net are hierarchical loggers and their
  21165. evaluation. The <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/> organizes the <see cref="T:log4net.Repository.Hierarchy.Logger"/>
  21166. instances into a rooted tree hierarchy.
  21167. </para>
  21168. <para>
  21169. The <see cref="T:log4net.Repository.Hierarchy.Logger"/> class is abstract. Only concrete subclasses of
  21170. <see cref="T:log4net.Repository.Hierarchy.Logger"/> can be created. The <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
  21171. is used to create instances of this type for the <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/>.
  21172. </para>
  21173. </remarks>
  21174. <author>Nicko Cadell</author>
  21175. <author>Gert Driesen</author>
  21176. <author>Aspi Havewala</author>
  21177. <author>Douglas de la Torre</author>
  21178. </member>
  21179. <member name="M:log4net.Repository.Hierarchy.Logger.#ctor(System.String)">
  21180. <summary>
  21181. This constructor created a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance and
  21182. sets its name.
  21183. </summary>
  21184. <param name="name">The name of the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
  21185. <remarks>
  21186. <para>
  21187. This constructor is protected and designed to be used by
  21188. a subclass that is not abstract.
  21189. </para>
  21190. <para>
  21191. Loggers are constructed by <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
  21192. objects. See <see cref="T:log4net.Repository.Hierarchy.DefaultLoggerFactory"/> for the default
  21193. logger creator.
  21194. </para>
  21195. </remarks>
  21196. </member>
  21197. <member name="M:log4net.Repository.Hierarchy.Logger.AddAppender(log4net.Appender.IAppender)">
  21198. <summary>
  21199. Add <paramref name="newAppender"/> to the list of appenders of this
  21200. Logger instance.
  21201. </summary>
  21202. <param name="newAppender">An appender to add to this logger</param>
  21203. <remarks>
  21204. <para>
  21205. Add <paramref name="newAppender"/> to the list of appenders of this
  21206. Logger instance.
  21207. </para>
  21208. <para>
  21209. If <paramref name="newAppender"/> is already in the list of
  21210. appenders, then it won't be added again.
  21211. </para>
  21212. </remarks>
  21213. </member>
  21214. <member name="M:log4net.Repository.Hierarchy.Logger.GetAppender(System.String)">
  21215. <summary>
  21216. Look for the appender named as <c>name</c>
  21217. </summary>
  21218. <param name="name">The name of the appender to lookup</param>
  21219. <returns>The appender with the name specified, or <c>null</c>.</returns>
  21220. <remarks>
  21221. <para>
  21222. Returns the named appender, or null if the appender is not found.
  21223. </para>
  21224. </remarks>
  21225. </member>
  21226. <member name="M:log4net.Repository.Hierarchy.Logger.RemoveAllAppenders">
  21227. <summary>
  21228. Remove all previously added appenders from this Logger instance.
  21229. </summary>
  21230. <remarks>
  21231. <para>
  21232. Remove all previously added appenders from this Logger instance.
  21233. </para>
  21234. <para>
  21235. This is useful when re-reading configuration information.
  21236. </para>
  21237. </remarks>
  21238. </member>
  21239. <member name="M:log4net.Repository.Hierarchy.Logger.RemoveAppender(log4net.Appender.IAppender)">
  21240. <summary>
  21241. Remove the appender passed as parameter form the list of appenders.
  21242. </summary>
  21243. <param name="appender">The appender to remove</param>
  21244. <returns>The appender removed from the list</returns>
  21245. <remarks>
  21246. <para>
  21247. Remove the appender passed as parameter form the list of appenders.
  21248. The appender removed is not closed.
  21249. If you are discarding the appender you must call
  21250. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  21251. </para>
  21252. </remarks>
  21253. </member>
  21254. <member name="M:log4net.Repository.Hierarchy.Logger.RemoveAppender(System.String)">
  21255. <summary>
  21256. Remove the appender passed as parameter form the list of appenders.
  21257. </summary>
  21258. <param name="name">The name of the appender to remove</param>
  21259. <returns>The appender removed from the list</returns>
  21260. <remarks>
  21261. <para>
  21262. Remove the named appender passed as parameter form the list of appenders.
  21263. The appender removed is not closed.
  21264. If you are discarding the appender you must call
  21265. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  21266. </para>
  21267. </remarks>
  21268. </member>
  21269. <member name="M:log4net.Repository.Hierarchy.Logger.Log(System.Type,log4net.Core.Level,System.Object,System.Exception)">
  21270. <summary>
  21271. This generic form is intended to be used by wrappers.
  21272. </summary>
  21273. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  21274. the stack boundary into the logging system for this call.</param>
  21275. <param name="level">The level of the message to be logged.</param>
  21276. <param name="message">The message object to log.</param>
  21277. <param name="exception">The exception to log, including its stack trace.</param>
  21278. <remarks>
  21279. <para>
  21280. Generate a logging event for the specified <paramref name="level"/> using
  21281. the <paramref name="message"/> and <paramref name="exception"/>.
  21282. </para>
  21283. <para>
  21284. This method must not throw any exception to the caller.
  21285. </para>
  21286. </remarks>
  21287. </member>
  21288. <member name="M:log4net.Repository.Hierarchy.Logger.Log(log4net.Core.LoggingEvent)">
  21289. <summary>
  21290. This is the most generic printing method that is intended to be used
  21291. by wrappers.
  21292. </summary>
  21293. <param name="logEvent">The event being logged.</param>
  21294. <remarks>
  21295. <para>
  21296. Logs the specified logging event through this logger.
  21297. </para>
  21298. <para>
  21299. This method must not throw any exception to the caller.
  21300. </para>
  21301. </remarks>
  21302. </member>
  21303. <member name="M:log4net.Repository.Hierarchy.Logger.IsEnabledFor(log4net.Core.Level)">
  21304. <summary>
  21305. Checks if this logger is enabled for a given <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/> passed as parameter.
  21306. </summary>
  21307. <param name="level">The level to check.</param>
  21308. <returns>
  21309. <c>true</c> if this logger is enabled for <c>level</c>, otherwise <c>false</c>.
  21310. </returns>
  21311. <remarks>
  21312. <para>
  21313. Test if this logger is going to log events of the specified <paramref name="level"/>.
  21314. </para>
  21315. <para>
  21316. This method must not throw any exception to the caller.
  21317. </para>
  21318. </remarks>
  21319. </member>
  21320. <member name="M:log4net.Repository.Hierarchy.Logger.CallAppenders(log4net.Core.LoggingEvent)">
  21321. <summary>
  21322. Deliver the <see cref="T:log4net.Core.LoggingEvent"/> to the attached appenders.
  21323. </summary>
  21324. <param name="loggingEvent">The event to log.</param>
  21325. <remarks>
  21326. <para>
  21327. Call the appenders in the hierarchy starting at
  21328. <c>this</c>. If no appenders could be found, emit a
  21329. warning.
  21330. </para>
  21331. <para>
  21332. This method calls all the appenders inherited from the
  21333. hierarchy circumventing any evaluation of whether to log or not
  21334. to log the particular log request.
  21335. </para>
  21336. </remarks>
  21337. </member>
  21338. <member name="M:log4net.Repository.Hierarchy.Logger.CloseNestedAppenders">
  21339. <summary>
  21340. Closes all attached appenders implementing the <see cref="T:log4net.Core.IAppenderAttachable"/> interface.
  21341. </summary>
  21342. <remarks>
  21343. <para>
  21344. Used to ensure that the appenders are correctly shutdown.
  21345. </para>
  21346. </remarks>
  21347. </member>
  21348. <member name="M:log4net.Repository.Hierarchy.Logger.Log(log4net.Core.Level,System.Object,System.Exception)">
  21349. <summary>
  21350. This is the most generic printing method. This generic form is intended to be used by wrappers
  21351. </summary>
  21352. <param name="level">The level of the message to be logged.</param>
  21353. <param name="message">The message object to log.</param>
  21354. <param name="exception">The exception to log, including its stack trace.</param>
  21355. <remarks>
  21356. <para>
  21357. Generate a logging event for the specified <paramref name="level"/> using
  21358. the <paramref name="message"/>.
  21359. </para>
  21360. </remarks>
  21361. </member>
  21362. <member name="M:log4net.Repository.Hierarchy.Logger.ForcedLog(System.Type,log4net.Core.Level,System.Object,System.Exception)">
  21363. <summary>
  21364. Creates a new logging event and logs the event without further checks.
  21365. </summary>
  21366. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  21367. the stack boundary into the logging system for this call.</param>
  21368. <param name="level">The level of the message to be logged.</param>
  21369. <param name="message">The message object to log.</param>
  21370. <param name="exception">The exception to log, including its stack trace.</param>
  21371. <remarks>
  21372. <para>
  21373. Generates a logging event and delivers it to the attached
  21374. appenders.
  21375. </para>
  21376. </remarks>
  21377. </member>
  21378. <member name="M:log4net.Repository.Hierarchy.Logger.ForcedLog(log4net.Core.LoggingEvent)">
  21379. <summary>
  21380. Creates a new logging event and logs the event without further checks.
  21381. </summary>
  21382. <param name="logEvent">The event being logged.</param>
  21383. <remarks>
  21384. <para>
  21385. Delivers the logging event to the attached appenders.
  21386. </para>
  21387. </remarks>
  21388. </member>
  21389. <member name="F:log4net.Repository.Hierarchy.Logger.declaringType">
  21390. <summary>
  21391. The fully qualified type of the Logger class.
  21392. </summary>
  21393. </member>
  21394. <member name="F:log4net.Repository.Hierarchy.Logger.m_name">
  21395. <summary>
  21396. The name of this logger.
  21397. </summary>
  21398. </member>
  21399. <member name="F:log4net.Repository.Hierarchy.Logger.m_level">
  21400. <summary>
  21401. The assigned level of this logger.
  21402. </summary>
  21403. <remarks>
  21404. <para>
  21405. The <c>level</c> variable need not be
  21406. assigned a value in which case it is inherited
  21407. form the hierarchy.
  21408. </para>
  21409. </remarks>
  21410. </member>
  21411. <member name="F:log4net.Repository.Hierarchy.Logger.m_parent">
  21412. <summary>
  21413. The parent of this logger.
  21414. </summary>
  21415. <remarks>
  21416. <para>
  21417. The parent of this logger.
  21418. All loggers have at least one ancestor which is the root logger.
  21419. </para>
  21420. </remarks>
  21421. </member>
  21422. <member name="F:log4net.Repository.Hierarchy.Logger.m_hierarchy">
  21423. <summary>
  21424. Loggers need to know what Hierarchy they are in.
  21425. </summary>
  21426. <remarks>
  21427. <para>
  21428. Loggers need to know what Hierarchy they are in.
  21429. The hierarchy that this logger is a member of is stored
  21430. here.
  21431. </para>
  21432. </remarks>
  21433. </member>
  21434. <member name="F:log4net.Repository.Hierarchy.Logger.m_appenderAttachedImpl">
  21435. <summary>
  21436. Helper implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
  21437. </summary>
  21438. </member>
  21439. <member name="F:log4net.Repository.Hierarchy.Logger.m_additive">
  21440. <summary>
  21441. Flag indicating if child loggers inherit their parents appenders
  21442. </summary>
  21443. <remarks>
  21444. <para>
  21445. Additivity is set to true by default, that is children inherit
  21446. the appenders of their ancestors by default. If this variable is
  21447. set to <c>false</c> then the appenders found in the
  21448. ancestors of this logger are not used. However, the children
  21449. of this logger will inherit its appenders, unless the children
  21450. have their additivity flag set to <c>false</c> too. See
  21451. the user manual for more details.
  21452. </para>
  21453. </remarks>
  21454. </member>
  21455. <member name="F:log4net.Repository.Hierarchy.Logger.m_appenderLock">
  21456. <summary>
  21457. Lock to protect AppenderAttachedImpl variable m_appenderAttachedImpl
  21458. </summary>
  21459. </member>
  21460. <member name="P:log4net.Repository.Hierarchy.Logger.Parent">
  21461. <summary>
  21462. Gets or sets the parent logger in the hierarchy.
  21463. </summary>
  21464. <value>
  21465. The parent logger in the hierarchy.
  21466. </value>
  21467. <remarks>
  21468. <para>
  21469. Part of the Composite pattern that makes the hierarchy.
  21470. The hierarchy is parent linked rather than child linked.
  21471. </para>
  21472. </remarks>
  21473. </member>
  21474. <member name="P:log4net.Repository.Hierarchy.Logger.Additivity">
  21475. <summary>
  21476. Gets or sets a value indicating if child loggers inherit their parent's appenders.
  21477. </summary>
  21478. <value>
  21479. <c>true</c> if child loggers inherit their parent's appenders.
  21480. </value>
  21481. <remarks>
  21482. <para>
  21483. Additivity is set to <c>true</c> by default, that is children inherit
  21484. the appenders of their ancestors by default. If this variable is
  21485. set to <c>false</c> then the appenders found in the
  21486. ancestors of this logger are not used. However, the children
  21487. of this logger will inherit its appenders, unless the children
  21488. have their additivity flag set to <c>false</c> too. See
  21489. the user manual for more details.
  21490. </para>
  21491. </remarks>
  21492. </member>
  21493. <member name="P:log4net.Repository.Hierarchy.Logger.EffectiveLevel">
  21494. <summary>
  21495. Gets the effective level for this logger.
  21496. </summary>
  21497. <returns>The nearest level in the logger hierarchy.</returns>
  21498. <remarks>
  21499. <para>
  21500. Starting from this logger, searches the logger hierarchy for a
  21501. non-null level and returns it. Otherwise, returns the level of the
  21502. root logger.
  21503. </para>
  21504. <para>The Logger class is designed so that this method executes as
  21505. quickly as possible.</para>
  21506. </remarks>
  21507. </member>
  21508. <member name="P:log4net.Repository.Hierarchy.Logger.Hierarchy">
  21509. <summary>
  21510. Gets or sets the <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/> where this
  21511. <c>Logger</c> instance is attached to.
  21512. </summary>
  21513. <value>The hierarchy that this logger belongs to.</value>
  21514. <remarks>
  21515. <para>
  21516. This logger must be attached to a single <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/>.
  21517. </para>
  21518. </remarks>
  21519. </member>
  21520. <member name="P:log4net.Repository.Hierarchy.Logger.Level">
  21521. <summary>
  21522. Gets or sets the assigned <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/>, if any, for this Logger.
  21523. </summary>
  21524. <value>
  21525. The <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/> of this logger.
  21526. </value>
  21527. <remarks>
  21528. <para>
  21529. The assigned <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/> can be <c>null</c>.
  21530. </para>
  21531. </remarks>
  21532. </member>
  21533. <member name="P:log4net.Repository.Hierarchy.Logger.Appenders">
  21534. <summary>
  21535. Get the appenders contained in this logger as an
  21536. <see cref="T:System.Collections.ICollection"/>.
  21537. </summary>
  21538. <returns>A collection of the appenders in this logger</returns>
  21539. <remarks>
  21540. <para>
  21541. Get the appenders contained in this logger as an
  21542. <see cref="T:System.Collections.ICollection"/>. If no appenders
  21543. can be found, then a <see cref="T:log4net.Util.EmptyCollection"/> is returned.
  21544. </para>
  21545. </remarks>
  21546. </member>
  21547. <member name="P:log4net.Repository.Hierarchy.Logger.Name">
  21548. <summary>
  21549. Gets the logger name.
  21550. </summary>
  21551. <value>
  21552. The name of the logger.
  21553. </value>
  21554. <remarks>
  21555. <para>
  21556. The name of this logger
  21557. </para>
  21558. </remarks>
  21559. </member>
  21560. <member name="P:log4net.Repository.Hierarchy.Logger.Repository">
  21561. <summary>
  21562. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this
  21563. <c>Logger</c> instance is attached to.
  21564. </summary>
  21565. <value>
  21566. The <see cref="T:log4net.Repository.ILoggerRepository"/> that this logger belongs to.
  21567. </value>
  21568. <remarks>
  21569. <para>
  21570. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this
  21571. <c>Logger</c> instance is attached to.
  21572. </para>
  21573. </remarks>
  21574. </member>
  21575. <member name="M:log4net.Repository.Hierarchy.DefaultLoggerFactory.LoggerImpl.#ctor(System.String)">
  21576. <summary>
  21577. Construct a new Logger
  21578. </summary>
  21579. <param name="name">the name of the logger</param>
  21580. <remarks>
  21581. <para>
  21582. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.DefaultLoggerFactory.LoggerImpl"/> class
  21583. with the specified name.
  21584. </para>
  21585. </remarks>
  21586. </member>
  21587. <member name="T:log4net.Repository.Hierarchy.LoggerCreationEventHandler">
  21588. <summary>
  21589. Delegate used to handle logger creation event notifications.
  21590. </summary>
  21591. <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>
  21592. <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>
  21593. <remarks>
  21594. <para>
  21595. Delegate used to handle logger creation event notifications.
  21596. </para>
  21597. </remarks>
  21598. </member>
  21599. <member name="T:log4net.Repository.Hierarchy.LoggerCreationEventArgs">
  21600. <summary>
  21601. Provides data for the <see cref="E:log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent"/> event.
  21602. </summary>
  21603. <remarks>
  21604. <para>
  21605. A <see cref="E:log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent"/> event is raised every time a
  21606. <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> is created.
  21607. </para>
  21608. </remarks>
  21609. </member>
  21610. <member name="F:log4net.Repository.Hierarchy.LoggerCreationEventArgs.m_log">
  21611. <summary>
  21612. The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> created
  21613. </summary>
  21614. </member>
  21615. <member name="M:log4net.Repository.Hierarchy.LoggerCreationEventArgs.#ctor(log4net.Repository.Hierarchy.Logger)">
  21616. <summary>
  21617. Constructor
  21618. </summary>
  21619. <param name="log">The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.</param>
  21620. <remarks>
  21621. <para>
  21622. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.LoggerCreationEventArgs"/> event argument
  21623. class,with the specified <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/>.
  21624. </para>
  21625. </remarks>
  21626. </member>
  21627. <member name="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger">
  21628. <summary>
  21629. Gets the <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.
  21630. </summary>
  21631. <value>
  21632. The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.
  21633. </value>
  21634. <remarks>
  21635. <para>
  21636. The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.
  21637. </para>
  21638. </remarks>
  21639. </member>
  21640. <member name="T:log4net.Repository.Hierarchy.Hierarchy">
  21641. <summary>
  21642. Hierarchical organization of loggers
  21643. </summary>
  21644. <remarks>
  21645. <para>
  21646. <i>The casual user should not have to deal with this class
  21647. directly.</i>
  21648. </para>
  21649. <para>
  21650. This class is specialized in retrieving loggers by name and
  21651. also maintaining the logger hierarchy. Implements the
  21652. <see cref="T:log4net.Repository.ILoggerRepository"/> interface.
  21653. </para>
  21654. <para>
  21655. The structure of the logger hierarchy is maintained by the
  21656. <see cref="M:GetLogger(string)"/> method. The hierarchy is such that children
  21657. link to their parent but parents do not have any references to their
  21658. children. Moreover, loggers can be instantiated in any order, in
  21659. particular descendant before ancestor.
  21660. </para>
  21661. <para>
  21662. In case a descendant is created before a particular ancestor,
  21663. then it creates a provision node for the ancestor and adds itself
  21664. to the provision node. Other descendants of the same ancestor add
  21665. themselves to the previously created provision node.
  21666. </para>
  21667. </remarks>
  21668. <author>Nicko Cadell</author>
  21669. <author>Gert Driesen</author>
  21670. </member>
  21671. <member name="T:log4net.Repository.LoggerRepositorySkeleton">
  21672. <summary>
  21673. Base implementation of <see cref="T:log4net.Repository.ILoggerRepository"/>
  21674. </summary>
  21675. <remarks>
  21676. <para>
  21677. Default abstract implementation of the <see cref="T:log4net.Repository.ILoggerRepository"/> interface.
  21678. </para>
  21679. <para>
  21680. Skeleton implementation of the <see cref="T:log4net.Repository.ILoggerRepository"/> interface.
  21681. All <see cref="T:log4net.Repository.ILoggerRepository"/> types can extend this type.
  21682. </para>
  21683. </remarks>
  21684. <author>Nicko Cadell</author>
  21685. <author>Gert Driesen</author>
  21686. </member>
  21687. <member name="T:log4net.Repository.ILoggerRepository">
  21688. <summary>
  21689. Interface implemented by logger repositories.
  21690. </summary>
  21691. <remarks>
  21692. <para>
  21693. This interface is implemented by logger repositories. e.g.
  21694. <see cref="N:log4net.Repository.Hierarchy"/>.
  21695. </para>
  21696. <para>
  21697. This interface is used by the <see cref="T:log4net.LogManager"/>
  21698. to obtain <see cref="T:log4net.ILog"/> interfaces.
  21699. </para>
  21700. </remarks>
  21701. <author>Nicko Cadell</author>
  21702. <author>Gert Driesen</author>
  21703. </member>
  21704. <member name="M:log4net.Repository.ILoggerRepository.Exists(System.String)">
  21705. <summary>
  21706. Check if the named logger exists in the repository. If so return
  21707. its reference, otherwise returns <c>null</c>.
  21708. </summary>
  21709. <param name="name">The name of the logger to lookup</param>
  21710. <returns>The Logger object with the name specified</returns>
  21711. <remarks>
  21712. <para>
  21713. If the names logger exists it is returned, otherwise
  21714. <c>null</c> is returned.
  21715. </para>
  21716. </remarks>
  21717. </member>
  21718. <member name="M:log4net.Repository.ILoggerRepository.GetCurrentLoggers">
  21719. <summary>
  21720. Returns all the currently defined loggers as an Array.
  21721. </summary>
  21722. <returns>All the defined loggers</returns>
  21723. <remarks>
  21724. <para>
  21725. Returns all the currently defined loggers as an Array.
  21726. </para>
  21727. </remarks>
  21728. </member>
  21729. <member name="M:log4net.Repository.ILoggerRepository.GetLogger(System.String)">
  21730. <summary>
  21731. Returns a named logger instance
  21732. </summary>
  21733. <param name="name">The name of the logger to retrieve</param>
  21734. <returns>The logger object with the name specified</returns>
  21735. <remarks>
  21736. <para>
  21737. Returns a named logger instance.
  21738. </para>
  21739. <para>
  21740. If a logger of that name already exists, then it will be
  21741. returned. Otherwise, a new logger will be instantiated and
  21742. then linked with its existing ancestors as well as children.
  21743. </para>
  21744. </remarks>
  21745. </member>
  21746. <member name="M:log4net.Repository.ILoggerRepository.Shutdown">
  21747. <summary>Shutdown the repository</summary>
  21748. <remarks>
  21749. <para>
  21750. Shutting down a repository will <i>safely</i> close and remove
  21751. all appenders in all loggers including the root logger.
  21752. </para>
  21753. <para>
  21754. Some appenders need to be closed before the
  21755. application exists. Otherwise, pending logging events might be
  21756. lost.
  21757. </para>
  21758. <para>
  21759. The <see cref="M:Shutdown()"/> method is careful to close nested
  21760. appenders before closing regular appenders. This is allows
  21761. configurations where a regular appender is attached to a logger
  21762. and again to a nested appender.
  21763. </para>
  21764. </remarks>
  21765. </member>
  21766. <member name="M:log4net.Repository.ILoggerRepository.ResetConfiguration">
  21767. <summary>
  21768. Reset the repositories configuration to a default state
  21769. </summary>
  21770. <remarks>
  21771. <para>
  21772. Reset all values contained in this instance to their
  21773. default state.
  21774. </para>
  21775. <para>
  21776. Existing loggers are not removed. They are just reset.
  21777. </para>
  21778. <para>
  21779. This method should be used sparingly and with care as it will
  21780. block all logging until it is completed.
  21781. </para>
  21782. </remarks>
  21783. </member>
  21784. <member name="M:log4net.Repository.ILoggerRepository.Log(log4net.Core.LoggingEvent)">
  21785. <summary>
  21786. Log the <see cref="T:log4net.Core.LoggingEvent"/> through this repository.
  21787. </summary>
  21788. <param name="logEvent">the event to log</param>
  21789. <remarks>
  21790. <para>
  21791. This method should not normally be used to log.
  21792. The <see cref="T:log4net.ILog"/> interface should be used
  21793. for routine logging. This interface can be obtained
  21794. using the <see cref="M:log4net.LogManager.GetLogger(string)"/> method.
  21795. </para>
  21796. <para>
  21797. The <c>logEvent</c> is delivered to the appropriate logger and
  21798. that logger is then responsible for logging the event.
  21799. </para>
  21800. </remarks>
  21801. </member>
  21802. <member name="M:log4net.Repository.ILoggerRepository.GetAppenders">
  21803. <summary>
  21804. Returns all the Appenders that are configured as an Array.
  21805. </summary>
  21806. <returns>All the Appenders</returns>
  21807. <remarks>
  21808. <para>
  21809. Returns all the Appenders that are configured as an Array.
  21810. </para>
  21811. </remarks>
  21812. </member>
  21813. <member name="P:log4net.Repository.ILoggerRepository.Name">
  21814. <summary>
  21815. The name of the repository
  21816. </summary>
  21817. <value>
  21818. The name of the repository
  21819. </value>
  21820. <remarks>
  21821. <para>
  21822. The name of the repository.
  21823. </para>
  21824. </remarks>
  21825. </member>
  21826. <member name="P:log4net.Repository.ILoggerRepository.RendererMap">
  21827. <summary>
  21828. RendererMap accesses the object renderer map for this repository.
  21829. </summary>
  21830. <value>
  21831. RendererMap accesses the object renderer map for this repository.
  21832. </value>
  21833. <remarks>
  21834. <para>
  21835. RendererMap accesses the object renderer map for this repository.
  21836. </para>
  21837. <para>
  21838. The RendererMap holds a mapping between types and
  21839. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> objects.
  21840. </para>
  21841. </remarks>
  21842. </member>
  21843. <member name="P:log4net.Repository.ILoggerRepository.PluginMap">
  21844. <summary>
  21845. The plugin map for this repository.
  21846. </summary>
  21847. <value>
  21848. The plugin map for this repository.
  21849. </value>
  21850. <remarks>
  21851. <para>
  21852. The plugin map holds the <see cref="T:log4net.Plugin.IPlugin"/> instances
  21853. that have been attached to this repository.
  21854. </para>
  21855. </remarks>
  21856. </member>
  21857. <member name="P:log4net.Repository.ILoggerRepository.LevelMap">
  21858. <summary>
  21859. Get the level map for the Repository.
  21860. </summary>
  21861. <remarks>
  21862. <para>
  21863. Get the level map for the Repository.
  21864. </para>
  21865. <para>
  21866. The level map defines the mappings between
  21867. level names and <see cref="T:log4net.Core.Level"/> objects in
  21868. this repository.
  21869. </para>
  21870. </remarks>
  21871. </member>
  21872. <member name="P:log4net.Repository.ILoggerRepository.Threshold">
  21873. <summary>
  21874. The threshold for all events in this repository
  21875. </summary>
  21876. <value>
  21877. The threshold for all events in this repository
  21878. </value>
  21879. <remarks>
  21880. <para>
  21881. The threshold for all events in this repository.
  21882. </para>
  21883. </remarks>
  21884. </member>
  21885. <member name="P:log4net.Repository.ILoggerRepository.Configured">
  21886. <summary>
  21887. Flag indicates if this repository has been configured.
  21888. </summary>
  21889. <value>
  21890. Flag indicates if this repository has been configured.
  21891. </value>
  21892. <remarks>
  21893. <para>
  21894. Flag indicates if this repository has been configured.
  21895. </para>
  21896. </remarks>
  21897. </member>
  21898. <member name="P:log4net.Repository.ILoggerRepository.ConfigurationMessages">
  21899. <summary>
  21900. Collection of internal messages captured during the most
  21901. recent configuration process.
  21902. </summary>
  21903. </member>
  21904. <member name="E:log4net.Repository.ILoggerRepository.ShutdownEvent">
  21905. <summary>
  21906. Event to notify that the repository has been shutdown.
  21907. </summary>
  21908. <value>
  21909. Event to notify that the repository has been shutdown.
  21910. </value>
  21911. <remarks>
  21912. <para>
  21913. Event raised when the repository has been shutdown.
  21914. </para>
  21915. </remarks>
  21916. </member>
  21917. <member name="E:log4net.Repository.ILoggerRepository.ConfigurationReset">
  21918. <summary>
  21919. Event to notify that the repository has had its configuration reset.
  21920. </summary>
  21921. <value>
  21922. Event to notify that the repository has had its configuration reset.
  21923. </value>
  21924. <remarks>
  21925. <para>
  21926. Event raised when the repository's configuration has been
  21927. reset to default.
  21928. </para>
  21929. </remarks>
  21930. </member>
  21931. <member name="E:log4net.Repository.ILoggerRepository.ConfigurationChanged">
  21932. <summary>
  21933. Event to notify that the repository has had its configuration changed.
  21934. </summary>
  21935. <value>
  21936. Event to notify that the repository has had its configuration changed.
  21937. </value>
  21938. <remarks>
  21939. <para>
  21940. Event raised when the repository's configuration has been changed.
  21941. </para>
  21942. </remarks>
  21943. </member>
  21944. <member name="P:log4net.Repository.ILoggerRepository.Properties">
  21945. <summary>
  21946. Repository specific properties
  21947. </summary>
  21948. <value>
  21949. Repository specific properties
  21950. </value>
  21951. <remarks>
  21952. <para>
  21953. These properties can be specified on a repository specific basis.
  21954. </para>
  21955. </remarks>
  21956. </member>
  21957. <member name="M:log4net.Repository.LoggerRepositorySkeleton.#ctor">
  21958. <summary>
  21959. Default Constructor
  21960. </summary>
  21961. <remarks>
  21962. <para>
  21963. Initializes the repository with default (empty) properties.
  21964. </para>
  21965. </remarks>
  21966. </member>
  21967. <member name="M:log4net.Repository.LoggerRepositorySkeleton.#ctor(log4net.Util.PropertiesDictionary)">
  21968. <summary>
  21969. Construct the repository using specific properties
  21970. </summary>
  21971. <param name="properties">the properties to set for this repository</param>
  21972. <remarks>
  21973. <para>
  21974. Initializes the repository with specified properties.
  21975. </para>
  21976. </remarks>
  21977. </member>
  21978. <member name="M:log4net.Repository.LoggerRepositorySkeleton.Exists(System.String)">
  21979. <summary>
  21980. Test if logger exists
  21981. </summary>
  21982. <param name="name">The name of the logger to lookup</param>
  21983. <returns>The Logger object with the name specified</returns>
  21984. <remarks>
  21985. <para>
  21986. Check if the named logger exists in the repository. If so return
  21987. its reference, otherwise returns <c>null</c>.
  21988. </para>
  21989. </remarks>
  21990. </member>
  21991. <member name="M:log4net.Repository.LoggerRepositorySkeleton.GetCurrentLoggers">
  21992. <summary>
  21993. Returns all the currently defined loggers in the repository
  21994. </summary>
  21995. <returns>All the defined loggers</returns>
  21996. <remarks>
  21997. <para>
  21998. Returns all the currently defined loggers in the repository as an Array.
  21999. </para>
  22000. </remarks>
  22001. </member>
  22002. <member name="M:log4net.Repository.LoggerRepositorySkeleton.GetLogger(System.String)">
  22003. <summary>
  22004. Return a new logger instance
  22005. </summary>
  22006. <param name="name">The name of the logger to retrieve</param>
  22007. <returns>The logger object with the name specified</returns>
  22008. <remarks>
  22009. <para>
  22010. Return a new logger instance.
  22011. </para>
  22012. <para>
  22013. If a logger of that name already exists, then it will be
  22014. returned. Otherwise, a new logger will be instantiated and
  22015. then linked with its existing ancestors as well as children.
  22016. </para>
  22017. </remarks>
  22018. </member>
  22019. <member name="M:log4net.Repository.LoggerRepositorySkeleton.Shutdown">
  22020. <summary>
  22021. Shutdown the repository
  22022. </summary>
  22023. <remarks>
  22024. <para>
  22025. Shutdown the repository. Can be overridden in a subclass.
  22026. This base class implementation notifies the <see cref="E:log4net.Repository.LoggerRepositorySkeleton.ShutdownEvent"/>
  22027. listeners and all attached plugins of the shutdown event.
  22028. </para>
  22029. </remarks>
  22030. </member>
  22031. <member name="M:log4net.Repository.LoggerRepositorySkeleton.ResetConfiguration">
  22032. <summary>
  22033. Reset the repositories configuration to a default state
  22034. </summary>
  22035. <remarks>
  22036. <para>
  22037. Reset all values contained in this instance to their
  22038. default state.
  22039. </para>
  22040. <para>
  22041. Existing loggers are not removed. They are just reset.
  22042. </para>
  22043. <para>
  22044. This method should be used sparingly and with care as it will
  22045. block all logging until it is completed.
  22046. </para>
  22047. </remarks>
  22048. </member>
  22049. <member name="M:log4net.Repository.LoggerRepositorySkeleton.Log(log4net.Core.LoggingEvent)">
  22050. <summary>
  22051. Log the logEvent through this repository.
  22052. </summary>
  22053. <param name="logEvent">the event to log</param>
  22054. <remarks>
  22055. <para>
  22056. This method should not normally be used to log.
  22057. The <see cref="T:log4net.ILog"/> interface should be used
  22058. for routine logging. This interface can be obtained
  22059. using the <see cref="M:log4net.LogManager.GetLogger(string)"/> method.
  22060. </para>
  22061. <para>
  22062. The <c>logEvent</c> is delivered to the appropriate logger and
  22063. that logger is then responsible for logging the event.
  22064. </para>
  22065. </remarks>
  22066. </member>
  22067. <member name="M:log4net.Repository.LoggerRepositorySkeleton.GetAppenders">
  22068. <summary>
  22069. Returns all the Appenders that are configured as an Array.
  22070. </summary>
  22071. <returns>All the Appenders</returns>
  22072. <remarks>
  22073. <para>
  22074. Returns all the Appenders that are configured as an Array.
  22075. </para>
  22076. </remarks>
  22077. </member>
  22078. <member name="F:log4net.Repository.LoggerRepositorySkeleton.declaringType">
  22079. <summary>
  22080. The fully qualified type of the LoggerRepositorySkeleton class.
  22081. </summary>
  22082. <remarks>
  22083. Used by the internal logger to record the Type of the
  22084. log message.
  22085. </remarks>
  22086. </member>
  22087. <member name="M:log4net.Repository.LoggerRepositorySkeleton.AddRenderer(System.Type,log4net.ObjectRenderer.IObjectRenderer)">
  22088. <summary>
  22089. Adds an object renderer for a specific class.
  22090. </summary>
  22091. <param name="typeToRender">The type that will be rendered by the renderer supplied.</param>
  22092. <param name="rendererInstance">The object renderer used to render the object.</param>
  22093. <remarks>
  22094. <para>
  22095. Adds an object renderer for a specific class.
  22096. </para>
  22097. </remarks>
  22098. </member>
  22099. <member name="M:log4net.Repository.LoggerRepositorySkeleton.OnShutdown(System.EventArgs)">
  22100. <summary>
  22101. Notify the registered listeners that the repository is shutting down
  22102. </summary>
  22103. <param name="e">Empty EventArgs</param>
  22104. <remarks>
  22105. <para>
  22106. Notify any listeners that this repository is shutting down.
  22107. </para>
  22108. </remarks>
  22109. </member>
  22110. <member name="M:log4net.Repository.LoggerRepositorySkeleton.OnConfigurationReset(System.EventArgs)">
  22111. <summary>
  22112. Notify the registered listeners that the repository has had its configuration reset
  22113. </summary>
  22114. <param name="e">Empty EventArgs</param>
  22115. <remarks>
  22116. <para>
  22117. Notify any listeners that this repository's configuration has been reset.
  22118. </para>
  22119. </remarks>
  22120. </member>
  22121. <member name="M:log4net.Repository.LoggerRepositorySkeleton.OnConfigurationChanged(System.EventArgs)">
  22122. <summary>
  22123. Notify the registered listeners that the repository has had its configuration changed
  22124. </summary>
  22125. <param name="e">Empty EventArgs</param>
  22126. <remarks>
  22127. <para>
  22128. Notify any listeners that this repository's configuration has changed.
  22129. </para>
  22130. </remarks>
  22131. </member>
  22132. <member name="M:log4net.Repository.LoggerRepositorySkeleton.RaiseConfigurationChanged(System.EventArgs)">
  22133. <summary>
  22134. Raise a configuration changed event on this repository
  22135. </summary>
  22136. <param name="e">EventArgs.Empty</param>
  22137. <remarks>
  22138. <para>
  22139. Applications that programmatically change the configuration of the repository should
  22140. raise this event notification to notify listeners.
  22141. </para>
  22142. </remarks>
  22143. </member>
  22144. <member name="P:log4net.Repository.LoggerRepositorySkeleton.Name">
  22145. <summary>
  22146. The name of the repository
  22147. </summary>
  22148. <value>
  22149. The string name of the repository
  22150. </value>
  22151. <remarks>
  22152. <para>
  22153. The name of this repository. The name is
  22154. used to store and lookup the repositories
  22155. stored by the <see cref="T:log4net.Core.IRepositorySelector"/>.
  22156. </para>
  22157. </remarks>
  22158. </member>
  22159. <member name="P:log4net.Repository.LoggerRepositorySkeleton.Threshold">
  22160. <summary>
  22161. The threshold for all events in this repository
  22162. </summary>
  22163. <value>
  22164. The threshold for all events in this repository
  22165. </value>
  22166. <remarks>
  22167. <para>
  22168. The threshold for all events in this repository
  22169. </para>
  22170. </remarks>
  22171. </member>
  22172. <member name="P:log4net.Repository.LoggerRepositorySkeleton.RendererMap">
  22173. <summary>
  22174. RendererMap accesses the object renderer map for this repository.
  22175. </summary>
  22176. <value>
  22177. RendererMap accesses the object renderer map for this repository.
  22178. </value>
  22179. <remarks>
  22180. <para>
  22181. RendererMap accesses the object renderer map for this repository.
  22182. </para>
  22183. <para>
  22184. The RendererMap holds a mapping between types and
  22185. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> objects.
  22186. </para>
  22187. </remarks>
  22188. </member>
  22189. <member name="P:log4net.Repository.LoggerRepositorySkeleton.PluginMap">
  22190. <summary>
  22191. The plugin map for this repository.
  22192. </summary>
  22193. <value>
  22194. The plugin map for this repository.
  22195. </value>
  22196. <remarks>
  22197. <para>
  22198. The plugin map holds the <see cref="T:log4net.Plugin.IPlugin"/> instances
  22199. that have been attached to this repository.
  22200. </para>
  22201. </remarks>
  22202. </member>
  22203. <member name="P:log4net.Repository.LoggerRepositorySkeleton.LevelMap">
  22204. <summary>
  22205. Get the level map for the Repository.
  22206. </summary>
  22207. <remarks>
  22208. <para>
  22209. Get the level map for the Repository.
  22210. </para>
  22211. <para>
  22212. The level map defines the mappings between
  22213. level names and <see cref="T:log4net.Core.Level"/> objects in
  22214. this repository.
  22215. </para>
  22216. </remarks>
  22217. </member>
  22218. <member name="P:log4net.Repository.LoggerRepositorySkeleton.Configured">
  22219. <summary>
  22220. Flag indicates if this repository has been configured.
  22221. </summary>
  22222. <value>
  22223. Flag indicates if this repository has been configured.
  22224. </value>
  22225. <remarks>
  22226. <para>
  22227. Flag indicates if this repository has been configured.
  22228. </para>
  22229. </remarks>
  22230. </member>
  22231. <member name="P:log4net.Repository.LoggerRepositorySkeleton.ConfigurationMessages">
  22232. <summary>
  22233. Contains a list of internal messages captures during the
  22234. last configuration.
  22235. </summary>
  22236. </member>
  22237. <member name="E:log4net.Repository.LoggerRepositorySkeleton.ShutdownEvent">
  22238. <summary>
  22239. Event to notify that the repository has been shutdown.
  22240. </summary>
  22241. <value>
  22242. Event to notify that the repository has been shutdown.
  22243. </value>
  22244. <remarks>
  22245. <para>
  22246. Event raised when the repository has been shutdown.
  22247. </para>
  22248. </remarks>
  22249. </member>
  22250. <member name="E:log4net.Repository.LoggerRepositorySkeleton.ConfigurationReset">
  22251. <summary>
  22252. Event to notify that the repository has had its configuration reset.
  22253. </summary>
  22254. <value>
  22255. Event to notify that the repository has had its configuration reset.
  22256. </value>
  22257. <remarks>
  22258. <para>
  22259. Event raised when the repository's configuration has been
  22260. reset to default.
  22261. </para>
  22262. </remarks>
  22263. </member>
  22264. <member name="E:log4net.Repository.LoggerRepositorySkeleton.ConfigurationChanged">
  22265. <summary>
  22266. Event to notify that the repository has had its configuration changed.
  22267. </summary>
  22268. <value>
  22269. Event to notify that the repository has had its configuration changed.
  22270. </value>
  22271. <remarks>
  22272. <para>
  22273. Event raised when the repository's configuration has been changed.
  22274. </para>
  22275. </remarks>
  22276. </member>
  22277. <member name="P:log4net.Repository.LoggerRepositorySkeleton.Properties">
  22278. <summary>
  22279. Repository specific properties
  22280. </summary>
  22281. <value>
  22282. Repository specific properties
  22283. </value>
  22284. <remarks>
  22285. These properties can be specified on a repository specific basis
  22286. </remarks>
  22287. </member>
  22288. <member name="T:log4net.Repository.IBasicRepositoryConfigurator">
  22289. <summary>
  22290. Basic Configurator interface for repositories
  22291. </summary>
  22292. <remarks>
  22293. <para>
  22294. Interface used by basic configurator to configure a <see cref="T:log4net.Repository.ILoggerRepository"/>
  22295. with a default <see cref="T:log4net.Appender.IAppender"/>.
  22296. </para>
  22297. <para>
  22298. A <see cref="T:log4net.Repository.ILoggerRepository"/> should implement this interface to support
  22299. configuration by the <see cref="T:log4net.Config.BasicConfigurator"/>.
  22300. </para>
  22301. </remarks>
  22302. <author>Nicko Cadell</author>
  22303. <author>Gert Driesen</author>
  22304. </member>
  22305. <member name="M:log4net.Repository.IBasicRepositoryConfigurator.Configure(log4net.Appender.IAppender)">
  22306. <summary>
  22307. Initialize the repository using the specified appender
  22308. </summary>
  22309. <param name="appender">the appender to use to log all logging events</param>
  22310. <remarks>
  22311. <para>
  22312. Configure the repository to route all logging events to the
  22313. specified appender.
  22314. </para>
  22315. </remarks>
  22316. </member>
  22317. <member name="M:log4net.Repository.IBasicRepositoryConfigurator.Configure(log4net.Appender.IAppender[])">
  22318. <summary>
  22319. Initialize the repository using the specified appenders
  22320. </summary>
  22321. <param name="appenders">the appenders to use to log all logging events</param>
  22322. <remarks>
  22323. <para>
  22324. Configure the repository to route all logging events to the
  22325. specified appenders.
  22326. </para>
  22327. </remarks>
  22328. </member>
  22329. <member name="T:log4net.Repository.IXmlRepositoryConfigurator">
  22330. <summary>
  22331. Configure repository using XML
  22332. </summary>
  22333. <remarks>
  22334. <para>
  22335. Interface used by Xml configurator to configure a <see cref="T:log4net.Repository.ILoggerRepository"/>.
  22336. </para>
  22337. <para>
  22338. A <see cref="T:log4net.Repository.ILoggerRepository"/> should implement this interface to support
  22339. configuration by the <see cref="T:log4net.Config.XmlConfigurator"/>.
  22340. </para>
  22341. </remarks>
  22342. <author>Nicko Cadell</author>
  22343. <author>Gert Driesen</author>
  22344. </member>
  22345. <member name="M:log4net.Repository.IXmlRepositoryConfigurator.Configure(System.Xml.XmlElement)">
  22346. <summary>
  22347. Initialize the repository using the specified config
  22348. </summary>
  22349. <param name="element">the element containing the root of the config</param>
  22350. <remarks>
  22351. <para>
  22352. The schema for the XML configuration data is defined by
  22353. the implementation.
  22354. </para>
  22355. </remarks>
  22356. </member>
  22357. <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor">
  22358. <summary>
  22359. Default constructor
  22360. </summary>
  22361. <remarks>
  22362. <para>
  22363. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class.
  22364. </para>
  22365. </remarks>
  22366. </member>
  22367. <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor(log4net.Util.PropertiesDictionary)">
  22368. <summary>
  22369. Construct with properties
  22370. </summary>
  22371. <param name="properties">The properties to pass to this repository.</param>
  22372. <remarks>
  22373. <para>
  22374. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class.
  22375. </para>
  22376. </remarks>
  22377. </member>
  22378. <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor(log4net.Repository.Hierarchy.ILoggerFactory)">
  22379. <summary>
  22380. Construct with a logger factory
  22381. </summary>
  22382. <param name="loggerFactory">The factory to use to create new logger instances.</param>
  22383. <remarks>
  22384. <para>
  22385. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class with
  22386. the specified <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>.
  22387. </para>
  22388. </remarks>
  22389. </member>
  22390. <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor(log4net.Util.PropertiesDictionary,log4net.Repository.Hierarchy.ILoggerFactory)">
  22391. <summary>
  22392. Construct with properties and a logger factory
  22393. </summary>
  22394. <param name="properties">The properties to pass to this repository.</param>
  22395. <param name="loggerFactory">The factory to use to create new logger instances.</param>
  22396. <remarks>
  22397. <para>
  22398. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class with
  22399. the specified <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>.
  22400. </para>
  22401. </remarks>
  22402. </member>
  22403. <member name="M:log4net.Repository.Hierarchy.Hierarchy.Exists(System.String)">
  22404. <summary>
  22405. Test if a logger exists
  22406. </summary>
  22407. <param name="name">The name of the logger to lookup</param>
  22408. <returns>The Logger object with the name specified</returns>
  22409. <remarks>
  22410. <para>
  22411. Check if the named logger exists in the hierarchy. If so return
  22412. its reference, otherwise returns <c>null</c>.
  22413. </para>
  22414. </remarks>
  22415. </member>
  22416. <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetCurrentLoggers">
  22417. <summary>
  22418. Returns all the currently defined loggers in the hierarchy as an Array
  22419. </summary>
  22420. <returns>All the defined loggers</returns>
  22421. <remarks>
  22422. <para>
  22423. Returns all the currently defined loggers in the hierarchy as an Array.
  22424. The root logger is <b>not</b> included in the returned
  22425. enumeration.
  22426. </para>
  22427. </remarks>
  22428. </member>
  22429. <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetLogger(System.String)">
  22430. <summary>
  22431. Return a new logger instance named as the first parameter using
  22432. the default factory.
  22433. </summary>
  22434. <remarks>
  22435. <para>
  22436. Return a new logger instance named as the first parameter using
  22437. the default factory.
  22438. </para>
  22439. <para>
  22440. If a logger of that name already exists, then it will be
  22441. returned. Otherwise, a new logger will be instantiated and
  22442. then linked with its existing ancestors as well as children.
  22443. </para>
  22444. </remarks>
  22445. <param name="name">The name of the logger to retrieve</param>
  22446. <returns>The logger object with the name specified</returns>
  22447. </member>
  22448. <member name="M:log4net.Repository.Hierarchy.Hierarchy.Shutdown">
  22449. <summary>
  22450. Shutting down a hierarchy will <i>safely</i> close and remove
  22451. all appenders in all loggers including the root logger.
  22452. </summary>
  22453. <remarks>
  22454. <para>
  22455. Shutting down a hierarchy will <i>safely</i> close and remove
  22456. all appenders in all loggers including the root logger.
  22457. </para>
  22458. <para>
  22459. Some appenders need to be closed before the
  22460. application exists. Otherwise, pending logging events might be
  22461. lost.
  22462. </para>
  22463. <para>
  22464. The <c>Shutdown</c> method is careful to close nested
  22465. appenders before closing regular appenders. This is allows
  22466. configurations where a regular appender is attached to a logger
  22467. and again to a nested appender.
  22468. </para>
  22469. </remarks>
  22470. </member>
  22471. <member name="M:log4net.Repository.Hierarchy.Hierarchy.ResetConfiguration">
  22472. <summary>
  22473. Reset all values contained in this hierarchy instance to their default.
  22474. </summary>
  22475. <remarks>
  22476. <para>
  22477. Reset all values contained in this hierarchy instance to their
  22478. default. This removes all appenders from all loggers, sets
  22479. the level of all non-root loggers to <c>null</c>,
  22480. sets their additivity flag to <c>true</c> and sets the level
  22481. of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
  22482. message disabling is set its default "off" value.
  22483. </para>
  22484. <para>
  22485. Existing loggers are not removed. They are just reset.
  22486. </para>
  22487. <para>
  22488. This method should be used sparingly and with care as it will
  22489. block all logging until it is completed.
  22490. </para>
  22491. </remarks>
  22492. </member>
  22493. <member name="M:log4net.Repository.Hierarchy.Hierarchy.Log(log4net.Core.LoggingEvent)">
  22494. <summary>
  22495. Log the logEvent through this hierarchy.
  22496. </summary>
  22497. <param name="logEvent">the event to log</param>
  22498. <remarks>
  22499. <para>
  22500. This method should not normally be used to log.
  22501. The <see cref="T:log4net.ILog"/> interface should be used
  22502. for routine logging. This interface can be obtained
  22503. using the <see cref="M:log4net.LogManager.GetLogger(string)"/> method.
  22504. </para>
  22505. <para>
  22506. The <c>logEvent</c> is delivered to the appropriate logger and
  22507. that logger is then responsible for logging the event.
  22508. </para>
  22509. </remarks>
  22510. </member>
  22511. <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetAppenders">
  22512. <summary>
  22513. Returns all the Appenders that are currently configured
  22514. </summary>
  22515. <returns>An array containing all the currently configured appenders</returns>
  22516. <remarks>
  22517. <para>
  22518. Returns all the <see cref="T:log4net.Appender.IAppender"/> instances that are currently configured.
  22519. All the loggers are searched for appenders. The appenders may also be containers
  22520. for appenders and these are also searched for additional loggers.
  22521. </para>
  22522. <para>
  22523. The list returned is unordered but does not contain duplicates.
  22524. </para>
  22525. </remarks>
  22526. </member>
  22527. <member name="M:log4net.Repository.Hierarchy.Hierarchy.CollectAppender(System.Collections.ArrayList,log4net.Appender.IAppender)">
  22528. <summary>
  22529. Collect the appenders from an <see cref="T:log4net.Core.IAppenderAttachable"/>.
  22530. The appender may also be a container.
  22531. </summary>
  22532. <param name="appenderList"></param>
  22533. <param name="appender"></param>
  22534. </member>
  22535. <member name="M:log4net.Repository.Hierarchy.Hierarchy.CollectAppenders(System.Collections.ArrayList,log4net.Core.IAppenderAttachable)">
  22536. <summary>
  22537. Collect the appenders from an <see cref="T:log4net.Core.IAppenderAttachable"/> container
  22538. </summary>
  22539. <param name="appenderList"></param>
  22540. <param name="container"></param>
  22541. </member>
  22542. <member name="M:log4net.Repository.Hierarchy.Hierarchy.log4net#Repository#IBasicRepositoryConfigurator#Configure(log4net.Appender.IAppender)">
  22543. <summary>
  22544. Initialize the log4net system using the specified appender
  22545. </summary>
  22546. <param name="appender">the appender to use to log all logging events</param>
  22547. </member>
  22548. <member name="M:log4net.Repository.Hierarchy.Hierarchy.log4net#Repository#IBasicRepositoryConfigurator#Configure(log4net.Appender.IAppender[])">
  22549. <summary>
  22550. Initialize the log4net system using the specified appenders
  22551. </summary>
  22552. <param name="appenders">the appenders to use to log all logging events</param>
  22553. </member>
  22554. <member name="M:log4net.Repository.Hierarchy.Hierarchy.BasicRepositoryConfigure(log4net.Appender.IAppender[])">
  22555. <summary>
  22556. Initialize the log4net system using the specified appenders
  22557. </summary>
  22558. <param name="appenders">the appenders to use to log all logging events</param>
  22559. <remarks>
  22560. <para>
  22561. This method provides the same functionality as the
  22562. <see cref="M:IBasicRepositoryConfigurator.Configure(IAppender)"/> method implemented
  22563. on this object, but it is protected and therefore can be called by subclasses.
  22564. </para>
  22565. </remarks>
  22566. </member>
  22567. <member name="M:log4net.Repository.Hierarchy.Hierarchy.log4net#Repository#IXmlRepositoryConfigurator#Configure(System.Xml.XmlElement)">
  22568. <summary>
  22569. Initialize the log4net system using the specified config
  22570. </summary>
  22571. <param name="element">the element containing the root of the config</param>
  22572. </member>
  22573. <member name="M:log4net.Repository.Hierarchy.Hierarchy.XmlRepositoryConfigure(System.Xml.XmlElement)">
  22574. <summary>
  22575. Initialize the log4net system using the specified config
  22576. </summary>
  22577. <param name="element">the element containing the root of the config</param>
  22578. <remarks>
  22579. <para>
  22580. This method provides the same functionality as the
  22581. <see cref="M:IBasicRepositoryConfigurator.Configure(IAppender)"/> method implemented
  22582. on this object, but it is protected and therefore can be called by subclasses.
  22583. </para>
  22584. </remarks>
  22585. </member>
  22586. <member name="M:log4net.Repository.Hierarchy.Hierarchy.IsDisabled(log4net.Core.Level)">
  22587. <summary>
  22588. Test if this hierarchy is disabled for the specified <see cref="T:log4net.Core.Level"/>.
  22589. </summary>
  22590. <param name="level">The level to check against.</param>
  22591. <returns>
  22592. <c>true</c> if the repository is disabled for the level argument, <c>false</c> otherwise.
  22593. </returns>
  22594. <remarks>
  22595. <para>
  22596. If this hierarchy has not been configured then this method will
  22597. always return <c>true</c>.
  22598. </para>
  22599. <para>
  22600. This method will return <c>true</c> if this repository is
  22601. disabled for <c>level</c> object passed as parameter and
  22602. <c>false</c> otherwise.
  22603. </para>
  22604. <para>
  22605. See also the <see cref="P:log4net.Repository.ILoggerRepository.Threshold"/> property.
  22606. </para>
  22607. </remarks>
  22608. </member>
  22609. <member name="M:log4net.Repository.Hierarchy.Hierarchy.Clear">
  22610. <summary>
  22611. Clear all logger definitions from the internal hashtable
  22612. </summary>
  22613. <remarks>
  22614. <para>
  22615. This call will clear all logger definitions from the internal
  22616. hashtable. Invoking this method will irrevocably mess up the
  22617. logger hierarchy.
  22618. </para>
  22619. <para>
  22620. You should <b>really</b> know what you are doing before
  22621. invoking this method.
  22622. </para>
  22623. </remarks>
  22624. </member>
  22625. <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetLogger(System.String,log4net.Repository.Hierarchy.ILoggerFactory)">
  22626. <summary>
  22627. Return a new logger instance named as the first parameter using
  22628. <paramref name="factory"/>.
  22629. </summary>
  22630. <param name="name">The name of the logger to retrieve</param>
  22631. <param name="factory">The factory that will make the new logger instance</param>
  22632. <returns>The logger object with the name specified</returns>
  22633. <remarks>
  22634. <para>
  22635. If a logger of that name already exists, then it will be
  22636. returned. Otherwise, a new logger will be instantiated by the
  22637. <paramref name="factory"/> parameter and linked with its existing
  22638. ancestors as well as children.
  22639. </para>
  22640. </remarks>
  22641. </member>
  22642. <member name="M:log4net.Repository.Hierarchy.Hierarchy.OnLoggerCreationEvent(log4net.Repository.Hierarchy.Logger)">
  22643. <summary>
  22644. Sends a logger creation event to all registered listeners
  22645. </summary>
  22646. <param name="logger">The newly created logger</param>
  22647. <remarks>
  22648. Raises the logger creation event.
  22649. </remarks>
  22650. </member>
  22651. <member name="M:log4net.Repository.Hierarchy.Hierarchy.UpdateParents(log4net.Repository.Hierarchy.Logger)">
  22652. <summary>
  22653. Updates all the parents of the specified logger
  22654. </summary>
  22655. <param name="log">The logger to update the parents for</param>
  22656. <remarks>
  22657. <para>
  22658. This method loops through all the <i>potential</i> parents of
  22659. <paramref name="log"/>. There 3 possible cases:
  22660. </para>
  22661. <list type="number">
  22662. <item>
  22663. <term>No entry for the potential parent of <paramref name="log"/> exists</term>
  22664. <description>
  22665. We create a ProvisionNode for this potential
  22666. parent and insert <paramref name="log"/> in that provision node.
  22667. </description>
  22668. </item>
  22669. <item>
  22670. <term>The entry is of type Logger for the potential parent.</term>
  22671. <description>
  22672. The entry is <paramref name="log"/>'s nearest existing parent. We
  22673. update <paramref name="log"/>'s parent field with this entry. We also break from
  22674. he loop because updating our parent's parent is our parent's
  22675. responsibility.
  22676. </description>
  22677. </item>
  22678. <item>
  22679. <term>The entry is of type ProvisionNode for this potential parent.</term>
  22680. <description>
  22681. We add <paramref name="log"/> to the list of children for this
  22682. potential parent.
  22683. </description>
  22684. </item>
  22685. </list>
  22686. </remarks>
  22687. </member>
  22688. <member name="M:log4net.Repository.Hierarchy.Hierarchy.UpdateChildren(log4net.Repository.Hierarchy.ProvisionNode,log4net.Repository.Hierarchy.Logger)">
  22689. <summary>
  22690. Replace a <see cref="T:log4net.Repository.Hierarchy.ProvisionNode"/> with a <see cref="T:log4net.Repository.Hierarchy.Logger"/> in the hierarchy.
  22691. </summary>
  22692. <param name="pn"></param>
  22693. <param name="log"></param>
  22694. <remarks>
  22695. <para>
  22696. We update the links for all the children that placed themselves
  22697. in the provision node 'pn'. The second argument 'log' is a
  22698. reference for the newly created Logger, parent of all the
  22699. children in 'pn'.
  22700. </para>
  22701. <para>
  22702. We loop on all the children 'c' in 'pn'.
  22703. </para>
  22704. <para>
  22705. If the child 'c' has been already linked to a child of
  22706. 'log' then there is no need to update 'c'.
  22707. </para>
  22708. <para>
  22709. Otherwise, we set log's parent field to c's parent and set
  22710. c's parent field to log.
  22711. </para>
  22712. </remarks>
  22713. </member>
  22714. <member name="M:log4net.Repository.Hierarchy.Hierarchy.AddLevel(log4net.Repository.Hierarchy.Hierarchy.LevelEntry)">
  22715. <summary>
  22716. Define or redefine a Level using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument
  22717. </summary>
  22718. <param name="levelEntry">the level values</param>
  22719. <remarks>
  22720. <para>
  22721. Define or redefine a Level using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument
  22722. </para>
  22723. <para>
  22724. Supports setting levels via the configuration file.
  22725. </para>
  22726. </remarks>
  22727. </member>
  22728. <member name="M:log4net.Repository.Hierarchy.Hierarchy.AddProperty(log4net.Util.PropertyEntry)">
  22729. <summary>
  22730. Set a Property using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument
  22731. </summary>
  22732. <param name="propertyEntry">the property value</param>
  22733. <remarks>
  22734. <para>
  22735. Set a Property using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument.
  22736. </para>
  22737. <para>
  22738. Supports setting property values via the configuration file.
  22739. </para>
  22740. </remarks>
  22741. </member>
  22742. <member name="F:log4net.Repository.Hierarchy.Hierarchy.declaringType">
  22743. <summary>
  22744. The fully qualified type of the Hierarchy class.
  22745. </summary>
  22746. <remarks>
  22747. Used by the internal logger to record the Type of the
  22748. log message.
  22749. </remarks>
  22750. </member>
  22751. <member name="E:log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent">
  22752. <summary>
  22753. Event used to notify that a logger has been created.
  22754. </summary>
  22755. <remarks>
  22756. <para>
  22757. Event raised when a logger is created.
  22758. </para>
  22759. </remarks>
  22760. </member>
  22761. <member name="P:log4net.Repository.Hierarchy.Hierarchy.EmittedNoAppenderWarning">
  22762. <summary>
  22763. Has no appender warning been emitted
  22764. </summary>
  22765. <remarks>
  22766. <para>
  22767. Flag to indicate if we have already issued a warning
  22768. about not having an appender warning.
  22769. </para>
  22770. </remarks>
  22771. </member>
  22772. <member name="P:log4net.Repository.Hierarchy.Hierarchy.Root">
  22773. <summary>
  22774. Get the root of this hierarchy
  22775. </summary>
  22776. <remarks>
  22777. <para>
  22778. Get the root of this hierarchy.
  22779. </para>
  22780. </remarks>
  22781. </member>
  22782. <member name="P:log4net.Repository.Hierarchy.Hierarchy.LoggerFactory">
  22783. <summary>
  22784. Gets or sets the default <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/> instance.
  22785. </summary>
  22786. <value>The default <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/></value>
  22787. <remarks>
  22788. <para>
  22789. The logger factory is used to create logger instances.
  22790. </para>
  22791. </remarks>
  22792. </member>
  22793. <member name="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry">
  22794. <summary>
  22795. A class to hold the value, name and display name for a level
  22796. </summary>
  22797. <remarks>
  22798. <para>
  22799. A class to hold the value, name and display name for a level
  22800. </para>
  22801. </remarks>
  22802. </member>
  22803. <member name="M:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.ToString">
  22804. <summary>
  22805. Override <c>Object.ToString</c> to return sensible debug info
  22806. </summary>
  22807. <returns>string info about this object</returns>
  22808. </member>
  22809. <member name="P:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.Value">
  22810. <summary>
  22811. Value of the level
  22812. </summary>
  22813. <remarks>
  22814. <para>
  22815. If the value is not set (defaults to -1) the value will be looked
  22816. up for the current level with the same name.
  22817. </para>
  22818. </remarks>
  22819. </member>
  22820. <member name="P:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.Name">
  22821. <summary>
  22822. Name of the level
  22823. </summary>
  22824. <value>
  22825. The name of the level
  22826. </value>
  22827. <remarks>
  22828. <para>
  22829. The name of the level.
  22830. </para>
  22831. </remarks>
  22832. </member>
  22833. <member name="P:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.DisplayName">
  22834. <summary>
  22835. Display name for the level
  22836. </summary>
  22837. <value>
  22838. The display name of the level
  22839. </value>
  22840. <remarks>
  22841. <para>
  22842. The display name of the level.
  22843. </para>
  22844. </remarks>
  22845. </member>
  22846. <member name="T:log4net.Repository.Hierarchy.LoggerKey">
  22847. <summary>
  22848. Used internally to accelerate hash table searches.
  22849. </summary>
  22850. <remarks>
  22851. <para>
  22852. Internal class used to improve performance of
  22853. string keyed hashtables.
  22854. </para>
  22855. <para>
  22856. The hashcode of the string is cached for reuse.
  22857. The string is stored as an interned value.
  22858. When comparing two <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/> objects for equality
  22859. the reference equality of the interned strings is compared.
  22860. </para>
  22861. </remarks>
  22862. <author>Nicko Cadell</author>
  22863. <author>Gert Driesen</author>
  22864. </member>
  22865. <member name="M:log4net.Repository.Hierarchy.LoggerKey.#ctor(System.String)">
  22866. <summary>
  22867. Construct key with string name
  22868. </summary>
  22869. <remarks>
  22870. <para>
  22871. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/> class
  22872. with the specified name.
  22873. </para>
  22874. <para>
  22875. Stores the hashcode of the string and interns
  22876. the string key to optimize comparisons.
  22877. </para>
  22878. <note>
  22879. The Compact Framework 1.0 the <see cref="M:System.String.Intern(System.String)"/>
  22880. method does not work. On the Compact Framework
  22881. the string keys are not interned nor are they
  22882. compared by reference.
  22883. </note>
  22884. </remarks>
  22885. <param name="name">The name of the logger.</param>
  22886. </member>
  22887. <member name="M:log4net.Repository.Hierarchy.LoggerKey.GetHashCode">
  22888. <summary>
  22889. Returns a hash code for the current instance.
  22890. </summary>
  22891. <returns>A hash code for the current instance.</returns>
  22892. <remarks>
  22893. <para>
  22894. Returns the cached hashcode.
  22895. </para>
  22896. </remarks>
  22897. </member>
  22898. <member name="M:log4net.Repository.Hierarchy.LoggerKey.Equals(System.Object)">
  22899. <summary>
  22900. Determines whether two <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/> instances
  22901. are equal.
  22902. </summary>
  22903. <param name="obj">The <see cref="T:System.Object"/> to compare with the current <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/>.</param>
  22904. <returns>
  22905. <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>.
  22906. </returns>
  22907. <remarks>
  22908. <para>
  22909. Compares the references of the interned strings.
  22910. </para>
  22911. </remarks>
  22912. </member>
  22913. <member name="T:log4net.Repository.Hierarchy.ProvisionNode">
  22914. <summary>
  22915. Provision nodes are used where no logger instance has been specified
  22916. </summary>
  22917. <remarks>
  22918. <para>
  22919. <see cref="T:log4net.Repository.Hierarchy.ProvisionNode"/> instances are used in the
  22920. <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> when there is no specified
  22921. <see cref="T:log4net.Repository.Hierarchy.Logger"/> for that node.
  22922. </para>
  22923. <para>
  22924. A provision node holds a list of child loggers on behalf of
  22925. a logger that does not exist.
  22926. </para>
  22927. </remarks>
  22928. <author>Nicko Cadell</author>
  22929. <author>Gert Driesen</author>
  22930. </member>
  22931. <member name="M:log4net.Repository.Hierarchy.ProvisionNode.#ctor(log4net.Repository.Hierarchy.Logger)">
  22932. <summary>
  22933. Create a new provision node with child node
  22934. </summary>
  22935. <param name="log">A child logger to add to this node.</param>
  22936. <remarks>
  22937. <para>
  22938. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.ProvisionNode"/> class
  22939. with the specified child logger.
  22940. </para>
  22941. </remarks>
  22942. </member>
  22943. <member name="T:log4net.Repository.Hierarchy.RootLogger">
  22944. <summary>
  22945. The <see cref="T:log4net.Repository.Hierarchy.RootLogger"/> sits at the root of the logger hierarchy tree.
  22946. </summary>
  22947. <remarks>
  22948. <para>
  22949. The <see cref="T:log4net.Repository.Hierarchy.RootLogger"/> is a regular <see cref="T:log4net.Repository.Hierarchy.Logger"/> except
  22950. that it provides several guarantees.
  22951. </para>
  22952. <para>
  22953. First, it cannot be assigned a <c>null</c>
  22954. level. Second, since the root logger cannot have a parent, the
  22955. <see cref="P:log4net.Repository.Hierarchy.RootLogger.EffectiveLevel"/> property always returns the value of the
  22956. level field without walking the hierarchy.
  22957. </para>
  22958. </remarks>
  22959. <author>Nicko Cadell</author>
  22960. <author>Gert Driesen</author>
  22961. </member>
  22962. <member name="M:log4net.Repository.Hierarchy.RootLogger.#ctor(log4net.Core.Level)">
  22963. <summary>
  22964. Construct a <see cref="T:log4net.Repository.Hierarchy.RootLogger"/>
  22965. </summary>
  22966. <param name="level">The level to assign to the root logger.</param>
  22967. <remarks>
  22968. <para>
  22969. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.RootLogger"/> class with
  22970. the specified logging level.
  22971. </para>
  22972. <para>
  22973. The root logger names itself as "root". However, the root
  22974. logger cannot be retrieved by name.
  22975. </para>
  22976. </remarks>
  22977. </member>
  22978. <member name="F:log4net.Repository.Hierarchy.RootLogger.declaringType">
  22979. <summary>
  22980. The fully qualified type of the RootLogger class.
  22981. </summary>
  22982. <remarks>
  22983. Used by the internal logger to record the Type of the
  22984. log message.
  22985. </remarks>
  22986. </member>
  22987. <member name="P:log4net.Repository.Hierarchy.RootLogger.EffectiveLevel">
  22988. <summary>
  22989. Gets the assigned level value without walking the logger hierarchy.
  22990. </summary>
  22991. <value>The assigned level value without walking the logger hierarchy.</value>
  22992. <remarks>
  22993. <para>
  22994. Because the root logger cannot have a parent and its level
  22995. must not be <c>null</c> this property just returns the
  22996. value of <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/>.
  22997. </para>
  22998. </remarks>
  22999. </member>
  23000. <member name="P:log4net.Repository.Hierarchy.RootLogger.Level">
  23001. <summary>
  23002. Gets or sets the assigned <see cref="P:log4net.Repository.Hierarchy.RootLogger.Level"/> for the root logger.
  23003. </summary>
  23004. <value>
  23005. The <see cref="P:log4net.Repository.Hierarchy.RootLogger.Level"/> of the root logger.
  23006. </value>
  23007. <remarks>
  23008. <para>
  23009. Setting the level of the root logger to a <c>null</c> reference
  23010. may have catastrophic results. We prevent this here.
  23011. </para>
  23012. </remarks>
  23013. </member>
  23014. <member name="T:log4net.Repository.Hierarchy.XmlHierarchyConfigurator">
  23015. <summary>
  23016. Initializes the log4net environment using an XML DOM.
  23017. </summary>
  23018. <remarks>
  23019. <para>
  23020. Configures a <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> using an XML DOM.
  23021. </para>
  23022. </remarks>
  23023. <author>Nicko Cadell</author>
  23024. <author>Gert Driesen</author>
  23025. </member>
  23026. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.#ctor(log4net.Repository.Hierarchy.Hierarchy)">
  23027. <summary>
  23028. Construct the configurator for a hierarchy
  23029. </summary>
  23030. <param name="hierarchy">The hierarchy to build.</param>
  23031. <remarks>
  23032. <para>
  23033. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.XmlHierarchyConfigurator"/> class
  23034. with the specified <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
  23035. </para>
  23036. </remarks>
  23037. </member>
  23038. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.Configure(System.Xml.XmlElement)">
  23039. <summary>
  23040. Configure the hierarchy by parsing a DOM tree of XML elements.
  23041. </summary>
  23042. <param name="element">The root element to parse.</param>
  23043. <remarks>
  23044. <para>
  23045. Configure the hierarchy by parsing a DOM tree of XML elements.
  23046. </para>
  23047. </remarks>
  23048. </member>
  23049. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.FindAppenderByReference(System.Xml.XmlElement)">
  23050. <summary>
  23051. Parse appenders by IDREF.
  23052. </summary>
  23053. <param name="appenderRef">The appender ref element.</param>
  23054. <returns>The instance of the appender that the ref refers to.</returns>
  23055. <remarks>
  23056. <para>
  23057. Parse an XML element that represents an appender and return
  23058. the appender.
  23059. </para>
  23060. </remarks>
  23061. </member>
  23062. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender(System.Xml.XmlElement)">
  23063. <summary>
  23064. Parses an appender element.
  23065. </summary>
  23066. <param name="appenderElement">The appender element.</param>
  23067. <returns>The appender instance or <c>null</c> when parsing failed.</returns>
  23068. <remarks>
  23069. <para>
  23070. Parse an XML element that represents an appender and return
  23071. the appender instance.
  23072. </para>
  23073. </remarks>
  23074. </member>
  23075. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLogger(System.Xml.XmlElement)">
  23076. <summary>
  23077. Parses a logger element.
  23078. </summary>
  23079. <param name="loggerElement">The logger element.</param>
  23080. <remarks>
  23081. <para>
  23082. Parse an XML element that represents a logger.
  23083. </para>
  23084. </remarks>
  23085. </member>
  23086. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseRoot(System.Xml.XmlElement)">
  23087. <summary>
  23088. Parses the root logger element.
  23089. </summary>
  23090. <param name="rootElement">The root element.</param>
  23091. <remarks>
  23092. <para>
  23093. Parse an XML element that represents the root logger.
  23094. </para>
  23095. </remarks>
  23096. </member>
  23097. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseChildrenOfLoggerElement(System.Xml.XmlElement,log4net.Repository.Hierarchy.Logger,System.Boolean)">
  23098. <summary>
  23099. Parses the children of a logger element.
  23100. </summary>
  23101. <param name="catElement">The category element.</param>
  23102. <param name="log">The logger instance.</param>
  23103. <param name="isRoot">Flag to indicate if the logger is the root logger.</param>
  23104. <remarks>
  23105. <para>
  23106. Parse the child elements of a &lt;logger&gt; element.
  23107. </para>
  23108. </remarks>
  23109. </member>
  23110. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseRenderer(System.Xml.XmlElement)">
  23111. <summary>
  23112. Parses an object renderer.
  23113. </summary>
  23114. <param name="element">The renderer element.</param>
  23115. <remarks>
  23116. <para>
  23117. Parse an XML element that represents a renderer.
  23118. </para>
  23119. </remarks>
  23120. </member>
  23121. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLevel(System.Xml.XmlElement,log4net.Repository.Hierarchy.Logger,System.Boolean)">
  23122. <summary>
  23123. Parses a level element.
  23124. </summary>
  23125. <param name="element">The level element.</param>
  23126. <param name="log">The logger object to set the level on.</param>
  23127. <param name="isRoot">Flag to indicate if the logger is the root logger.</param>
  23128. <remarks>
  23129. <para>
  23130. Parse an XML element that represents a level.
  23131. </para>
  23132. </remarks>
  23133. </member>
  23134. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.SetParameter(System.Xml.XmlElement,System.Object)">
  23135. <summary>
  23136. Sets a parameter on an object.
  23137. </summary>
  23138. <param name="element">The parameter element.</param>
  23139. <param name="target">The object to set the parameter on.</param>
  23140. <remarks>
  23141. The parameter name must correspond to a writable property
  23142. on the object. The value of the parameter is a string,
  23143. therefore this function will attempt to set a string
  23144. property first. If unable to set a string property it
  23145. will inspect the property and its argument type. It will
  23146. attempt to call a static method called <c>Parse</c> on the
  23147. type of the property. This method will take a single
  23148. string argument and return a value that can be used to
  23149. set the property.
  23150. </remarks>
  23151. </member>
  23152. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.HasAttributesOrElements(System.Xml.XmlElement)">
  23153. <summary>
  23154. Test if an element has no attributes or child elements
  23155. </summary>
  23156. <param name="element">the element to inspect</param>
  23157. <returns><c>true</c> if the element has any attributes or child elements, <c>false</c> otherwise</returns>
  23158. </member>
  23159. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.IsTypeConstructible(System.Type)">
  23160. <summary>
  23161. Test if a <see cref="T:System.Type"/> is constructible with <c>Activator.CreateInstance</c>.
  23162. </summary>
  23163. <param name="type">the type to inspect</param>
  23164. <returns><c>true</c> if the type is creatable using a default constructor, <c>false</c> otherwise</returns>
  23165. </member>
  23166. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.FindMethodInfo(System.Type,System.String)">
  23167. <summary>
  23168. Look for a method on the <paramref name="targetType"/> that matches the <paramref name="name"/> supplied
  23169. </summary>
  23170. <param name="targetType">the type that has the method</param>
  23171. <param name="name">the name of the method</param>
  23172. <returns>the method info found</returns>
  23173. <remarks>
  23174. <para>
  23175. The method must be a public instance method on the <paramref name="targetType"/>.
  23176. The method must be named <paramref name="name"/> or "Add" followed by <paramref name="name"/>.
  23177. The method must take a single parameter.
  23178. </para>
  23179. </remarks>
  23180. </member>
  23181. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ConvertStringTo(System.Type,System.String)">
  23182. <summary>
  23183. Converts a string value to a target type.
  23184. </summary>
  23185. <param name="type">The type of object to convert the string to.</param>
  23186. <param name="value">The string value to use as the value of the object.</param>
  23187. <returns>
  23188. <para>
  23189. An object of type <paramref name="type"/> with value <paramref name="value"/> or
  23190. <c>null</c> when the conversion could not be performed.
  23191. </para>
  23192. </returns>
  23193. </member>
  23194. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.CreateObjectFromXml(System.Xml.XmlElement,System.Type,System.Type)">
  23195. <summary>
  23196. Creates an object as specified in XML.
  23197. </summary>
  23198. <param name="element">The XML element that contains the definition of the object.</param>
  23199. <param name="defaultTargetType">The object type to use if not explicitly specified.</param>
  23200. <param name="typeConstraint">The type that the returned object must be or must inherit from.</param>
  23201. <returns>The object or <c>null</c></returns>
  23202. <remarks>
  23203. <para>
  23204. Parse an XML element and create an object instance based on the configuration
  23205. data.
  23206. </para>
  23207. <para>
  23208. The type of the instance may be specified in the XML. If not
  23209. specified then the <paramref name="defaultTargetType"/> is used
  23210. as the type. However the type is specified it must support the
  23211. <paramref name="typeConstraint"/> type.
  23212. </para>
  23213. </remarks>
  23214. </member>
  23215. <member name="F:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.m_appenderBag">
  23216. <summary>
  23217. key: appenderName, value: appender.
  23218. </summary>
  23219. </member>
  23220. <member name="F:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.m_hierarchy">
  23221. <summary>
  23222. The Hierarchy being configured.
  23223. </summary>
  23224. </member>
  23225. <member name="F:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.declaringType">
  23226. <summary>
  23227. The fully qualified type of the XmlHierarchyConfigurator class.
  23228. </summary>
  23229. <remarks>
  23230. Used by the internal logger to record the Type of the
  23231. log message.
  23232. </remarks>
  23233. </member>
  23234. <member name="T:log4net.Repository.ConfigurationChangedEventArgs">
  23235. <summary>
  23236. </summary>
  23237. </member>
  23238. <member name="M:log4net.Repository.ConfigurationChangedEventArgs.#ctor(System.Collections.ICollection)">
  23239. <summary>
  23240. </summary>
  23241. <param name="configurationMessages"></param>
  23242. </member>
  23243. <member name="P:log4net.Repository.ConfigurationChangedEventArgs.ConfigurationMessages">
  23244. <summary>
  23245. </summary>
  23246. </member>
  23247. <member name="T:log4net.Repository.LoggerRepositoryShutdownEventHandler">
  23248. <summary>
  23249. Delegate used to handle logger repository shutdown event notifications
  23250. </summary>
  23251. <param name="sender">The <see cref="T:log4net.Repository.ILoggerRepository"/> that is shutting down.</param>
  23252. <param name="e">Empty event args</param>
  23253. <remarks>
  23254. <para>
  23255. Delegate used to handle logger repository shutdown event notifications.
  23256. </para>
  23257. </remarks>
  23258. </member>
  23259. <member name="T:log4net.Repository.LoggerRepositoryConfigurationResetEventHandler">
  23260. <summary>
  23261. Delegate used to handle logger repository configuration reset event notifications
  23262. </summary>
  23263. <param name="sender">The <see cref="T:log4net.Repository.ILoggerRepository"/> that has had its configuration reset.</param>
  23264. <param name="e">Empty event args</param>
  23265. <remarks>
  23266. <para>
  23267. Delegate used to handle logger repository configuration reset event notifications.
  23268. </para>
  23269. </remarks>
  23270. </member>
  23271. <member name="T:log4net.Repository.LoggerRepositoryConfigurationChangedEventHandler">
  23272. <summary>
  23273. Delegate used to handle event notifications for logger repository configuration changes.
  23274. </summary>
  23275. <param name="sender">The <see cref="T:log4net.Repository.ILoggerRepository"/> that has had its configuration changed.</param>
  23276. <param name="e">Empty event arguments.</param>
  23277. <remarks>
  23278. <para>
  23279. Delegate used to handle event notifications for logger repository configuration changes.
  23280. </para>
  23281. </remarks>
  23282. </member>
  23283. <member name="T:log4net.Util.PatternStringConverters.AppDomainPatternConverter">
  23284. <summary>
  23285. Write the name of the current AppDomain to the output
  23286. </summary>
  23287. <remarks>
  23288. <para>
  23289. Write the name of the current AppDomain to the output writer
  23290. </para>
  23291. </remarks>
  23292. <author>Nicko Cadell</author>
  23293. </member>
  23294. <member name="M:log4net.Util.PatternStringConverters.AppDomainPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23295. <summary>
  23296. Write the name of the current AppDomain to the output
  23297. </summary>
  23298. <param name="writer">the writer to write to</param>
  23299. <param name="state">null, state is not set</param>
  23300. <remarks>
  23301. <para>
  23302. Writes name of the current AppDomain to the output <paramref name="writer"/>.
  23303. </para>
  23304. </remarks>
  23305. </member>
  23306. <member name="T:log4net.Util.PatternStringConverters.DatePatternConverter">
  23307. <summary>
  23308. Write the current date to the output
  23309. </summary>
  23310. <remarks>
  23311. <para>
  23312. Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format
  23313. the current date and time to the writer as a string.
  23314. </para>
  23315. <para>
  23316. The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines
  23317. the formatting of the date. The following values are allowed:
  23318. <list type="definition">
  23319. <listheader>
  23320. <term>Option value</term>
  23321. <description>Output</description>
  23322. </listheader>
  23323. <item>
  23324. <term>ISO8601</term>
  23325. <description>
  23326. Uses the <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/> formatter.
  23327. Formats using the <c>"yyyy-MM-dd HH:mm:ss,fff"</c> pattern.
  23328. </description>
  23329. </item>
  23330. <item>
  23331. <term>DATE</term>
  23332. <description>
  23333. Uses the <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> formatter.
  23334. Formats using the <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example, <c>"06 Nov 1994 15:49:37,459"</c>.
  23335. </description>
  23336. </item>
  23337. <item>
  23338. <term>ABSOLUTE</term>
  23339. <description>
  23340. Uses the <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/> formatter.
  23341. Formats using the <c>"HH:mm:ss,fff"</c> for example, <c>"15:49:37,459"</c>.
  23342. </description>
  23343. </item>
  23344. <item>
  23345. <term>other</term>
  23346. <description>
  23347. Any other pattern string uses the <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/> formatter.
  23348. This formatter passes the pattern string to the <see cref="T:System.DateTime"/>
  23349. <see cref="M:DateTime.ToString(string)"/> method.
  23350. For details on valid patterns see
  23351. <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.asp">DateTimeFormatInfo Class</a>.
  23352. </description>
  23353. </item>
  23354. </list>
  23355. </para>
  23356. <para>
  23357. The date and time is in the local time zone and is rendered in that zone.
  23358. To output the time in Universal time see <see cref="T:log4net.Util.PatternStringConverters.UtcDatePatternConverter"/>.
  23359. </para>
  23360. </remarks>
  23361. <author>Nicko Cadell</author>
  23362. </member>
  23363. <member name="F:log4net.Util.PatternStringConverters.DatePatternConverter.m_dateFormatter">
  23364. <summary>
  23365. The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
  23366. </summary>
  23367. <remarks>
  23368. <para>
  23369. The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
  23370. </para>
  23371. </remarks>
  23372. </member>
  23373. <member name="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions">
  23374. <summary>
  23375. Initialize the converter options
  23376. </summary>
  23377. <remarks>
  23378. <para>
  23379. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  23380. activation scheme. The <see cref="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions"/> method must
  23381. be called on this object after the configuration properties have
  23382. been set. Until <see cref="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions"/> is called this
  23383. object is in an undefined state and must not be used.
  23384. </para>
  23385. <para>
  23386. If any of the configuration properties are modified then
  23387. <see cref="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions"/> must be called again.
  23388. </para>
  23389. </remarks>
  23390. </member>
  23391. <member name="M:log4net.Util.PatternStringConverters.DatePatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23392. <summary>
  23393. Write the current date to the output
  23394. </summary>
  23395. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  23396. <param name="state">null, state is not set</param>
  23397. <remarks>
  23398. <para>
  23399. Pass the current date and time to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
  23400. for it to render it to the writer.
  23401. </para>
  23402. <para>
  23403. The date and time passed is in the local time zone.
  23404. </para>
  23405. </remarks>
  23406. </member>
  23407. <member name="F:log4net.Util.PatternStringConverters.DatePatternConverter.declaringType">
  23408. <summary>
  23409. The fully qualified type of the DatePatternConverter class.
  23410. </summary>
  23411. <remarks>
  23412. Used by the internal logger to record the Type of the
  23413. log message.
  23414. </remarks>
  23415. </member>
  23416. <member name="T:log4net.Util.PatternStringConverters.EnvironmentFolderPathPatternConverter">
  23417. <summary>
  23418. Write an <see cref="T:System.Environment.SpecialFolder"/> folder path to the output
  23419. </summary>
  23420. <remarks>
  23421. <para>
  23422. Write an special path environment folder path to the output writer.
  23423. The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines
  23424. the name of the variable to output. <see cref="P:log4net.Util.PatternConverter.Option"/>
  23425. should be a value in the <see cref="T:System.Environment.SpecialFolder"/> enumeration.
  23426. </para>
  23427. </remarks>
  23428. <author>Ron Grabowski</author>
  23429. </member>
  23430. <member name="M:log4net.Util.PatternStringConverters.EnvironmentFolderPathPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23431. <summary>
  23432. Write an special path environment folder path to the output
  23433. </summary>
  23434. <param name="writer">the writer to write to</param>
  23435. <param name="state">null, state is not set</param>
  23436. <remarks>
  23437. <para>
  23438. Writes the special path environment folder path to the output <paramref name="writer"/>.
  23439. The name of the special path environment folder path to output must be set
  23440. using the <see cref="P:log4net.Util.PatternConverter.Option"/>
  23441. property.
  23442. </para>
  23443. </remarks>
  23444. </member>
  23445. <member name="F:log4net.Util.PatternStringConverters.EnvironmentFolderPathPatternConverter.declaringType">
  23446. <summary>
  23447. The fully qualified type of the EnvironmentFolderPathPatternConverter class.
  23448. </summary>
  23449. <remarks>
  23450. Used by the internal logger to record the Type of the
  23451. log message.
  23452. </remarks>
  23453. </member>
  23454. <member name="T:log4net.Util.PatternStringConverters.EnvironmentPatternConverter">
  23455. <summary>
  23456. Write an environment variable to the output
  23457. </summary>
  23458. <remarks>
  23459. <para>
  23460. Write an environment variable to the output writer.
  23461. The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines
  23462. the name of the variable to output.
  23463. </para>
  23464. </remarks>
  23465. <author>Nicko Cadell</author>
  23466. </member>
  23467. <member name="M:log4net.Util.PatternStringConverters.EnvironmentPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23468. <summary>
  23469. Write an environment variable to the output
  23470. </summary>
  23471. <param name="writer">the writer to write to</param>
  23472. <param name="state">null, state is not set</param>
  23473. <remarks>
  23474. <para>
  23475. Writes the environment variable to the output <paramref name="writer"/>.
  23476. The name of the environment variable to output must be set
  23477. using the <see cref="P:log4net.Util.PatternConverter.Option"/>
  23478. property.
  23479. </para>
  23480. </remarks>
  23481. </member>
  23482. <member name="F:log4net.Util.PatternStringConverters.EnvironmentPatternConverter.declaringType">
  23483. <summary>
  23484. The fully qualified type of the EnvironmentPatternConverter class.
  23485. </summary>
  23486. <remarks>
  23487. Used by the internal logger to record the Type of the
  23488. log message.
  23489. </remarks>
  23490. </member>
  23491. <member name="T:log4net.Util.PatternStringConverters.IdentityPatternConverter">
  23492. <summary>
  23493. Write the current thread identity to the output
  23494. </summary>
  23495. <remarks>
  23496. <para>
  23497. Write the current thread identity to the output writer
  23498. </para>
  23499. </remarks>
  23500. <author>Nicko Cadell</author>
  23501. </member>
  23502. <member name="M:log4net.Util.PatternStringConverters.IdentityPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23503. <summary>
  23504. Write the current thread identity to the output
  23505. </summary>
  23506. <param name="writer">the writer to write to</param>
  23507. <param name="state">null, state is not set</param>
  23508. <remarks>
  23509. <para>
  23510. Writes the current thread identity to the output <paramref name="writer"/>.
  23511. </para>
  23512. </remarks>
  23513. </member>
  23514. <member name="F:log4net.Util.PatternStringConverters.IdentityPatternConverter.declaringType">
  23515. <summary>
  23516. The fully qualified type of the IdentityPatternConverter class.
  23517. </summary>
  23518. <remarks>
  23519. Used by the internal logger to record the Type of the
  23520. log message.
  23521. </remarks>
  23522. </member>
  23523. <member name="T:log4net.Util.PatternStringConverters.LiteralPatternConverter">
  23524. <summary>
  23525. Pattern converter for literal string instances in the pattern
  23526. </summary>
  23527. <remarks>
  23528. <para>
  23529. Writes the literal string value specified in the
  23530. <see cref="P:log4net.Util.PatternConverter.Option"/> property to
  23531. the output.
  23532. </para>
  23533. </remarks>
  23534. <author>Nicko Cadell</author>
  23535. </member>
  23536. <member name="M:log4net.Util.PatternStringConverters.LiteralPatternConverter.SetNext(log4net.Util.PatternConverter)">
  23537. <summary>
  23538. Set the next converter in the chain
  23539. </summary>
  23540. <param name="pc">The next pattern converter in the chain</param>
  23541. <returns>The next pattern converter</returns>
  23542. <remarks>
  23543. <para>
  23544. Special case the building of the pattern converter chain
  23545. for <see cref="T:log4net.Util.PatternStringConverters.LiteralPatternConverter"/> instances. Two adjacent
  23546. literals in the pattern can be represented by a single combined
  23547. pattern converter. This implementation detects when a
  23548. <see cref="T:log4net.Util.PatternStringConverters.LiteralPatternConverter"/> is added to the chain
  23549. after this converter and combines its value with this converter's
  23550. literal value.
  23551. </para>
  23552. </remarks>
  23553. </member>
  23554. <member name="M:log4net.Util.PatternStringConverters.LiteralPatternConverter.Format(System.IO.TextWriter,System.Object)">
  23555. <summary>
  23556. Write the literal to the output
  23557. </summary>
  23558. <param name="writer">the writer to write to</param>
  23559. <param name="state">null, not set</param>
  23560. <remarks>
  23561. <para>
  23562. Override the formatting behavior to ignore the FormattingInfo
  23563. because we have a literal instead.
  23564. </para>
  23565. <para>
  23566. Writes the value of <see cref="P:log4net.Util.PatternConverter.Option"/>
  23567. to the output <paramref name="writer"/>.
  23568. </para>
  23569. </remarks>
  23570. </member>
  23571. <member name="M:log4net.Util.PatternStringConverters.LiteralPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23572. <summary>
  23573. Convert this pattern into the rendered message
  23574. </summary>
  23575. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  23576. <param name="state">null, not set</param>
  23577. <remarks>
  23578. <para>
  23579. This method is not used.
  23580. </para>
  23581. </remarks>
  23582. </member>
  23583. <member name="T:log4net.Util.PatternStringConverters.NewLinePatternConverter">
  23584. <summary>
  23585. Writes a newline to the output
  23586. </summary>
  23587. <remarks>
  23588. <para>
  23589. Writes the system dependent line terminator to the output.
  23590. This behavior can be overridden by setting the <see cref="P:log4net.Util.PatternConverter.Option"/>:
  23591. </para>
  23592. <list type="definition">
  23593. <listheader>
  23594. <term>Option Value</term>
  23595. <description>Output</description>
  23596. </listheader>
  23597. <item>
  23598. <term>DOS</term>
  23599. <description>DOS or Windows line terminator <c>"\r\n"</c></description>
  23600. </item>
  23601. <item>
  23602. <term>UNIX</term>
  23603. <description>UNIX line terminator <c>"\n"</c></description>
  23604. </item>
  23605. </list>
  23606. </remarks>
  23607. <author>Nicko Cadell</author>
  23608. </member>
  23609. <member name="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions">
  23610. <summary>
  23611. Initialize the converter
  23612. </summary>
  23613. <remarks>
  23614. <para>
  23615. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  23616. activation scheme. The <see cref="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions"/> method must
  23617. be called on this object after the configuration properties have
  23618. been set. Until <see cref="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions"/> is called this
  23619. object is in an undefined state and must not be used.
  23620. </para>
  23621. <para>
  23622. If any of the configuration properties are modified then
  23623. <see cref="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions"/> must be called again.
  23624. </para>
  23625. </remarks>
  23626. </member>
  23627. <member name="T:log4net.Util.PatternStringConverters.ProcessIdPatternConverter">
  23628. <summary>
  23629. Write the current process ID to the output
  23630. </summary>
  23631. <remarks>
  23632. <para>
  23633. Write the current process ID to the output writer
  23634. </para>
  23635. </remarks>
  23636. <author>Nicko Cadell</author>
  23637. </member>
  23638. <member name="M:log4net.Util.PatternStringConverters.ProcessIdPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23639. <summary>
  23640. Write the current process ID to the output
  23641. </summary>
  23642. <param name="writer">the writer to write to</param>
  23643. <param name="state">null, state is not set</param>
  23644. <remarks>
  23645. <para>
  23646. Write the current process ID to the output <paramref name="writer"/>.
  23647. </para>
  23648. </remarks>
  23649. </member>
  23650. <member name="F:log4net.Util.PatternStringConverters.ProcessIdPatternConverter.declaringType">
  23651. <summary>
  23652. The fully qualified type of the ProcessIdPatternConverter class.
  23653. </summary>
  23654. <remarks>
  23655. Used by the internal logger to record the Type of the
  23656. log message.
  23657. </remarks>
  23658. </member>
  23659. <member name="T:log4net.Util.PatternStringConverters.PropertyPatternConverter">
  23660. <summary>
  23661. Property pattern converter
  23662. </summary>
  23663. <remarks>
  23664. <para>
  23665. This pattern converter reads the thread and global properties.
  23666. The thread properties take priority over global properties.
  23667. See <see cref="P:log4net.ThreadContext.Properties"/> for details of the
  23668. thread properties. See <see cref="P:log4net.GlobalContext.Properties"/> for
  23669. details of the global properties.
  23670. </para>
  23671. <para>
  23672. If the <see cref="P:log4net.Util.PatternConverter.Option"/> is specified then that will be used to
  23673. lookup a single property. If no <see cref="P:log4net.Util.PatternConverter.Option"/> is specified
  23674. then all properties will be dumped as a list of key value pairs.
  23675. </para>
  23676. </remarks>
  23677. <author>Nicko Cadell</author>
  23678. </member>
  23679. <member name="M:log4net.Util.PatternStringConverters.PropertyPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23680. <summary>
  23681. Write the property value to the output
  23682. </summary>
  23683. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  23684. <param name="state">null, state is not set</param>
  23685. <remarks>
  23686. <para>
  23687. Writes out the value of a named property. The property name
  23688. should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
  23689. property.
  23690. </para>
  23691. <para>
  23692. If the <see cref="P:log4net.Util.PatternConverter.Option"/> is set to <c>null</c>
  23693. then all the properties are written as key value pairs.
  23694. </para>
  23695. </remarks>
  23696. </member>
  23697. <member name="T:log4net.Util.PatternStringConverters.RandomStringPatternConverter">
  23698. <summary>
  23699. A Pattern converter that generates a string of random characters
  23700. </summary>
  23701. <remarks>
  23702. <para>
  23703. The converter generates a string of random characters. By default
  23704. the string is length 4. This can be changed by setting the <see cref="P:log4net.Util.PatternConverter.Option"/>
  23705. to the string value of the length required.
  23706. </para>
  23707. <para>
  23708. The random characters in the string are limited to uppercase letters
  23709. and numbers only.
  23710. </para>
  23711. <para>
  23712. The random number generator used by this class is not cryptographically secure.
  23713. </para>
  23714. </remarks>
  23715. <author>Nicko Cadell</author>
  23716. </member>
  23717. <member name="F:log4net.Util.PatternStringConverters.RandomStringPatternConverter.s_random">
  23718. <summary>
  23719. Shared random number generator
  23720. </summary>
  23721. </member>
  23722. <member name="F:log4net.Util.PatternStringConverters.RandomStringPatternConverter.m_length">
  23723. <summary>
  23724. Length of random string to generate. Default length 4.
  23725. </summary>
  23726. </member>
  23727. <member name="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions">
  23728. <summary>
  23729. Initialize the converter options
  23730. </summary>
  23731. <remarks>
  23732. <para>
  23733. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  23734. activation scheme. The <see cref="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions"/> method must
  23735. be called on this object after the configuration properties have
  23736. been set. Until <see cref="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions"/> is called this
  23737. object is in an undefined state and must not be used.
  23738. </para>
  23739. <para>
  23740. If any of the configuration properties are modified then
  23741. <see cref="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions"/> must be called again.
  23742. </para>
  23743. </remarks>
  23744. </member>
  23745. <member name="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23746. <summary>
  23747. Write a randoim string to the output
  23748. </summary>
  23749. <param name="writer">the writer to write to</param>
  23750. <param name="state">null, state is not set</param>
  23751. <remarks>
  23752. <para>
  23753. Write a randoim string to the output <paramref name="writer"/>.
  23754. </para>
  23755. </remarks>
  23756. </member>
  23757. <member name="F:log4net.Util.PatternStringConverters.RandomStringPatternConverter.declaringType">
  23758. <summary>
  23759. The fully qualified type of the RandomStringPatternConverter class.
  23760. </summary>
  23761. <remarks>
  23762. Used by the internal logger to record the Type of the
  23763. log message.
  23764. </remarks>
  23765. </member>
  23766. <member name="T:log4net.Util.PatternStringConverters.UserNamePatternConverter">
  23767. <summary>
  23768. Write the current threads username to the output
  23769. </summary>
  23770. <remarks>
  23771. <para>
  23772. Write the current threads username to the output writer
  23773. </para>
  23774. </remarks>
  23775. <author>Nicko Cadell</author>
  23776. </member>
  23777. <member name="M:log4net.Util.PatternStringConverters.UserNamePatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23778. <summary>
  23779. Write the current threads username to the output
  23780. </summary>
  23781. <param name="writer">the writer to write to</param>
  23782. <param name="state">null, state is not set</param>
  23783. <remarks>
  23784. <para>
  23785. Write the current threads username to the output <paramref name="writer"/>.
  23786. </para>
  23787. </remarks>
  23788. </member>
  23789. <member name="F:log4net.Util.PatternStringConverters.UserNamePatternConverter.declaringType">
  23790. <summary>
  23791. The fully qualified type of the UserNamePatternConverter class.
  23792. </summary>
  23793. <remarks>
  23794. Used by the internal logger to record the Type of the
  23795. log message.
  23796. </remarks>
  23797. </member>
  23798. <member name="T:log4net.Util.PatternStringConverters.UtcDatePatternConverter">
  23799. <summary>
  23800. Write the UTC date time to the output
  23801. </summary>
  23802. <remarks>
  23803. <para>
  23804. Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format
  23805. the current date and time in Universal time.
  23806. </para>
  23807. <para>
  23808. See the <see cref="T:log4net.Util.PatternStringConverters.DatePatternConverter"/> for details on the date pattern syntax.
  23809. </para>
  23810. </remarks>
  23811. <seealso cref="T:log4net.Util.PatternStringConverters.DatePatternConverter"/>
  23812. <author>Nicko Cadell</author>
  23813. </member>
  23814. <member name="M:log4net.Util.PatternStringConverters.UtcDatePatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23815. <summary>
  23816. Write the current date and time to the output
  23817. </summary>
  23818. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  23819. <param name="state">null, state is not set</param>
  23820. <remarks>
  23821. <para>
  23822. Pass the current date and time to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
  23823. for it to render it to the writer.
  23824. </para>
  23825. <para>
  23826. The date is in Universal time when it is rendered.
  23827. </para>
  23828. </remarks>
  23829. <seealso cref="T:log4net.Util.PatternStringConverters.DatePatternConverter"/>
  23830. </member>
  23831. <member name="F:log4net.Util.PatternStringConverters.UtcDatePatternConverter.declaringType">
  23832. <summary>
  23833. The fully qualified type of the UtcDatePatternConverter class.
  23834. </summary>
  23835. <remarks>
  23836. Used by the internal logger to record the Type of the
  23837. log message.
  23838. </remarks>
  23839. </member>
  23840. <member name="T:log4net.Util.TypeConverters.BooleanConverter">
  23841. <summary>
  23842. Type converter for Boolean.
  23843. </summary>
  23844. <remarks>
  23845. <para>
  23846. Supports conversion from string to <c>bool</c> type.
  23847. </para>
  23848. </remarks>
  23849. <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
  23850. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  23851. <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
  23852. <author>Nicko Cadell</author>
  23853. <author>Gert Driesen</author>
  23854. </member>
  23855. <member name="M:log4net.Util.TypeConverters.BooleanConverter.CanConvertFrom(System.Type)">
  23856. <summary>
  23857. Can the source type be converted to the type supported by this object
  23858. </summary>
  23859. <param name="sourceType">the type to convert</param>
  23860. <returns>true if the conversion is possible</returns>
  23861. <remarks>
  23862. <para>
  23863. Returns <c>true</c> if the <paramref name="sourceType"/> is
  23864. the <see cref="T:System.String"/> type.
  23865. </para>
  23866. </remarks>
  23867. </member>
  23868. <member name="M:log4net.Util.TypeConverters.BooleanConverter.ConvertFrom(System.Object)">
  23869. <summary>
  23870. Convert the source object to the type supported by this object
  23871. </summary>
  23872. <param name="source">the object to convert</param>
  23873. <returns>the converted object</returns>
  23874. <remarks>
  23875. <para>
  23876. Uses the <see cref="M:System.Boolean.Parse(System.String)"/> method to convert the
  23877. <see cref="T:System.String"/> argument to a <see cref="T:System.Boolean"/>.
  23878. </para>
  23879. </remarks>
  23880. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  23881. The <paramref name="source"/> object cannot be converted to the
  23882. target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.BooleanConverter.CanConvertFrom(System.Type)"/>
  23883. method.
  23884. </exception>
  23885. </member>
  23886. <member name="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  23887. <summary>
  23888. Exception base type for conversion errors.
  23889. </summary>
  23890. <remarks>
  23891. <para>
  23892. This type extends <see cref="T:System.ApplicationException"/>. It
  23893. does not add any new functionality but does differentiate the
  23894. type of exception being thrown.
  23895. </para>
  23896. </remarks>
  23897. <author>Nicko Cadell</author>
  23898. <author>Gert Driesen</author>
  23899. </member>
  23900. <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor">
  23901. <summary>
  23902. Constructor
  23903. </summary>
  23904. <remarks>
  23905. <para>
  23906. Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
  23907. </para>
  23908. </remarks>
  23909. </member>
  23910. <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor(System.String)">
  23911. <summary>
  23912. Constructor
  23913. </summary>
  23914. <param name="message">A message to include with the exception.</param>
  23915. <remarks>
  23916. <para>
  23917. Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class
  23918. with the specified message.
  23919. </para>
  23920. </remarks>
  23921. </member>
  23922. <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor(System.String,System.Exception)">
  23923. <summary>
  23924. Constructor
  23925. </summary>
  23926. <param name="message">A message to include with the exception.</param>
  23927. <param name="innerException">A nested exception to include.</param>
  23928. <remarks>
  23929. <para>
  23930. Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class
  23931. with the specified message and inner exception.
  23932. </para>
  23933. </remarks>
  23934. </member>
  23935. <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  23936. <summary>
  23937. Serialization constructor
  23938. </summary>
  23939. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
  23940. <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  23941. <remarks>
  23942. <para>
  23943. Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class
  23944. with serialized data.
  23945. </para>
  23946. </remarks>
  23947. </member>
  23948. <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.Create(System.Type,System.Object)">
  23949. <summary>
  23950. Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
  23951. </summary>
  23952. <param name="destinationType">The conversion destination type.</param>
  23953. <param name="sourceValue">The value to convert.</param>
  23954. <returns>An instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/>.</returns>
  23955. <remarks>
  23956. <para>
  23957. Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
  23958. </para>
  23959. </remarks>
  23960. </member>
  23961. <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.Create(System.Type,System.Object,System.Exception)">
  23962. <summary>
  23963. Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
  23964. </summary>
  23965. <param name="destinationType">The conversion destination type.</param>
  23966. <param name="sourceValue">The value to convert.</param>
  23967. <param name="innerException">A nested exception to include.</param>
  23968. <returns>An instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/>.</returns>
  23969. <remarks>
  23970. <para>
  23971. Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
  23972. </para>
  23973. </remarks>
  23974. </member>
  23975. <member name="T:log4net.Util.TypeConverters.ConverterRegistry">
  23976. <summary>
  23977. Register of type converters for specific types.
  23978. </summary>
  23979. <remarks>
  23980. <para>
  23981. Maintains a registry of type converters used to convert between
  23982. types.
  23983. </para>
  23984. <para>
  23985. Use the <see cref="M:AddConverter(Type, object)"/> and
  23986. <see cref="M:AddConverter(Type, Type)"/> methods to register new converters.
  23987. 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
  23988. lookup appropriate converters to use.
  23989. </para>
  23990. </remarks>
  23991. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  23992. <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
  23993. <author>Nicko Cadell</author>
  23994. <author>Gert Driesen</author>
  23995. </member>
  23996. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.#ctor">
  23997. <summary>
  23998. Private constructor
  23999. </summary>
  24000. <remarks>
  24001. Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConverterRegistry"/> class.
  24002. </remarks>
  24003. </member>
  24004. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.#cctor">
  24005. <summary>
  24006. Static constructor.
  24007. </summary>
  24008. <remarks>
  24009. <para>
  24010. This constructor defines the intrinsic type converters.
  24011. </para>
  24012. </remarks>
  24013. </member>
  24014. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.AddConverter(System.Type,System.Object)">
  24015. <summary>
  24016. Adds a converter for a specific type.
  24017. </summary>
  24018. <param name="destinationType">The type being converted to.</param>
  24019. <param name="converter">The type converter to use to convert to the destination type.</param>
  24020. <remarks>
  24021. <para>
  24022. Adds a converter instance for a specific type.
  24023. </para>
  24024. </remarks>
  24025. </member>
  24026. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.AddConverter(System.Type,System.Type)">
  24027. <summary>
  24028. Adds a converter for a specific type.
  24029. </summary>
  24030. <param name="destinationType">The type being converted to.</param>
  24031. <param name="converterType">The type of the type converter to use to convert to the destination type.</param>
  24032. <remarks>
  24033. <para>
  24034. Adds a converter <see cref="T:System.Type"/> for a specific type.
  24035. </para>
  24036. </remarks>
  24037. </member>
  24038. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertTo(System.Type,System.Type)">
  24039. <summary>
  24040. Gets the type converter to use to convert values to the destination type.
  24041. </summary>
  24042. <param name="sourceType">The type being converted from.</param>
  24043. <param name="destinationType">The type being converted to.</param>
  24044. <returns>
  24045. The type converter instance to use for type conversions or <c>null</c>
  24046. if no type converter is found.
  24047. </returns>
  24048. <remarks>
  24049. <para>
  24050. Gets the type converter to use to convert values to the destination type.
  24051. </para>
  24052. </remarks>
  24053. </member>
  24054. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertFrom(System.Type)">
  24055. <summary>
  24056. Gets the type converter to use to convert values to the destination type.
  24057. </summary>
  24058. <param name="destinationType">The type being converted to.</param>
  24059. <returns>
  24060. The type converter instance to use for type conversions or <c>null</c>
  24061. if no type converter is found.
  24062. </returns>
  24063. <remarks>
  24064. <para>
  24065. Gets the type converter to use to convert values to the destination type.
  24066. </para>
  24067. </remarks>
  24068. </member>
  24069. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.GetConverterFromAttribute(System.Type)">
  24070. <summary>
  24071. Lookups the type converter to use as specified by the attributes on the
  24072. destination type.
  24073. </summary>
  24074. <param name="destinationType">The type being converted to.</param>
  24075. <returns>
  24076. The type converter instance to use for type conversions or <c>null</c>
  24077. if no type converter is found.
  24078. </returns>
  24079. </member>
  24080. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.CreateConverterInstance(System.Type)">
  24081. <summary>
  24082. Creates the instance of the type converter.
  24083. </summary>
  24084. <param name="converterType">The type of the type converter.</param>
  24085. <returns>
  24086. The type converter instance to use for type conversions or <c>null</c>
  24087. if no type converter is found.
  24088. </returns>
  24089. <remarks>
  24090. <para>
  24091. The type specified for the type converter must implement
  24092. the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/> or <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces
  24093. and must have a public default (no argument) constructor.
  24094. </para>
  24095. </remarks>
  24096. </member>
  24097. <member name="F:log4net.Util.TypeConverters.ConverterRegistry.declaringType">
  24098. <summary>
  24099. The fully qualified type of the ConverterRegistry class.
  24100. </summary>
  24101. <remarks>
  24102. Used by the internal logger to record the Type of the
  24103. log message.
  24104. </remarks>
  24105. </member>
  24106. <member name="F:log4net.Util.TypeConverters.ConverterRegistry.s_type2converter">
  24107. <summary>
  24108. Mapping from <see cref="T:System.Type"/> to type converter.
  24109. </summary>
  24110. </member>
  24111. <member name="T:log4net.Util.TypeConverters.EncodingConverter">
  24112. <summary>
  24113. Supports conversion from string to <see cref="T:System.Text.Encoding"/> type.
  24114. </summary>
  24115. <remarks>
  24116. <para>
  24117. Supports conversion from string to <see cref="T:System.Text.Encoding"/> type.
  24118. </para>
  24119. </remarks>
  24120. <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
  24121. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24122. <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
  24123. <author>Nicko Cadell</author>
  24124. <author>Gert Driesen</author>
  24125. </member>
  24126. <member name="M:log4net.Util.TypeConverters.EncodingConverter.CanConvertFrom(System.Type)">
  24127. <summary>
  24128. Can the source type be converted to the type supported by this object
  24129. </summary>
  24130. <param name="sourceType">the type to convert</param>
  24131. <returns>true if the conversion is possible</returns>
  24132. <remarks>
  24133. <para>
  24134. Returns <c>true</c> if the <paramref name="sourceType"/> is
  24135. the <see cref="T:System.String"/> type.
  24136. </para>
  24137. </remarks>
  24138. </member>
  24139. <member name="M:log4net.Util.TypeConverters.EncodingConverter.ConvertFrom(System.Object)">
  24140. <summary>
  24141. Overrides the ConvertFrom method of IConvertFrom.
  24142. </summary>
  24143. <param name="source">the object to convert to an encoding</param>
  24144. <returns>the encoding</returns>
  24145. <remarks>
  24146. <para>
  24147. Uses the <see cref="M:Encoding.GetEncoding(string)"/> method to
  24148. convert the <see cref="T:System.String"/> argument to an <see cref="T:System.Text.Encoding"/>.
  24149. </para>
  24150. </remarks>
  24151. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24152. The <paramref name="source"/> object cannot be converted to the
  24153. target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.EncodingConverter.CanConvertFrom(System.Type)"/>
  24154. method.
  24155. </exception>
  24156. </member>
  24157. <member name="T:log4net.Util.TypeConverters.IConvertTo">
  24158. <summary>
  24159. Interface supported by type converters
  24160. </summary>
  24161. <remarks>
  24162. <para>
  24163. This interface supports conversion from a single type to arbitrary types.
  24164. See <see cref="T:log4net.Util.TypeConverters.TypeConverterAttribute"/>.
  24165. </para>
  24166. </remarks>
  24167. <author>Nicko Cadell</author>
  24168. </member>
  24169. <member name="M:log4net.Util.TypeConverters.IConvertTo.CanConvertTo(System.Type)">
  24170. <summary>
  24171. Returns whether this converter can convert the object to the specified type
  24172. </summary>
  24173. <param name="targetType">A Type that represents the type you want to convert to</param>
  24174. <returns>true if the conversion is possible</returns>
  24175. <remarks>
  24176. <para>
  24177. Test if the type supported by this converter can be converted to the
  24178. <paramref name="targetType"/>.
  24179. </para>
  24180. </remarks>
  24181. </member>
  24182. <member name="M:log4net.Util.TypeConverters.IConvertTo.ConvertTo(System.Object,System.Type)">
  24183. <summary>
  24184. Converts the given value object to the specified type, using the arguments
  24185. </summary>
  24186. <param name="source">the object to convert</param>
  24187. <param name="targetType">The Type to convert the value parameter to</param>
  24188. <returns>the converted object</returns>
  24189. <remarks>
  24190. <para>
  24191. Converts the <paramref name="source"/> (which must be of the type supported
  24192. by this converter) to the <paramref name="targetType"/> specified..
  24193. </para>
  24194. </remarks>
  24195. </member>
  24196. <member name="T:log4net.Util.TypeConverters.IPAddressConverter">
  24197. <summary>
  24198. Supports conversion from string to <see cref="T:System.Net.IPAddress"/> type.
  24199. </summary>
  24200. <remarks>
  24201. <para>
  24202. Supports conversion from string to <see cref="T:System.Net.IPAddress"/> type.
  24203. </para>
  24204. </remarks>
  24205. <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
  24206. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24207. <author>Nicko Cadell</author>
  24208. </member>
  24209. <member name="M:log4net.Util.TypeConverters.IPAddressConverter.CanConvertFrom(System.Type)">
  24210. <summary>
  24211. Can the source type be converted to the type supported by this object
  24212. </summary>
  24213. <param name="sourceType">the type to convert</param>
  24214. <returns>true if the conversion is possible</returns>
  24215. <remarks>
  24216. <para>
  24217. Returns <c>true</c> if the <paramref name="sourceType"/> is
  24218. the <see cref="T:System.String"/> type.
  24219. </para>
  24220. </remarks>
  24221. </member>
  24222. <member name="M:log4net.Util.TypeConverters.IPAddressConverter.ConvertFrom(System.Object)">
  24223. <summary>
  24224. Overrides the ConvertFrom method of IConvertFrom.
  24225. </summary>
  24226. <param name="source">the object to convert to an IPAddress</param>
  24227. <returns>the IPAddress</returns>
  24228. <remarks>
  24229. <para>
  24230. Uses the <see cref="M:System.Net.IPAddress.Parse(System.String)"/> method to convert the
  24231. <see cref="T:System.String"/> argument to an <see cref="T:System.Net.IPAddress"/>.
  24232. If that fails then the string is resolved as a DNS hostname.
  24233. </para>
  24234. </remarks>
  24235. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24236. The <paramref name="source"/> object cannot be converted to the
  24237. target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.IPAddressConverter.CanConvertFrom(System.Type)"/>
  24238. method.
  24239. </exception>
  24240. </member>
  24241. <member name="F:log4net.Util.TypeConverters.IPAddressConverter.validIpAddressChars">
  24242. <summary>
  24243. Valid characters in an IPv4 or IPv6 address string. (Does not support subnets)
  24244. </summary>
  24245. </member>
  24246. <member name="T:log4net.Util.TypeConverters.PatternLayoutConverter">
  24247. <summary>
  24248. Supports conversion from string to <see cref="T:log4net.Layout.PatternLayout"/> type.
  24249. </summary>
  24250. <remarks>
  24251. <para>
  24252. Supports conversion from string to <see cref="T:log4net.Layout.PatternLayout"/> type.
  24253. </para>
  24254. <para>
  24255. The string is used as the <see cref="P:log4net.Layout.PatternLayout.ConversionPattern"/>
  24256. of the <see cref="T:log4net.Layout.PatternLayout"/>.
  24257. </para>
  24258. </remarks>
  24259. <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
  24260. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24261. <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
  24262. <author>Nicko Cadell</author>
  24263. </member>
  24264. <member name="M:log4net.Util.TypeConverters.PatternLayoutConverter.CanConvertFrom(System.Type)">
  24265. <summary>
  24266. Can the source type be converted to the type supported by this object
  24267. </summary>
  24268. <param name="sourceType">the type to convert</param>
  24269. <returns>true if the conversion is possible</returns>
  24270. <remarks>
  24271. <para>
  24272. Returns <c>true</c> if the <paramref name="sourceType"/> is
  24273. the <see cref="T:System.String"/> type.
  24274. </para>
  24275. </remarks>
  24276. </member>
  24277. <member name="M:log4net.Util.TypeConverters.PatternLayoutConverter.ConvertFrom(System.Object)">
  24278. <summary>
  24279. Overrides the ConvertFrom method of IConvertFrom.
  24280. </summary>
  24281. <param name="source">the object to convert to a PatternLayout</param>
  24282. <returns>the PatternLayout</returns>
  24283. <remarks>
  24284. <para>
  24285. Creates and returns a new <see cref="T:log4net.Layout.PatternLayout"/> using
  24286. the <paramref name="source"/> <see cref="T:System.String"/> as the
  24287. <see cref="P:log4net.Layout.PatternLayout.ConversionPattern"/>.
  24288. </para>
  24289. </remarks>
  24290. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24291. The <paramref name="source"/> object cannot be converted to the
  24292. target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.PatternLayoutConverter.CanConvertFrom(System.Type)"/>
  24293. method.
  24294. </exception>
  24295. </member>
  24296. <member name="T:log4net.Util.TypeConverters.PatternStringConverter">
  24297. <summary>
  24298. Convert between string and <see cref="T:log4net.Util.PatternString"/>
  24299. </summary>
  24300. <remarks>
  24301. <para>
  24302. Supports conversion from string to <see cref="T:log4net.Util.PatternString"/> type,
  24303. and from a <see cref="T:log4net.Util.PatternString"/> type to a string.
  24304. </para>
  24305. <para>
  24306. The string is used as the <see cref="P:log4net.Util.PatternString.ConversionPattern"/>
  24307. of the <see cref="T:log4net.Util.PatternString"/>.
  24308. </para>
  24309. </remarks>
  24310. <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
  24311. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24312. <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
  24313. <author>Nicko Cadell</author>
  24314. </member>
  24315. <member name="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertTo(System.Type)">
  24316. <summary>
  24317. Can the target type be converted to the type supported by this object
  24318. </summary>
  24319. <param name="targetType">A <see cref="T:System.Type"/> that represents the type you want to convert to</param>
  24320. <returns>true if the conversion is possible</returns>
  24321. <remarks>
  24322. <para>
  24323. Returns <c>true</c> if the <paramref name="targetType"/> is
  24324. assignable from a <see cref="T:System.String"/> type.
  24325. </para>
  24326. </remarks>
  24327. </member>
  24328. <member name="M:log4net.Util.TypeConverters.PatternStringConverter.ConvertTo(System.Object,System.Type)">
  24329. <summary>
  24330. Converts the given value object to the specified type, using the arguments
  24331. </summary>
  24332. <param name="source">the object to convert</param>
  24333. <param name="targetType">The Type to convert the value parameter to</param>
  24334. <returns>the converted object</returns>
  24335. <remarks>
  24336. <para>
  24337. Uses the <see cref="M:PatternString.Format()"/> method to convert the
  24338. <see cref="T:log4net.Util.PatternString"/> argument to a <see cref="T:System.String"/>.
  24339. </para>
  24340. </remarks>
  24341. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24342. The <paramref name="source"/> object cannot be converted to the
  24343. <paramref name="targetType"/>. To check for this condition use the
  24344. <see cref="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertTo(System.Type)"/> method.
  24345. </exception>
  24346. </member>
  24347. <member name="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertFrom(System.Type)">
  24348. <summary>
  24349. Can the source type be converted to the type supported by this object
  24350. </summary>
  24351. <param name="sourceType">the type to convert</param>
  24352. <returns>true if the conversion is possible</returns>
  24353. <remarks>
  24354. <para>
  24355. Returns <c>true</c> if the <paramref name="sourceType"/> is
  24356. the <see cref="T:System.String"/> type.
  24357. </para>
  24358. </remarks>
  24359. </member>
  24360. <member name="M:log4net.Util.TypeConverters.PatternStringConverter.ConvertFrom(System.Object)">
  24361. <summary>
  24362. Overrides the ConvertFrom method of IConvertFrom.
  24363. </summary>
  24364. <param name="source">the object to convert to a PatternString</param>
  24365. <returns>the PatternString</returns>
  24366. <remarks>
  24367. <para>
  24368. Creates and returns a new <see cref="T:log4net.Util.PatternString"/> using
  24369. the <paramref name="source"/> <see cref="T:System.String"/> as the
  24370. <see cref="P:log4net.Util.PatternString.ConversionPattern"/>.
  24371. </para>
  24372. </remarks>
  24373. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24374. The <paramref name="source"/> object cannot be converted to the
  24375. target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertFrom(System.Type)"/>
  24376. method.
  24377. </exception>
  24378. </member>
  24379. <member name="T:log4net.Util.TypeConverters.TypeConverter">
  24380. <summary>
  24381. Supports conversion from string to <see cref="T:System.Type"/> type.
  24382. </summary>
  24383. <remarks>
  24384. <para>
  24385. Supports conversion from string to <see cref="T:System.Type"/> type.
  24386. </para>
  24387. </remarks>
  24388. <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
  24389. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24390. <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
  24391. <author>Nicko Cadell</author>
  24392. </member>
  24393. <member name="M:log4net.Util.TypeConverters.TypeConverter.CanConvertFrom(System.Type)">
  24394. <summary>
  24395. Can the source type be converted to the type supported by this object
  24396. </summary>
  24397. <param name="sourceType">the type to convert</param>
  24398. <returns>true if the conversion is possible</returns>
  24399. <remarks>
  24400. <para>
  24401. Returns <c>true</c> if the <paramref name="sourceType"/> is
  24402. the <see cref="T:System.String"/> type.
  24403. </para>
  24404. </remarks>
  24405. </member>
  24406. <member name="M:log4net.Util.TypeConverters.TypeConverter.ConvertFrom(System.Object)">
  24407. <summary>
  24408. Overrides the ConvertFrom method of IConvertFrom.
  24409. </summary>
  24410. <param name="source">the object to convert to a Type</param>
  24411. <returns>the Type</returns>
  24412. <remarks>
  24413. <para>
  24414. Uses the <see cref="M:Type.GetType(string,bool)"/> method to convert the
  24415. <see cref="T:System.String"/> argument to a <see cref="T:System.Type"/>.
  24416. Additional effort is made to locate partially specified types
  24417. by searching the loaded assemblies.
  24418. </para>
  24419. </remarks>
  24420. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24421. The <paramref name="source"/> object cannot be converted to the
  24422. target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.TypeConverter.CanConvertFrom(System.Type)"/>
  24423. method.
  24424. </exception>
  24425. </member>
  24426. <member name="T:log4net.Util.TypeConverters.TypeConverterAttribute">
  24427. <summary>
  24428. Attribute used to associate a type converter
  24429. </summary>
  24430. <remarks>
  24431. <para>
  24432. Class and Interface level attribute that specifies a type converter
  24433. to use with the associated type.
  24434. </para>
  24435. <para>
  24436. To associate a type converter with a target type apply a
  24437. <c>TypeConverterAttribute</c> to the target type. Specify the
  24438. type of the type converter on the attribute.
  24439. </para>
  24440. </remarks>
  24441. <author>Nicko Cadell</author>
  24442. <author>Gert Driesen</author>
  24443. </member>
  24444. <member name="F:log4net.Util.TypeConverters.TypeConverterAttribute.m_typeName">
  24445. <summary>
  24446. The string type name of the type converter
  24447. </summary>
  24448. </member>
  24449. <member name="M:log4net.Util.TypeConverters.TypeConverterAttribute.#ctor">
  24450. <summary>
  24451. Default constructor
  24452. </summary>
  24453. <remarks>
  24454. <para>
  24455. Default constructor
  24456. </para>
  24457. </remarks>
  24458. </member>
  24459. <member name="M:log4net.Util.TypeConverters.TypeConverterAttribute.#ctor(System.String)">
  24460. <summary>
  24461. Create a new type converter attribute for the specified type name
  24462. </summary>
  24463. <param name="typeName">The string type name of the type converter</param>
  24464. <remarks>
  24465. <para>
  24466. The type specified must implement the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24467. or the <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces.
  24468. </para>
  24469. </remarks>
  24470. </member>
  24471. <member name="M:log4net.Util.TypeConverters.TypeConverterAttribute.#ctor(System.Type)">
  24472. <summary>
  24473. Create a new type converter attribute for the specified type
  24474. </summary>
  24475. <param name="converterType">The type of the type converter</param>
  24476. <remarks>
  24477. <para>
  24478. The type specified must implement the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24479. or the <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces.
  24480. </para>
  24481. </remarks>
  24482. </member>
  24483. <member name="P:log4net.Util.TypeConverters.TypeConverterAttribute.ConverterTypeName">
  24484. <summary>
  24485. The string type name of the type converter
  24486. </summary>
  24487. <value>
  24488. The string type name of the type converter
  24489. </value>
  24490. <remarks>
  24491. <para>
  24492. The type specified must implement the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24493. or the <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces.
  24494. </para>
  24495. </remarks>
  24496. </member>
  24497. <member name="T:log4net.Util.AppenderAttachedImpl">
  24498. <summary>
  24499. A straightforward implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface.
  24500. </summary>
  24501. <remarks>
  24502. <para>
  24503. This is the default implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/>
  24504. interface. Implementors of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
  24505. should aggregate an instance of this type.
  24506. </para>
  24507. </remarks>
  24508. <author>Nicko Cadell</author>
  24509. <author>Gert Driesen</author>
  24510. </member>
  24511. <member name="M:log4net.Util.AppenderAttachedImpl.#ctor">
  24512. <summary>
  24513. Constructor
  24514. </summary>
  24515. <remarks>
  24516. <para>
  24517. Initializes a new instance of the <see cref="T:log4net.Util.AppenderAttachedImpl"/> class.
  24518. </para>
  24519. </remarks>
  24520. </member>
  24521. <member name="M:log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders(log4net.Core.LoggingEvent)">
  24522. <summary>
  24523. Append on on all attached appenders.
  24524. </summary>
  24525. <param name="loggingEvent">The event being logged.</param>
  24526. <returns>The number of appenders called.</returns>
  24527. <remarks>
  24528. <para>
  24529. Calls the <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method on all
  24530. attached appenders.
  24531. </para>
  24532. </remarks>
  24533. </member>
  24534. <member name="M:log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders(log4net.Core.LoggingEvent[])">
  24535. <summary>
  24536. Append on on all attached appenders.
  24537. </summary>
  24538. <param name="loggingEvents">The array of events being logged.</param>
  24539. <returns>The number of appenders called.</returns>
  24540. <remarks>
  24541. <para>
  24542. Calls the <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method on all
  24543. attached appenders.
  24544. </para>
  24545. </remarks>
  24546. </member>
  24547. <member name="M:log4net.Util.AppenderAttachedImpl.CallAppend(log4net.Appender.IAppender,log4net.Core.LoggingEvent[])">
  24548. <summary>
  24549. Calls the DoAppende method on the <see cref="T:log4net.Appender.IAppender"/> with
  24550. the <see cref="T:log4net.Core.LoggingEvent"/> objects supplied.
  24551. </summary>
  24552. <param name="appender">The appender</param>
  24553. <param name="loggingEvents">The events</param>
  24554. <remarks>
  24555. <para>
  24556. If the <paramref name="appender"/> supports the <see cref="T:log4net.Appender.IBulkAppender"/>
  24557. interface then the <paramref name="loggingEvents"/> will be passed
  24558. through using that interface. Otherwise the <see cref="T:log4net.Core.LoggingEvent"/>
  24559. objects in the array will be passed one at a time.
  24560. </para>
  24561. </remarks>
  24562. </member>
  24563. <member name="M:log4net.Util.AppenderAttachedImpl.AddAppender(log4net.Appender.IAppender)">
  24564. <summary>
  24565. Attaches an appender.
  24566. </summary>
  24567. <param name="newAppender">The appender to add.</param>
  24568. <remarks>
  24569. <para>
  24570. If the appender is already in the list it won't be added again.
  24571. </para>
  24572. </remarks>
  24573. </member>
  24574. <member name="M:log4net.Util.AppenderAttachedImpl.GetAppender(System.String)">
  24575. <summary>
  24576. Gets an attached appender with the specified name.
  24577. </summary>
  24578. <param name="name">The name of the appender to get.</param>
  24579. <returns>
  24580. The appender with the name specified, or <c>null</c> if no appender with the
  24581. specified name is found.
  24582. </returns>
  24583. <remarks>
  24584. <para>
  24585. Lookup an attached appender by name.
  24586. </para>
  24587. </remarks>
  24588. </member>
  24589. <member name="M:log4net.Util.AppenderAttachedImpl.RemoveAllAppenders">
  24590. <summary>
  24591. Removes all attached appenders.
  24592. </summary>
  24593. <remarks>
  24594. <para>
  24595. Removes and closes all attached appenders
  24596. </para>
  24597. </remarks>
  24598. </member>
  24599. <member name="M:log4net.Util.AppenderAttachedImpl.RemoveAppender(log4net.Appender.IAppender)">
  24600. <summary>
  24601. Removes the specified appender from the list of attached appenders.
  24602. </summary>
  24603. <param name="appender">The appender to remove.</param>
  24604. <returns>The appender removed from the list</returns>
  24605. <remarks>
  24606. <para>
  24607. The appender removed is not closed.
  24608. If you are discarding the appender you must call
  24609. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  24610. </para>
  24611. </remarks>
  24612. </member>
  24613. <member name="M:log4net.Util.AppenderAttachedImpl.RemoveAppender(System.String)">
  24614. <summary>
  24615. Removes the appender with the specified name from the list of appenders.
  24616. </summary>
  24617. <param name="name">The name of the appender to remove.</param>
  24618. <returns>The appender removed from the list</returns>
  24619. <remarks>
  24620. <para>
  24621. The appender removed is not closed.
  24622. If you are discarding the appender you must call
  24623. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  24624. </para>
  24625. </remarks>
  24626. </member>
  24627. <member name="F:log4net.Util.AppenderAttachedImpl.m_appenderList">
  24628. <summary>
  24629. List of appenders
  24630. </summary>
  24631. </member>
  24632. <member name="F:log4net.Util.AppenderAttachedImpl.m_appenderArray">
  24633. <summary>
  24634. Array of appenders, used to cache the m_appenderList
  24635. </summary>
  24636. </member>
  24637. <member name="F:log4net.Util.AppenderAttachedImpl.declaringType">
  24638. <summary>
  24639. The fully qualified type of the AppenderAttachedImpl class.
  24640. </summary>
  24641. <remarks>
  24642. Used by the internal logger to record the Type of the
  24643. log message.
  24644. </remarks>
  24645. </member>
  24646. <member name="P:log4net.Util.AppenderAttachedImpl.Appenders">
  24647. <summary>
  24648. Gets all attached appenders.
  24649. </summary>
  24650. <returns>
  24651. A collection of attached appenders, or <c>null</c> if there
  24652. are no attached appenders.
  24653. </returns>
  24654. <remarks>
  24655. <para>
  24656. The read only collection of all currently attached appenders.
  24657. </para>
  24658. </remarks>
  24659. </member>
  24660. <member name="T:log4net.Util.CompositeProperties">
  24661. <summary>
  24662. This class aggregates several PropertiesDictionary collections together.
  24663. </summary>
  24664. <remarks>
  24665. <para>
  24666. Provides a dictionary style lookup over an ordered list of
  24667. <see cref="T:log4net.Util.PropertiesDictionary"/> collections.
  24668. </para>
  24669. </remarks>
  24670. <author>Nicko Cadell</author>
  24671. </member>
  24672. <member name="M:log4net.Util.CompositeProperties.#ctor">
  24673. <summary>
  24674. Constructor
  24675. </summary>
  24676. <remarks>
  24677. <para>
  24678. Initializes a new instance of the <see cref="T:log4net.Util.CompositeProperties"/> class.
  24679. </para>
  24680. </remarks>
  24681. </member>
  24682. <member name="M:log4net.Util.CompositeProperties.Add(log4net.Util.ReadOnlyPropertiesDictionary)">
  24683. <summary>
  24684. Add a Properties Dictionary to this composite collection
  24685. </summary>
  24686. <param name="properties">the properties to add</param>
  24687. <remarks>
  24688. <para>
  24689. Properties dictionaries added first take precedence over dictionaries added
  24690. later.
  24691. </para>
  24692. </remarks>
  24693. </member>
  24694. <member name="M:log4net.Util.CompositeProperties.Flatten">
  24695. <summary>
  24696. Flatten this composite collection into a single properties dictionary
  24697. </summary>
  24698. <returns>the flattened dictionary</returns>
  24699. <remarks>
  24700. <para>
  24701. Reduces the collection of ordered dictionaries to a single dictionary
  24702. containing the resultant values for the keys.
  24703. </para>
  24704. </remarks>
  24705. </member>
  24706. <member name="P:log4net.Util.CompositeProperties.Item(System.String)">
  24707. <summary>
  24708. Gets the value of a property
  24709. </summary>
  24710. <value>
  24711. The value for the property with the specified key
  24712. </value>
  24713. <remarks>
  24714. <para>
  24715. Looks up the value for the <paramref name="key"/> specified.
  24716. The <see cref="T:log4net.Util.PropertiesDictionary"/> collections are searched
  24717. in the order in which they were added to this collection. The value
  24718. returned is the value held by the first collection that contains
  24719. the specified key.
  24720. </para>
  24721. <para>
  24722. If none of the collections contain the specified key then
  24723. <c>null</c> is returned.
  24724. </para>
  24725. </remarks>
  24726. </member>
  24727. <member name="T:log4net.Util.ContextPropertiesBase">
  24728. <summary>
  24729. Base class for Context Properties implementations
  24730. </summary>
  24731. <remarks>
  24732. <para>
  24733. This class defines a basic property get set accessor
  24734. </para>
  24735. </remarks>
  24736. <author>Nicko Cadell</author>
  24737. </member>
  24738. <member name="P:log4net.Util.ContextPropertiesBase.Item(System.String)">
  24739. <summary>
  24740. Gets or sets the value of a property
  24741. </summary>
  24742. <value>
  24743. The value for the property with the specified key
  24744. </value>
  24745. <remarks>
  24746. <para>
  24747. Gets or sets the value of a property
  24748. </para>
  24749. </remarks>
  24750. </member>
  24751. <member name="T:log4net.Util.ConverterInfo">
  24752. <summary>
  24753. Wrapper class used to map converter names to converter types
  24754. </summary>
  24755. <remarks>
  24756. <para>
  24757. Pattern converter info class used during configuration by custom
  24758. PatternString and PatternLayer converters.
  24759. </para>
  24760. </remarks>
  24761. </member>
  24762. <member name="M:log4net.Util.ConverterInfo.#ctor">
  24763. <summary>
  24764. default constructor
  24765. </summary>
  24766. </member>
  24767. <member name="M:log4net.Util.ConverterInfo.AddProperty(log4net.Util.PropertyEntry)">
  24768. <summary>
  24769. </summary>
  24770. <param name="entry"></param>
  24771. </member>
  24772. <member name="P:log4net.Util.ConverterInfo.Name">
  24773. <summary>
  24774. Gets or sets the name of the conversion pattern
  24775. </summary>
  24776. <remarks>
  24777. <para>
  24778. The name of the pattern in the format string
  24779. </para>
  24780. </remarks>
  24781. </member>
  24782. <member name="P:log4net.Util.ConverterInfo.Type">
  24783. <summary>
  24784. Gets or sets the type of the converter
  24785. </summary>
  24786. <remarks>
  24787. <para>
  24788. The value specified must extend the
  24789. <see cref="T:log4net.Util.PatternConverter"/> type.
  24790. </para>
  24791. </remarks>
  24792. </member>
  24793. <member name="P:log4net.Util.ConverterInfo.Properties">
  24794. <summary>
  24795. </summary>
  24796. </member>
  24797. <member name="T:log4net.Util.CountingQuietTextWriter">
  24798. <summary>
  24799. Subclass of <see cref="T:log4net.Util.QuietTextWriter"/> that maintains a count of
  24800. the number of bytes written.
  24801. </summary>
  24802. <remarks>
  24803. <para>
  24804. This writer counts the number of bytes written.
  24805. </para>
  24806. </remarks>
  24807. <author>Nicko Cadell</author>
  24808. <author>Gert Driesen</author>
  24809. </member>
  24810. <member name="T:log4net.Util.QuietTextWriter">
  24811. <summary>
  24812. <see cref="T:System.IO.TextWriter"/> that does not leak exceptions
  24813. </summary>
  24814. <remarks>
  24815. <para>
  24816. <see cref="T:log4net.Util.QuietTextWriter"/> does not throw exceptions when things go wrong.
  24817. Instead, it delegates error handling to its <see cref="T:log4net.Core.IErrorHandler"/>.
  24818. </para>
  24819. </remarks>
  24820. <author>Nicko Cadell</author>
  24821. <author>Gert Driesen</author>
  24822. </member>
  24823. <member name="T:log4net.Util.TextWriterAdapter">
  24824. <summary>
  24825. Adapter that extends <see cref="T:System.IO.TextWriter"/> and forwards all
  24826. messages to an instance of <see cref="T:System.IO.TextWriter"/>.
  24827. </summary>
  24828. <remarks>
  24829. <para>
  24830. Adapter that extends <see cref="T:System.IO.TextWriter"/> and forwards all
  24831. messages to an instance of <see cref="T:System.IO.TextWriter"/>.
  24832. </para>
  24833. </remarks>
  24834. <author>Nicko Cadell</author>
  24835. </member>
  24836. <member name="F:log4net.Util.TextWriterAdapter.m_writer">
  24837. <summary>
  24838. The writer to forward messages to
  24839. </summary>
  24840. </member>
  24841. <member name="M:log4net.Util.TextWriterAdapter.#ctor(System.IO.TextWriter)">
  24842. <summary>
  24843. Create an instance of <see cref="T:log4net.Util.TextWriterAdapter"/> that forwards all
  24844. messages to a <see cref="T:System.IO.TextWriter"/>.
  24845. </summary>
  24846. <param name="writer">The <see cref="T:System.IO.TextWriter"/> to forward to</param>
  24847. <remarks>
  24848. <para>
  24849. Create an instance of <see cref="T:log4net.Util.TextWriterAdapter"/> that forwards all
  24850. messages to a <see cref="T:System.IO.TextWriter"/>.
  24851. </para>
  24852. </remarks>
  24853. </member>
  24854. <member name="M:log4net.Util.TextWriterAdapter.Close">
  24855. <summary>
  24856. Closes the writer and releases any system resources associated with the writer
  24857. </summary>
  24858. <remarks>
  24859. <para>
  24860. </para>
  24861. </remarks>
  24862. </member>
  24863. <member name="M:log4net.Util.TextWriterAdapter.Dispose(System.Boolean)">
  24864. <summary>
  24865. Dispose this writer
  24866. </summary>
  24867. <param name="disposing">flag indicating if we are being disposed</param>
  24868. <remarks>
  24869. <para>
  24870. Dispose this writer
  24871. </para>
  24872. </remarks>
  24873. </member>
  24874. <member name="M:log4net.Util.TextWriterAdapter.Flush">
  24875. <summary>
  24876. Flushes any buffered output
  24877. </summary>
  24878. <remarks>
  24879. <para>
  24880. Clears all buffers for the writer and causes any buffered data to be written
  24881. to the underlying device
  24882. </para>
  24883. </remarks>
  24884. </member>
  24885. <member name="M:log4net.Util.TextWriterAdapter.Write(System.Char)">
  24886. <summary>
  24887. Writes a character to the wrapped TextWriter
  24888. </summary>
  24889. <param name="value">the value to write to the TextWriter</param>
  24890. <remarks>
  24891. <para>
  24892. Writes a character to the wrapped TextWriter
  24893. </para>
  24894. </remarks>
  24895. </member>
  24896. <member name="M:log4net.Util.TextWriterAdapter.Write(System.Char[],System.Int32,System.Int32)">
  24897. <summary>
  24898. Writes a character buffer to the wrapped TextWriter
  24899. </summary>
  24900. <param name="buffer">the data buffer</param>
  24901. <param name="index">the start index</param>
  24902. <param name="count">the number of characters to write</param>
  24903. <remarks>
  24904. <para>
  24905. Writes a character buffer to the wrapped TextWriter
  24906. </para>
  24907. </remarks>
  24908. </member>
  24909. <member name="M:log4net.Util.TextWriterAdapter.Write(System.String)">
  24910. <summary>
  24911. Writes a string to the wrapped TextWriter
  24912. </summary>
  24913. <param name="value">the value to write to the TextWriter</param>
  24914. <remarks>
  24915. <para>
  24916. Writes a string to the wrapped TextWriter
  24917. </para>
  24918. </remarks>
  24919. </member>
  24920. <member name="P:log4net.Util.TextWriterAdapter.Writer">
  24921. <summary>
  24922. Gets or sets the underlying <see cref="T:System.IO.TextWriter"/>.
  24923. </summary>
  24924. <value>
  24925. The underlying <see cref="T:System.IO.TextWriter"/>.
  24926. </value>
  24927. <remarks>
  24928. <para>
  24929. Gets or sets the underlying <see cref="T:System.IO.TextWriter"/>.
  24930. </para>
  24931. </remarks>
  24932. </member>
  24933. <member name="P:log4net.Util.TextWriterAdapter.Encoding">
  24934. <summary>
  24935. The Encoding in which the output is written
  24936. </summary>
  24937. <value>
  24938. The <see cref="P:log4net.Util.TextWriterAdapter.Encoding"/>
  24939. </value>
  24940. <remarks>
  24941. <para>
  24942. The Encoding in which the output is written
  24943. </para>
  24944. </remarks>
  24945. </member>
  24946. <member name="P:log4net.Util.TextWriterAdapter.FormatProvider">
  24947. <summary>
  24948. Gets an object that controls formatting
  24949. </summary>
  24950. <value>
  24951. The format provider
  24952. </value>
  24953. <remarks>
  24954. <para>
  24955. Gets an object that controls formatting
  24956. </para>
  24957. </remarks>
  24958. </member>
  24959. <member name="P:log4net.Util.TextWriterAdapter.NewLine">
  24960. <summary>
  24961. Gets or sets the line terminator string used by the TextWriter
  24962. </summary>
  24963. <value>
  24964. The line terminator to use
  24965. </value>
  24966. <remarks>
  24967. <para>
  24968. Gets or sets the line terminator string used by the TextWriter
  24969. </para>
  24970. </remarks>
  24971. </member>
  24972. <member name="M:log4net.Util.QuietTextWriter.#ctor(System.IO.TextWriter,log4net.Core.IErrorHandler)">
  24973. <summary>
  24974. Constructor
  24975. </summary>
  24976. <param name="writer">the writer to actually write to</param>
  24977. <param name="errorHandler">the error handler to report error to</param>
  24978. <remarks>
  24979. <para>
  24980. Create a new QuietTextWriter using a writer and error handler
  24981. </para>
  24982. </remarks>
  24983. </member>
  24984. <member name="M:log4net.Util.QuietTextWriter.Write(System.Char)">
  24985. <summary>
  24986. Writes a character to the underlying writer
  24987. </summary>
  24988. <param name="value">the char to write</param>
  24989. <remarks>
  24990. <para>
  24991. Writes a character to the underlying writer
  24992. </para>
  24993. </remarks>
  24994. </member>
  24995. <member name="M:log4net.Util.QuietTextWriter.Write(System.Char[],System.Int32,System.Int32)">
  24996. <summary>
  24997. Writes a buffer to the underlying writer
  24998. </summary>
  24999. <param name="buffer">the buffer to write</param>
  25000. <param name="index">the start index to write from</param>
  25001. <param name="count">the number of characters to write</param>
  25002. <remarks>
  25003. <para>
  25004. Writes a buffer to the underlying writer
  25005. </para>
  25006. </remarks>
  25007. </member>
  25008. <member name="M:log4net.Util.QuietTextWriter.Write(System.String)">
  25009. <summary>
  25010. Writes a string to the output.
  25011. </summary>
  25012. <param name="value">The string data to write to the output.</param>
  25013. <remarks>
  25014. <para>
  25015. Writes a string to the output.
  25016. </para>
  25017. </remarks>
  25018. </member>
  25019. <member name="M:log4net.Util.QuietTextWriter.Close">
  25020. <summary>
  25021. Closes the underlying output writer.
  25022. </summary>
  25023. <remarks>
  25024. <para>
  25025. Closes the underlying output writer.
  25026. </para>
  25027. </remarks>
  25028. </member>
  25029. <member name="F:log4net.Util.QuietTextWriter.m_errorHandler">
  25030. <summary>
  25031. The error handler instance to pass all errors to
  25032. </summary>
  25033. </member>
  25034. <member name="F:log4net.Util.QuietTextWriter.m_closed">
  25035. <summary>
  25036. Flag to indicate if this writer is closed
  25037. </summary>
  25038. </member>
  25039. <member name="P:log4net.Util.QuietTextWriter.ErrorHandler">
  25040. <summary>
  25041. Gets or sets the error handler that all errors are passed to.
  25042. </summary>
  25043. <value>
  25044. The error handler that all errors are passed to.
  25045. </value>
  25046. <remarks>
  25047. <para>
  25048. Gets or sets the error handler that all errors are passed to.
  25049. </para>
  25050. </remarks>
  25051. </member>
  25052. <member name="P:log4net.Util.QuietTextWriter.Closed">
  25053. <summary>
  25054. Gets a value indicating whether this writer is closed.
  25055. </summary>
  25056. <value>
  25057. <c>true</c> if this writer is closed, otherwise <c>false</c>.
  25058. </value>
  25059. <remarks>
  25060. <para>
  25061. Gets a value indicating whether this writer is closed.
  25062. </para>
  25063. </remarks>
  25064. </member>
  25065. <member name="M:log4net.Util.CountingQuietTextWriter.#ctor(System.IO.TextWriter,log4net.Core.IErrorHandler)">
  25066. <summary>
  25067. Constructor
  25068. </summary>
  25069. <param name="writer">The <see cref="T:System.IO.TextWriter"/> to actually write to.</param>
  25070. <param name="errorHandler">The <see cref="T:log4net.Core.IErrorHandler"/> to report errors to.</param>
  25071. <remarks>
  25072. <para>
  25073. Creates a new instance of the <see cref="T:log4net.Util.CountingQuietTextWriter"/> class
  25074. with the specified <see cref="T:System.IO.TextWriter"/> and <see cref="T:log4net.Core.IErrorHandler"/>.
  25075. </para>
  25076. </remarks>
  25077. </member>
  25078. <member name="M:log4net.Util.CountingQuietTextWriter.Write(System.Char)">
  25079. <summary>
  25080. Writes a character to the underlying writer and counts the number of bytes written.
  25081. </summary>
  25082. <param name="value">the char to write</param>
  25083. <remarks>
  25084. <para>
  25085. Overrides implementation of <see cref="T:log4net.Util.QuietTextWriter"/>. Counts
  25086. the number of bytes written.
  25087. </para>
  25088. </remarks>
  25089. </member>
  25090. <member name="M:log4net.Util.CountingQuietTextWriter.Write(System.Char[],System.Int32,System.Int32)">
  25091. <summary>
  25092. Writes a buffer to the underlying writer and counts the number of bytes written.
  25093. </summary>
  25094. <param name="buffer">the buffer to write</param>
  25095. <param name="index">the start index to write from</param>
  25096. <param name="count">the number of characters to write</param>
  25097. <remarks>
  25098. <para>
  25099. Overrides implementation of <see cref="T:log4net.Util.QuietTextWriter"/>. Counts
  25100. the number of bytes written.
  25101. </para>
  25102. </remarks>
  25103. </member>
  25104. <member name="M:log4net.Util.CountingQuietTextWriter.Write(System.String)">
  25105. <summary>
  25106. Writes a string to the output and counts the number of bytes written.
  25107. </summary>
  25108. <param name="str">The string data to write to the output.</param>
  25109. <remarks>
  25110. <para>
  25111. Overrides implementation of <see cref="T:log4net.Util.QuietTextWriter"/>. Counts
  25112. the number of bytes written.
  25113. </para>
  25114. </remarks>
  25115. </member>
  25116. <member name="F:log4net.Util.CountingQuietTextWriter.m_countBytes">
  25117. <summary>
  25118. Total number of bytes written.
  25119. </summary>
  25120. </member>
  25121. <member name="P:log4net.Util.CountingQuietTextWriter.Count">
  25122. <summary>
  25123. Gets or sets the total number of bytes written.
  25124. </summary>
  25125. <value>
  25126. The total number of bytes written.
  25127. </value>
  25128. <remarks>
  25129. <para>
  25130. Gets or sets the total number of bytes written.
  25131. </para>
  25132. </remarks>
  25133. </member>
  25134. <member name="T:log4net.Util.CyclicBuffer">
  25135. <summary>
  25136. A fixed size rolling buffer of logging events.
  25137. </summary>
  25138. <remarks>
  25139. <para>
  25140. An array backed fixed size leaky bucket.
  25141. </para>
  25142. </remarks>
  25143. <author>Nicko Cadell</author>
  25144. <author>Gert Driesen</author>
  25145. </member>
  25146. <member name="M:log4net.Util.CyclicBuffer.#ctor(System.Int32)">
  25147. <summary>
  25148. Constructor
  25149. </summary>
  25150. <param name="maxSize">The maximum number of logging events in the buffer.</param>
  25151. <remarks>
  25152. <para>
  25153. Initializes a new instance of the <see cref="T:log4net.Util.CyclicBuffer"/> class with
  25154. the specified maximum number of buffered logging events.
  25155. </para>
  25156. </remarks>
  25157. <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="maxSize"/> argument is not a positive integer.</exception>
  25158. </member>
  25159. <member name="M:log4net.Util.CyclicBuffer.Append(log4net.Core.LoggingEvent)">
  25160. <summary>
  25161. Appends a <paramref name="loggingEvent"/> to the buffer.
  25162. </summary>
  25163. <param name="loggingEvent">The event to append to the buffer.</param>
  25164. <returns>The event discarded from the buffer, if the buffer is full, otherwise <c>null</c>.</returns>
  25165. <remarks>
  25166. <para>
  25167. Append an event to the buffer. If the buffer still contains free space then
  25168. <c>null</c> is returned. If the buffer is full then an event will be dropped
  25169. to make space for the new event, the event dropped is returned.
  25170. </para>
  25171. </remarks>
  25172. </member>
  25173. <member name="M:log4net.Util.CyclicBuffer.PopOldest">
  25174. <summary>
  25175. Get and remove the oldest event in the buffer.
  25176. </summary>
  25177. <returns>The oldest logging event in the buffer</returns>
  25178. <remarks>
  25179. <para>
  25180. Gets the oldest (first) logging event in the buffer and removes it
  25181. from the buffer.
  25182. </para>
  25183. </remarks>
  25184. </member>
  25185. <member name="M:log4net.Util.CyclicBuffer.PopAll">
  25186. <summary>
  25187. Pops all the logging events from the buffer into an array.
  25188. </summary>
  25189. <returns>An array of all the logging events in the buffer.</returns>
  25190. <remarks>
  25191. <para>
  25192. Get all the events in the buffer and clear the buffer.
  25193. </para>
  25194. </remarks>
  25195. </member>
  25196. <member name="M:log4net.Util.CyclicBuffer.Clear">
  25197. <summary>
  25198. Clear the buffer
  25199. </summary>
  25200. <remarks>
  25201. <para>
  25202. Clear the buffer of all events. The events in the buffer are lost.
  25203. </para>
  25204. </remarks>
  25205. </member>
  25206. <member name="P:log4net.Util.CyclicBuffer.Item(System.Int32)">
  25207. <summary>
  25208. Gets the <paramref name="i"/>th oldest event currently in the buffer.
  25209. </summary>
  25210. <value>The <paramref name="i"/>th oldest event currently in the buffer.</value>
  25211. <remarks>
  25212. <para>
  25213. If <paramref name="i"/> is outside the range 0 to the number of events
  25214. currently in the buffer, then <c>null</c> is returned.
  25215. </para>
  25216. </remarks>
  25217. </member>
  25218. <member name="P:log4net.Util.CyclicBuffer.MaxSize">
  25219. <summary>
  25220. Gets the maximum size of the buffer.
  25221. </summary>
  25222. <value>The maximum size of the buffer.</value>
  25223. <remarks>
  25224. <para>
  25225. Gets the maximum size of the buffer
  25226. </para>
  25227. </remarks>
  25228. </member>
  25229. <member name="P:log4net.Util.CyclicBuffer.Length">
  25230. <summary>
  25231. Gets the number of logging events in the buffer.
  25232. </summary>
  25233. <value>The number of logging events in the buffer.</value>
  25234. <remarks>
  25235. <para>
  25236. This number is guaranteed to be in the range 0 to <see cref="P:log4net.Util.CyclicBuffer.MaxSize"/>
  25237. (inclusive).
  25238. </para>
  25239. </remarks>
  25240. </member>
  25241. <member name="T:log4net.Util.EmptyCollection">
  25242. <summary>
  25243. An always empty <see cref="T:System.Collections.ICollection"/>.
  25244. </summary>
  25245. <remarks>
  25246. <para>
  25247. A singleton implementation of the <see cref="T:System.Collections.ICollection"/>
  25248. interface that always represents an empty collection.
  25249. </para>
  25250. </remarks>
  25251. <author>Nicko Cadell</author>
  25252. <author>Gert Driesen</author>
  25253. </member>
  25254. <member name="M:log4net.Util.EmptyCollection.#ctor">
  25255. <summary>
  25256. Initializes a new instance of the <see cref="T:log4net.Util.EmptyCollection"/> class.
  25257. </summary>
  25258. <remarks>
  25259. <para>
  25260. Uses a private access modifier to enforce the singleton pattern.
  25261. </para>
  25262. </remarks>
  25263. </member>
  25264. <member name="M:log4net.Util.EmptyCollection.CopyTo(System.Array,System.Int32)">
  25265. <summary>
  25266. Copies the elements of the <see cref="T:System.Collections.ICollection"/> to an
  25267. <see cref="T:System.Array"/>, starting at a particular Array index.
  25268. </summary>
  25269. <param name="array">The one-dimensional <see cref="T:System.Array"/>
  25270. that is the destination of the elements copied from
  25271. <see cref="T:System.Collections.ICollection"/>. The Array must have zero-based
  25272. indexing.</param>
  25273. <param name="index">The zero-based index in array at which
  25274. copying begins.</param>
  25275. <remarks>
  25276. <para>
  25277. As the collection is empty no values are copied into the array.
  25278. </para>
  25279. </remarks>
  25280. </member>
  25281. <member name="M:log4net.Util.EmptyCollection.GetEnumerator">
  25282. <summary>
  25283. Returns an enumerator that can iterate through a collection.
  25284. </summary>
  25285. <returns>
  25286. An <see cref="T:System.Collections.IEnumerator"/> that can be used to
  25287. iterate through the collection.
  25288. </returns>
  25289. <remarks>
  25290. <para>
  25291. As the collection is empty a <see cref="T:log4net.Util.NullEnumerator"/> is returned.
  25292. </para>
  25293. </remarks>
  25294. </member>
  25295. <member name="F:log4net.Util.EmptyCollection.s_instance">
  25296. <summary>
  25297. The singleton instance of the empty collection.
  25298. </summary>
  25299. </member>
  25300. <member name="P:log4net.Util.EmptyCollection.Instance">
  25301. <summary>
  25302. Gets the singleton instance of the empty collection.
  25303. </summary>
  25304. <returns>The singleton instance of the empty collection.</returns>
  25305. <remarks>
  25306. <para>
  25307. Gets the singleton instance of the empty collection.
  25308. </para>
  25309. </remarks>
  25310. </member>
  25311. <member name="P:log4net.Util.EmptyCollection.IsSynchronized">
  25312. <summary>
  25313. Gets a value indicating if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe).
  25314. </summary>
  25315. <value>
  25316. <b>true</b> if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe); otherwise, <b>false</b>.
  25317. </value>
  25318. <remarks>
  25319. <para>
  25320. For the <see cref="T:log4net.Util.EmptyCollection"/> this property is always <c>true</c>.
  25321. </para>
  25322. </remarks>
  25323. </member>
  25324. <member name="P:log4net.Util.EmptyCollection.Count">
  25325. <summary>
  25326. Gets the number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
  25327. </summary>
  25328. <value>
  25329. The number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
  25330. </value>
  25331. <remarks>
  25332. <para>
  25333. As the collection is empty the <see cref="P:log4net.Util.EmptyCollection.Count"/> is always <c>0</c>.
  25334. </para>
  25335. </remarks>
  25336. </member>
  25337. <member name="P:log4net.Util.EmptyCollection.SyncRoot">
  25338. <summary>
  25339. Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
  25340. </summary>
  25341. <value>
  25342. An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
  25343. </value>
  25344. <remarks>
  25345. <para>
  25346. As the collection is empty and thread safe and synchronized this instance is also
  25347. the <see cref="P:log4net.Util.EmptyCollection.SyncRoot"/> object.
  25348. </para>
  25349. </remarks>
  25350. </member>
  25351. <member name="T:log4net.Util.EmptyDictionary">
  25352. <summary>
  25353. An always empty <see cref="T:System.Collections.IDictionary"/>.
  25354. </summary>
  25355. <remarks>
  25356. <para>
  25357. A singleton implementation of the <see cref="T:System.Collections.IDictionary"/>
  25358. interface that always represents an empty collection.
  25359. </para>
  25360. </remarks>
  25361. <author>Nicko Cadell</author>
  25362. <author>Gert Driesen</author>
  25363. </member>
  25364. <member name="M:log4net.Util.EmptyDictionary.#ctor">
  25365. <summary>
  25366. Initializes a new instance of the <see cref="T:log4net.Util.EmptyDictionary"/> class.
  25367. </summary>
  25368. <remarks>
  25369. <para>
  25370. Uses a private access modifier to enforce the singleton pattern.
  25371. </para>
  25372. </remarks>
  25373. </member>
  25374. <member name="M:log4net.Util.EmptyDictionary.CopyTo(System.Array,System.Int32)">
  25375. <summary>
  25376. Copies the elements of the <see cref="T:System.Collections.ICollection"/> to an
  25377. <see cref="T:System.Array"/>, starting at a particular Array index.
  25378. </summary>
  25379. <param name="array">The one-dimensional <see cref="T:System.Array"/>
  25380. that is the destination of the elements copied from
  25381. <see cref="T:System.Collections.ICollection"/>. The Array must have zero-based
  25382. indexing.</param>
  25383. <param name="index">The zero-based index in array at which
  25384. copying begins.</param>
  25385. <remarks>
  25386. <para>
  25387. As the collection is empty no values are copied into the array.
  25388. </para>
  25389. </remarks>
  25390. </member>
  25391. <member name="M:log4net.Util.EmptyDictionary.System#Collections#IEnumerable#GetEnumerator">
  25392. <summary>
  25393. Returns an enumerator that can iterate through a collection.
  25394. </summary>
  25395. <returns>
  25396. An <see cref="T:System.Collections.IEnumerator"/> that can be used to
  25397. iterate through the collection.
  25398. </returns>
  25399. <remarks>
  25400. <para>
  25401. As the collection is empty a <see cref="T:log4net.Util.NullEnumerator"/> is returned.
  25402. </para>
  25403. </remarks>
  25404. </member>
  25405. <member name="M:log4net.Util.EmptyDictionary.Add(System.Object,System.Object)">
  25406. <summary>
  25407. Adds an element with the provided key and value to the
  25408. <see cref="T:log4net.Util.EmptyDictionary"/>.
  25409. </summary>
  25410. <param name="key">The <see cref="T:System.Object"/> to use as the key of the element to add.</param>
  25411. <param name="value">The <see cref="T:System.Object"/> to use as the value of the element to add.</param>
  25412. <remarks>
  25413. <para>
  25414. As the collection is empty no new values can be added. A <see cref="T:System.InvalidOperationException"/>
  25415. is thrown if this method is called.
  25416. </para>
  25417. </remarks>
  25418. <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
  25419. </member>
  25420. <member name="M:log4net.Util.EmptyDictionary.Clear">
  25421. <summary>
  25422. Removes all elements from the <see cref="T:log4net.Util.EmptyDictionary"/>.
  25423. </summary>
  25424. <remarks>
  25425. <para>
  25426. As the collection is empty no values can be removed. A <see cref="T:System.InvalidOperationException"/>
  25427. is thrown if this method is called.
  25428. </para>
  25429. </remarks>
  25430. <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
  25431. </member>
  25432. <member name="M:log4net.Util.EmptyDictionary.Contains(System.Object)">
  25433. <summary>
  25434. Determines whether the <see cref="T:log4net.Util.EmptyDictionary"/> contains an element
  25435. with the specified key.
  25436. </summary>
  25437. <param name="key">The key to locate in the <see cref="T:log4net.Util.EmptyDictionary"/>.</param>
  25438. <returns><c>false</c></returns>
  25439. <remarks>
  25440. <para>
  25441. As the collection is empty the <see cref="M:log4net.Util.EmptyDictionary.Contains(System.Object)"/> method always returns <c>false</c>.
  25442. </para>
  25443. </remarks>
  25444. </member>
  25445. <member name="M:log4net.Util.EmptyDictionary.GetEnumerator">
  25446. <summary>
  25447. Returns an enumerator that can iterate through a collection.
  25448. </summary>
  25449. <returns>
  25450. An <see cref="T:System.Collections.IEnumerator"/> that can be used to
  25451. iterate through the collection.
  25452. </returns>
  25453. <remarks>
  25454. <para>
  25455. As the collection is empty a <see cref="T:log4net.Util.NullEnumerator"/> is returned.
  25456. </para>
  25457. </remarks>
  25458. </member>
  25459. <member name="M:log4net.Util.EmptyDictionary.Remove(System.Object)">
  25460. <summary>
  25461. Removes the element with the specified key from the <see cref="T:log4net.Util.EmptyDictionary"/>.
  25462. </summary>
  25463. <param name="key">The key of the element to remove.</param>
  25464. <remarks>
  25465. <para>
  25466. As the collection is empty no values can be removed. A <see cref="T:System.InvalidOperationException"/>
  25467. is thrown if this method is called.
  25468. </para>
  25469. </remarks>
  25470. <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
  25471. </member>
  25472. <member name="F:log4net.Util.EmptyDictionary.s_instance">
  25473. <summary>
  25474. The singleton instance of the empty dictionary.
  25475. </summary>
  25476. </member>
  25477. <member name="P:log4net.Util.EmptyDictionary.Instance">
  25478. <summary>
  25479. Gets the singleton instance of the <see cref="T:log4net.Util.EmptyDictionary"/>.
  25480. </summary>
  25481. <returns>The singleton instance of the <see cref="T:log4net.Util.EmptyDictionary"/>.</returns>
  25482. <remarks>
  25483. <para>
  25484. Gets the singleton instance of the <see cref="T:log4net.Util.EmptyDictionary"/>.
  25485. </para>
  25486. </remarks>
  25487. </member>
  25488. <member name="P:log4net.Util.EmptyDictionary.IsSynchronized">
  25489. <summary>
  25490. Gets a value indicating if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe).
  25491. </summary>
  25492. <value>
  25493. <b>true</b> if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe); otherwise, <b>false</b>.
  25494. </value>
  25495. <remarks>
  25496. <para>
  25497. For the <see cref="T:log4net.Util.EmptyCollection"/> this property is always <b>true</b>.
  25498. </para>
  25499. </remarks>
  25500. </member>
  25501. <member name="P:log4net.Util.EmptyDictionary.Count">
  25502. <summary>
  25503. Gets the number of elements contained in the <see cref="T:System.Collections.ICollection"/>
  25504. </summary>
  25505. <value>
  25506. The number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
  25507. </value>
  25508. <remarks>
  25509. <para>
  25510. As the collection is empty the <see cref="P:log4net.Util.EmptyDictionary.Count"/> is always <c>0</c>.
  25511. </para>
  25512. </remarks>
  25513. </member>
  25514. <member name="P:log4net.Util.EmptyDictionary.SyncRoot">
  25515. <summary>
  25516. Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
  25517. </summary>
  25518. <value>
  25519. An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
  25520. </value>
  25521. <remarks>
  25522. <para>
  25523. As the collection is empty and thread safe and synchronized this instance is also
  25524. the <see cref="P:log4net.Util.EmptyDictionary.SyncRoot"/> object.
  25525. </para>
  25526. </remarks>
  25527. </member>
  25528. <member name="P:log4net.Util.EmptyDictionary.IsFixedSize">
  25529. <summary>
  25530. Gets a value indicating whether the <see cref="T:log4net.Util.EmptyDictionary"/> has a fixed size.
  25531. </summary>
  25532. <value><c>true</c></value>
  25533. <remarks>
  25534. <para>
  25535. As the collection is empty <see cref="P:log4net.Util.EmptyDictionary.IsFixedSize"/> always returns <c>true</c>.
  25536. </para>
  25537. </remarks>
  25538. </member>
  25539. <member name="P:log4net.Util.EmptyDictionary.IsReadOnly">
  25540. <summary>
  25541. Gets a value indicating whether the <see cref="T:log4net.Util.EmptyDictionary"/> is read-only.
  25542. </summary>
  25543. <value><c>true</c></value>
  25544. <remarks>
  25545. <para>
  25546. As the collection is empty <see cref="P:log4net.Util.EmptyDictionary.IsReadOnly"/> always returns <c>true</c>.
  25547. </para>
  25548. </remarks>
  25549. </member>
  25550. <member name="P:log4net.Util.EmptyDictionary.Keys">
  25551. <summary>
  25552. Gets an <see cref="T:System.Collections.ICollection"/> containing the keys of the <see cref="T:log4net.Util.EmptyDictionary"/>.
  25553. </summary>
  25554. <value>An <see cref="T:System.Collections.ICollection"/> containing the keys of the <see cref="T:log4net.Util.EmptyDictionary"/>.</value>
  25555. <remarks>
  25556. <para>
  25557. As the collection is empty a <see cref="T:log4net.Util.EmptyCollection"/> is returned.
  25558. </para>
  25559. </remarks>
  25560. </member>
  25561. <member name="P:log4net.Util.EmptyDictionary.Values">
  25562. <summary>
  25563. Gets an <see cref="T:System.Collections.ICollection"/> containing the values of the <see cref="T:log4net.Util.EmptyDictionary"/>.
  25564. </summary>
  25565. <value>An <see cref="T:System.Collections.ICollection"/> containing the values of the <see cref="T:log4net.Util.EmptyDictionary"/>.</value>
  25566. <remarks>
  25567. <para>
  25568. As the collection is empty a <see cref="T:log4net.Util.EmptyCollection"/> is returned.
  25569. </para>
  25570. </remarks>
  25571. </member>
  25572. <member name="P:log4net.Util.EmptyDictionary.Item(System.Object)">
  25573. <summary>
  25574. Gets or sets the element with the specified key.
  25575. </summary>
  25576. <param name="key">The key of the element to get or set.</param>
  25577. <value><c>null</c></value>
  25578. <remarks>
  25579. <para>
  25580. As the collection is empty no values can be looked up or stored.
  25581. If the index getter is called then <c>null</c> is returned.
  25582. A <see cref="T:System.InvalidOperationException"/> is thrown if the setter is called.
  25583. </para>
  25584. </remarks>
  25585. <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
  25586. </member>
  25587. <member name="T:log4net.Util.FormattingInfo">
  25588. <summary>
  25589. Contain the information obtained when parsing formatting modifiers
  25590. in conversion modifiers.
  25591. </summary>
  25592. <remarks>
  25593. <para>
  25594. Holds the formatting information extracted from the format string by
  25595. the <see cref="T:log4net.Util.PatternParser"/>. This is used by the <see cref="T:log4net.Util.PatternConverter"/>
  25596. objects when rendering the output.
  25597. </para>
  25598. </remarks>
  25599. <author>Nicko Cadell</author>
  25600. <author>Gert Driesen</author>
  25601. </member>
  25602. <member name="M:log4net.Util.FormattingInfo.#ctor">
  25603. <summary>
  25604. Defaut Constructor
  25605. </summary>
  25606. <remarks>
  25607. <para>
  25608. Initializes a new instance of the <see cref="T:log4net.Util.FormattingInfo"/> class.
  25609. </para>
  25610. </remarks>
  25611. </member>
  25612. <member name="M:log4net.Util.FormattingInfo.#ctor(System.Int32,System.Int32,System.Boolean)">
  25613. <summary>
  25614. Constructor
  25615. </summary>
  25616. <remarks>
  25617. <para>
  25618. Initializes a new instance of the <see cref="T:log4net.Util.FormattingInfo"/> class
  25619. with the specified parameters.
  25620. </para>
  25621. </remarks>
  25622. </member>
  25623. <member name="P:log4net.Util.FormattingInfo.Min">
  25624. <summary>
  25625. Gets or sets the minimum value.
  25626. </summary>
  25627. <value>
  25628. The minimum value.
  25629. </value>
  25630. <remarks>
  25631. <para>
  25632. Gets or sets the minimum value.
  25633. </para>
  25634. </remarks>
  25635. </member>
  25636. <member name="P:log4net.Util.FormattingInfo.Max">
  25637. <summary>
  25638. Gets or sets the maximum value.
  25639. </summary>
  25640. <value>
  25641. The maximum value.
  25642. </value>
  25643. <remarks>
  25644. <para>
  25645. Gets or sets the maximum value.
  25646. </para>
  25647. </remarks>
  25648. </member>
  25649. <member name="P:log4net.Util.FormattingInfo.LeftAlign">
  25650. <summary>
  25651. Gets or sets a flag indicating whether left align is enabled
  25652. or not.
  25653. </summary>
  25654. <value>
  25655. A flag indicating whether left align is enabled or not.
  25656. </value>
  25657. <remarks>
  25658. <para>
  25659. Gets or sets a flag indicating whether left align is enabled or not.
  25660. </para>
  25661. </remarks>
  25662. </member>
  25663. <member name="T:log4net.Util.GlobalContextProperties">
  25664. <summary>
  25665. Implementation of Properties collection for the <see cref="T:log4net.GlobalContext"/>
  25666. </summary>
  25667. <remarks>
  25668. <para>
  25669. This class implements a properties collection that is thread safe and supports both
  25670. storing properties and capturing a read only copy of the current propertied.
  25671. </para>
  25672. <para>
  25673. This class is optimized to the scenario where the properties are read frequently
  25674. and are modified infrequently.
  25675. </para>
  25676. </remarks>
  25677. <author>Nicko Cadell</author>
  25678. </member>
  25679. <member name="F:log4net.Util.GlobalContextProperties.m_readOnlyProperties">
  25680. <summary>
  25681. The read only copy of the properties.
  25682. </summary>
  25683. <remarks>
  25684. <para>
  25685. This variable is declared <c>volatile</c> to prevent the compiler and JIT from
  25686. reordering reads and writes of this thread performed on different threads.
  25687. </para>
  25688. </remarks>
  25689. </member>
  25690. <member name="F:log4net.Util.GlobalContextProperties.m_syncRoot">
  25691. <summary>
  25692. Lock object used to synchronize updates within this instance
  25693. </summary>
  25694. </member>
  25695. <member name="M:log4net.Util.GlobalContextProperties.#ctor">
  25696. <summary>
  25697. Constructor
  25698. </summary>
  25699. <remarks>
  25700. <para>
  25701. Initializes a new instance of the <see cref="T:log4net.Util.GlobalContextProperties"/> class.
  25702. </para>
  25703. </remarks>
  25704. </member>
  25705. <member name="M:log4net.Util.GlobalContextProperties.Remove(System.String)">
  25706. <summary>
  25707. Remove a property from the global context
  25708. </summary>
  25709. <param name="key">the key for the entry to remove</param>
  25710. <remarks>
  25711. <para>
  25712. Removing an entry from the global context properties is relatively expensive compared
  25713. with reading a value.
  25714. </para>
  25715. </remarks>
  25716. </member>
  25717. <member name="M:log4net.Util.GlobalContextProperties.Clear">
  25718. <summary>
  25719. Clear the global context properties
  25720. </summary>
  25721. </member>
  25722. <member name="M:log4net.Util.GlobalContextProperties.GetReadOnlyProperties">
  25723. <summary>
  25724. Get a readonly immutable copy of the properties
  25725. </summary>
  25726. <returns>the current global context properties</returns>
  25727. <remarks>
  25728. <para>
  25729. This implementation is fast because the GlobalContextProperties class
  25730. stores a readonly copy of the properties.
  25731. </para>
  25732. </remarks>
  25733. </member>
  25734. <member name="P:log4net.Util.GlobalContextProperties.Item(System.String)">
  25735. <summary>
  25736. Gets or sets the value of a property
  25737. </summary>
  25738. <value>
  25739. The value for the property with the specified key
  25740. </value>
  25741. <remarks>
  25742. <para>
  25743. Reading the value for a key is faster than setting the value.
  25744. When the value is written a new read only copy of
  25745. the properties is created.
  25746. </para>
  25747. </remarks>
  25748. </member>
  25749. <member name="T:log4net.Util.ILogExtensions">
  25750. <summary>
  25751. The static class ILogExtensions contains a set of widely used
  25752. methods that ease the interaction with the ILog interface implementations.
  25753. </summary>
  25754. <remarks>
  25755. <para>
  25756. This class contains methods for logging at different levels and checks the
  25757. properties for determining if those logging levels are enabled in the current
  25758. configuration.
  25759. </para>
  25760. </remarks>
  25761. <example>Simple example of logging messages
  25762. <code lang="C#">
  25763. using log4net.Util;
  25764. ILog log = LogManager.GetLogger("application-log");
  25765. log.InfoExt("Application Start");
  25766. log.DebugExt("This is a debug message");
  25767. </code>
  25768. </example>
  25769. </member>
  25770. <member name="F:log4net.Util.ILogExtensions.declaringType">
  25771. <summary>
  25772. The fully qualified type of the Logger class.
  25773. </summary>
  25774. </member>
  25775. <member name="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Func{System.Object})">
  25776. <summary>
  25777. Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.
  25778. </summary>
  25779. <param name="logger">The logger on which the message is logged.</param>
  25780. <param name="callback">The lambda expression that gets the object to log.</param>
  25781. <remarks>
  25782. <para>
  25783. This method first checks if this logger is <c>INFO</c>
  25784. enabled by reading the value <seealso cref="P:log4net.ILog.IsDebugEnabled"/> property.
  25785. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  25786. implementation. If this logger is <c>INFO</c> enabled, then it converts
  25787. the message object (retrieved by invocation of the provided callback) to a
  25788. string by invoking the appropriate <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
  25789. It then proceeds to call all the registered appenders in this logger
  25790. and also higher in the hierarchy depending on the value of
  25791. the additivity flag.
  25792. </para>
  25793. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  25794. to this method will print the name of the <see cref="T:System.Exception"/>
  25795. but no stack trace. To print a stack trace use the
  25796. <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Func{System.Object},System.Exception)"/> form instead.
  25797. </para>
  25798. </remarks>
  25799. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25800. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25801. </member>
  25802. <member name="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Func{System.Object},System.Exception)">
  25803. <summary>
  25804. Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level including
  25805. the stack trace of the <see cref="T:System.Exception"/> passed
  25806. as a parameter.
  25807. </summary>
  25808. <param name="logger">The logger on which the message is logged.</param>
  25809. <param name="callback">The lambda expression that gets the object to log.</param>
  25810. <param name="exception">The exception to log, including its stack trace.</param>
  25811. <remarks>
  25812. <para>
  25813. See the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object)"/> form for more detailed information.
  25814. </para>
  25815. </remarks>
  25816. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25817. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25818. </member>
  25819. <member name="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object)">
  25820. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.</overloads> //TODO
  25821. <summary>
  25822. Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.
  25823. </summary>
  25824. <param name="logger">The logger on which the message is logged.</param>
  25825. <param name="message">The message object to log.</param>
  25826. <remarks>
  25827. <para>
  25828. This method first checks if this logger is <c>INFO</c>
  25829. enabled by reading the value <seealso cref="P:log4net.ILog.IsDebugEnabled"/> property.
  25830. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  25831. implementation. If this logger is <c>INFO</c> enabled, then it converts
  25832. the message object (passed as parameter) to a string by invoking the appropriate
  25833. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  25834. proceeds to call all the registered appenders in this logger
  25835. and also higher in the hierarchy depending on the value of
  25836. the additivity flag.
  25837. </para>
  25838. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  25839. to this method will print the name of the <see cref="T:System.Exception"/>
  25840. but no stack trace. To print a stack trace use the
  25841. <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)"/> form instead.
  25842. </para>
  25843. </remarks>
  25844. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25845. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25846. </member>
  25847. <member name="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)">
  25848. <summary>
  25849. Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level including
  25850. the stack trace of the <see cref="T:System.Exception"/> passed
  25851. as a parameter.
  25852. </summary>
  25853. <param name="logger">The logger on which the message is logged.</param>
  25854. <param name="message">The message object to log.</param>
  25855. <param name="exception">The exception to log, including its stack trace.</param>
  25856. <remarks>
  25857. <para>
  25858. See the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object)"/> form for more detailed information.
  25859. </para>
  25860. </remarks>
  25861. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25862. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25863. </member>
  25864. <member name="M:log4net.Util.ILogExtensions.DebugFormatExt(log4net.ILog,System.String,System.Object)">
  25865. <summary>
  25866. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  25867. </summary>
  25868. <param name="logger">The logger on which the message is logged.</param>
  25869. <param name="format">A String containing zero or more format items</param>
  25870. <param name="arg0">An Object to format</param>
  25871. <remarks>
  25872. <para>
  25873. The message is formatted using the <c>String.Format</c> method. See
  25874. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  25875. of the formatting.
  25876. </para>
  25877. <para>
  25878. This method does not take an <see cref="T:System.Exception"/> object to include in the
  25879. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)"/>
  25880. methods instead.
  25881. </para>
  25882. </remarks>
  25883. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25884. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25885. </member>
  25886. <member name="M:log4net.Util.ILogExtensions.DebugFormatExt(log4net.ILog,System.String,System.Object[])">
  25887. <summary>
  25888. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  25889. </summary>
  25890. <param name="logger">The logger on which the message is logged.</param>
  25891. <param name="format">A String containing zero or more format items</param>
  25892. <param name="args">An Object array containing zero or more objects to format</param>
  25893. <remarks>
  25894. <para>
  25895. The message is formatted using the <c>String.Format</c> method. See
  25896. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  25897. of the formatting.
  25898. </para>
  25899. <para>
  25900. This method does not take an <see cref="T:System.Exception"/> object to include in the
  25901. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)"/>
  25902. methods instead.
  25903. </para>
  25904. </remarks>
  25905. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25906. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25907. </member>
  25908. <member name="M:log4net.Util.ILogExtensions.DebugFormatExt(log4net.ILog,System.IFormatProvider,System.String,System.Object[])">
  25909. <summary>
  25910. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  25911. </summary>
  25912. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  25913. <param name="logger">The logger on which the message is logged.</param>
  25914. <param name="format">A String containing zero or more format items</param>
  25915. <param name="args">An Object array containing zero or more objects to format</param>
  25916. <remarks>
  25917. <para>
  25918. The message is formatted using the <c>String.Format</c> method. See
  25919. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  25920. of the formatting.
  25921. </para>
  25922. <para>
  25923. This method does not take an <see cref="T:System.Exception"/> object to include in the
  25924. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)"/>
  25925. methods instead.
  25926. </para>
  25927. </remarks>
  25928. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25929. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25930. </member>
  25931. <member name="M:log4net.Util.ILogExtensions.DebugFormatExt(log4net.ILog,System.String,System.Object,System.Object)">
  25932. <summary>
  25933. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  25934. </summary>
  25935. <param name="logger">The logger on which the message is logged.</param>
  25936. <param name="format">A String containing zero or more format items</param>
  25937. <param name="arg0">An Object to format</param>
  25938. <param name="arg1">An Object to format</param>
  25939. <remarks>
  25940. <para>
  25941. The message is formatted using the <c>String.Format</c> method. See
  25942. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  25943. of the formatting.
  25944. </para>
  25945. <para>
  25946. This method does not take an <see cref="T:System.Exception"/> object to include in the
  25947. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)"/>
  25948. methods instead.
  25949. </para>
  25950. </remarks>
  25951. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25952. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25953. </member>
  25954. <member name="M:log4net.Util.ILogExtensions.DebugFormatExt(log4net.ILog,System.String,System.Object,System.Object,System.Object)">
  25955. <summary>
  25956. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  25957. </summary>
  25958. <param name="logger">The logger on which the message is logged.</param>
  25959. <param name="format">A String containing zero or more format items</param>
  25960. <param name="arg0">An Object to format</param>
  25961. <param name="arg1">An Object to format</param>
  25962. <param name="arg2">An Object to format</param>
  25963. <remarks>
  25964. <para>
  25965. The message is formatted using the <c>String.Format</c> method. See
  25966. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  25967. of the formatting.
  25968. </para>
  25969. <para>
  25970. This method does not take an <see cref="T:System.Exception"/> object to include in the
  25971. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)"/>
  25972. methods instead.
  25973. </para>
  25974. </remarks>
  25975. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25976. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25977. </member>
  25978. <member name="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Func{System.Object})">
  25979. <summary>
  25980. Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level.
  25981. </summary>
  25982. <param name="logger">The logger on which the message is logged.</param>
  25983. <param name="callback">The lambda expression that gets the object to log.</param>
  25984. <remarks>
  25985. <para>
  25986. This method first checks if this logger is <c>INFO</c>
  25987. enabled by reading the value <seealso cref="P:log4net.ILog.IsInfoEnabled"/> property.
  25988. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  25989. implementation. If this logger is <c>INFO</c> enabled, then it converts
  25990. the message object (retrieved by invocation of the provided callback) to a
  25991. string by invoking the appropriate <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
  25992. It then proceeds to call all the registered appenders in this logger
  25993. and also higher in the hierarchy depending on the value of
  25994. the additivity flag.
  25995. </para>
  25996. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  25997. to this method will print the name of the <see cref="T:System.Exception"/>
  25998. but no stack trace. To print a stack trace use the
  25999. <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Func{System.Object},System.Exception)"/> form instead.
  26000. </para>
  26001. </remarks>
  26002. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26003. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26004. </member>
  26005. <member name="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Func{System.Object},System.Exception)">
  26006. <summary>
  26007. Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level including
  26008. the stack trace of the <see cref="T:System.Exception"/> passed
  26009. as a parameter.
  26010. </summary>
  26011. <param name="logger">The logger on which the message is logged.</param>
  26012. <param name="callback">The lambda expression that gets the object to log.</param>
  26013. <param name="exception">The exception to log, including its stack trace.</param>
  26014. <remarks>
  26015. <para>
  26016. See the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26017. </para>
  26018. </remarks>
  26019. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26020. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26021. </member>
  26022. <member name="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object)">
  26023. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level.</overloads> //TODO
  26024. <summary>
  26025. Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level.
  26026. </summary>
  26027. <param name="logger">The logger on which the message is logged.</param>
  26028. <param name="message">The message object to log.</param>
  26029. <remarks>
  26030. <para>
  26031. This method first checks if this logger is <c>INFO</c>
  26032. enabled by reading the value <seealso cref="P:log4net.ILog.IsInfoEnabled"/> property.
  26033. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26034. implementation. If this logger is <c>INFO</c> enabled, then it converts
  26035. the message object (passed as parameter) to a string by invoking the appropriate
  26036. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  26037. proceeds to call all the registered appenders in this logger
  26038. and also higher in the hierarchy depending on the value of
  26039. the additivity flag.
  26040. </para>
  26041. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26042. to this method will print the name of the <see cref="T:System.Exception"/>
  26043. but no stack trace. To print a stack trace use the
  26044. <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)"/> form instead.
  26045. </para>
  26046. </remarks>
  26047. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26048. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26049. </member>
  26050. <member name="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)">
  26051. <summary>
  26052. Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level including
  26053. the stack trace of the <see cref="T:System.Exception"/> passed
  26054. as a parameter.
  26055. </summary>
  26056. <param name="logger">The logger on which the message is logged.</param>
  26057. <param name="message">The message object to log.</param>
  26058. <param name="exception">The exception to log, including its stack trace.</param>
  26059. <remarks>
  26060. <para>
  26061. See the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26062. </para>
  26063. </remarks>
  26064. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26065. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26066. </member>
  26067. <member name="M:log4net.Util.ILogExtensions.InfoFormatExt(log4net.ILog,System.String,System.Object)">
  26068. <summary>
  26069. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  26070. </summary>
  26071. <param name="logger">The logger on which the message is logged.</param>
  26072. <param name="format">A String containing zero or more format items</param>
  26073. <param name="arg0">An Object to format</param>
  26074. <remarks>
  26075. <para>
  26076. The message is formatted using the <c>String.Format</c> method. See
  26077. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26078. of the formatting.
  26079. </para>
  26080. <para>
  26081. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26082. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)"/>
  26083. methods instead.
  26084. </para>
  26085. </remarks>
  26086. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26087. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26088. </member>
  26089. <member name="M:log4net.Util.ILogExtensions.InfoFormatExt(log4net.ILog,System.String,System.Object[])">
  26090. <summary>
  26091. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  26092. </summary>
  26093. <param name="logger">The logger on which the message is logged.</param>
  26094. <param name="format">A String containing zero or more format items</param>
  26095. <param name="args">An Object array containing zero or more objects to format</param>
  26096. <remarks>
  26097. <para>
  26098. The message is formatted using the <c>String.Format</c> method. See
  26099. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26100. of the formatting.
  26101. </para>
  26102. <para>
  26103. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26104. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)"/>
  26105. methods instead.
  26106. </para>
  26107. </remarks>
  26108. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26109. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26110. </member>
  26111. <member name="M:log4net.Util.ILogExtensions.InfoFormatExt(log4net.ILog,System.IFormatProvider,System.String,System.Object[])">
  26112. <summary>
  26113. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  26114. </summary>
  26115. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  26116. <param name="logger">The logger on which the message is logged.</param>
  26117. <param name="format">A String containing zero or more format items</param>
  26118. <param name="args">An Object array containing zero or more objects to format</param>
  26119. <remarks>
  26120. <para>
  26121. The message is formatted using the <c>String.Format</c> method. See
  26122. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26123. of the formatting.
  26124. </para>
  26125. <para>
  26126. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26127. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)"/>
  26128. methods instead.
  26129. </para>
  26130. </remarks>
  26131. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26132. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26133. </member>
  26134. <member name="M:log4net.Util.ILogExtensions.InfoFormatExt(log4net.ILog,System.String,System.Object,System.Object)">
  26135. <summary>
  26136. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  26137. </summary>
  26138. <param name="logger">The logger on which the message is logged.</param>
  26139. <param name="format">A String containing zero or more format items</param>
  26140. <param name="arg0">An Object to format</param>
  26141. <param name="arg1">An Object to format</param>
  26142. <remarks>
  26143. <para>
  26144. The message is formatted using the <c>String.Format</c> method. See
  26145. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26146. of the formatting.
  26147. </para>
  26148. <para>
  26149. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26150. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)"/>
  26151. methods instead.
  26152. </para>
  26153. </remarks>
  26154. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26155. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26156. </member>
  26157. <member name="M:log4net.Util.ILogExtensions.InfoFormatExt(log4net.ILog,System.String,System.Object,System.Object,System.Object)">
  26158. <summary>
  26159. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  26160. </summary>
  26161. <param name="logger">The logger on which the message is logged.</param>
  26162. <param name="format">A String containing zero or more format items</param>
  26163. <param name="arg0">An Object to format</param>
  26164. <param name="arg1">An Object to format</param>
  26165. <param name="arg2">An Object to format</param>
  26166. <remarks>
  26167. <para>
  26168. The message is formatted using the <c>String.Format</c> method. See
  26169. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26170. of the formatting.
  26171. </para>
  26172. <para>
  26173. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26174. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)"/>
  26175. methods instead.
  26176. </para>
  26177. </remarks>
  26178. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26179. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26180. </member>
  26181. <member name="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Func{System.Object})">
  26182. <summary>
  26183. Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26184. </summary>
  26185. <param name="logger">The logger on which the message is logged.</param>
  26186. <param name="callback">The lambda expression that gets the object to log.</param>
  26187. <remarks>
  26188. <para>
  26189. This method first checks if this logger is <c>WARN</c>
  26190. enabled by reading the value <seealso cref="P:log4net.ILog.IsWarnEnabled"/> property.
  26191. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26192. implementation. If this logger is <c>WARN</c> enabled, then it converts
  26193. the message object (retrieved by invocation of the provided callback) to a
  26194. string by invoking the appropriate <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
  26195. It then proceeds to call all the registered appenders in this logger
  26196. and also higher in the hierarchy depending on the value of
  26197. the additivity flag.
  26198. </para>
  26199. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26200. to this method will print the name of the <see cref="T:System.Exception"/>
  26201. but no stack trace. To print a stack trace use the
  26202. <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Func{System.Object},System.Exception)"/> form instead.
  26203. </para>
  26204. </remarks>
  26205. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26206. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26207. </member>
  26208. <member name="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Func{System.Object},System.Exception)">
  26209. <summary>
  26210. Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level including
  26211. the stack trace of the <see cref="T:System.Exception"/> passed
  26212. as a parameter.
  26213. </summary>
  26214. <param name="logger">The logger on which the message is logged.</param>
  26215. <param name="callback">The lambda expression that gets the object to log.</param>
  26216. <param name="exception">The exception to log, including its stack trace.</param>
  26217. <remarks>
  26218. <para>
  26219. See the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26220. </para>
  26221. </remarks>
  26222. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26223. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26224. </member>
  26225. <member name="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object)">
  26226. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.</overloads> //TODO
  26227. <summary>
  26228. Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26229. </summary>
  26230. <param name="logger">The logger on which the message is logged.</param>
  26231. <param name="message">The message object to log.</param>
  26232. <remarks>
  26233. <para>
  26234. This method first checks if this logger is <c>WARN</c>
  26235. enabled by reading the value <seealso cref="P:log4net.ILog.IsWarnEnabled"/> property.
  26236. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26237. implementation. If this logger is <c>WARN</c> enabled, then it converts
  26238. the message object (passed as parameter) to a string by invoking the appropriate
  26239. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  26240. proceeds to call all the registered appenders in this logger
  26241. and also higher in the hierarchy depending on the value of
  26242. the additivity flag.
  26243. </para>
  26244. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26245. to this method will print the name of the <see cref="T:System.Exception"/>
  26246. but no stack trace. To print a stack trace use the
  26247. <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)"/> form instead.
  26248. </para>
  26249. </remarks>
  26250. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26251. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26252. </member>
  26253. <member name="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)">
  26254. <summary>
  26255. Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level including
  26256. the stack trace of the <see cref="T:System.Exception"/> passed
  26257. as a parameter.
  26258. </summary>
  26259. <param name="logger">The logger on which the message is logged.</param>
  26260. <param name="message">The message object to log.</param>
  26261. <param name="exception">The exception to log, including its stack trace.</param>
  26262. <remarks>
  26263. <para>
  26264. See the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26265. </para>
  26266. </remarks>
  26267. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26268. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26269. </member>
  26270. <member name="M:log4net.Util.ILogExtensions.WarnFormatExt(log4net.ILog,System.String,System.Object)">
  26271. <summary>
  26272. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26273. </summary>
  26274. <param name="logger">The logger on which the message is logged.</param>
  26275. <param name="format">A String containing zero or more format items</param>
  26276. <param name="arg0">An Object to format</param>
  26277. <remarks>
  26278. <para>
  26279. The message is formatted using the <c>String.Format</c> method. See
  26280. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26281. of the formatting.
  26282. </para>
  26283. <para>
  26284. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26285. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)"/>
  26286. methods instead.
  26287. </para>
  26288. </remarks>
  26289. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26290. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26291. </member>
  26292. <member name="M:log4net.Util.ILogExtensions.WarnFormatExt(log4net.ILog,System.String,System.Object[])">
  26293. <summary>
  26294. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26295. </summary>
  26296. <param name="logger">The logger on which the message is logged.</param>
  26297. <param name="format">A String containing zero or more format items</param>
  26298. <param name="args">An Object array containing zero or more objects to format</param>
  26299. <remarks>
  26300. <para>
  26301. The message is formatted using the <c>String.Format</c> method. See
  26302. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26303. of the formatting.
  26304. </para>
  26305. <para>
  26306. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26307. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)"/>
  26308. methods instead.
  26309. </para>
  26310. </remarks>
  26311. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26312. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26313. </member>
  26314. <member name="M:log4net.Util.ILogExtensions.WarnFormatExt(log4net.ILog,System.IFormatProvider,System.String,System.Object[])">
  26315. <summary>
  26316. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26317. </summary>
  26318. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  26319. <param name="logger">The logger on which the message is logged.</param>
  26320. <param name="format">A String containing zero or more format items</param>
  26321. <param name="args">An Object array containing zero or more objects to format</param>
  26322. <remarks>
  26323. <para>
  26324. The message is formatted using the <c>String.Format</c> method. See
  26325. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26326. of the formatting.
  26327. </para>
  26328. <para>
  26329. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26330. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)"/>
  26331. methods instead.
  26332. </para>
  26333. </remarks>
  26334. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26335. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26336. </member>
  26337. <member name="M:log4net.Util.ILogExtensions.WarnFormatExt(log4net.ILog,System.String,System.Object,System.Object)">
  26338. <summary>
  26339. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26340. </summary>
  26341. <param name="logger">The logger on which the message is logged.</param>
  26342. <param name="format">A String containing zero or more format items</param>
  26343. <param name="arg0">An Object to format</param>
  26344. <param name="arg1">An Object to format</param>
  26345. <remarks>
  26346. <para>
  26347. The message is formatted using the <c>String.Format</c> method. See
  26348. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26349. of the formatting.
  26350. </para>
  26351. <para>
  26352. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26353. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)"/>
  26354. methods instead.
  26355. </para>
  26356. </remarks>
  26357. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26358. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26359. </member>
  26360. <member name="M:log4net.Util.ILogExtensions.WarnFormatExt(log4net.ILog,System.String,System.Object,System.Object,System.Object)">
  26361. <summary>
  26362. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26363. </summary>
  26364. <param name="logger">The logger on which the message is logged.</param>
  26365. <param name="format">A String containing zero or more format items</param>
  26366. <param name="arg0">An Object to format</param>
  26367. <param name="arg1">An Object to format</param>
  26368. <param name="arg2">An Object to format</param>
  26369. <remarks>
  26370. <para>
  26371. The message is formatted using the <c>String.Format</c> method. See
  26372. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26373. of the formatting.
  26374. </para>
  26375. <para>
  26376. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26377. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)"/>
  26378. methods instead.
  26379. </para>
  26380. </remarks>
  26381. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26382. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26383. </member>
  26384. <member name="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Func{System.Object})">
  26385. <summary>
  26386. Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level.
  26387. </summary>
  26388. <param name="logger">The logger on which the message is logged.</param>
  26389. <param name="callback">The lambda expression that gets the object to log.</param>
  26390. <remarks>
  26391. <para>
  26392. This method first checks if this logger is <c>ERROR</c>
  26393. enabled by reading the value <seealso cref="P:log4net.ILog.IsErrorEnabled"/> property.
  26394. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26395. implementation. If this logger is <c>ERROR</c> enabled, then it converts
  26396. the message object (retrieved by invocation of the provided callback) to a
  26397. string by invoking the appropriate <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
  26398. It then proceeds to call all the registered appenders in this logger
  26399. and also higher in the hierarchy depending on the value of
  26400. the additivity flag.
  26401. </para>
  26402. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26403. to this method will print the name of the <see cref="T:System.Exception"/>
  26404. but no stack trace. To print a stack trace use the
  26405. <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Func{System.Object},System.Exception)"/> form instead.
  26406. </para>
  26407. </remarks>
  26408. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26409. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26410. </member>
  26411. <member name="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Func{System.Object},System.Exception)">
  26412. <summary>
  26413. Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level including
  26414. the stack trace of the <see cref="T:System.Exception"/> passed
  26415. as a parameter.
  26416. </summary>
  26417. <param name="logger">The logger on which the message is logged.</param>
  26418. <param name="callback">The lambda expression that gets the object to log.</param>
  26419. <param name="exception">The exception to log, including its stack trace.</param>
  26420. <remarks>
  26421. <para>
  26422. See the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26423. </para>
  26424. </remarks>
  26425. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26426. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26427. </member>
  26428. <member name="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object)">
  26429. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level.</overloads> //TODO
  26430. <summary>
  26431. Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level.
  26432. </summary>
  26433. <param name="logger">The logger on which the message is logged.</param>
  26434. <param name="message">The message object to log.</param>
  26435. <remarks>
  26436. <para>
  26437. This method first checks if this logger is <c>ERROR</c>
  26438. enabled by reading the value <seealso cref="P:log4net.ILog.IsErrorEnabled"/> property.
  26439. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26440. implementation. If this logger is <c>ERROR</c> enabled, then it converts
  26441. the message object (passed as parameter) to a string by invoking the appropriate
  26442. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  26443. proceeds to call all the registered appenders in this logger
  26444. and also higher in the hierarchy depending on the value of
  26445. the additivity flag.
  26446. </para>
  26447. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26448. to this method will print the name of the <see cref="T:System.Exception"/>
  26449. but no stack trace. To print a stack trace use the
  26450. <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)"/> form instead.
  26451. </para>
  26452. </remarks>
  26453. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26454. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26455. </member>
  26456. <member name="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)">
  26457. <summary>
  26458. Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level including
  26459. the stack trace of the <see cref="T:System.Exception"/> passed
  26460. as a parameter.
  26461. </summary>
  26462. <param name="logger">The logger on which the message is logged.</param>
  26463. <param name="message">The message object to log.</param>
  26464. <param name="exception">The exception to log, including its stack trace.</param>
  26465. <remarks>
  26466. <para>
  26467. See the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26468. </para>
  26469. </remarks>
  26470. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26471. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26472. </member>
  26473. <member name="M:log4net.Util.ILogExtensions.ErrorFormatExt(log4net.ILog,System.String,System.Object)">
  26474. <summary>
  26475. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  26476. </summary>
  26477. <param name="logger">The logger on which the message is logged.</param>
  26478. <param name="format">A String containing zero or more format items</param>
  26479. <param name="arg0">An Object to format</param>
  26480. <remarks>
  26481. <para>
  26482. The message is formatted using the <c>String.Format</c> method. See
  26483. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26484. of the formatting.
  26485. </para>
  26486. <para>
  26487. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26488. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)"/>
  26489. methods instead.
  26490. </para>
  26491. </remarks>
  26492. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26493. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26494. </member>
  26495. <member name="M:log4net.Util.ILogExtensions.ErrorFormatExt(log4net.ILog,System.String,System.Object[])">
  26496. <summary>
  26497. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  26498. </summary>
  26499. <param name="logger">The logger on which the message is logged.</param>
  26500. <param name="format">A String containing zero or more format items</param>
  26501. <param name="args">An Object array containing zero or more objects to format</param>
  26502. <remarks>
  26503. <para>
  26504. The message is formatted using the <c>String.Format</c> method. See
  26505. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26506. of the formatting.
  26507. </para>
  26508. <para>
  26509. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26510. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)"/>
  26511. methods instead.
  26512. </para>
  26513. </remarks>
  26514. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26515. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26516. </member>
  26517. <member name="M:log4net.Util.ILogExtensions.ErrorFormatExt(log4net.ILog,System.IFormatProvider,System.String,System.Object[])">
  26518. <summary>
  26519. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  26520. </summary>
  26521. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  26522. <param name="logger">The logger on which the message is logged.</param>
  26523. <param name="format">A String containing zero or more format items</param>
  26524. <param name="args">An Object array containing zero or more objects to format</param>
  26525. <remarks>
  26526. <para>
  26527. The message is formatted using the <c>String.Format</c> method. See
  26528. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26529. of the formatting.
  26530. </para>
  26531. <para>
  26532. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26533. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)"/>
  26534. methods instead.
  26535. </para>
  26536. </remarks>
  26537. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26538. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26539. </member>
  26540. <member name="M:log4net.Util.ILogExtensions.ErrorFormatExt(log4net.ILog,System.String,System.Object,System.Object)">
  26541. <summary>
  26542. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  26543. </summary>
  26544. <param name="logger">The logger on which the message is logged.</param>
  26545. <param name="format">A String containing zero or more format items</param>
  26546. <param name="arg0">An Object to format</param>
  26547. <param name="arg1">An Object to format</param>
  26548. <remarks>
  26549. <para>
  26550. The message is formatted using the <c>String.Format</c> method. See
  26551. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26552. of the formatting.
  26553. </para>
  26554. <para>
  26555. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26556. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)"/>
  26557. methods instead.
  26558. </para>
  26559. </remarks>
  26560. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26561. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26562. </member>
  26563. <member name="M:log4net.Util.ILogExtensions.ErrorFormatExt(log4net.ILog,System.String,System.Object,System.Object,System.Object)">
  26564. <summary>
  26565. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  26566. </summary>
  26567. <param name="logger">The logger on which the message is logged.</param>
  26568. <param name="format">A String containing zero or more format items</param>
  26569. <param name="arg0">An Object to format</param>
  26570. <param name="arg1">An Object to format</param>
  26571. <param name="arg2">An Object to format</param>
  26572. <remarks>
  26573. <para>
  26574. The message is formatted using the <c>String.Format</c> method. See
  26575. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26576. of the formatting.
  26577. </para>
  26578. <para>
  26579. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26580. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)"/>
  26581. methods instead.
  26582. </para>
  26583. </remarks>
  26584. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26585. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26586. </member>
  26587. <member name="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Func{System.Object})">
  26588. <summary>
  26589. Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26590. </summary>
  26591. <param name="logger">The logger on which the message is logged.</param>
  26592. <param name="callback">The lambda expression that gets the object to log.</param>
  26593. <remarks>
  26594. <para>
  26595. This method first checks if this logger is <c>FATAL</c>
  26596. enabled by reading the value <seealso cref="P:log4net.ILog.IsFatalEnabled"/> property.
  26597. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26598. implementation. If this logger is <c>FATAL</c> enabled, then it converts
  26599. the message object (retrieved by invocation of the provided callback) to a
  26600. string by invoking the appropriate <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
  26601. It then proceeds to call all the registered appenders in this logger
  26602. and also higher in the hierarchy depending on the value of
  26603. the additivity flag.
  26604. </para>
  26605. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26606. to this method will print the name of the <see cref="T:System.Exception"/>
  26607. but no stack trace. To print a stack trace use the
  26608. <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Func{System.Object},System.Exception)"/> form instead.
  26609. </para>
  26610. </remarks>
  26611. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26612. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26613. </member>
  26614. <member name="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Func{System.Object},System.Exception)">
  26615. <summary>
  26616. Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level including
  26617. the stack trace of the <see cref="T:System.Exception"/> passed
  26618. as a parameter.
  26619. </summary>
  26620. <param name="logger">The logger on which the message is logged.</param>
  26621. <param name="callback">The lambda expression that gets the object to log.</param>
  26622. <param name="exception">The exception to log, including its stack trace.</param>
  26623. <remarks>
  26624. <para>
  26625. See the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26626. </para>
  26627. </remarks>
  26628. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26629. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26630. </member>
  26631. <member name="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object)">
  26632. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.</overloads> //TODO
  26633. <summary>
  26634. Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26635. </summary>
  26636. <param name="logger">The logger on which the message is logged.</param>
  26637. <param name="message">The message object to log.</param>
  26638. <remarks>
  26639. <para>
  26640. This method first checks if this logger is <c>FATAL</c>
  26641. enabled by reading the value <seealso cref="P:log4net.ILog.IsFatalEnabled"/> property.
  26642. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26643. implementation. If this logger is <c>FATAL</c> enabled, then it converts
  26644. the message object (passed as parameter) to a string by invoking the appropriate
  26645. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  26646. proceeds to call all the registered appenders in this logger
  26647. and also higher in the hierarchy depending on the value of
  26648. the additivity flag.
  26649. </para>
  26650. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26651. to this method will print the name of the <see cref="T:System.Exception"/>
  26652. but no stack trace. To print a stack trace use the
  26653. <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)"/> form instead.
  26654. </para>
  26655. </remarks>
  26656. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26657. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26658. </member>
  26659. <member name="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)">
  26660. <summary>
  26661. Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level including
  26662. the stack trace of the <see cref="T:System.Exception"/> passed
  26663. as a parameter.
  26664. </summary>
  26665. <param name="logger">The logger on which the message is logged.</param>
  26666. <param name="message">The message object to log.</param>
  26667. <param name="exception">The exception to log, including its stack trace.</param>
  26668. <remarks>
  26669. <para>
  26670. See the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26671. </para>
  26672. </remarks>
  26673. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26674. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26675. </member>
  26676. <member name="M:log4net.Util.ILogExtensions.FatalFormatExt(log4net.ILog,System.String,System.Object)">
  26677. <summary>
  26678. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26679. </summary>
  26680. <param name="logger">The logger on which the message is logged.</param>
  26681. <param name="format">A String containing zero or more format items</param>
  26682. <param name="arg0">An Object to format</param>
  26683. <remarks>
  26684. <para>
  26685. The message is formatted using the <c>String.Format</c> method. See
  26686. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26687. of the formatting.
  26688. </para>
  26689. <para>
  26690. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26691. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)"/>
  26692. methods instead.
  26693. </para>
  26694. </remarks>
  26695. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26696. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26697. </member>
  26698. <member name="M:log4net.Util.ILogExtensions.FatalFormatExt(log4net.ILog,System.String,System.Object[])">
  26699. <summary>
  26700. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26701. </summary>
  26702. <param name="logger">The logger on which the message is logged.</param>
  26703. <param name="format">A String containing zero or more format items</param>
  26704. <param name="args">An Object array containing zero or more objects to format</param>
  26705. <remarks>
  26706. <para>
  26707. The message is formatted using the <c>String.Format</c> method. See
  26708. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26709. of the formatting.
  26710. </para>
  26711. <para>
  26712. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26713. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)"/>
  26714. methods instead.
  26715. </para>
  26716. </remarks>
  26717. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26718. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26719. </member>
  26720. <member name="M:log4net.Util.ILogExtensions.FatalFormatExt(log4net.ILog,System.IFormatProvider,System.String,System.Object[])">
  26721. <summary>
  26722. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26723. </summary>
  26724. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  26725. <param name="logger">The logger on which the message is logged.</param>
  26726. <param name="format">A String containing zero or more format items</param>
  26727. <param name="args">An Object array containing zero or more objects to format</param>
  26728. <remarks>
  26729. <para>
  26730. The message is formatted using the <c>String.Format</c> method. See
  26731. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26732. of the formatting.
  26733. </para>
  26734. <para>
  26735. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26736. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)"/>
  26737. methods instead.
  26738. </para>
  26739. </remarks>
  26740. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26741. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26742. </member>
  26743. <member name="M:log4net.Util.ILogExtensions.FatalFormatExt(log4net.ILog,System.String,System.Object,System.Object)">
  26744. <summary>
  26745. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26746. </summary>
  26747. <param name="logger">The logger on which the message is logged.</param>
  26748. <param name="format">A String containing zero or more format items</param>
  26749. <param name="arg0">An Object to format</param>
  26750. <param name="arg1">An Object to format</param>
  26751. <remarks>
  26752. <para>
  26753. The message is formatted using the <c>String.Format</c> method. See
  26754. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26755. of the formatting.
  26756. </para>
  26757. <para>
  26758. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26759. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)"/>
  26760. methods instead.
  26761. </para>
  26762. </remarks>
  26763. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26764. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26765. </member>
  26766. <member name="M:log4net.Util.ILogExtensions.FatalFormatExt(log4net.ILog,System.String,System.Object,System.Object,System.Object)">
  26767. <summary>
  26768. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26769. </summary>
  26770. <param name="logger">The logger on which the message is logged.</param>
  26771. <param name="format">A String containing zero or more format items</param>
  26772. <param name="arg0">An Object to format</param>
  26773. <param name="arg1">An Object to format</param>
  26774. <param name="arg2">An Object to format</param>
  26775. <remarks>
  26776. <para>
  26777. The message is formatted using the <c>String.Format</c> method. See
  26778. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26779. of the formatting.
  26780. </para>
  26781. <para>
  26782. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26783. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)"/>
  26784. methods instead.
  26785. </para>
  26786. </remarks>
  26787. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26788. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26789. </member>
  26790. <member name="T:log4net.Util.LevelMapping">
  26791. <summary>
  26792. Manages a mapping from levels to <see cref="T:log4net.Util.LevelMappingEntry"/>
  26793. </summary>
  26794. <remarks>
  26795. <para>
  26796. Manages an ordered mapping from <see cref="T:log4net.Core.Level"/> instances
  26797. to <see cref="T:log4net.Util.LevelMappingEntry"/> subclasses.
  26798. </para>
  26799. </remarks>
  26800. <author>Nicko Cadell</author>
  26801. </member>
  26802. <member name="M:log4net.Util.LevelMapping.#ctor">
  26803. <summary>
  26804. Default constructor
  26805. </summary>
  26806. <remarks>
  26807. <para>
  26808. Initialise a new instance of <see cref="T:log4net.Util.LevelMapping"/>.
  26809. </para>
  26810. </remarks>
  26811. </member>
  26812. <member name="M:log4net.Util.LevelMapping.Add(log4net.Util.LevelMappingEntry)">
  26813. <summary>
  26814. Add a <see cref="T:log4net.Util.LevelMappingEntry"/> to this mapping
  26815. </summary>
  26816. <param name="entry">the entry to add</param>
  26817. <remarks>
  26818. <para>
  26819. If a <see cref="T:log4net.Util.LevelMappingEntry"/> has previously been added
  26820. for the same <see cref="T:log4net.Core.Level"/> then that entry will be
  26821. overwritten.
  26822. </para>
  26823. </remarks>
  26824. </member>
  26825. <member name="M:log4net.Util.LevelMapping.Lookup(log4net.Core.Level)">
  26826. <summary>
  26827. Lookup the mapping for the specified level
  26828. </summary>
  26829. <param name="level">the level to lookup</param>
  26830. <returns>the <see cref="T:log4net.Util.LevelMappingEntry"/> for the level or <c>null</c> if no mapping found</returns>
  26831. <remarks>
  26832. <para>
  26833. Lookup the value for the specified level. Finds the nearest
  26834. mapping value for the level that is equal to or less than the
  26835. <paramref name="level"/> specified.
  26836. </para>
  26837. <para>
  26838. If no mapping could be found then <c>null</c> is returned.
  26839. </para>
  26840. </remarks>
  26841. </member>
  26842. <member name="M:log4net.Util.LevelMapping.ActivateOptions">
  26843. <summary>
  26844. Initialize options
  26845. </summary>
  26846. <remarks>
  26847. <para>
  26848. Caches the sorted list of <see cref="T:log4net.Util.LevelMappingEntry"/> in an array
  26849. </para>
  26850. </remarks>
  26851. </member>
  26852. <member name="T:log4net.Util.LogicalThreadContextProperties">
  26853. <summary>
  26854. Implementation of Properties collection for the <see cref="T:log4net.LogicalThreadContext"/>
  26855. </summary>
  26856. <remarks>
  26857. <para>
  26858. Class implements a collection of properties that is specific to each thread.
  26859. The class is not synchronized as each thread has its own <see cref="T:log4net.Util.PropertiesDictionary"/>.
  26860. </para>
  26861. <para>
  26862. This class stores its properties in a slot on the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> named
  26863. <c>log4net.Util.LogicalThreadContextProperties</c>.
  26864. </para>
  26865. <para>
  26866. The <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> requires a link time
  26867. <see cref="T:System.Security.Permissions.SecurityPermission"/> for the
  26868. <see cref="F:System.Security.Permissions.SecurityPermissionFlag.Infrastructure"/>.
  26869. If the calling code does not have this permission then this context will be disabled.
  26870. It will not store any property values set on it.
  26871. </para>
  26872. </remarks>
  26873. <author>Nicko Cadell</author>
  26874. </member>
  26875. <member name="F:log4net.Util.LogicalThreadContextProperties.m_disabled">
  26876. <summary>
  26877. Flag used to disable this context if we don't have permission to access the CallContext.
  26878. </summary>
  26879. </member>
  26880. <member name="M:log4net.Util.LogicalThreadContextProperties.#ctor">
  26881. <summary>
  26882. Constructor
  26883. </summary>
  26884. <remarks>
  26885. <para>
  26886. Initializes a new instance of the <see cref="T:log4net.Util.LogicalThreadContextProperties"/> class.
  26887. </para>
  26888. </remarks>
  26889. </member>
  26890. <member name="M:log4net.Util.LogicalThreadContextProperties.Remove(System.String)">
  26891. <summary>
  26892. Remove a property
  26893. </summary>
  26894. <param name="key">the key for the entry to remove</param>
  26895. <remarks>
  26896. <para>
  26897. Remove the value for the specified <paramref name="key"/> from the context.
  26898. </para>
  26899. </remarks>
  26900. </member>
  26901. <member name="M:log4net.Util.LogicalThreadContextProperties.Clear">
  26902. <summary>
  26903. Clear all the context properties
  26904. </summary>
  26905. <remarks>
  26906. <para>
  26907. Clear all the context properties
  26908. </para>
  26909. </remarks>
  26910. </member>
  26911. <member name="M:log4net.Util.LogicalThreadContextProperties.GetProperties(System.Boolean)">
  26912. <summary>
  26913. Get the PropertiesDictionary stored in the LocalDataStoreSlot for this thread.
  26914. </summary>
  26915. <param name="create">create the dictionary if it does not exist, otherwise return null if is does not exist</param>
  26916. <returns>the properties for this thread</returns>
  26917. <remarks>
  26918. <para>
  26919. The collection returned is only to be used on the calling thread. If the
  26920. caller needs to share the collection between different threads then the
  26921. caller must clone the collection before doings so.
  26922. </para>
  26923. </remarks>
  26924. </member>
  26925. <member name="M:log4net.Util.LogicalThreadContextProperties.GetCallContextData">
  26926. <summary>
  26927. Gets the call context get data.
  26928. </summary>
  26929. <returns>The peroperties dictionary stored in the call context</returns>
  26930. <remarks>
  26931. The <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> method <see cref="M:System.Runtime.Remoting.Messaging.CallContext.GetData(System.String)"/> has a
  26932. security link demand, therfore we must put the method call in a seperate method
  26933. that we can wrap in an exception handler.
  26934. </remarks>
  26935. </member>
  26936. <member name="M:log4net.Util.LogicalThreadContextProperties.SetCallContextData(log4net.Util.PropertiesDictionary)">
  26937. <summary>
  26938. Sets the call context data.
  26939. </summary>
  26940. <param name="properties">The properties.</param>
  26941. <remarks>
  26942. The <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> method <see cref="M:System.Runtime.Remoting.Messaging.CallContext.SetData(System.String,System.Object)"/> has a
  26943. security link demand, therfore we must put the method call in a seperate method
  26944. that we can wrap in an exception handler.
  26945. </remarks>
  26946. </member>
  26947. <member name="F:log4net.Util.LogicalThreadContextProperties.declaringType">
  26948. <summary>
  26949. The fully qualified type of the LogicalThreadContextProperties class.
  26950. </summary>
  26951. <remarks>
  26952. Used by the internal logger to record the Type of the
  26953. log message.
  26954. </remarks>
  26955. </member>
  26956. <member name="P:log4net.Util.LogicalThreadContextProperties.Item(System.String)">
  26957. <summary>
  26958. Gets or sets the value of a property
  26959. </summary>
  26960. <value>
  26961. The value for the property with the specified key
  26962. </value>
  26963. <remarks>
  26964. <para>
  26965. Get or set the property value for the <paramref name="key"/> specified.
  26966. </para>
  26967. </remarks>
  26968. </member>
  26969. <member name="T:log4net.Util.TwoArgAction`2">
  26970. <summary>
  26971. Delegate type used for LogicalThreadContextStack's callbacks.
  26972. </summary>
  26973. </member>
  26974. <member name="T:log4net.Util.LogicalThreadContextStack">
  26975. <summary>
  26976. Implementation of Stack for the <see cref="T:log4net.LogicalThreadContext"/>
  26977. </summary>
  26978. <remarks>
  26979. <para>
  26980. Implementation of Stack for the <see cref="T:log4net.LogicalThreadContext"/>
  26981. </para>
  26982. </remarks>
  26983. <author>Nicko Cadell</author>
  26984. </member>
  26985. <member name="F:log4net.Util.LogicalThreadContextStack.m_stack">
  26986. <summary>
  26987. The stack store.
  26988. </summary>
  26989. </member>
  26990. <member name="F:log4net.Util.LogicalThreadContextStack.m_propertyKey">
  26991. <summary>
  26992. The name of this <see cref="T:log4net.Util.LogicalThreadContextStack"/> within the
  26993. <see cref="T:log4net.Util.LogicalThreadContextProperties"/>.
  26994. </summary>
  26995. </member>
  26996. <member name="F:log4net.Util.LogicalThreadContextStack.m_registerNew">
  26997. <summary>
  26998. The callback used to let the <see cref="T:log4net.Util.LogicalThreadContextStacks"/> register a
  26999. new instance of a <see cref="T:log4net.Util.LogicalThreadContextStack"/>.
  27000. </summary>
  27001. </member>
  27002. <member name="M:log4net.Util.LogicalThreadContextStack.#ctor(System.String,log4net.Util.TwoArgAction{System.String,log4net.Util.LogicalThreadContextStack})">
  27003. <summary>
  27004. Internal constructor
  27005. </summary>
  27006. <remarks>
  27007. <para>
  27008. Initializes a new instance of the <see cref="T:log4net.Util.LogicalThreadContextStack"/> class.
  27009. </para>
  27010. </remarks>
  27011. </member>
  27012. <member name="M:log4net.Util.LogicalThreadContextStack.Clear">
  27013. <summary>
  27014. Clears all the contextual information held in this stack.
  27015. </summary>
  27016. <remarks>
  27017. <para>
  27018. Clears all the contextual information held in this stack.
  27019. Only call this if you think that this thread is being reused after
  27020. a previous call execution which may not have completed correctly.
  27021. You do not need to use this method if you always guarantee to call
  27022. the <see cref="M:System.IDisposable.Dispose"/> method of the <see cref="T:System.IDisposable"/>
  27023. returned from <see cref="M:log4net.Util.LogicalThreadContextStack.Push(System.String)"/> even in exceptional circumstances,
  27024. for example by using the <c>using(log4net.LogicalThreadContext.Stacks["NDC"].Push("Stack_Message"))</c>
  27025. syntax.
  27026. </para>
  27027. </remarks>
  27028. </member>
  27029. <member name="M:log4net.Util.LogicalThreadContextStack.Pop">
  27030. <summary>
  27031. Removes the top context from this stack.
  27032. </summary>
  27033. <returns>The message in the context that was removed from the top of this stack.</returns>
  27034. <remarks>
  27035. <para>
  27036. Remove the top context from this stack, and return
  27037. it to the caller. If this stack is empty then an
  27038. empty string (not <see langword="null"/>) is returned.
  27039. </para>
  27040. </remarks>
  27041. </member>
  27042. <member name="M:log4net.Util.LogicalThreadContextStack.Push(System.String)">
  27043. <summary>
  27044. Pushes a new context message into this stack.
  27045. </summary>
  27046. <param name="message">The new context message.</param>
  27047. <returns>
  27048. An <see cref="T:System.IDisposable"/> that can be used to clean up the context stack.
  27049. </returns>
  27050. <remarks>
  27051. <para>
  27052. Pushes a new context onto this stack. An <see cref="T:System.IDisposable"/>
  27053. is returned that can be used to clean up this stack. This
  27054. can be easily combined with the <c>using</c> keyword to scope the
  27055. context.
  27056. </para>
  27057. </remarks>
  27058. <example>Simple example of using the <c>Push</c> method with the <c>using</c> keyword.
  27059. <code lang="C#">
  27060. using(log4net.LogicalThreadContext.Stacks["NDC"].Push("Stack_Message"))
  27061. {
  27062. log.Warn("This should have an ThreadContext Stack message");
  27063. }
  27064. </code>
  27065. </example>
  27066. </member>
  27067. <member name="M:log4net.Util.LogicalThreadContextStack.GetFullMessage">
  27068. <summary>
  27069. Gets the current context information for this stack.
  27070. </summary>
  27071. <returns>The current context information.</returns>
  27072. </member>
  27073. <member name="M:log4net.Util.LogicalThreadContextStack.ToString">
  27074. <summary>
  27075. Gets the current context information for this stack.
  27076. </summary>
  27077. <returns>Gets the current context information</returns>
  27078. <remarks>
  27079. <para>
  27080. Gets the current context information for this stack.
  27081. </para>
  27082. </remarks>
  27083. </member>
  27084. <member name="M:log4net.Util.LogicalThreadContextStack.log4net#Core#IFixingRequired#GetFixedObject">
  27085. <summary>
  27086. Get a portable version of this object
  27087. </summary>
  27088. <returns>the portable instance of this object</returns>
  27089. <remarks>
  27090. <para>
  27091. Get a cross thread portable version of this object
  27092. </para>
  27093. </remarks>
  27094. </member>
  27095. <member name="P:log4net.Util.LogicalThreadContextStack.Count">
  27096. <summary>
  27097. The number of messages in the stack
  27098. </summary>
  27099. <value>
  27100. The current number of messages in the stack
  27101. </value>
  27102. <remarks>
  27103. <para>
  27104. The current number of messages in the stack. That is
  27105. the number of times <see cref="M:log4net.Util.LogicalThreadContextStack.Push(System.String)"/> has been called
  27106. minus the number of times <see cref="M:log4net.Util.LogicalThreadContextStack.Pop"/> has been called.
  27107. </para>
  27108. </remarks>
  27109. </member>
  27110. <member name="P:log4net.Util.LogicalThreadContextStack.InternalStack">
  27111. <summary>
  27112. Gets and sets the internal stack used by this <see cref="T:log4net.Util.LogicalThreadContextStack"/>
  27113. </summary>
  27114. <value>The internal storage stack</value>
  27115. <remarks>
  27116. <para>
  27117. This property is provided only to support backward compatability
  27118. of the <see cref="T:log4net.NDC"/>. Tytpically the internal stack should not
  27119. be modified.
  27120. </para>
  27121. </remarks>
  27122. </member>
  27123. <member name="T:log4net.Util.LogicalThreadContextStack.StackFrame">
  27124. <summary>
  27125. Inner class used to represent a single context frame in the stack.
  27126. </summary>
  27127. <remarks>
  27128. <para>
  27129. Inner class used to represent a single context frame in the stack.
  27130. </para>
  27131. </remarks>
  27132. </member>
  27133. <member name="M:log4net.Util.LogicalThreadContextStack.StackFrame.#ctor(System.String,log4net.Util.LogicalThreadContextStack.StackFrame)">
  27134. <summary>
  27135. Constructor
  27136. </summary>
  27137. <param name="message">The message for this context.</param>
  27138. <param name="parent">The parent context in the chain.</param>
  27139. <remarks>
  27140. <para>
  27141. Initializes a new instance of the <see cref="T:log4net.Util.LogicalThreadContextStack.StackFrame"/> class
  27142. with the specified message and parent context.
  27143. </para>
  27144. </remarks>
  27145. </member>
  27146. <member name="P:log4net.Util.LogicalThreadContextStack.StackFrame.Message">
  27147. <summary>
  27148. Get the message.
  27149. </summary>
  27150. <value>The message.</value>
  27151. <remarks>
  27152. <para>
  27153. Get the message.
  27154. </para>
  27155. </remarks>
  27156. </member>
  27157. <member name="P:log4net.Util.LogicalThreadContextStack.StackFrame.FullMessage">
  27158. <summary>
  27159. Gets the full text of the context down to the root level.
  27160. </summary>
  27161. <value>
  27162. The full text of the context down to the root level.
  27163. </value>
  27164. <remarks>
  27165. <para>
  27166. Gets the full text of the context down to the root level.
  27167. </para>
  27168. </remarks>
  27169. </member>
  27170. <member name="T:log4net.Util.LogicalThreadContextStack.AutoPopStackFrame">
  27171. <summary>
  27172. Struct returned from the <see cref="M:log4net.Util.LogicalThreadContextStack.Push(System.String)"/> method.
  27173. </summary>
  27174. <remarks>
  27175. <para>
  27176. This struct implements the <see cref="T:System.IDisposable"/> and is designed to be used
  27177. with the <see langword="using"/> pattern to remove the stack frame at the end of the scope.
  27178. </para>
  27179. </remarks>
  27180. </member>
  27181. <member name="F:log4net.Util.LogicalThreadContextStack.AutoPopStackFrame.m_frameDepth">
  27182. <summary>
  27183. The depth to trim the stack to when this instance is disposed
  27184. </summary>
  27185. </member>
  27186. <member name="F:log4net.Util.LogicalThreadContextStack.AutoPopStackFrame.m_logicalThreadContextStack">
  27187. <summary>
  27188. The outer LogicalThreadContextStack.
  27189. </summary>
  27190. </member>
  27191. <member name="M:log4net.Util.LogicalThreadContextStack.AutoPopStackFrame.#ctor(log4net.Util.LogicalThreadContextStack,System.Int32)">
  27192. <summary>
  27193. Constructor
  27194. </summary>
  27195. <param name="logicalThreadContextStack">The internal stack used by the ThreadContextStack.</param>
  27196. <param name="frameDepth">The depth to return the stack to when this object is disposed.</param>
  27197. <remarks>
  27198. <para>
  27199. Initializes a new instance of the <see cref="T:log4net.Util.LogicalThreadContextStack.AutoPopStackFrame"/> class with
  27200. the specified stack and return depth.
  27201. </para>
  27202. </remarks>
  27203. </member>
  27204. <member name="M:log4net.Util.LogicalThreadContextStack.AutoPopStackFrame.Dispose">
  27205. <summary>
  27206. Returns the stack to the correct depth.
  27207. </summary>
  27208. <remarks>
  27209. <para>
  27210. Returns the stack to the correct depth.
  27211. </para>
  27212. </remarks>
  27213. </member>
  27214. <member name="T:log4net.Util.LogicalThreadContextStacks">
  27215. <summary>
  27216. Implementation of Stacks collection for the <see cref="T:log4net.LogicalThreadContext"/>
  27217. </summary>
  27218. <remarks>
  27219. <para>
  27220. Implementation of Stacks collection for the <see cref="T:log4net.LogicalThreadContext"/>
  27221. </para>
  27222. </remarks>
  27223. <author>Nicko Cadell</author>
  27224. </member>
  27225. <member name="M:log4net.Util.LogicalThreadContextStacks.#ctor(log4net.Util.LogicalThreadContextProperties)">
  27226. <summary>
  27227. Internal constructor
  27228. </summary>
  27229. <remarks>
  27230. <para>
  27231. Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStacks"/> class.
  27232. </para>
  27233. </remarks>
  27234. </member>
  27235. <member name="F:log4net.Util.LogicalThreadContextStacks.declaringType">
  27236. <summary>
  27237. The fully qualified type of the ThreadContextStacks class.
  27238. </summary>
  27239. <remarks>
  27240. Used by the internal logger to record the Type of the
  27241. log message.
  27242. </remarks>
  27243. </member>
  27244. <member name="P:log4net.Util.LogicalThreadContextStacks.Item(System.String)">
  27245. <summary>
  27246. Gets the named thread context stack
  27247. </summary>
  27248. <value>
  27249. The named stack
  27250. </value>
  27251. <remarks>
  27252. <para>
  27253. Gets the named thread context stack
  27254. </para>
  27255. </remarks>
  27256. </member>
  27257. <member name="T:log4net.Util.LogReceivedEventHandler">
  27258. <summary>
  27259. </summary>
  27260. <param name="source"></param>
  27261. <param name="e"></param>
  27262. </member>
  27263. <member name="T:log4net.Util.LogLog">
  27264. <summary>
  27265. Outputs log statements from within the log4net assembly.
  27266. </summary>
  27267. <remarks>
  27268. <para>
  27269. Log4net components cannot make log4net logging calls. However, it is
  27270. sometimes useful for the user to learn about what log4net is
  27271. doing.
  27272. </para>
  27273. <para>
  27274. All log4net internal debug calls go to the standard output stream
  27275. whereas internal error messages are sent to the standard error output
  27276. stream.
  27277. </para>
  27278. </remarks>
  27279. <author>Nicko Cadell</author>
  27280. <author>Gert Driesen</author>
  27281. </member>
  27282. <member name="M:log4net.Util.LogLog.ToString">
  27283. <summary>
  27284. Formats Prefix, Source, and Message in the same format as the value
  27285. sent to Console.Out and Trace.Write.
  27286. </summary>
  27287. <returns></returns>
  27288. </member>
  27289. <member name="M:log4net.Util.LogLog.#ctor(System.Type,System.String,System.String,System.Exception)">
  27290. <summary>
  27291. Initializes a new instance of the <see cref="T:log4net.Util.LogLog"/> class.
  27292. </summary>
  27293. <param name="source"></param>
  27294. <param name="prefix"></param>
  27295. <param name="message"></param>
  27296. <param name="exception"></param>
  27297. </member>
  27298. <member name="M:log4net.Util.LogLog.#cctor">
  27299. <summary>
  27300. Static constructor that initializes logging by reading
  27301. settings from the application configuration file.
  27302. </summary>
  27303. <remarks>
  27304. <para>
  27305. The <c>log4net.Internal.Debug</c> application setting
  27306. controls internal debugging. This setting should be set
  27307. to <c>true</c> to enable debugging.
  27308. </para>
  27309. <para>
  27310. The <c>log4net.Internal.Quiet</c> application setting
  27311. suppresses all internal logging including error messages.
  27312. This setting should be set to <c>true</c> to enable message
  27313. suppression.
  27314. </para>
  27315. </remarks>
  27316. </member>
  27317. <member name="M:log4net.Util.LogLog.OnLogReceived(System.Type,System.String,System.String,System.Exception)">
  27318. <summary>
  27319. Raises the LogReceived event when an internal messages is received.
  27320. </summary>
  27321. <param name="source"></param>
  27322. <param name="prefix"></param>
  27323. <param name="message"></param>
  27324. <param name="exception"></param>
  27325. </member>
  27326. <member name="M:log4net.Util.LogLog.Debug(System.Type,System.String)">
  27327. <summary>
  27328. Writes log4net internal debug messages to the
  27329. standard output stream.
  27330. </summary>
  27331. <param name="source"></param>
  27332. <param name="message">The message to log.</param>
  27333. <remarks>
  27334. <para>
  27335. All internal debug messages are prepended with
  27336. the string "log4net: ".
  27337. </para>
  27338. </remarks>
  27339. </member>
  27340. <member name="M:log4net.Util.LogLog.Debug(System.Type,System.String,System.Exception)">
  27341. <summary>
  27342. Writes log4net internal debug messages to the
  27343. standard output stream.
  27344. </summary>
  27345. <param name="source">The Type that generated this message.</param>
  27346. <param name="message">The message to log.</param>
  27347. <param name="exception">An exception to log.</param>
  27348. <remarks>
  27349. <para>
  27350. All internal debug messages are prepended with
  27351. the string "log4net: ".
  27352. </para>
  27353. </remarks>
  27354. </member>
  27355. <member name="M:log4net.Util.LogLog.Warn(System.Type,System.String)">
  27356. <summary>
  27357. Writes log4net internal warning messages to the
  27358. standard error stream.
  27359. </summary>
  27360. <param name="source">The Type that generated this message.</param>
  27361. <param name="message">The message to log.</param>
  27362. <remarks>
  27363. <para>
  27364. All internal warning messages are prepended with
  27365. the string "log4net:WARN ".
  27366. </para>
  27367. </remarks>
  27368. </member>
  27369. <member name="M:log4net.Util.LogLog.Warn(System.Type,System.String,System.Exception)">
  27370. <summary>
  27371. Writes log4net internal warning messages to the
  27372. standard error stream.
  27373. </summary>
  27374. <param name="source">The Type that generated this message.</param>
  27375. <param name="message">The message to log.</param>
  27376. <param name="exception">An exception to log.</param>
  27377. <remarks>
  27378. <para>
  27379. All internal warning messages are prepended with
  27380. the string "log4net:WARN ".
  27381. </para>
  27382. </remarks>
  27383. </member>
  27384. <member name="M:log4net.Util.LogLog.Error(System.Type,System.String)">
  27385. <summary>
  27386. Writes log4net internal error messages to the
  27387. standard error stream.
  27388. </summary>
  27389. <param name="source">The Type that generated this message.</param>
  27390. <param name="message">The message to log.</param>
  27391. <remarks>
  27392. <para>
  27393. All internal error messages are prepended with
  27394. the string "log4net:ERROR ".
  27395. </para>
  27396. </remarks>
  27397. </member>
  27398. <member name="M:log4net.Util.LogLog.Error(System.Type,System.String,System.Exception)">
  27399. <summary>
  27400. Writes log4net internal error messages to the
  27401. standard error stream.
  27402. </summary>
  27403. <param name="source">The Type that generated this message.</param>
  27404. <param name="message">The message to log.</param>
  27405. <param name="exception">An exception to log.</param>
  27406. <remarks>
  27407. <para>
  27408. All internal debug messages are prepended with
  27409. the string "log4net:ERROR ".
  27410. </para>
  27411. </remarks>
  27412. </member>
  27413. <member name="M:log4net.Util.LogLog.EmitOutLine(System.String)">
  27414. <summary>
  27415. Writes output to the standard output stream.
  27416. </summary>
  27417. <param name="message">The message to log.</param>
  27418. <remarks>
  27419. <para>
  27420. Writes to both Console.Out and System.Diagnostics.Trace.
  27421. Note that the System.Diagnostics.Trace is not supported
  27422. on the Compact Framework.
  27423. </para>
  27424. <para>
  27425. If the AppDomain is not configured with a config file then
  27426. the call to System.Diagnostics.Trace may fail. This is only
  27427. an issue if you are programmatically creating your own AppDomains.
  27428. </para>
  27429. </remarks>
  27430. </member>
  27431. <member name="M:log4net.Util.LogLog.EmitErrorLine(System.String)">
  27432. <summary>
  27433. Writes output to the standard error stream.
  27434. </summary>
  27435. <param name="message">The message to log.</param>
  27436. <remarks>
  27437. <para>
  27438. Writes to both Console.Error and System.Diagnostics.Trace.
  27439. Note that the System.Diagnostics.Trace is not supported
  27440. on the Compact Framework.
  27441. </para>
  27442. <para>
  27443. If the AppDomain is not configured with a config file then
  27444. the call to System.Diagnostics.Trace may fail. This is only
  27445. an issue if you are programmatically creating your own AppDomains.
  27446. </para>
  27447. </remarks>
  27448. </member>
  27449. <member name="F:log4net.Util.LogLog.s_debugEnabled">
  27450. <summary>
  27451. Default debug level
  27452. </summary>
  27453. </member>
  27454. <member name="F:log4net.Util.LogLog.s_quietMode">
  27455. <summary>
  27456. In quietMode not even errors generate any output.
  27457. </summary>
  27458. </member>
  27459. <member name="E:log4net.Util.LogLog.LogReceived">
  27460. <summary>
  27461. The event raised when an internal message has been received.
  27462. </summary>
  27463. </member>
  27464. <member name="P:log4net.Util.LogLog.Source">
  27465. <summary>
  27466. The Type that generated the internal message.
  27467. </summary>
  27468. </member>
  27469. <member name="P:log4net.Util.LogLog.TimeStamp">
  27470. <summary>
  27471. The DateTime stamp of when the internal message was received.
  27472. </summary>
  27473. </member>
  27474. <member name="P:log4net.Util.LogLog.Prefix">
  27475. <summary>
  27476. A string indicating the severity of the internal message.
  27477. </summary>
  27478. <remarks>
  27479. "log4net: ",
  27480. "log4net:ERROR ",
  27481. "log4net:WARN "
  27482. </remarks>
  27483. </member>
  27484. <member name="P:log4net.Util.LogLog.Message">
  27485. <summary>
  27486. The internal log message.
  27487. </summary>
  27488. </member>
  27489. <member name="P:log4net.Util.LogLog.Exception">
  27490. <summary>
  27491. The Exception related to the message.
  27492. </summary>
  27493. <remarks>
  27494. Optional. Will be null if no Exception was passed.
  27495. </remarks>
  27496. </member>
  27497. <member name="P:log4net.Util.LogLog.InternalDebugging">
  27498. <summary>
  27499. Gets or sets a value indicating whether log4net internal logging
  27500. is enabled or disabled.
  27501. </summary>
  27502. <value>
  27503. <c>true</c> if log4net internal logging is enabled, otherwise
  27504. <c>false</c>.
  27505. </value>
  27506. <remarks>
  27507. <para>
  27508. When set to <c>true</c>, internal debug level logging will be
  27509. displayed.
  27510. </para>
  27511. <para>
  27512. This value can be set by setting the application setting
  27513. <c>log4net.Internal.Debug</c> in the application configuration
  27514. file.
  27515. </para>
  27516. <para>
  27517. The default value is <c>false</c>, i.e. debugging is
  27518. disabled.
  27519. </para>
  27520. </remarks>
  27521. <example>
  27522. <para>
  27523. The following example enables internal debugging using the
  27524. application configuration file :
  27525. </para>
  27526. <code lang="XML" escaped="true">
  27527. <configuration>
  27528. <appSettings>
  27529. <add key="log4net.Internal.Debug" value="true" />
  27530. </appSettings>
  27531. </configuration>
  27532. </code>
  27533. </example>
  27534. </member>
  27535. <member name="P:log4net.Util.LogLog.QuietMode">
  27536. <summary>
  27537. Gets or sets a value indicating whether log4net should generate no output
  27538. from internal logging, not even for errors.
  27539. </summary>
  27540. <value>
  27541. <c>true</c> if log4net should generate no output at all from internal
  27542. logging, otherwise <c>false</c>.
  27543. </value>
  27544. <remarks>
  27545. <para>
  27546. When set to <c>true</c> will cause internal logging at all levels to be
  27547. suppressed. This means that no warning or error reports will be logged.
  27548. This option overrides the <see cref="P:log4net.Util.LogLog.InternalDebugging"/> setting and
  27549. disables all debug also.
  27550. </para>
  27551. <para>This value can be set by setting the application setting
  27552. <c>log4net.Internal.Quiet</c> in the application configuration file.
  27553. </para>
  27554. <para>
  27555. The default value is <c>false</c>, i.e. internal logging is not
  27556. disabled.
  27557. </para>
  27558. </remarks>
  27559. <example>
  27560. The following example disables internal logging using the
  27561. application configuration file :
  27562. <code lang="XML" escaped="true">
  27563. <configuration>
  27564. <appSettings>
  27565. <add key="log4net.Internal.Quiet" value="true"/>
  27566. </appSettings>
  27567. </configuration>
  27568. </code>
  27569. </example>
  27570. </member>
  27571. <member name="P:log4net.Util.LogLog.EmitInternalMessages">
  27572. <summary>
  27573. </summary>
  27574. </member>
  27575. <member name="P:log4net.Util.LogLog.IsDebugEnabled">
  27576. <summary>
  27577. Test if LogLog.Debug is enabled for output.
  27578. </summary>
  27579. <value>
  27580. <c>true</c> if Debug is enabled
  27581. </value>
  27582. <remarks>
  27583. <para>
  27584. Test if LogLog.Debug is enabled for output.
  27585. </para>
  27586. </remarks>
  27587. </member>
  27588. <member name="P:log4net.Util.LogLog.IsWarnEnabled">
  27589. <summary>
  27590. Test if LogLog.Warn is enabled for output.
  27591. </summary>
  27592. <value>
  27593. <c>true</c> if Warn is enabled
  27594. </value>
  27595. <remarks>
  27596. <para>
  27597. Test if LogLog.Warn is enabled for output.
  27598. </para>
  27599. </remarks>
  27600. </member>
  27601. <member name="P:log4net.Util.LogLog.IsErrorEnabled">
  27602. <summary>
  27603. Test if LogLog.Error is enabled for output.
  27604. </summary>
  27605. <value>
  27606. <c>true</c> if Error is enabled
  27607. </value>
  27608. <remarks>
  27609. <para>
  27610. Test if LogLog.Error is enabled for output.
  27611. </para>
  27612. </remarks>
  27613. </member>
  27614. <member name="T:log4net.Util.LogLog.LogReceivedAdapter">
  27615. <summary>
  27616. Subscribes to the LogLog.LogReceived event and stores messages
  27617. to the supplied IList instance.
  27618. </summary>
  27619. </member>
  27620. <member name="M:log4net.Util.LogLog.LogReceivedAdapter.#ctor(System.Collections.IList)">
  27621. <summary>
  27622. </summary>
  27623. <param name="items"></param>
  27624. </member>
  27625. <member name="M:log4net.Util.LogLog.LogReceivedAdapter.Dispose">
  27626. <summary>
  27627. </summary>
  27628. </member>
  27629. <member name="P:log4net.Util.LogLog.LogReceivedAdapter.Items">
  27630. <summary>
  27631. </summary>
  27632. </member>
  27633. <member name="T:log4net.Util.LogReceivedEventArgs">
  27634. <summary>
  27635. </summary>
  27636. </member>
  27637. <member name="M:log4net.Util.LogReceivedEventArgs.#ctor(log4net.Util.LogLog)">
  27638. <summary>
  27639. </summary>
  27640. <param name="loglog"></param>
  27641. </member>
  27642. <member name="P:log4net.Util.LogReceivedEventArgs.LogLog">
  27643. <summary>
  27644. </summary>
  27645. </member>
  27646. <member name="T:log4net.Util.NativeError">
  27647. <summary>
  27648. Represents a native error code and message.
  27649. </summary>
  27650. <remarks>
  27651. <para>
  27652. Represents a Win32 platform native error.
  27653. </para>
  27654. </remarks>
  27655. <author>Nicko Cadell</author>
  27656. <author>Gert Driesen</author>
  27657. </member>
  27658. <member name="M:log4net.Util.NativeError.#ctor(System.Int32,System.String)">
  27659. <summary>
  27660. Create an instance of the <see cref="T:log4net.Util.NativeError"/> class with the specified
  27661. error number and message.
  27662. </summary>
  27663. <param name="number">The number of the native error.</param>
  27664. <param name="message">The message of the native error.</param>
  27665. <remarks>
  27666. <para>
  27667. Create an instance of the <see cref="T:log4net.Util.NativeError"/> class with the specified
  27668. error number and message.
  27669. </para>
  27670. </remarks>
  27671. </member>
  27672. <member name="M:log4net.Util.NativeError.GetLastError">
  27673. <summary>
  27674. Create a new instance of the <see cref="T:log4net.Util.NativeError"/> class for the last Windows error.
  27675. </summary>
  27676. <returns>
  27677. An instance of the <see cref="T:log4net.Util.NativeError"/> class for the last windows error.
  27678. </returns>
  27679. <remarks>
  27680. <para>
  27681. The message for the <see cref="M:System.Runtime.InteropServices.Marshal.GetLastWin32Error"/> error number is lookup up using the
  27682. native Win32 <c>FormatMessage</c> function.
  27683. </para>
  27684. </remarks>
  27685. </member>
  27686. <member name="M:log4net.Util.NativeError.GetError(System.Int32)">
  27687. <summary>
  27688. Create a new instance of the <see cref="T:log4net.Util.NativeError"/> class.
  27689. </summary>
  27690. <param name="number">the error number for the native error</param>
  27691. <returns>
  27692. An instance of the <see cref="T:log4net.Util.NativeError"/> class for the specified
  27693. error number.
  27694. </returns>
  27695. <remarks>
  27696. <para>
  27697. The message for the specified error number is lookup up using the
  27698. native Win32 <c>FormatMessage</c> function.
  27699. </para>
  27700. </remarks>
  27701. </member>
  27702. <member name="M:log4net.Util.NativeError.GetErrorMessage(System.Int32)">
  27703. <summary>
  27704. Retrieves the message corresponding with a Win32 message identifier.
  27705. </summary>
  27706. <param name="messageId">Message identifier for the requested message.</param>
  27707. <returns>
  27708. The message corresponding with the specified message identifier.
  27709. </returns>
  27710. <remarks>
  27711. <para>
  27712. The message will be searched for in system message-table resource(s)
  27713. using the native <c>FormatMessage</c> function.
  27714. </para>
  27715. </remarks>
  27716. </member>
  27717. <member name="M:log4net.Util.NativeError.ToString">
  27718. <summary>
  27719. Return error information string
  27720. </summary>
  27721. <returns>error information string</returns>
  27722. <remarks>
  27723. <para>
  27724. Return error information string
  27725. </para>
  27726. </remarks>
  27727. </member>
  27728. <member name="M:log4net.Util.NativeError.FormatMessage(System.Int32,System.IntPtr@,System.Int32,System.Int32,System.String@,System.Int32,System.IntPtr)">
  27729. <summary>
  27730. Formats a message string.
  27731. </summary>
  27732. <param name="dwFlags">Formatting options, and how to interpret the <paramref name="lpSource" /> parameter.</param>
  27733. <param name="lpSource">Location of the message definition.</param>
  27734. <param name="dwMessageId">Message identifier for the requested message.</param>
  27735. <param name="dwLanguageId">Language identifier for the requested message.</param>
  27736. <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>
  27737. <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>
  27738. <param name="Arguments">Pointer to an array of values that are used as insert values in the formatted message.</param>
  27739. <remarks>
  27740. <para>
  27741. The function requires a message definition as input. The message definition can come from a
  27742. buffer passed into the function. It can come from a message table resource in an
  27743. already-loaded module. Or the caller can ask the function to search the system's message
  27744. table resource(s) for the message definition. The function finds the message definition
  27745. in a message table resource based on a message identifier and a language identifier.
  27746. The function copies the formatted message text to an output buffer, processing any embedded
  27747. insert sequences if requested.
  27748. </para>
  27749. <para>
  27750. To prevent the usage of unsafe code, this stub does not support inserting values in the formatted message.
  27751. </para>
  27752. </remarks>
  27753. <returns>
  27754. <para>
  27755. If the function succeeds, the return value is the number of TCHARs stored in the output
  27756. buffer, excluding the terminating null character.
  27757. </para>
  27758. <para>
  27759. If the function fails, the return value is zero. To get extended error information,
  27760. call <see cref="M:Marshal.GetLastWin32Error()" />.
  27761. </para>
  27762. </returns>
  27763. </member>
  27764. <member name="P:log4net.Util.NativeError.Number">
  27765. <summary>
  27766. Gets the number of the native error.
  27767. </summary>
  27768. <value>
  27769. The number of the native error.
  27770. </value>
  27771. <remarks>
  27772. <para>
  27773. Gets the number of the native error.
  27774. </para>
  27775. </remarks>
  27776. </member>
  27777. <member name="P:log4net.Util.NativeError.Message">
  27778. <summary>
  27779. Gets the message of the native error.
  27780. </summary>
  27781. <value>
  27782. The message of the native error.
  27783. </value>
  27784. <remarks>
  27785. <para>
  27786. </para>
  27787. Gets the message of the native error.
  27788. </remarks>
  27789. </member>
  27790. <member name="T:log4net.Util.NullDictionaryEnumerator">
  27791. <summary>
  27792. An always empty <see cref="T:System.Collections.IDictionaryEnumerator"/>.
  27793. </summary>
  27794. <remarks>
  27795. <para>
  27796. A singleton implementation of the <see cref="T:System.Collections.IDictionaryEnumerator"/> over a collection
  27797. that is empty and not modifiable.
  27798. </para>
  27799. </remarks>
  27800. <author>Nicko Cadell</author>
  27801. <author>Gert Driesen</author>
  27802. </member>
  27803. <member name="M:log4net.Util.NullDictionaryEnumerator.#ctor">
  27804. <summary>
  27805. Initializes a new instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/> class.
  27806. </summary>
  27807. <remarks>
  27808. <para>
  27809. Uses a private access modifier to enforce the singleton pattern.
  27810. </para>
  27811. </remarks>
  27812. </member>
  27813. <member name="M:log4net.Util.NullDictionaryEnumerator.MoveNext">
  27814. <summary>
  27815. Test if the enumerator can advance, if so advance.
  27816. </summary>
  27817. <returns><c>false</c> as the <see cref="T:log4net.Util.NullDictionaryEnumerator"/> cannot advance.</returns>
  27818. <remarks>
  27819. <para>
  27820. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27821. value cannot be moved over a valid position, therefore <see cref="M:log4net.Util.NullDictionaryEnumerator.MoveNext"/>
  27822. will always return <c>false</c>.
  27823. </para>
  27824. </remarks>
  27825. </member>
  27826. <member name="M:log4net.Util.NullDictionaryEnumerator.Reset">
  27827. <summary>
  27828. Resets the enumerator back to the start.
  27829. </summary>
  27830. <remarks>
  27831. <para>
  27832. As the enumerator is over an empty collection <see cref="M:log4net.Util.NullDictionaryEnumerator.Reset"/> does nothing.
  27833. </para>
  27834. </remarks>
  27835. </member>
  27836. <member name="F:log4net.Util.NullDictionaryEnumerator.s_instance">
  27837. <summary>
  27838. The singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.
  27839. </summary>
  27840. </member>
  27841. <member name="P:log4net.Util.NullDictionaryEnumerator.Instance">
  27842. <summary>
  27843. Gets the singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.
  27844. </summary>
  27845. <returns>The singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.</returns>
  27846. <remarks>
  27847. <para>
  27848. Gets the singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.
  27849. </para>
  27850. </remarks>
  27851. </member>
  27852. <member name="P:log4net.Util.NullDictionaryEnumerator.Current">
  27853. <summary>
  27854. Gets the current object from the enumerator.
  27855. </summary>
  27856. <remarks>
  27857. Throws an <see cref="T:System.InvalidOperationException"/> because the
  27858. <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current value.
  27859. </remarks>
  27860. <remarks>
  27861. <para>
  27862. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27863. value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27864. will throw an <see cref="T:System.InvalidOperationException"/>.
  27865. </para>
  27866. </remarks>
  27867. <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27868. cannot be positioned over a valid location.</exception>
  27869. </member>
  27870. <member name="P:log4net.Util.NullDictionaryEnumerator.Key">
  27871. <summary>
  27872. Gets the current key from the enumerator.
  27873. </summary>
  27874. <remarks>
  27875. Throws an exception because the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>
  27876. never has a current value.
  27877. </remarks>
  27878. <remarks>
  27879. <para>
  27880. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27881. value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Key"/>
  27882. will throw an <see cref="T:System.InvalidOperationException"/>.
  27883. </para>
  27884. </remarks>
  27885. <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27886. cannot be positioned over a valid location.</exception>
  27887. </member>
  27888. <member name="P:log4net.Util.NullDictionaryEnumerator.Value">
  27889. <summary>
  27890. Gets the current value from the enumerator.
  27891. </summary>
  27892. <value>The current value from the enumerator.</value>
  27893. <remarks>
  27894. Throws an <see cref="T:System.InvalidOperationException"/> because the
  27895. <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current value.
  27896. </remarks>
  27897. <remarks>
  27898. <para>
  27899. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27900. value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Value"/>
  27901. will throw an <see cref="T:System.InvalidOperationException"/>.
  27902. </para>
  27903. </remarks>
  27904. <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27905. cannot be positioned over a valid location.</exception>
  27906. </member>
  27907. <member name="P:log4net.Util.NullDictionaryEnumerator.Entry">
  27908. <summary>
  27909. Gets the current entry from the enumerator.
  27910. </summary>
  27911. <remarks>
  27912. Throws an <see cref="T:System.InvalidOperationException"/> because the
  27913. <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current entry.
  27914. </remarks>
  27915. <remarks>
  27916. <para>
  27917. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27918. value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Entry"/>
  27919. will throw an <see cref="T:System.InvalidOperationException"/>.
  27920. </para>
  27921. </remarks>
  27922. <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27923. cannot be positioned over a valid location.</exception>
  27924. </member>
  27925. <member name="T:log4net.Util.NullEnumerator">
  27926. <summary>
  27927. An always empty <see cref="T:System.Collections.IEnumerator"/>.
  27928. </summary>
  27929. <remarks>
  27930. <para>
  27931. A singleton implementation of the <see cref="T:System.Collections.IEnumerator"/> over a collection
  27932. that is empty and not modifiable.
  27933. </para>
  27934. </remarks>
  27935. <author>Nicko Cadell</author>
  27936. <author>Gert Driesen</author>
  27937. </member>
  27938. <member name="M:log4net.Util.NullEnumerator.#ctor">
  27939. <summary>
  27940. Initializes a new instance of the <see cref="T:log4net.Util.NullEnumerator"/> class.
  27941. </summary>
  27942. <remarks>
  27943. <para>
  27944. Uses a private access modifier to enforce the singleton pattern.
  27945. </para>
  27946. </remarks>
  27947. </member>
  27948. <member name="M:log4net.Util.NullEnumerator.MoveNext">
  27949. <summary>
  27950. Test if the enumerator can advance, if so advance
  27951. </summary>
  27952. <returns><c>false</c> as the <see cref="T:log4net.Util.NullEnumerator"/> cannot advance.</returns>
  27953. <remarks>
  27954. <para>
  27955. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullEnumerator.Current"/>
  27956. value cannot be moved over a valid position, therefore <see cref="M:log4net.Util.NullEnumerator.MoveNext"/>
  27957. will always return <c>false</c>.
  27958. </para>
  27959. </remarks>
  27960. </member>
  27961. <member name="M:log4net.Util.NullEnumerator.Reset">
  27962. <summary>
  27963. Resets the enumerator back to the start.
  27964. </summary>
  27965. <remarks>
  27966. <para>
  27967. As the enumerator is over an empty collection <see cref="M:log4net.Util.NullEnumerator.Reset"/> does nothing.
  27968. </para>
  27969. </remarks>
  27970. </member>
  27971. <member name="F:log4net.Util.NullEnumerator.s_instance">
  27972. <summary>
  27973. The singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.
  27974. </summary>
  27975. </member>
  27976. <member name="P:log4net.Util.NullEnumerator.Instance">
  27977. <summary>
  27978. Get the singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.
  27979. </summary>
  27980. <returns>The singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.</returns>
  27981. <remarks>
  27982. <para>
  27983. Gets the singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.
  27984. </para>
  27985. </remarks>
  27986. </member>
  27987. <member name="P:log4net.Util.NullEnumerator.Current">
  27988. <summary>
  27989. Gets the current object from the enumerator.
  27990. </summary>
  27991. <remarks>
  27992. Throws an <see cref="T:System.InvalidOperationException"/> because the
  27993. <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current value.
  27994. </remarks>
  27995. <remarks>
  27996. <para>
  27997. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullEnumerator.Current"/>
  27998. value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullEnumerator.Current"/>
  27999. will throw an <see cref="T:System.InvalidOperationException"/>.
  28000. </para>
  28001. </remarks>
  28002. <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullEnumerator.Current"/>
  28003. cannot be positioned over a valid location.</exception>
  28004. </member>
  28005. <member name="T:log4net.Util.NullSecurityContext">
  28006. <summary>
  28007. A SecurityContext used when a SecurityContext is not required
  28008. </summary>
  28009. <remarks>
  28010. <para>
  28011. The <see cref="T:log4net.Util.NullSecurityContext"/> is a no-op implementation of the
  28012. <see cref="T:log4net.Core.SecurityContext"/> base class. It is used where a <see cref="T:log4net.Core.SecurityContext"/>
  28013. is required but one has not been provided.
  28014. </para>
  28015. </remarks>
  28016. <author>Nicko Cadell</author>
  28017. </member>
  28018. <member name="F:log4net.Util.NullSecurityContext.Instance">
  28019. <summary>
  28020. Singleton instance of <see cref="T:log4net.Util.NullSecurityContext"/>
  28021. </summary>
  28022. <remarks>
  28023. <para>
  28024. Singleton instance of <see cref="T:log4net.Util.NullSecurityContext"/>
  28025. </para>
  28026. </remarks>
  28027. </member>
  28028. <member name="M:log4net.Util.NullSecurityContext.#ctor">
  28029. <summary>
  28030. Private constructor
  28031. </summary>
  28032. <remarks>
  28033. <para>
  28034. Private constructor for singleton pattern.
  28035. </para>
  28036. </remarks>
  28037. </member>
  28038. <member name="M:log4net.Util.NullSecurityContext.Impersonate(System.Object)">
  28039. <summary>
  28040. Impersonate this SecurityContext
  28041. </summary>
  28042. <param name="state">State supplied by the caller</param>
  28043. <returns><c>null</c></returns>
  28044. <remarks>
  28045. <para>
  28046. No impersonation is done and <c>null</c> is always returned.
  28047. </para>
  28048. </remarks>
  28049. </member>
  28050. <member name="T:log4net.Util.OnlyOnceErrorHandler">
  28051. <summary>
  28052. Implements log4net's default error handling policy which consists
  28053. of emitting a message for the first error in an appender and
  28054. ignoring all subsequent errors.
  28055. </summary>
  28056. <remarks>
  28057. <para>
  28058. The error message is processed using the LogLog sub-system by default.
  28059. </para>
  28060. <para>
  28061. This policy aims at protecting an otherwise working application
  28062. from being flooded with error messages when logging fails.
  28063. </para>
  28064. </remarks>
  28065. <author>Nicko Cadell</author>
  28066. <author>Gert Driesen</author>
  28067. <author>Ron Grabowski</author>
  28068. </member>
  28069. <member name="M:log4net.Util.OnlyOnceErrorHandler.#ctor">
  28070. <summary>
  28071. Default Constructor
  28072. </summary>
  28073. <remarks>
  28074. <para>
  28075. Initializes a new instance of the <see cref="T:log4net.Util.OnlyOnceErrorHandler"/> class.
  28076. </para>
  28077. </remarks>
  28078. </member>
  28079. <member name="M:log4net.Util.OnlyOnceErrorHandler.#ctor(System.String)">
  28080. <summary>
  28081. Constructor
  28082. </summary>
  28083. <param name="prefix">The prefix to use for each message.</param>
  28084. <remarks>
  28085. <para>
  28086. Initializes a new instance of the <see cref="T:log4net.Util.OnlyOnceErrorHandler"/> class
  28087. with the specified prefix.
  28088. </para>
  28089. </remarks>
  28090. </member>
  28091. <member name="M:log4net.Util.OnlyOnceErrorHandler.Reset">
  28092. <summary>
  28093. Reset the error handler back to its initial disabled state.
  28094. </summary>
  28095. </member>
  28096. <member name="M:log4net.Util.OnlyOnceErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)">
  28097. <summary>
  28098. Log an Error
  28099. </summary>
  28100. <param name="message">The error message.</param>
  28101. <param name="e">The exception.</param>
  28102. <param name="errorCode">The internal error code.</param>
  28103. <remarks>
  28104. <para>
  28105. Invokes <see cref="M:log4net.Util.OnlyOnceErrorHandler.FirstError(System.String,System.Exception,log4net.Core.ErrorCode)"/> if and only if this is the first error or the first error after <see cref="M:log4net.Util.OnlyOnceErrorHandler.Reset"/> has been called.
  28106. </para>
  28107. </remarks>
  28108. </member>
  28109. <member name="M:log4net.Util.OnlyOnceErrorHandler.FirstError(System.String,System.Exception,log4net.Core.ErrorCode)">
  28110. <summary>
  28111. Log the very first error
  28112. </summary>
  28113. <param name="message">The error message.</param>
  28114. <param name="e">The exception.</param>
  28115. <param name="errorCode">The internal error code.</param>
  28116. <remarks>
  28117. <para>
  28118. Sends the error information to <see cref="T:log4net.Util.LogLog"/>'s Error method.
  28119. </para>
  28120. </remarks>
  28121. </member>
  28122. <member name="M:log4net.Util.OnlyOnceErrorHandler.Error(System.String,System.Exception)">
  28123. <summary>
  28124. Log an Error
  28125. </summary>
  28126. <param name="message">The error message.</param>
  28127. <param name="e">The exception.</param>
  28128. <remarks>
  28129. <para>
  28130. Invokes <see cref="M:log4net.Util.OnlyOnceErrorHandler.FirstError(System.String,System.Exception,log4net.Core.ErrorCode)"/> if and only if this is the first error or the first error after <see cref="M:log4net.Util.OnlyOnceErrorHandler.Reset"/> has been called.
  28131. </para>
  28132. </remarks>
  28133. </member>
  28134. <member name="M:log4net.Util.OnlyOnceErrorHandler.Error(System.String)">
  28135. <summary>
  28136. Log an error
  28137. </summary>
  28138. <param name="message">The error message.</param>
  28139. <remarks>
  28140. <para>
  28141. Invokes <see cref="M:log4net.Util.OnlyOnceErrorHandler.FirstError(System.String,System.Exception,log4net.Core.ErrorCode)"/> if and only if this is the first error or the first error after <see cref="M:log4net.Util.OnlyOnceErrorHandler.Reset"/> has been called.
  28142. </para>
  28143. </remarks>
  28144. </member>
  28145. <member name="F:log4net.Util.OnlyOnceErrorHandler.m_enabledDate">
  28146. <summary>
  28147. The date the error was recorded.
  28148. </summary>
  28149. </member>
  28150. <member name="F:log4net.Util.OnlyOnceErrorHandler.m_firstTime">
  28151. <summary>
  28152. Flag to indicate if it is the first error
  28153. </summary>
  28154. </member>
  28155. <member name="F:log4net.Util.OnlyOnceErrorHandler.m_message">
  28156. <summary>
  28157. The message recorded during the first error.
  28158. </summary>
  28159. </member>
  28160. <member name="F:log4net.Util.OnlyOnceErrorHandler.m_exception">
  28161. <summary>
  28162. The exception recorded during the first error.
  28163. </summary>
  28164. </member>
  28165. <member name="F:log4net.Util.OnlyOnceErrorHandler.m_errorCode">
  28166. <summary>
  28167. The error code recorded during the first error.
  28168. </summary>
  28169. </member>
  28170. <member name="F:log4net.Util.OnlyOnceErrorHandler.m_prefix">
  28171. <summary>
  28172. String to prefix each message with
  28173. </summary>
  28174. </member>
  28175. <member name="F:log4net.Util.OnlyOnceErrorHandler.declaringType">
  28176. <summary>
  28177. The fully qualified type of the OnlyOnceErrorHandler class.
  28178. </summary>
  28179. <remarks>
  28180. Used by the internal logger to record the Type of the
  28181. log message.
  28182. </remarks>
  28183. </member>
  28184. <member name="P:log4net.Util.OnlyOnceErrorHandler.IsEnabled">
  28185. <summary>
  28186. Is error logging enabled
  28187. </summary>
  28188. <remarks>
  28189. <para>
  28190. Is error logging enabled. Logging is only enabled for the
  28191. first error delivered to the <see cref="T:log4net.Util.OnlyOnceErrorHandler"/>.
  28192. </para>
  28193. </remarks>
  28194. </member>
  28195. <member name="P:log4net.Util.OnlyOnceErrorHandler.EnabledDate">
  28196. <summary>
  28197. The date the first error that trigged this error handler occured.
  28198. </summary>
  28199. </member>
  28200. <member name="P:log4net.Util.OnlyOnceErrorHandler.ErrorMessage">
  28201. <summary>
  28202. The message from the first error that trigged this error handler.
  28203. </summary>
  28204. </member>
  28205. <member name="P:log4net.Util.OnlyOnceErrorHandler.Exception">
  28206. <summary>
  28207. The exception from the first error that trigged this error handler.
  28208. </summary>
  28209. <remarks>
  28210. May be <see langword="null" />.
  28211. </remarks>
  28212. </member>
  28213. <member name="P:log4net.Util.OnlyOnceErrorHandler.ErrorCode">
  28214. <summary>
  28215. The error code from the first error that trigged this error handler.
  28216. </summary>
  28217. <remarks>
  28218. Defaults to <see cref="F:log4net.Core.ErrorCode.GenericFailure"/>
  28219. </remarks>
  28220. </member>
  28221. <member name="T:log4net.Util.OptionConverter">
  28222. <summary>
  28223. A convenience class to convert property values to specific types.
  28224. </summary>
  28225. <remarks>
  28226. <para>
  28227. Utility functions for converting types and parsing values.
  28228. </para>
  28229. </remarks>
  28230. <author>Nicko Cadell</author>
  28231. <author>Gert Driesen</author>
  28232. </member>
  28233. <member name="M:log4net.Util.OptionConverter.#ctor">
  28234. <summary>
  28235. Initializes a new instance of the <see cref="T:log4net.Util.OptionConverter"/> class.
  28236. </summary>
  28237. <remarks>
  28238. <para>
  28239. Uses a private access modifier to prevent instantiation of this class.
  28240. </para>
  28241. </remarks>
  28242. </member>
  28243. <member name="M:log4net.Util.OptionConverter.ToBoolean(System.String,System.Boolean)">
  28244. <summary>
  28245. Converts a string to a <see cref="T:System.Boolean"/> value.
  28246. </summary>
  28247. <param name="argValue">String to convert.</param>
  28248. <param name="defaultValue">The default value.</param>
  28249. <returns>The <see cref="T:System.Boolean"/> value of <paramref name="argValue"/>.</returns>
  28250. <remarks>
  28251. <para>
  28252. If <paramref name="argValue"/> is "true", then <c>true</c> is returned.
  28253. If <paramref name="argValue"/> is "false", then <c>false</c> is returned.
  28254. Otherwise, <paramref name="defaultValue"/> is returned.
  28255. </para>
  28256. </remarks>
  28257. </member>
  28258. <member name="M:log4net.Util.OptionConverter.ToFileSize(System.String,System.Int64)">
  28259. <summary>
  28260. Parses a file size into a number.
  28261. </summary>
  28262. <param name="argValue">String to parse.</param>
  28263. <param name="defaultValue">The default value.</param>
  28264. <returns>The <see cref="T:System.Int64"/> value of <paramref name="argValue"/>.</returns>
  28265. <remarks>
  28266. <para>
  28267. Parses a file size of the form: number[KB|MB|GB] into a
  28268. long value. It is scaled with the appropriate multiplier.
  28269. </para>
  28270. <para>
  28271. <paramref name="defaultValue"/> is returned when <paramref name="argValue"/>
  28272. cannot be converted to a <see cref="T:System.Int64"/> value.
  28273. </para>
  28274. </remarks>
  28275. </member>
  28276. <member name="M:log4net.Util.OptionConverter.ConvertStringTo(System.Type,System.String)">
  28277. <summary>
  28278. Converts a string to an object.
  28279. </summary>
  28280. <param name="target">The target type to convert to.</param>
  28281. <param name="txt">The string to convert to an object.</param>
  28282. <returns>
  28283. The object converted from a string or <c>null</c> when the
  28284. conversion failed.
  28285. </returns>
  28286. <remarks>
  28287. <para>
  28288. Converts a string to an object. Uses the converter registry to try
  28289. to convert the string value into the specified target type.
  28290. </para>
  28291. </remarks>
  28292. </member>
  28293. <member name="M:log4net.Util.OptionConverter.CanConvertTypeTo(System.Type,System.Type)">
  28294. <summary>
  28295. Checks if there is an appropriate type conversion from the source type to the target type.
  28296. </summary>
  28297. <param name="sourceType">The type to convert from.</param>
  28298. <param name="targetType">The type to convert to.</param>
  28299. <returns><c>true</c> if there is a conversion from the source type to the target type.</returns>
  28300. <remarks>
  28301. Checks if there is an appropriate type conversion from the source type to the target type.
  28302. <para>
  28303. </para>
  28304. </remarks>
  28305. </member>
  28306. <member name="M:log4net.Util.OptionConverter.ConvertTypeTo(System.Object,System.Type)">
  28307. <summary>
  28308. Converts an object to the target type.
  28309. </summary>
  28310. <param name="sourceInstance">The object to convert to the target type.</param>
  28311. <param name="targetType">The type to convert to.</param>
  28312. <returns>The converted object.</returns>
  28313. <remarks>
  28314. <para>
  28315. Converts an object to the target type.
  28316. </para>
  28317. </remarks>
  28318. </member>
  28319. <member name="M:log4net.Util.OptionConverter.InstantiateByClassName(System.String,System.Type,System.Object)">
  28320. <summary>
  28321. Instantiates an object given a class name.
  28322. </summary>
  28323. <param name="className">The fully qualified class name of the object to instantiate.</param>
  28324. <param name="superClass">The class to which the new object should belong.</param>
  28325. <param name="defaultValue">The object to return in case of non-fulfillment.</param>
  28326. <returns>
  28327. An instance of the <paramref name="className"/> or <paramref name="defaultValue"/>
  28328. if the object could not be instantiated.
  28329. </returns>
  28330. <remarks>
  28331. <para>
  28332. Checks that the <paramref name="className"/> is a subclass of
  28333. <paramref name="superClass"/>. If that test fails or the object could
  28334. not be instantiated, then <paramref name="defaultValue"/> is returned.
  28335. </para>
  28336. </remarks>
  28337. </member>
  28338. <member name="M:log4net.Util.OptionConverter.SubstituteVariables(System.String,System.Collections.IDictionary)">
  28339. <summary>
  28340. Performs variable substitution in string <paramref name="value"/> from the
  28341. values of keys found in <paramref name="props"/>.
  28342. </summary>
  28343. <param name="value">The string on which variable substitution is performed.</param>
  28344. <param name="props">The dictionary to use to lookup variables.</param>
  28345. <returns>The result of the substitutions.</returns>
  28346. <remarks>
  28347. <para>
  28348. The variable substitution delimiters are <b>${</b> and <b>}</b>.
  28349. </para>
  28350. <para>
  28351. For example, if props contains <c>key=value</c>, then the call
  28352. </para>
  28353. <para>
  28354. <code lang="C#">
  28355. string s = OptionConverter.SubstituteVariables("Value of key is ${key}.");
  28356. </code>
  28357. </para>
  28358. <para>
  28359. will set the variable <c>s</c> to "Value of key is value.".
  28360. </para>
  28361. <para>
  28362. If no value could be found for the specified key, then substitution
  28363. defaults to an empty string.
  28364. </para>
  28365. <para>
  28366. For example, if system properties contains no value for the key
  28367. "nonExistentKey", then the call
  28368. </para>
  28369. <para>
  28370. <code lang="C#">
  28371. string s = OptionConverter.SubstituteVariables("Value of nonExistentKey is [${nonExistentKey}]");
  28372. </code>
  28373. </para>
  28374. <para>
  28375. will set <s>s</s> to "Value of nonExistentKey is []".
  28376. </para>
  28377. <para>
  28378. An Exception is thrown if <paramref name="value"/> contains a start
  28379. delimiter "${" which is not balanced by a stop delimiter "}".
  28380. </para>
  28381. </remarks>
  28382. </member>
  28383. <member name="M:log4net.Util.OptionConverter.ParseEnum(System.Type,System.String,System.Boolean)">
  28384. <summary>
  28385. Converts the string representation of the name or numeric value of one or
  28386. more enumerated constants to an equivalent enumerated object.
  28387. </summary>
  28388. <param name="enumType">The type to convert to.</param>
  28389. <param name="value">The enum string value.</param>
  28390. <param name="ignoreCase">If <c>true</c>, ignore case; otherwise, regard case.</param>
  28391. <returns>An object of type <paramref name="enumType" /> whose value is represented by <paramref name="value" />.</returns>
  28392. </member>
  28393. <member name="F:log4net.Util.OptionConverter.declaringType">
  28394. <summary>
  28395. The fully qualified type of the OptionConverter class.
  28396. </summary>
  28397. <remarks>
  28398. Used by the internal logger to record the Type of the
  28399. log message.
  28400. </remarks>
  28401. </member>
  28402. <member name="T:log4net.Util.PatternParser">
  28403. <summary>
  28404. Most of the work of the <see cref="T:log4net.Layout.PatternLayout"/> class
  28405. is delegated to the PatternParser class.
  28406. </summary>
  28407. <remarks>
  28408. <para>
  28409. The <c>PatternParser</c> processes a pattern string and
  28410. returns a chain of <see cref="T:log4net.Util.PatternConverter"/> objects.
  28411. </para>
  28412. </remarks>
  28413. <author>Nicko Cadell</author>
  28414. <author>Gert Driesen</author>
  28415. </member>
  28416. <member name="M:log4net.Util.PatternParser.#ctor(System.String)">
  28417. <summary>
  28418. Constructor
  28419. </summary>
  28420. <param name="pattern">The pattern to parse.</param>
  28421. <remarks>
  28422. <para>
  28423. Initializes a new instance of the <see cref="T:log4net.Util.PatternParser"/> class
  28424. with the specified pattern string.
  28425. </para>
  28426. </remarks>
  28427. </member>
  28428. <member name="M:log4net.Util.PatternParser.Parse">
  28429. <summary>
  28430. Parses the pattern into a chain of pattern converters.
  28431. </summary>
  28432. <returns>The head of a chain of pattern converters.</returns>
  28433. <remarks>
  28434. <para>
  28435. Parses the pattern into a chain of pattern converters.
  28436. </para>
  28437. </remarks>
  28438. </member>
  28439. <member name="M:log4net.Util.PatternParser.BuildCache">
  28440. <summary>
  28441. Build the unified cache of converters from the static and instance maps
  28442. </summary>
  28443. <returns>the list of all the converter names</returns>
  28444. <remarks>
  28445. <para>
  28446. Build the unified cache of converters from the static and instance maps
  28447. </para>
  28448. </remarks>
  28449. </member>
  28450. <member name="M:log4net.Util.PatternParser.ParseInternal(System.String,System.String[])">
  28451. <summary>
  28452. Internal method to parse the specified pattern to find specified matches
  28453. </summary>
  28454. <param name="pattern">the pattern to parse</param>
  28455. <param name="matches">the converter names to match in the pattern</param>
  28456. <remarks>
  28457. <para>
  28458. The matches param must be sorted such that longer strings come before shorter ones.
  28459. </para>
  28460. </remarks>
  28461. </member>
  28462. <member name="M:log4net.Util.PatternParser.ProcessLiteral(System.String)">
  28463. <summary>
  28464. Process a parsed literal
  28465. </summary>
  28466. <param name="text">the literal text</param>
  28467. </member>
  28468. <member name="M:log4net.Util.PatternParser.ProcessConverter(System.String,System.String,log4net.Util.FormattingInfo)">
  28469. <summary>
  28470. Process a parsed converter pattern
  28471. </summary>
  28472. <param name="converterName">the name of the converter</param>
  28473. <param name="option">the optional option for the converter</param>
  28474. <param name="formattingInfo">the formatting info for the converter</param>
  28475. </member>
  28476. <member name="M:log4net.Util.PatternParser.AddConverter(log4net.Util.PatternConverter)">
  28477. <summary>
  28478. Resets the internal state of the parser and adds the specified pattern converter
  28479. to the chain.
  28480. </summary>
  28481. <param name="pc">The pattern converter to add.</param>
  28482. </member>
  28483. <member name="F:log4net.Util.PatternParser.m_head">
  28484. <summary>
  28485. The first pattern converter in the chain
  28486. </summary>
  28487. </member>
  28488. <member name="F:log4net.Util.PatternParser.m_tail">
  28489. <summary>
  28490. the last pattern converter in the chain
  28491. </summary>
  28492. </member>
  28493. <member name="F:log4net.Util.PatternParser.m_pattern">
  28494. <summary>
  28495. The pattern
  28496. </summary>
  28497. </member>
  28498. <member name="F:log4net.Util.PatternParser.m_patternConverters">
  28499. <summary>
  28500. Internal map of converter identifiers to converter types
  28501. </summary>
  28502. <remarks>
  28503. <para>
  28504. This map overrides the static s_globalRulesRegistry map.
  28505. </para>
  28506. </remarks>
  28507. </member>
  28508. <member name="F:log4net.Util.PatternParser.declaringType">
  28509. <summary>
  28510. The fully qualified type of the PatternParser class.
  28511. </summary>
  28512. <remarks>
  28513. Used by the internal logger to record the Type of the
  28514. log message.
  28515. </remarks>
  28516. </member>
  28517. <member name="P:log4net.Util.PatternParser.PatternConverters">
  28518. <summary>
  28519. Get the converter registry used by this parser
  28520. </summary>
  28521. <value>
  28522. The converter registry used by this parser
  28523. </value>
  28524. <remarks>
  28525. <para>
  28526. Get the converter registry used by this parser
  28527. </para>
  28528. </remarks>
  28529. </member>
  28530. <member name="T:log4net.Util.PatternParser.StringLengthComparer">
  28531. <summary>
  28532. Sort strings by length
  28533. </summary>
  28534. <remarks>
  28535. <para>
  28536. <see cref="T:System.Collections.IComparer"/> that orders strings by string length.
  28537. The longest strings are placed first
  28538. </para>
  28539. </remarks>
  28540. </member>
  28541. <member name="T:log4net.Util.PatternString">
  28542. <summary>
  28543. This class implements a patterned string.
  28544. </summary>
  28545. <remarks>
  28546. <para>
  28547. This string has embedded patterns that are resolved and expanded
  28548. when the string is formatted.
  28549. </para>
  28550. <para>
  28551. This class functions similarly to the <see cref="T:log4net.Layout.PatternLayout"/>
  28552. in that it accepts a pattern and renders it to a string. Unlike the
  28553. <see cref="T:log4net.Layout.PatternLayout"/> however the <c>PatternString</c>
  28554. does not render the properties of a specific <see cref="T:log4net.Core.LoggingEvent"/> but
  28555. of the process in general.
  28556. </para>
  28557. <para>
  28558. The recognized conversion pattern names are:
  28559. </para>
  28560. <list type="table">
  28561. <listheader>
  28562. <term>Conversion Pattern Name</term>
  28563. <description>Effect</description>
  28564. </listheader>
  28565. <item>
  28566. <term>appdomain</term>
  28567. <description>
  28568. <para>
  28569. Used to output the friendly name of the current AppDomain.
  28570. </para>
  28571. </description>
  28572. </item>
  28573. <item>
  28574. <term>date</term>
  28575. <description>
  28576. <para>
  28577. Used to output the current date and time in the local time zone.
  28578. To output the date in universal time use the <c>%utcdate</c> pattern.
  28579. The date conversion
  28580. specifier may be followed by a <i>date format specifier</i> enclosed
  28581. between braces. For example, <b>%date{HH:mm:ss,fff}</b> or
  28582. <b>%date{dd MMM yyyy HH:mm:ss,fff}</b>. If no date format specifier is
  28583. given then ISO8601 format is
  28584. assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
  28585. </para>
  28586. <para>
  28587. The date format specifier admits the same syntax as the
  28588. time pattern string of the <see cref="M:DateTime.ToString(string)"/>.
  28589. </para>
  28590. <para>
  28591. For better results it is recommended to use the log4net date
  28592. formatters. These can be specified using one of the strings
  28593. "ABSOLUTE", "DATE" and "ISO8601" for specifying
  28594. <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>,
  28595. <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively
  28596. <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example,
  28597. <b>%date{ISO8601}</b> or <b>%date{ABSOLUTE}</b>.
  28598. </para>
  28599. <para>
  28600. These dedicated date formatters perform significantly
  28601. better than <see cref="M:DateTime.ToString(string)"/>.
  28602. </para>
  28603. </description>
  28604. </item>
  28605. <item>
  28606. <term>env</term>
  28607. <description>
  28608. <para>
  28609. Used to output the a specific environment variable. The key to
  28610. lookup must be specified within braces and directly following the
  28611. pattern specifier, e.g. <b>%env{COMPUTERNAME}</b> would include the value
  28612. of the <c>COMPUTERNAME</c> environment variable.
  28613. </para>
  28614. <para>
  28615. The <c>env</c> pattern is not supported on the .NET Compact Framework.
  28616. </para>
  28617. </description>
  28618. </item>
  28619. <item>
  28620. <term>identity</term>
  28621. <description>
  28622. <para>
  28623. Used to output the user name for the currently active user
  28624. (Principal.Identity.Name).
  28625. </para>
  28626. </description>
  28627. </item>
  28628. <item>
  28629. <term>newline</term>
  28630. <description>
  28631. <para>
  28632. Outputs the platform dependent line separator character or
  28633. characters.
  28634. </para>
  28635. <para>
  28636. This conversion pattern name offers the same performance as using
  28637. non-portable line separator strings such as "\n", or "\r\n".
  28638. Thus, it is the preferred way of specifying a line separator.
  28639. </para>
  28640. </description>
  28641. </item>
  28642. <item>
  28643. <term>processid</term>
  28644. <description>
  28645. <para>
  28646. Used to output the system process ID for the current process.
  28647. </para>
  28648. </description>
  28649. </item>
  28650. <item>
  28651. <term>property</term>
  28652. <description>
  28653. <para>
  28654. Used to output a specific context property. The key to
  28655. lookup must be specified within braces and directly following the
  28656. pattern specifier, e.g. <b>%property{user}</b> would include the value
  28657. from the property that is keyed by the string 'user'. Each property value
  28658. that is to be included in the log must be specified separately.
  28659. Properties are stored in logging contexts. By default
  28660. the <c>log4net:HostName</c> property is set to the name of machine on
  28661. which the event was originally logged.
  28662. </para>
  28663. <para>
  28664. If no key is specified, e.g. <b>%property</b> then all the keys and their
  28665. values are printed in a comma separated list.
  28666. </para>
  28667. <para>
  28668. The properties of an event are combined from a number of different
  28669. contexts. These are listed below in the order in which they are searched.
  28670. </para>
  28671. <list type="definition">
  28672. <item>
  28673. <term>the thread properties</term>
  28674. <description>
  28675. The <see cref="P:log4net.ThreadContext.Properties"/> that are set on the current
  28676. thread. These properties are shared by all events logged on this thread.
  28677. </description>
  28678. </item>
  28679. <item>
  28680. <term>the global properties</term>
  28681. <description>
  28682. The <see cref="P:log4net.GlobalContext.Properties"/> that are set globally. These
  28683. properties are shared by all the threads in the AppDomain.
  28684. </description>
  28685. </item>
  28686. </list>
  28687. </description>
  28688. </item>
  28689. <item>
  28690. <term>random</term>
  28691. <description>
  28692. <para>
  28693. Used to output a random string of characters. The string is made up of
  28694. uppercase letters and numbers. By default the string is 4 characters long.
  28695. The length of the string can be specified within braces directly following the
  28696. pattern specifier, e.g. <b>%random{8}</b> would output an 8 character string.
  28697. </para>
  28698. </description>
  28699. </item>
  28700. <item>
  28701. <term>username</term>
  28702. <description>
  28703. <para>
  28704. Used to output the WindowsIdentity for the currently
  28705. active user.
  28706. </para>
  28707. </description>
  28708. </item>
  28709. <item>
  28710. <term>utcdate</term>
  28711. <description>
  28712. <para>
  28713. Used to output the date of the logging event in universal time.
  28714. The date conversion
  28715. specifier may be followed by a <i>date format specifier</i> enclosed
  28716. between braces. For example, <b>%utcdate{HH:mm:ss,fff}</b> or
  28717. <b>%utcdate{dd MMM yyyy HH:mm:ss,fff}</b>. If no date format specifier is
  28718. given then ISO8601 format is
  28719. assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
  28720. </para>
  28721. <para>
  28722. The date format specifier admits the same syntax as the
  28723. time pattern string of the <see cref="M:DateTime.ToString(string)"/>.
  28724. </para>
  28725. <para>
  28726. For better results it is recommended to use the log4net date
  28727. formatters. These can be specified using one of the strings
  28728. "ABSOLUTE", "DATE" and "ISO8601" for specifying
  28729. <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>,
  28730. <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively
  28731. <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example,
  28732. <b>%utcdate{ISO8601}</b> or <b>%utcdate{ABSOLUTE}</b>.
  28733. </para>
  28734. <para>
  28735. These dedicated date formatters perform significantly
  28736. better than <see cref="M:DateTime.ToString(string)"/>.
  28737. </para>
  28738. </description>
  28739. </item>
  28740. <item>
  28741. <term>%</term>
  28742. <description>
  28743. <para>
  28744. The sequence %% outputs a single percent sign.
  28745. </para>
  28746. </description>
  28747. </item>
  28748. </list>
  28749. <para>
  28750. Additional pattern converters may be registered with a specific <see cref="T:log4net.Util.PatternString"/>
  28751. instance using <see cref="M:AddConverter(ConverterInfo)"/> or
  28752. <see cref="M:AddConverter(string, Type)"/>.
  28753. </para>
  28754. <para>
  28755. See the <see cref="T:log4net.Layout.PatternLayout"/> for details on the
  28756. <i>format modifiers</i> supported by the patterns.
  28757. </para>
  28758. </remarks>
  28759. <author>Nicko Cadell</author>
  28760. </member>
  28761. <member name="F:log4net.Util.PatternString.s_globalRulesRegistry">
  28762. <summary>
  28763. Internal map of converter identifiers to converter types.
  28764. </summary>
  28765. </member>
  28766. <member name="F:log4net.Util.PatternString.m_pattern">
  28767. <summary>
  28768. the pattern
  28769. </summary>
  28770. </member>
  28771. <member name="F:log4net.Util.PatternString.m_head">
  28772. <summary>
  28773. the head of the pattern converter chain
  28774. </summary>
  28775. </member>
  28776. <member name="F:log4net.Util.PatternString.m_instanceRulesRegistry">
  28777. <summary>
  28778. patterns defined on this PatternString only
  28779. </summary>
  28780. </member>
  28781. <member name="M:log4net.Util.PatternString.#cctor">
  28782. <summary>
  28783. Initialize the global registry
  28784. </summary>
  28785. </member>
  28786. <member name="M:log4net.Util.PatternString.#ctor">
  28787. <summary>
  28788. Default constructor
  28789. </summary>
  28790. <remarks>
  28791. <para>
  28792. Initialize a new instance of <see cref="T:log4net.Util.PatternString"/>
  28793. </para>
  28794. </remarks>
  28795. </member>
  28796. <member name="M:log4net.Util.PatternString.#ctor(System.String)">
  28797. <summary>
  28798. Constructs a PatternString
  28799. </summary>
  28800. <param name="pattern">The pattern to use with this PatternString</param>
  28801. <remarks>
  28802. <para>
  28803. Initialize a new instance of <see cref="T:log4net.Util.PatternString"/> with the pattern specified.
  28804. </para>
  28805. </remarks>
  28806. </member>
  28807. <member name="M:log4net.Util.PatternString.ActivateOptions">
  28808. <summary>
  28809. Initialize object options
  28810. </summary>
  28811. <remarks>
  28812. <para>
  28813. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  28814. activation scheme. The <see cref="M:log4net.Util.PatternString.ActivateOptions"/> method must
  28815. be called on this object after the configuration properties have
  28816. been set. Until <see cref="M:log4net.Util.PatternString.ActivateOptions"/> is called this
  28817. object is in an undefined state and must not be used.
  28818. </para>
  28819. <para>
  28820. If any of the configuration properties are modified then
  28821. <see cref="M:log4net.Util.PatternString.ActivateOptions"/> must be called again.
  28822. </para>
  28823. </remarks>
  28824. </member>
  28825. <member name="M:log4net.Util.PatternString.CreatePatternParser(System.String)">
  28826. <summary>
  28827. Create the <see cref="T:log4net.Util.PatternParser"/> used to parse the pattern
  28828. </summary>
  28829. <param name="pattern">the pattern to parse</param>
  28830. <returns>The <see cref="T:log4net.Util.PatternParser"/></returns>
  28831. <remarks>
  28832. <para>
  28833. Returns PatternParser used to parse the conversion string. Subclasses
  28834. may override this to return a subclass of PatternParser which recognize
  28835. custom conversion pattern name.
  28836. </para>
  28837. </remarks>
  28838. </member>
  28839. <member name="M:log4net.Util.PatternString.Format(System.IO.TextWriter)">
  28840. <summary>
  28841. Produces a formatted string as specified by the conversion pattern.
  28842. </summary>
  28843. <param name="writer">The TextWriter to write the formatted event to</param>
  28844. <remarks>
  28845. <para>
  28846. Format the pattern to the <paramref name="writer"/>.
  28847. </para>
  28848. </remarks>
  28849. </member>
  28850. <member name="M:log4net.Util.PatternString.Format">
  28851. <summary>
  28852. Format the pattern as a string
  28853. </summary>
  28854. <returns>the pattern formatted as a string</returns>
  28855. <remarks>
  28856. <para>
  28857. Format the pattern to a string.
  28858. </para>
  28859. </remarks>
  28860. </member>
  28861. <member name="M:log4net.Util.PatternString.AddConverter(log4net.Util.ConverterInfo)">
  28862. <summary>
  28863. Add a converter to this PatternString
  28864. </summary>
  28865. <param name="converterInfo">the converter info</param>
  28866. <remarks>
  28867. <para>
  28868. This version of the method is used by the configurator.
  28869. Programmatic users should use the alternative <see cref="M:AddConverter(string,Type)"/> method.
  28870. </para>
  28871. </remarks>
  28872. </member>
  28873. <member name="M:log4net.Util.PatternString.AddConverter(System.String,System.Type)">
  28874. <summary>
  28875. Add a converter to this PatternString
  28876. </summary>
  28877. <param name="name">the name of the conversion pattern for this converter</param>
  28878. <param name="type">the type of the converter</param>
  28879. <remarks>
  28880. <para>
  28881. Add a converter to this PatternString
  28882. </para>
  28883. </remarks>
  28884. </member>
  28885. <member name="P:log4net.Util.PatternString.ConversionPattern">
  28886. <summary>
  28887. Gets or sets the pattern formatting string
  28888. </summary>
  28889. <value>
  28890. The pattern formatting string
  28891. </value>
  28892. <remarks>
  28893. <para>
  28894. The <b>ConversionPattern</b> option. This is the string which
  28895. controls formatting and consists of a mix of literal content and
  28896. conversion specifiers.
  28897. </para>
  28898. </remarks>
  28899. </member>
  28900. <member name="T:log4net.Util.PropertiesDictionary">
  28901. <summary>
  28902. String keyed object map.
  28903. </summary>
  28904. <remarks>
  28905. <para>
  28906. While this collection is serializable only member
  28907. objects that are serializable will
  28908. be serialized along with this collection.
  28909. </para>
  28910. </remarks>
  28911. <author>Nicko Cadell</author>
  28912. <author>Gert Driesen</author>
  28913. </member>
  28914. <member name="T:log4net.Util.ReadOnlyPropertiesDictionary">
  28915. <summary>
  28916. String keyed object map that is read only.
  28917. </summary>
  28918. <remarks>
  28919. <para>
  28920. This collection is readonly and cannot be modified.
  28921. </para>
  28922. <para>
  28923. While this collection is serializable only member
  28924. objects that are serializable will
  28925. be serialized along with this collection.
  28926. </para>
  28927. </remarks>
  28928. <author>Nicko Cadell</author>
  28929. <author>Gert Driesen</author>
  28930. </member>
  28931. <member name="F:log4net.Util.ReadOnlyPropertiesDictionary.m_hashtable">
  28932. <summary>
  28933. The Hashtable used to store the properties data
  28934. </summary>
  28935. </member>
  28936. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.#ctor">
  28937. <summary>
  28938. Constructor
  28939. </summary>
  28940. <remarks>
  28941. <para>
  28942. Initializes a new instance of the <see cref="T:log4net.Util.ReadOnlyPropertiesDictionary"/> class.
  28943. </para>
  28944. </remarks>
  28945. </member>
  28946. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.#ctor(log4net.Util.ReadOnlyPropertiesDictionary)">
  28947. <summary>
  28948. Copy Constructor
  28949. </summary>
  28950. <param name="propertiesDictionary">properties to copy</param>
  28951. <remarks>
  28952. <para>
  28953. Initializes a new instance of the <see cref="T:log4net.Util.ReadOnlyPropertiesDictionary"/> class.
  28954. </para>
  28955. </remarks>
  28956. </member>
  28957. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  28958. <summary>
  28959. Deserialization constructor
  28960. </summary>
  28961. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data.</param>
  28962. <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  28963. <remarks>
  28964. <para>
  28965. Initializes a new instance of the <see cref="T:log4net.Util.ReadOnlyPropertiesDictionary"/> class
  28966. with serialized data.
  28967. </para>
  28968. </remarks>
  28969. </member>
  28970. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.GetKeys">
  28971. <summary>
  28972. Gets the key names.
  28973. </summary>
  28974. <returns>An array of all the keys.</returns>
  28975. <remarks>
  28976. <para>
  28977. Gets the key names.
  28978. </para>
  28979. </remarks>
  28980. </member>
  28981. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.Contains(System.String)">
  28982. <summary>
  28983. Test if the dictionary contains a specified key
  28984. </summary>
  28985. <param name="key">the key to look for</param>
  28986. <returns>true if the dictionary contains the specified key</returns>
  28987. <remarks>
  28988. <para>
  28989. Test if the dictionary contains a specified key
  28990. </para>
  28991. </remarks>
  28992. </member>
  28993. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  28994. <summary>
  28995. Serializes this object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> provided.
  28996. </summary>
  28997. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> to populate with data.</param>
  28998. <param name="context">The destination for this serialization.</param>
  28999. <remarks>
  29000. <para>
  29001. Serializes this object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> provided.
  29002. </para>
  29003. </remarks>
  29004. </member>
  29005. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#GetEnumerator">
  29006. <summary>
  29007. See <see cref="M:System.Collections.IDictionary.GetEnumerator"/>
  29008. </summary>
  29009. </member>
  29010. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Remove(System.Object)">
  29011. <summary>
  29012. See <see cref="M:System.Collections.IDictionary.Remove(System.Object)"/>
  29013. </summary>
  29014. <param name="key"></param>
  29015. </member>
  29016. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Contains(System.Object)">
  29017. <summary>
  29018. See <see cref="M:System.Collections.IDictionary.Contains(System.Object)"/>
  29019. </summary>
  29020. <param name="key"></param>
  29021. <returns></returns>
  29022. </member>
  29023. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.Clear">
  29024. <summary>
  29025. Remove all properties from the properties collection
  29026. </summary>
  29027. </member>
  29028. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Add(System.Object,System.Object)">
  29029. <summary>
  29030. See <see cref="M:System.Collections.IDictionary.Add(System.Object,System.Object)"/>
  29031. </summary>
  29032. <param name="key"></param>
  29033. <param name="value"></param>
  29034. </member>
  29035. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  29036. <summary>
  29037. See <see cref="M:System.Collections.ICollection.CopyTo(System.Array,System.Int32)"/>
  29038. </summary>
  29039. <param name="array"></param>
  29040. <param name="index"></param>
  29041. </member>
  29042. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IEnumerable#GetEnumerator">
  29043. <summary>
  29044. See <see cref="M:System.Collections.IEnumerable.GetEnumerator"/>
  29045. </summary>
  29046. </member>
  29047. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.Item(System.String)">
  29048. <summary>
  29049. Gets or sets the value of the property with the specified key.
  29050. </summary>
  29051. <value>
  29052. The value of the property with the specified key.
  29053. </value>
  29054. <param name="key">The key of the property to get or set.</param>
  29055. <remarks>
  29056. <para>
  29057. The property value will only be serialized if it is serializable.
  29058. If it cannot be serialized it will be silently ignored if
  29059. a serialization operation is performed.
  29060. </para>
  29061. </remarks>
  29062. </member>
  29063. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.InnerHashtable">
  29064. <summary>
  29065. The hashtable used to store the properties
  29066. </summary>
  29067. <value>
  29068. The internal collection used to store the properties
  29069. </value>
  29070. <remarks>
  29071. <para>
  29072. The hashtable used to store the properties
  29073. </para>
  29074. </remarks>
  29075. </member>
  29076. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#IsReadOnly">
  29077. <summary>
  29078. See <see cref="P:System.Collections.IDictionary.IsReadOnly"/>
  29079. </summary>
  29080. </member>
  29081. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Item(System.Object)">
  29082. <summary>
  29083. See <see cref="P:System.Collections.IDictionary.Item(System.Object)"/>
  29084. </summary>
  29085. </member>
  29086. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Values">
  29087. <summary>
  29088. See <see cref="P:System.Collections.IDictionary.Values"/>
  29089. </summary>
  29090. </member>
  29091. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Keys">
  29092. <summary>
  29093. See <see cref="P:System.Collections.IDictionary.Keys"/>
  29094. </summary>
  29095. </member>
  29096. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#IsFixedSize">
  29097. <summary>
  29098. See <see cref="P:System.Collections.IDictionary.IsFixedSize"/>
  29099. </summary>
  29100. </member>
  29101. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#ICollection#IsSynchronized">
  29102. <summary>
  29103. See <see cref="P:System.Collections.ICollection.IsSynchronized"/>
  29104. </summary>
  29105. </member>
  29106. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.Count">
  29107. <summary>
  29108. The number of properties in this collection
  29109. </summary>
  29110. </member>
  29111. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#ICollection#SyncRoot">
  29112. <summary>
  29113. See <see cref="P:System.Collections.ICollection.SyncRoot"/>
  29114. </summary>
  29115. </member>
  29116. <member name="M:log4net.Util.PropertiesDictionary.#ctor">
  29117. <summary>
  29118. Constructor
  29119. </summary>
  29120. <remarks>
  29121. <para>
  29122. Initializes a new instance of the <see cref="T:log4net.Util.PropertiesDictionary"/> class.
  29123. </para>
  29124. </remarks>
  29125. </member>
  29126. <member name="M:log4net.Util.PropertiesDictionary.#ctor(log4net.Util.ReadOnlyPropertiesDictionary)">
  29127. <summary>
  29128. Constructor
  29129. </summary>
  29130. <param name="propertiesDictionary">properties to copy</param>
  29131. <remarks>
  29132. <para>
  29133. Initializes a new instance of the <see cref="T:log4net.Util.PropertiesDictionary"/> class.
  29134. </para>
  29135. </remarks>
  29136. </member>
  29137. <member name="M:log4net.Util.PropertiesDictionary.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  29138. <summary>
  29139. Initializes a new instance of the <see cref="T:log4net.Util.PropertiesDictionary"/> class
  29140. with serialized data.
  29141. </summary>
  29142. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data.</param>
  29143. <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  29144. <remarks>
  29145. <para>
  29146. Because this class is sealed the serialization constructor is private.
  29147. </para>
  29148. </remarks>
  29149. </member>
  29150. <member name="M:log4net.Util.PropertiesDictionary.Remove(System.String)">
  29151. <summary>
  29152. Remove the entry with the specified key from this dictionary
  29153. </summary>
  29154. <param name="key">the key for the entry to remove</param>
  29155. <remarks>
  29156. <para>
  29157. Remove the entry with the specified key from this dictionary
  29158. </para>
  29159. </remarks>
  29160. </member>
  29161. <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#GetEnumerator">
  29162. <summary>
  29163. See <see cref="M:System.Collections.IDictionary.GetEnumerator"/>
  29164. </summary>
  29165. <returns>an enumerator</returns>
  29166. <remarks>
  29167. <para>
  29168. Returns a <see cref="T:System.Collections.IDictionaryEnumerator"/> over the contest of this collection.
  29169. </para>
  29170. </remarks>
  29171. </member>
  29172. <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Remove(System.Object)">
  29173. <summary>
  29174. See <see cref="M:System.Collections.IDictionary.Remove(System.Object)"/>
  29175. </summary>
  29176. <param name="key">the key to remove</param>
  29177. <remarks>
  29178. <para>
  29179. Remove the entry with the specified key from this dictionary
  29180. </para>
  29181. </remarks>
  29182. </member>
  29183. <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Contains(System.Object)">
  29184. <summary>
  29185. See <see cref="M:System.Collections.IDictionary.Contains(System.Object)"/>
  29186. </summary>
  29187. <param name="key">the key to lookup in the collection</param>
  29188. <returns><c>true</c> if the collection contains the specified key</returns>
  29189. <remarks>
  29190. <para>
  29191. Test if this collection contains a specified key.
  29192. </para>
  29193. </remarks>
  29194. </member>
  29195. <member name="M:log4net.Util.PropertiesDictionary.Clear">
  29196. <summary>
  29197. Remove all properties from the properties collection
  29198. </summary>
  29199. <remarks>
  29200. <para>
  29201. Remove all properties from the properties collection
  29202. </para>
  29203. </remarks>
  29204. </member>
  29205. <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Add(System.Object,System.Object)">
  29206. <summary>
  29207. See <see cref="M:System.Collections.IDictionary.Add(System.Object,System.Object)"/>
  29208. </summary>
  29209. <param name="key">the key</param>
  29210. <param name="value">the value to store for the key</param>
  29211. <remarks>
  29212. <para>
  29213. Store a value for the specified <see cref="T:System.String"/> <paramref name="key"/>.
  29214. </para>
  29215. </remarks>
  29216. <exception cref="T:System.ArgumentException">Thrown if the <paramref name="key"/> is not a string</exception>
  29217. </member>
  29218. <member name="M:log4net.Util.PropertiesDictionary.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  29219. <summary>
  29220. See <see cref="M:System.Collections.ICollection.CopyTo(System.Array,System.Int32)"/>
  29221. </summary>
  29222. <param name="array"></param>
  29223. <param name="index"></param>
  29224. </member>
  29225. <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IEnumerable#GetEnumerator">
  29226. <summary>
  29227. See <see cref="M:System.Collections.IEnumerable.GetEnumerator"/>
  29228. </summary>
  29229. </member>
  29230. <member name="P:log4net.Util.PropertiesDictionary.Item(System.String)">
  29231. <summary>
  29232. Gets or sets the value of the property with the specified key.
  29233. </summary>
  29234. <value>
  29235. The value of the property with the specified key.
  29236. </value>
  29237. <param name="key">The key of the property to get or set.</param>
  29238. <remarks>
  29239. <para>
  29240. The property value will only be serialized if it is serializable.
  29241. If it cannot be serialized it will be silently ignored if
  29242. a serialization operation is performed.
  29243. </para>
  29244. </remarks>
  29245. </member>
  29246. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#IsReadOnly">
  29247. <summary>
  29248. See <see cref="P:System.Collections.IDictionary.IsReadOnly"/>
  29249. </summary>
  29250. <value>
  29251. <c>false</c>
  29252. </value>
  29253. <remarks>
  29254. <para>
  29255. This collection is modifiable. This property always
  29256. returns <c>false</c>.
  29257. </para>
  29258. </remarks>
  29259. </member>
  29260. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Item(System.Object)">
  29261. <summary>
  29262. See <see cref="P:System.Collections.IDictionary.Item(System.Object)"/>
  29263. </summary>
  29264. <value>
  29265. The value for the key specified.
  29266. </value>
  29267. <remarks>
  29268. <para>
  29269. Get or set a value for the specified <see cref="T:System.String"/> <paramref name="key"/>.
  29270. </para>
  29271. </remarks>
  29272. <exception cref="T:System.ArgumentException">Thrown if the <paramref name="key"/> is not a string</exception>
  29273. </member>
  29274. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Values">
  29275. <summary>
  29276. See <see cref="P:System.Collections.IDictionary.Values"/>
  29277. </summary>
  29278. </member>
  29279. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Keys">
  29280. <summary>
  29281. See <see cref="P:System.Collections.IDictionary.Keys"/>
  29282. </summary>
  29283. </member>
  29284. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#IsFixedSize">
  29285. <summary>
  29286. See <see cref="P:System.Collections.IDictionary.IsFixedSize"/>
  29287. </summary>
  29288. </member>
  29289. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#ICollection#IsSynchronized">
  29290. <summary>
  29291. See <see cref="P:System.Collections.ICollection.IsSynchronized"/>
  29292. </summary>
  29293. </member>
  29294. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#ICollection#SyncRoot">
  29295. <summary>
  29296. See <see cref="P:System.Collections.ICollection.SyncRoot"/>
  29297. </summary>
  29298. </member>
  29299. <member name="T:log4net.Util.PropertyEntry">
  29300. <summary>
  29301. A class to hold the key and data for a property set in the config file
  29302. </summary>
  29303. <remarks>
  29304. <para>
  29305. A class to hold the key and data for a property set in the config file
  29306. </para>
  29307. </remarks>
  29308. </member>
  29309. <member name="M:log4net.Util.PropertyEntry.ToString">
  29310. <summary>
  29311. Override <c>Object.ToString</c> to return sensible debug info
  29312. </summary>
  29313. <returns>string info about this object</returns>
  29314. </member>
  29315. <member name="P:log4net.Util.PropertyEntry.Key">
  29316. <summary>
  29317. Property Key
  29318. </summary>
  29319. <value>
  29320. Property Key
  29321. </value>
  29322. <remarks>
  29323. <para>
  29324. Property Key.
  29325. </para>
  29326. </remarks>
  29327. </member>
  29328. <member name="P:log4net.Util.PropertyEntry.Value">
  29329. <summary>
  29330. Property Value
  29331. </summary>
  29332. <value>
  29333. Property Value
  29334. </value>
  29335. <remarks>
  29336. <para>
  29337. Property Value.
  29338. </para>
  29339. </remarks>
  29340. </member>
  29341. <member name="T:log4net.Util.ProtectCloseTextWriter">
  29342. <summary>
  29343. A <see cref="T:System.IO.TextWriter"/> that ignores the <see cref="M:log4net.Util.ProtectCloseTextWriter.Close"/> message
  29344. </summary>
  29345. <remarks>
  29346. <para>
  29347. This writer is used in special cases where it is necessary
  29348. to protect a writer from being closed by a client.
  29349. </para>
  29350. </remarks>
  29351. <author>Nicko Cadell</author>
  29352. </member>
  29353. <member name="M:log4net.Util.ProtectCloseTextWriter.#ctor(System.IO.TextWriter)">
  29354. <summary>
  29355. Constructor
  29356. </summary>
  29357. <param name="writer">the writer to actually write to</param>
  29358. <remarks>
  29359. <para>
  29360. Create a new ProtectCloseTextWriter using a writer
  29361. </para>
  29362. </remarks>
  29363. </member>
  29364. <member name="M:log4net.Util.ProtectCloseTextWriter.Attach(System.IO.TextWriter)">
  29365. <summary>
  29366. Attach this instance to a different underlying <see cref="T:System.IO.TextWriter"/>
  29367. </summary>
  29368. <param name="writer">the writer to attach to</param>
  29369. <remarks>
  29370. <para>
  29371. Attach this instance to a different underlying <see cref="T:System.IO.TextWriter"/>
  29372. </para>
  29373. </remarks>
  29374. </member>
  29375. <member name="M:log4net.Util.ProtectCloseTextWriter.Close">
  29376. <summary>
  29377. Does not close the underlying output writer.
  29378. </summary>
  29379. <remarks>
  29380. <para>
  29381. Does not close the underlying output writer.
  29382. This method does nothing.
  29383. </para>
  29384. </remarks>
  29385. </member>
  29386. <member name="T:log4net.Util.ReaderWriterLock">
  29387. <summary>
  29388. Defines a lock that supports single writers and multiple readers
  29389. </summary>
  29390. <remarks>
  29391. <para>
  29392. <c>ReaderWriterLock</c> is used to synchronize access to a resource.
  29393. At any given time, it allows either concurrent read access for
  29394. multiple threads, or write access for a single thread. In a
  29395. situation where a resource is changed infrequently, a
  29396. <c>ReaderWriterLock</c> provides better throughput than a simple
  29397. one-at-a-time lock, such as <see cref="T:System.Threading.Monitor"/>.
  29398. </para>
  29399. <para>
  29400. If a platform does not support a <c>System.Threading.ReaderWriterLock</c>
  29401. implementation then all readers and writers are serialized. Therefore
  29402. the caller must not rely on multiple simultaneous readers.
  29403. </para>
  29404. </remarks>
  29405. <author>Nicko Cadell</author>
  29406. </member>
  29407. <member name="M:log4net.Util.ReaderWriterLock.#ctor">
  29408. <summary>
  29409. Constructor
  29410. </summary>
  29411. <remarks>
  29412. <para>
  29413. Initializes a new instance of the <see cref="T:log4net.Util.ReaderWriterLock"/> class.
  29414. </para>
  29415. </remarks>
  29416. </member>
  29417. <member name="M:log4net.Util.ReaderWriterLock.AcquireReaderLock">
  29418. <summary>
  29419. Acquires a reader lock
  29420. </summary>
  29421. <remarks>
  29422. <para>
  29423. <see cref="M:log4net.Util.ReaderWriterLock.AcquireReaderLock"/> blocks if a different thread has the writer
  29424. lock, or if at least one thread is waiting for the writer lock.
  29425. </para>
  29426. </remarks>
  29427. </member>
  29428. <member name="M:log4net.Util.ReaderWriterLock.ReleaseReaderLock">
  29429. <summary>
  29430. Decrements the lock count
  29431. </summary>
  29432. <remarks>
  29433. <para>
  29434. <see cref="M:log4net.Util.ReaderWriterLock.ReleaseReaderLock"/> decrements the lock count. When the count
  29435. reaches zero, the lock is released.
  29436. </para>
  29437. </remarks>
  29438. </member>
  29439. <member name="M:log4net.Util.ReaderWriterLock.AcquireWriterLock">
  29440. <summary>
  29441. Acquires the writer lock
  29442. </summary>
  29443. <remarks>
  29444. <para>
  29445. This method blocks if another thread has a reader lock or writer lock.
  29446. </para>
  29447. </remarks>
  29448. </member>
  29449. <member name="M:log4net.Util.ReaderWriterLock.ReleaseWriterLock">
  29450. <summary>
  29451. Decrements the lock count on the writer lock
  29452. </summary>
  29453. <remarks>
  29454. <para>
  29455. ReleaseWriterLock decrements the writer lock count.
  29456. When the count reaches zero, the writer lock is released.
  29457. </para>
  29458. </remarks>
  29459. </member>
  29460. <member name="T:log4net.Util.ReusableStringWriter">
  29461. <summary>
  29462. A <see cref="T:System.IO.StringWriter"/> that can be <see cref="M:log4net.Util.ReusableStringWriter.Reset(System.Int32,System.Int32)"/> and reused
  29463. </summary>
  29464. <remarks>
  29465. <para>
  29466. A <see cref="T:System.IO.StringWriter"/> that can be <see cref="M:log4net.Util.ReusableStringWriter.Reset(System.Int32,System.Int32)"/> and reused.
  29467. This uses a single buffer for string operations.
  29468. </para>
  29469. </remarks>
  29470. <author>Nicko Cadell</author>
  29471. </member>
  29472. <member name="M:log4net.Util.ReusableStringWriter.#ctor(System.IFormatProvider)">
  29473. <summary>
  29474. Create an instance of <see cref="T:log4net.Util.ReusableStringWriter"/>
  29475. </summary>
  29476. <param name="formatProvider">the format provider to use</param>
  29477. <remarks>
  29478. <para>
  29479. Create an instance of <see cref="T:log4net.Util.ReusableStringWriter"/>
  29480. </para>
  29481. </remarks>
  29482. </member>
  29483. <member name="M:log4net.Util.ReusableStringWriter.Dispose(System.Boolean)">
  29484. <summary>
  29485. Override Dispose to prevent closing of writer
  29486. </summary>
  29487. <param name="disposing">flag</param>
  29488. <remarks>
  29489. <para>
  29490. Override Dispose to prevent closing of writer
  29491. </para>
  29492. </remarks>
  29493. </member>
  29494. <member name="M:log4net.Util.ReusableStringWriter.Reset(System.Int32,System.Int32)">
  29495. <summary>
  29496. Reset this string writer so that it can be reused.
  29497. </summary>
  29498. <param name="maxCapacity">the maximum buffer capacity before it is trimmed</param>
  29499. <param name="defaultSize">the default size to make the buffer</param>
  29500. <remarks>
  29501. <para>
  29502. Reset this string writer so that it can be reused.
  29503. The internal buffers are cleared and reset.
  29504. </para>
  29505. </remarks>
  29506. </member>
  29507. <member name="T:log4net.Util.SystemInfo">
  29508. <summary>
  29509. Utility class for system specific information.
  29510. </summary>
  29511. <remarks>
  29512. <para>
  29513. Utility class of static methods for system specific information.
  29514. </para>
  29515. </remarks>
  29516. <author>Nicko Cadell</author>
  29517. <author>Gert Driesen</author>
  29518. <author>Alexey Solofnenko</author>
  29519. </member>
  29520. <member name="M:log4net.Util.SystemInfo.#ctor">
  29521. <summary>
  29522. Private constructor to prevent instances.
  29523. </summary>
  29524. <remarks>
  29525. <para>
  29526. Only static methods are exposed from this type.
  29527. </para>
  29528. </remarks>
  29529. </member>
  29530. <member name="M:log4net.Util.SystemInfo.#cctor">
  29531. <summary>
  29532. Initialize default values for private static fields.
  29533. </summary>
  29534. <remarks>
  29535. <para>
  29536. Only static methods are exposed from this type.
  29537. </para>
  29538. </remarks>
  29539. </member>
  29540. <member name="M:log4net.Util.SystemInfo.AssemblyLocationInfo(System.Reflection.Assembly)">
  29541. <summary>
  29542. Gets the assembly location path for the specified assembly.
  29543. </summary>
  29544. <param name="myAssembly">The assembly to get the location for.</param>
  29545. <returns>The location of the assembly.</returns>
  29546. <remarks>
  29547. <para>
  29548. This method does not guarantee to return the correct path
  29549. to the assembly. If only tries to give an indication as to
  29550. where the assembly was loaded from.
  29551. </para>
  29552. </remarks>
  29553. </member>
  29554. <member name="M:log4net.Util.SystemInfo.AssemblyQualifiedName(System.Type)">
  29555. <summary>
  29556. Gets the fully qualified name of the <see cref="T:System.Type"/>, including
  29557. the name of the assembly from which the <see cref="T:System.Type"/> was
  29558. loaded.
  29559. </summary>
  29560. <param name="type">The <see cref="T:System.Type"/> to get the fully qualified name for.</param>
  29561. <returns>The fully qualified name for the <see cref="T:System.Type"/>.</returns>
  29562. <remarks>
  29563. <para>
  29564. This is equivalent to the <c>Type.AssemblyQualifiedName</c> property,
  29565. but this method works on the .NET Compact Framework 1.0 as well as
  29566. the full .NET runtime.
  29567. </para>
  29568. </remarks>
  29569. </member>
  29570. <member name="M:log4net.Util.SystemInfo.AssemblyShortName(System.Reflection.Assembly)">
  29571. <summary>
  29572. Gets the short name of the <see cref="T:System.Reflection.Assembly"/>.
  29573. </summary>
  29574. <param name="myAssembly">The <see cref="T:System.Reflection.Assembly"/> to get the name for.</param>
  29575. <returns>The short name of the <see cref="T:System.Reflection.Assembly"/>.</returns>
  29576. <remarks>
  29577. <para>
  29578. The short name of the assembly is the <see cref="P:System.Reflection.Assembly.FullName"/>
  29579. without the version, culture, or public key. i.e. it is just the
  29580. assembly's file name without the extension.
  29581. </para>
  29582. <para>
  29583. Use this rather than <c>Assembly.GetName().Name</c> because that
  29584. is not available on the Compact Framework.
  29585. </para>
  29586. <para>
  29587. Because of a FileIOPermission security demand we cannot do
  29588. the obvious Assembly.GetName().Name. We are allowed to get
  29589. the <see cref="P:System.Reflection.Assembly.FullName"/> of the assembly so we
  29590. start from there and strip out just the assembly name.
  29591. </para>
  29592. </remarks>
  29593. </member>
  29594. <member name="M:log4net.Util.SystemInfo.AssemblyFileName(System.Reflection.Assembly)">
  29595. <summary>
  29596. Gets the file name portion of the <see cref="T:System.Reflection.Assembly"/>, including the extension.
  29597. </summary>
  29598. <param name="myAssembly">The <see cref="T:System.Reflection.Assembly"/> to get the file name for.</param>
  29599. <returns>The file name of the assembly.</returns>
  29600. <remarks>
  29601. <para>
  29602. Gets the file name portion of the <see cref="T:System.Reflection.Assembly"/>, including the extension.
  29603. </para>
  29604. </remarks>
  29605. </member>
  29606. <member name="M:log4net.Util.SystemInfo.GetTypeFromString(System.Type,System.String,System.Boolean,System.Boolean)">
  29607. <summary>
  29608. Loads the type specified in the type string.
  29609. </summary>
  29610. <param name="relativeType">A sibling type to use to load the type.</param>
  29611. <param name="typeName">The name of the type to load.</param>
  29612. <param name="throwOnError">Flag set to <c>true</c> to throw an exception if the type cannot be loaded.</param>
  29613. <param name="ignoreCase"><c>true</c> to ignore the case of the type name; otherwise, <c>false</c></param>
  29614. <returns>The type loaded or <c>null</c> if it could not be loaded.</returns>
  29615. <remarks>
  29616. <para>
  29617. If the type name is fully qualified, i.e. if contains an assembly name in
  29618. the type name, the type will be loaded from the system using
  29619. <see cref="M:Type.GetType(string,bool)"/>.
  29620. </para>
  29621. <para>
  29622. If the type name is not fully qualified, it will be loaded from the assembly
  29623. containing the specified relative type. If the type is not found in the assembly
  29624. then all the loaded assemblies will be searched for the type.
  29625. </para>
  29626. </remarks>
  29627. </member>
  29628. <member name="M:log4net.Util.SystemInfo.GetTypeFromString(System.String,System.Boolean,System.Boolean)">
  29629. <summary>
  29630. Loads the type specified in the type string.
  29631. </summary>
  29632. <param name="typeName">The name of the type to load.</param>
  29633. <param name="throwOnError">Flag set to <c>true</c> to throw an exception if the type cannot be loaded.</param>
  29634. <param name="ignoreCase"><c>true</c> to ignore the case of the type name; otherwise, <c>false</c></param>
  29635. <returns>The type loaded or <c>null</c> if it could not be loaded.</returns>
  29636. <remarks>
  29637. <para>
  29638. If the type name is fully qualified, i.e. if contains an assembly name in
  29639. the type name, the type will be loaded from the system using
  29640. <see cref="M:Type.GetType(string,bool)"/>.
  29641. </para>
  29642. <para>
  29643. If the type name is not fully qualified it will be loaded from the
  29644. assembly that is directly calling this method. If the type is not found
  29645. in the assembly then all the loaded assemblies will be searched for the type.
  29646. </para>
  29647. </remarks>
  29648. </member>
  29649. <member name="M:log4net.Util.SystemInfo.GetTypeFromString(System.Reflection.Assembly,System.String,System.Boolean,System.Boolean)">
  29650. <summary>
  29651. Loads the type specified in the type string.
  29652. </summary>
  29653. <param name="relativeAssembly">An assembly to load the type from.</param>
  29654. <param name="typeName">The name of the type to load.</param>
  29655. <param name="throwOnError">Flag set to <c>true</c> to throw an exception if the type cannot be loaded.</param>
  29656. <param name="ignoreCase"><c>true</c> to ignore the case of the type name; otherwise, <c>false</c></param>
  29657. <returns>The type loaded or <c>null</c> if it could not be loaded.</returns>
  29658. <remarks>
  29659. <para>
  29660. If the type name is fully qualified, i.e. if contains an assembly name in
  29661. the type name, the type will be loaded from the system using
  29662. <see cref="M:Type.GetType(string,bool)"/>.
  29663. </para>
  29664. <para>
  29665. If the type name is not fully qualified it will be loaded from the specified
  29666. assembly. If the type is not found in the assembly then all the loaded assemblies
  29667. will be searched for the type.
  29668. </para>
  29669. </remarks>
  29670. </member>
  29671. <member name="M:log4net.Util.SystemInfo.NewGuid">
  29672. <summary>
  29673. Generate a new guid
  29674. </summary>
  29675. <returns>A new Guid</returns>
  29676. <remarks>
  29677. <para>
  29678. Generate a new guid
  29679. </para>
  29680. </remarks>
  29681. </member>
  29682. <member name="M:log4net.Util.SystemInfo.CreateArgumentOutOfRangeException(System.String,System.Object,System.String)">
  29683. <summary>
  29684. Create an <see cref="T:System.ArgumentOutOfRangeException"/>
  29685. </summary>
  29686. <param name="parameterName">The name of the parameter that caused the exception</param>
  29687. <param name="actualValue">The value of the argument that causes this exception</param>
  29688. <param name="message">The message that describes the error</param>
  29689. <returns>the ArgumentOutOfRangeException object</returns>
  29690. <remarks>
  29691. <para>
  29692. Create a new instance of the <see cref="T:System.ArgumentOutOfRangeException"/> class
  29693. with a specified error message, the parameter name, and the value
  29694. of the argument.
  29695. </para>
  29696. <para>
  29697. The Compact Framework does not support the 3 parameter constructor for the
  29698. <see cref="T:System.ArgumentOutOfRangeException"/> type. This method provides an
  29699. implementation that works for all platforms.
  29700. </para>
  29701. </remarks>
  29702. </member>
  29703. <member name="M:log4net.Util.SystemInfo.TryParse(System.String,System.Int32@)">
  29704. <summary>
  29705. Parse a string into an <see cref="T:System.Int32"/> value
  29706. </summary>
  29707. <param name="s">the string to parse</param>
  29708. <param name="val">out param where the parsed value is placed</param>
  29709. <returns><c>true</c> if the string was able to be parsed into an integer</returns>
  29710. <remarks>
  29711. <para>
  29712. Attempts to parse the string into an integer. If the string cannot
  29713. be parsed then this method returns <c>false</c>. The method does not throw an exception.
  29714. </para>
  29715. </remarks>
  29716. </member>
  29717. <member name="M:log4net.Util.SystemInfo.TryParse(System.String,System.Int64@)">
  29718. <summary>
  29719. Parse a string into an <see cref="T:System.Int64"/> value
  29720. </summary>
  29721. <param name="s">the string to parse</param>
  29722. <param name="val">out param where the parsed value is placed</param>
  29723. <returns><c>true</c> if the string was able to be parsed into an integer</returns>
  29724. <remarks>
  29725. <para>
  29726. Attempts to parse the string into an integer. If the string cannot
  29727. be parsed then this method returns <c>false</c>. The method does not throw an exception.
  29728. </para>
  29729. </remarks>
  29730. </member>
  29731. <member name="M:log4net.Util.SystemInfo.TryParse(System.String,System.Int16@)">
  29732. <summary>
  29733. Parse a string into an <see cref="T:System.Int16"/> value
  29734. </summary>
  29735. <param name="s">the string to parse</param>
  29736. <param name="val">out param where the parsed value is placed</param>
  29737. <returns><c>true</c> if the string was able to be parsed into an integer</returns>
  29738. <remarks>
  29739. <para>
  29740. Attempts to parse the string into an integer. If the string cannot
  29741. be parsed then this method returns <c>false</c>. The method does not throw an exception.
  29742. </para>
  29743. </remarks>
  29744. </member>
  29745. <member name="M:log4net.Util.SystemInfo.GetAppSetting(System.String)">
  29746. <summary>
  29747. Lookup an application setting
  29748. </summary>
  29749. <param name="key">the application settings key to lookup</param>
  29750. <returns>the value for the key, or <c>null</c></returns>
  29751. <remarks>
  29752. <para>
  29753. Configuration APIs are not supported under the Compact Framework
  29754. </para>
  29755. </remarks>
  29756. </member>
  29757. <member name="M:log4net.Util.SystemInfo.ConvertToFullPath(System.String)">
  29758. <summary>
  29759. Convert a path into a fully qualified local file path.
  29760. </summary>
  29761. <param name="path">The path to convert.</param>
  29762. <returns>The fully qualified path.</returns>
  29763. <remarks>
  29764. <para>
  29765. Converts the path specified to a fully
  29766. qualified path. If the path is relative it is
  29767. taken as relative from the application base
  29768. directory.
  29769. </para>
  29770. <para>
  29771. The path specified must be a local file path, a URI is not supported.
  29772. </para>
  29773. </remarks>
  29774. </member>
  29775. <member name="M:log4net.Util.SystemInfo.CreateCaseInsensitiveHashtable">
  29776. <summary>
  29777. Creates a new case-insensitive instance of the <see cref="T:System.Collections.Hashtable"/> class with the default initial capacity.
  29778. </summary>
  29779. <returns>A new case-insensitive instance of the <see cref="T:System.Collections.Hashtable"/> class with the default initial capacity</returns>
  29780. <remarks>
  29781. <para>
  29782. The new Hashtable instance uses the default load factor, the CaseInsensitiveHashCodeProvider, and the CaseInsensitiveComparer.
  29783. </para>
  29784. </remarks>
  29785. </member>
  29786. <member name="F:log4net.Util.SystemInfo.EmptyTypes">
  29787. <summary>
  29788. Gets an empty array of types.
  29789. </summary>
  29790. <remarks>
  29791. <para>
  29792. The <c>Type.EmptyTypes</c> field is not available on
  29793. the .NET Compact Framework 1.0.
  29794. </para>
  29795. </remarks>
  29796. </member>
  29797. <member name="F:log4net.Util.SystemInfo.declaringType">
  29798. <summary>
  29799. The fully qualified type of the SystemInfo class.
  29800. </summary>
  29801. <remarks>
  29802. Used by the internal logger to record the Type of the
  29803. log message.
  29804. </remarks>
  29805. </member>
  29806. <member name="F:log4net.Util.SystemInfo.s_hostName">
  29807. <summary>
  29808. Cache the host name for the current machine
  29809. </summary>
  29810. </member>
  29811. <member name="F:log4net.Util.SystemInfo.s_appFriendlyName">
  29812. <summary>
  29813. Cache the application friendly name
  29814. </summary>
  29815. </member>
  29816. <member name="F:log4net.Util.SystemInfo.s_nullText">
  29817. <summary>
  29818. Text to output when a <c>null</c> is encountered.
  29819. </summary>
  29820. </member>
  29821. <member name="F:log4net.Util.SystemInfo.s_notAvailableText">
  29822. <summary>
  29823. Text to output when an unsupported feature is requested.
  29824. </summary>
  29825. </member>
  29826. <member name="F:log4net.Util.SystemInfo.s_processStartTime">
  29827. <summary>
  29828. Start time for the current process.
  29829. </summary>
  29830. </member>
  29831. <member name="P:log4net.Util.SystemInfo.NewLine">
  29832. <summary>
  29833. Gets the system dependent line terminator.
  29834. </summary>
  29835. <value>
  29836. The system dependent line terminator.
  29837. </value>
  29838. <remarks>
  29839. <para>
  29840. Gets the system dependent line terminator.
  29841. </para>
  29842. </remarks>
  29843. </member>
  29844. <member name="P:log4net.Util.SystemInfo.ApplicationBaseDirectory">
  29845. <summary>
  29846. Gets the base directory for this <see cref="T:System.AppDomain"/>.
  29847. </summary>
  29848. <value>The base directory path for the current <see cref="T:System.AppDomain"/>.</value>
  29849. <remarks>
  29850. <para>
  29851. Gets the base directory for this <see cref="T:System.AppDomain"/>.
  29852. </para>
  29853. <para>
  29854. The value returned may be either a local file path or a URI.
  29855. </para>
  29856. </remarks>
  29857. </member>
  29858. <member name="P:log4net.Util.SystemInfo.ConfigurationFileLocation">
  29859. <summary>
  29860. Gets the path to the configuration file for the current <see cref="T:System.AppDomain"/>.
  29861. </summary>
  29862. <value>The path to the configuration file for the current <see cref="T:System.AppDomain"/>.</value>
  29863. <remarks>
  29864. <para>
  29865. The .NET Compact Framework 1.0 does not have a concept of a configuration
  29866. file. For this runtime, we use the entry assembly location as the root for
  29867. the configuration file name.
  29868. </para>
  29869. <para>
  29870. The value returned may be either a local file path or a URI.
  29871. </para>
  29872. </remarks>
  29873. </member>
  29874. <member name="P:log4net.Util.SystemInfo.EntryAssemblyLocation">
  29875. <summary>
  29876. Gets the path to the file that first executed in the current <see cref="T:System.AppDomain"/>.
  29877. </summary>
  29878. <value>The path to the entry assembly.</value>
  29879. <remarks>
  29880. <para>
  29881. Gets the path to the file that first executed in the current <see cref="T:System.AppDomain"/>.
  29882. </para>
  29883. </remarks>
  29884. </member>
  29885. <member name="P:log4net.Util.SystemInfo.CurrentThreadId">
  29886. <summary>
  29887. Gets the ID of the current thread.
  29888. </summary>
  29889. <value>The ID of the current thread.</value>
  29890. <remarks>
  29891. <para>
  29892. On the .NET framework, the <c>AppDomain.GetCurrentThreadId</c> method
  29893. is used to obtain the thread ID for the current thread. This is the
  29894. operating system ID for the thread.
  29895. </para>
  29896. <para>
  29897. On the .NET Compact Framework 1.0 it is not possible to get the
  29898. operating system thread ID for the current thread. The native method
  29899. <c>GetCurrentThreadId</c> is implemented inline in a header file
  29900. and cannot be called.
  29901. </para>
  29902. <para>
  29903. On the .NET Framework 2.0 the <c>Thread.ManagedThreadId</c> is used as this
  29904. gives a stable id unrelated to the operating system thread ID which may
  29905. change if the runtime is using fibers.
  29906. </para>
  29907. </remarks>
  29908. </member>
  29909. <member name="P:log4net.Util.SystemInfo.HostName">
  29910. <summary>
  29911. Get the host name or machine name for the current machine
  29912. </summary>
  29913. <value>
  29914. The hostname or machine name
  29915. </value>
  29916. <remarks>
  29917. <para>
  29918. Get the host name or machine name for the current machine
  29919. </para>
  29920. <para>
  29921. The host name (<see cref="M:System.Net.Dns.GetHostName"/>) or
  29922. the machine name (<c>Environment.MachineName</c>) for
  29923. the current machine, or if neither of these are available
  29924. then <c>NOT AVAILABLE</c> is returned.
  29925. </para>
  29926. </remarks>
  29927. </member>
  29928. <member name="P:log4net.Util.SystemInfo.ApplicationFriendlyName">
  29929. <summary>
  29930. Get this application's friendly name
  29931. </summary>
  29932. <value>
  29933. The friendly name of this application as a string
  29934. </value>
  29935. <remarks>
  29936. <para>
  29937. If available the name of the application is retrieved from
  29938. the <c>AppDomain</c> using <c>AppDomain.CurrentDomain.FriendlyName</c>.
  29939. </para>
  29940. <para>
  29941. Otherwise the file name of the entry assembly is used.
  29942. </para>
  29943. </remarks>
  29944. </member>
  29945. <member name="P:log4net.Util.SystemInfo.ProcessStartTime">
  29946. <summary>
  29947. Get the start time for the current process.
  29948. </summary>
  29949. <remarks>
  29950. <para>
  29951. This is the time at which the log4net library was loaded into the
  29952. AppDomain. Due to reports of a hang in the call to <c>System.Diagnostics.Process.StartTime</c>
  29953. this is not the start time for the current process.
  29954. </para>
  29955. <para>
  29956. The log4net library should be loaded by an application early during its
  29957. startup, therefore this start time should be a good approximation for
  29958. the actual start time.
  29959. </para>
  29960. <para>
  29961. Note that AppDomains may be loaded and unloaded within the
  29962. same process without the process terminating, however this start time
  29963. will be set per AppDomain.
  29964. </para>
  29965. </remarks>
  29966. </member>
  29967. <member name="P:log4net.Util.SystemInfo.NullText">
  29968. <summary>
  29969. Text to output when a <c>null</c> is encountered.
  29970. </summary>
  29971. <remarks>
  29972. <para>
  29973. Use this value to indicate a <c>null</c> has been encountered while
  29974. outputting a string representation of an item.
  29975. </para>
  29976. <para>
  29977. The default value is <c>(null)</c>. This value can be overridden by specifying
  29978. a value for the <c>log4net.NullText</c> appSetting in the application's
  29979. .config file.
  29980. </para>
  29981. </remarks>
  29982. </member>
  29983. <member name="P:log4net.Util.SystemInfo.NotAvailableText">
  29984. <summary>
  29985. Text to output when an unsupported feature is requested.
  29986. </summary>
  29987. <remarks>
  29988. <para>
  29989. Use this value when an unsupported feature is requested.
  29990. </para>
  29991. <para>
  29992. The default value is <c>NOT AVAILABLE</c>. This value can be overridden by specifying
  29993. a value for the <c>log4net.NotAvailableText</c> appSetting in the application's
  29994. .config file.
  29995. </para>
  29996. </remarks>
  29997. </member>
  29998. <member name="T:log4net.Util.SystemStringFormat">
  29999. <summary>
  30000. Utility class that represents a format string.
  30001. </summary>
  30002. <remarks>
  30003. <para>
  30004. Utility class that represents a format string.
  30005. </para>
  30006. </remarks>
  30007. <author>Nicko Cadell</author>
  30008. </member>
  30009. <member name="M:log4net.Util.SystemStringFormat.#ctor(System.IFormatProvider,System.String,System.Object[])">
  30010. <summary>
  30011. Initialise the <see cref="T:log4net.Util.SystemStringFormat"/>
  30012. </summary>
  30013. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  30014. <param name="format">A <see cref="T:System.String"/> containing zero or more format items.</param>
  30015. <param name="args">An <see cref="T:System.Object"/> array containing zero or more objects to format.</param>
  30016. </member>
  30017. <member name="M:log4net.Util.SystemStringFormat.ToString">
  30018. <summary>
  30019. Format the string and arguments
  30020. </summary>
  30021. <returns>the formatted string</returns>
  30022. </member>
  30023. <member name="M:log4net.Util.SystemStringFormat.StringFormat(System.IFormatProvider,System.String,System.Object[])">
  30024. <summary>
  30025. Replaces the format item in a specified <see cref="T:System.String"/> with the text equivalent
  30026. of the value of a corresponding <see cref="T:System.Object"/> instance in a specified array.
  30027. A specified parameter supplies culture-specific formatting information.
  30028. </summary>
  30029. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  30030. <param name="format">A <see cref="T:System.String"/> containing zero or more format items.</param>
  30031. <param name="args">An <see cref="T:System.Object"/> array containing zero or more objects to format.</param>
  30032. <returns>
  30033. A copy of format in which the format items have been replaced by the <see cref="T:System.String"/>
  30034. equivalent of the corresponding instances of <see cref="T:System.Object"/> in args.
  30035. </returns>
  30036. <remarks>
  30037. <para>
  30038. This method does not throw exceptions. If an exception thrown while formatting the result the
  30039. exception and arguments are returned in the result string.
  30040. </para>
  30041. </remarks>
  30042. </member>
  30043. <member name="M:log4net.Util.SystemStringFormat.StringFormatError(System.Exception,System.String,System.Object[])">
  30044. <summary>
  30045. Process an error during StringFormat
  30046. </summary>
  30047. </member>
  30048. <member name="M:log4net.Util.SystemStringFormat.RenderArray(System.Array,System.Text.StringBuilder)">
  30049. <summary>
  30050. Dump the contents of an array into a string builder
  30051. </summary>
  30052. </member>
  30053. <member name="M:log4net.Util.SystemStringFormat.RenderObject(System.Object,System.Text.StringBuilder)">
  30054. <summary>
  30055. Dump an object to a string
  30056. </summary>
  30057. </member>
  30058. <member name="F:log4net.Util.SystemStringFormat.declaringType">
  30059. <summary>
  30060. The fully qualified type of the SystemStringFormat class.
  30061. </summary>
  30062. <remarks>
  30063. Used by the internal logger to record the Type of the
  30064. log message.
  30065. </remarks>
  30066. </member>
  30067. <member name="T:log4net.Util.ThreadContextProperties">
  30068. <summary>
  30069. Implementation of Properties collection for the <see cref="T:log4net.ThreadContext"/>
  30070. </summary>
  30071. <remarks>
  30072. <para>
  30073. Class implements a collection of properties that is specific to each thread.
  30074. The class is not synchronized as each thread has its own <see cref="T:log4net.Util.PropertiesDictionary"/>.
  30075. </para>
  30076. </remarks>
  30077. <author>Nicko Cadell</author>
  30078. </member>
  30079. <member name="F:log4net.Util.ThreadContextProperties._dictionary">
  30080. <summary>
  30081. Each thread will automatically have its instance.
  30082. </summary>
  30083. </member>
  30084. <member name="M:log4net.Util.ThreadContextProperties.#ctor">
  30085. <summary>
  30086. Internal constructor
  30087. </summary>
  30088. <remarks>
  30089. <para>
  30090. Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextProperties"/> class.
  30091. </para>
  30092. </remarks>
  30093. </member>
  30094. <member name="M:log4net.Util.ThreadContextProperties.Remove(System.String)">
  30095. <summary>
  30096. Remove a property
  30097. </summary>
  30098. <param name="key">the key for the entry to remove</param>
  30099. <remarks>
  30100. <para>
  30101. Remove a property
  30102. </para>
  30103. </remarks>
  30104. </member>
  30105. <member name="M:log4net.Util.ThreadContextProperties.GetKeys">
  30106. <summary>
  30107. Get the keys stored in the properties.
  30108. </summary>
  30109. <para>
  30110. Gets the keys stored in the properties.
  30111. </para>
  30112. <returns>a set of the defined keys</returns>
  30113. </member>
  30114. <member name="M:log4net.Util.ThreadContextProperties.Clear">
  30115. <summary>
  30116. Clear all properties
  30117. </summary>
  30118. <remarks>
  30119. <para>
  30120. Clear all properties
  30121. </para>
  30122. </remarks>
  30123. </member>
  30124. <member name="M:log4net.Util.ThreadContextProperties.GetProperties(System.Boolean)">
  30125. <summary>
  30126. Get the <c>PropertiesDictionary</c> for this thread.
  30127. </summary>
  30128. <param name="create">create the dictionary if it does not exist, otherwise return null if does not exist</param>
  30129. <returns>the properties for this thread</returns>
  30130. <remarks>
  30131. <para>
  30132. The collection returned is only to be used on the calling thread. If the
  30133. caller needs to share the collection between different threads then the
  30134. caller must clone the collection before doing so.
  30135. </para>
  30136. </remarks>
  30137. </member>
  30138. <member name="P:log4net.Util.ThreadContextProperties.Item(System.String)">
  30139. <summary>
  30140. Gets or sets the value of a property
  30141. </summary>
  30142. <value>
  30143. The value for the property with the specified key
  30144. </value>
  30145. <remarks>
  30146. <para>
  30147. Gets or sets the value of a property
  30148. </para>
  30149. </remarks>
  30150. </member>
  30151. <member name="T:log4net.Util.ThreadContextStack">
  30152. <summary>
  30153. Implementation of Stack for the <see cref="T:log4net.ThreadContext"/>
  30154. </summary>
  30155. <remarks>
  30156. <para>
  30157. Implementation of Stack for the <see cref="T:log4net.ThreadContext"/>
  30158. </para>
  30159. </remarks>
  30160. <author>Nicko Cadell</author>
  30161. </member>
  30162. <member name="F:log4net.Util.ThreadContextStack.m_stack">
  30163. <summary>
  30164. The stack store.
  30165. </summary>
  30166. </member>
  30167. <member name="M:log4net.Util.ThreadContextStack.#ctor">
  30168. <summary>
  30169. Internal constructor
  30170. </summary>
  30171. <remarks>
  30172. <para>
  30173. Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStack"/> class.
  30174. </para>
  30175. </remarks>
  30176. </member>
  30177. <member name="M:log4net.Util.ThreadContextStack.Clear">
  30178. <summary>
  30179. Clears all the contextual information held in this stack.
  30180. </summary>
  30181. <remarks>
  30182. <para>
  30183. Clears all the contextual information held in this stack.
  30184. Only call this if you think that this tread is being reused after
  30185. a previous call execution which may not have completed correctly.
  30186. You do not need to use this method if you always guarantee to call
  30187. the <see cref="M:System.IDisposable.Dispose"/> method of the <see cref="T:System.IDisposable"/>
  30188. returned from <see cref="M:log4net.Util.ThreadContextStack.Push(System.String)"/> even in exceptional circumstances,
  30189. for example by using the <c>using(log4net.ThreadContext.Stacks["NDC"].Push("Stack_Message"))</c>
  30190. syntax.
  30191. </para>
  30192. </remarks>
  30193. </member>
  30194. <member name="M:log4net.Util.ThreadContextStack.Pop">
  30195. <summary>
  30196. Removes the top context from this stack.
  30197. </summary>
  30198. <returns>The message in the context that was removed from the top of this stack.</returns>
  30199. <remarks>
  30200. <para>
  30201. Remove the top context from this stack, and return
  30202. it to the caller. If this stack is empty then an
  30203. empty string (not <see langword="null"/>) is returned.
  30204. </para>
  30205. </remarks>
  30206. </member>
  30207. <member name="M:log4net.Util.ThreadContextStack.Push(System.String)">
  30208. <summary>
  30209. Pushes a new context message into this stack.
  30210. </summary>
  30211. <param name="message">The new context message.</param>
  30212. <returns>
  30213. An <see cref="T:System.IDisposable"/> that can be used to clean up the context stack.
  30214. </returns>
  30215. <remarks>
  30216. <para>
  30217. Pushes a new context onto this stack. An <see cref="T:System.IDisposable"/>
  30218. is returned that can be used to clean up this stack. This
  30219. can be easily combined with the <c>using</c> keyword to scope the
  30220. context.
  30221. </para>
  30222. </remarks>
  30223. <example>Simple example of using the <c>Push</c> method with the <c>using</c> keyword.
  30224. <code lang="C#">
  30225. using(log4net.ThreadContext.Stacks["NDC"].Push("Stack_Message"))
  30226. {
  30227. log.Warn("This should have an ThreadContext Stack message");
  30228. }
  30229. </code>
  30230. </example>
  30231. </member>
  30232. <member name="M:log4net.Util.ThreadContextStack.GetFullMessage">
  30233. <summary>
  30234. Gets the current context information for this stack.
  30235. </summary>
  30236. <returns>The current context information.</returns>
  30237. </member>
  30238. <member name="M:log4net.Util.ThreadContextStack.ToString">
  30239. <summary>
  30240. Gets the current context information for this stack.
  30241. </summary>
  30242. <returns>Gets the current context information</returns>
  30243. <remarks>
  30244. <para>
  30245. Gets the current context information for this stack.
  30246. </para>
  30247. </remarks>
  30248. </member>
  30249. <member name="M:log4net.Util.ThreadContextStack.log4net#Core#IFixingRequired#GetFixedObject">
  30250. <summary>
  30251. Get a portable version of this object
  30252. </summary>
  30253. <returns>the portable instance of this object</returns>
  30254. <remarks>
  30255. <para>
  30256. Get a cross thread portable version of this object
  30257. </para>
  30258. </remarks>
  30259. </member>
  30260. <member name="P:log4net.Util.ThreadContextStack.Count">
  30261. <summary>
  30262. The number of messages in the stack
  30263. </summary>
  30264. <value>
  30265. The current number of messages in the stack
  30266. </value>
  30267. <remarks>
  30268. <para>
  30269. The current number of messages in the stack. That is
  30270. the number of times <see cref="M:log4net.Util.ThreadContextStack.Push(System.String)"/> has been called
  30271. minus the number of times <see cref="M:log4net.Util.ThreadContextStack.Pop"/> has been called.
  30272. </para>
  30273. </remarks>
  30274. </member>
  30275. <member name="P:log4net.Util.ThreadContextStack.InternalStack">
  30276. <summary>
  30277. Gets and sets the internal stack used by this <see cref="T:log4net.Util.ThreadContextStack"/>
  30278. </summary>
  30279. <value>The internal storage stack</value>
  30280. <remarks>
  30281. <para>
  30282. This property is provided only to support backward compatability
  30283. of the <see cref="T:log4net.NDC"/>. Tytpically the internal stack should not
  30284. be modified.
  30285. </para>
  30286. </remarks>
  30287. </member>
  30288. <member name="T:log4net.Util.ThreadContextStack.StackFrame">
  30289. <summary>
  30290. Inner class used to represent a single context frame in the stack.
  30291. </summary>
  30292. <remarks>
  30293. <para>
  30294. Inner class used to represent a single context frame in the stack.
  30295. </para>
  30296. </remarks>
  30297. </member>
  30298. <member name="M:log4net.Util.ThreadContextStack.StackFrame.#ctor(System.String,log4net.Util.ThreadContextStack.StackFrame)">
  30299. <summary>
  30300. Constructor
  30301. </summary>
  30302. <param name="message">The message for this context.</param>
  30303. <param name="parent">The parent context in the chain.</param>
  30304. <remarks>
  30305. <para>
  30306. Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStack.StackFrame"/> class
  30307. with the specified message and parent context.
  30308. </para>
  30309. </remarks>
  30310. </member>
  30311. <member name="P:log4net.Util.ThreadContextStack.StackFrame.Message">
  30312. <summary>
  30313. Get the message.
  30314. </summary>
  30315. <value>The message.</value>
  30316. <remarks>
  30317. <para>
  30318. Get the message.
  30319. </para>
  30320. </remarks>
  30321. </member>
  30322. <member name="P:log4net.Util.ThreadContextStack.StackFrame.FullMessage">
  30323. <summary>
  30324. Gets the full text of the context down to the root level.
  30325. </summary>
  30326. <value>
  30327. The full text of the context down to the root level.
  30328. </value>
  30329. <remarks>
  30330. <para>
  30331. Gets the full text of the context down to the root level.
  30332. </para>
  30333. </remarks>
  30334. </member>
  30335. <member name="T:log4net.Util.ThreadContextStack.AutoPopStackFrame">
  30336. <summary>
  30337. Struct returned from the <see cref="M:log4net.Util.ThreadContextStack.Push(System.String)"/> method.
  30338. </summary>
  30339. <remarks>
  30340. <para>
  30341. This struct implements the <see cref="T:System.IDisposable"/> and is designed to be used
  30342. with the <see langword="using"/> pattern to remove the stack frame at the end of the scope.
  30343. </para>
  30344. </remarks>
  30345. </member>
  30346. <member name="F:log4net.Util.ThreadContextStack.AutoPopStackFrame.m_frameStack">
  30347. <summary>
  30348. The ThreadContextStack internal stack
  30349. </summary>
  30350. </member>
  30351. <member name="F:log4net.Util.ThreadContextStack.AutoPopStackFrame.m_frameDepth">
  30352. <summary>
  30353. The depth to trim the stack to when this instance is disposed
  30354. </summary>
  30355. </member>
  30356. <member name="M:log4net.Util.ThreadContextStack.AutoPopStackFrame.#ctor(System.Collections.Stack,System.Int32)">
  30357. <summary>
  30358. Constructor
  30359. </summary>
  30360. <param name="frameStack">The internal stack used by the ThreadContextStack.</param>
  30361. <param name="frameDepth">The depth to return the stack to when this object is disposed.</param>
  30362. <remarks>
  30363. <para>
  30364. Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStack.AutoPopStackFrame"/> class with
  30365. the specified stack and return depth.
  30366. </para>
  30367. </remarks>
  30368. </member>
  30369. <member name="M:log4net.Util.ThreadContextStack.AutoPopStackFrame.Dispose">
  30370. <summary>
  30371. Returns the stack to the correct depth.
  30372. </summary>
  30373. <remarks>
  30374. <para>
  30375. Returns the stack to the correct depth.
  30376. </para>
  30377. </remarks>
  30378. </member>
  30379. <member name="T:log4net.Util.ThreadContextStacks">
  30380. <summary>
  30381. Implementation of Stacks collection for the <see cref="T:log4net.ThreadContext"/>
  30382. </summary>
  30383. <remarks>
  30384. <para>
  30385. Implementation of Stacks collection for the <see cref="T:log4net.ThreadContext"/>
  30386. </para>
  30387. </remarks>
  30388. <author>Nicko Cadell</author>
  30389. </member>
  30390. <member name="M:log4net.Util.ThreadContextStacks.#ctor(log4net.Util.ContextPropertiesBase)">
  30391. <summary>
  30392. Internal constructor
  30393. </summary>
  30394. <remarks>
  30395. <para>
  30396. Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStacks"/> class.
  30397. </para>
  30398. </remarks>
  30399. </member>
  30400. <member name="F:log4net.Util.ThreadContextStacks.declaringType">
  30401. <summary>
  30402. The fully qualified type of the ThreadContextStacks class.
  30403. </summary>
  30404. <remarks>
  30405. Used by the internal logger to record the Type of the
  30406. log message.
  30407. </remarks>
  30408. </member>
  30409. <member name="P:log4net.Util.ThreadContextStacks.Item(System.String)">
  30410. <summary>
  30411. Gets the named thread context stack
  30412. </summary>
  30413. <value>
  30414. The named stack
  30415. </value>
  30416. <remarks>
  30417. <para>
  30418. Gets the named thread context stack
  30419. </para>
  30420. </remarks>
  30421. </member>
  30422. <member name="T:log4net.Util.Transform">
  30423. <summary>
  30424. Utility class for transforming strings.
  30425. </summary>
  30426. <remarks>
  30427. <para>
  30428. Utility class for transforming strings.
  30429. </para>
  30430. </remarks>
  30431. <author>Nicko Cadell</author>
  30432. <author>Gert Driesen</author>
  30433. </member>
  30434. <member name="M:log4net.Util.Transform.#ctor">
  30435. <summary>
  30436. Initializes a new instance of the <see cref="T:log4net.Util.Transform"/> class.
  30437. </summary>
  30438. <remarks>
  30439. <para>
  30440. Uses a private access modifier to prevent instantiation of this class.
  30441. </para>
  30442. </remarks>
  30443. </member>
  30444. <member name="M:log4net.Util.Transform.WriteEscapedXmlString(System.Xml.XmlWriter,System.String,System.String)">
  30445. <summary>
  30446. Write a string to an <see cref="T:System.Xml.XmlWriter"/>
  30447. </summary>
  30448. <param name="writer">the writer to write to</param>
  30449. <param name="textData">the string to write</param>
  30450. <param name="invalidCharReplacement">The string to replace non XML compliant chars with</param>
  30451. <remarks>
  30452. <para>
  30453. The test is escaped either using XML escape entities
  30454. or using CDATA sections.
  30455. </para>
  30456. </remarks>
  30457. </member>
  30458. <member name="M:log4net.Util.Transform.MaskXmlInvalidCharacters(System.String,System.String)">
  30459. <summary>
  30460. Replace invalid XML characters in text string
  30461. </summary>
  30462. <param name="textData">the XML text input string</param>
  30463. <param name="mask">the string to use in place of invalid characters</param>
  30464. <returns>A string that does not contain invalid XML characters.</returns>
  30465. <remarks>
  30466. <para>
  30467. Certain Unicode code points are not allowed in the XML InfoSet, for
  30468. details see: <a href="http://www.w3.org/TR/REC-xml/#charsets">http://www.w3.org/TR/REC-xml/#charsets</a>.
  30469. </para>
  30470. <para>
  30471. This method replaces any illegal characters in the input string
  30472. with the mask string specified.
  30473. </para>
  30474. </remarks>
  30475. </member>
  30476. <member name="M:log4net.Util.Transform.CountSubstrings(System.String,System.String)">
  30477. <summary>
  30478. Count the number of times that the substring occurs in the text
  30479. </summary>
  30480. <param name="text">the text to search</param>
  30481. <param name="substring">the substring to find</param>
  30482. <returns>the number of times the substring occurs in the text</returns>
  30483. <remarks>
  30484. <para>
  30485. The substring is assumed to be non repeating within itself.
  30486. </para>
  30487. </remarks>
  30488. </member>
  30489. <member name="F:log4net.Util.Transform.INVALIDCHARS">
  30490. <summary>
  30491. Characters illegal in XML 1.0
  30492. </summary>
  30493. </member>
  30494. <member name="T:log4net.Util.WindowsSecurityContext">
  30495. <summary>
  30496. Impersonate a Windows Account
  30497. </summary>
  30498. <remarks>
  30499. <para>
  30500. This <see cref="T:log4net.Core.SecurityContext"/> impersonates a Windows account.
  30501. </para>
  30502. <para>
  30503. How the impersonation is done depends on the value of <see cref="M:log4net.Util.WindowsSecurityContext.Impersonate(System.Object)"/>.
  30504. This allows the context to either impersonate a set of user credentials specified
  30505. using username, domain name and password or to revert to the process credentials.
  30506. </para>
  30507. </remarks>
  30508. </member>
  30509. <member name="M:log4net.Util.WindowsSecurityContext.#ctor">
  30510. <summary>
  30511. Default constructor
  30512. </summary>
  30513. <remarks>
  30514. <para>
  30515. Default constructor
  30516. </para>
  30517. </remarks>
  30518. </member>
  30519. <member name="M:log4net.Util.WindowsSecurityContext.ActivateOptions">
  30520. <summary>
  30521. Initialize the SecurityContext based on the options set.
  30522. </summary>
  30523. <remarks>
  30524. <para>
  30525. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  30526. activation scheme. The <see cref="M:log4net.Util.WindowsSecurityContext.ActivateOptions"/> method must
  30527. be called on this object after the configuration properties have
  30528. been set. Until <see cref="M:log4net.Util.WindowsSecurityContext.ActivateOptions"/> is called this
  30529. object is in an undefined state and must not be used.
  30530. </para>
  30531. <para>
  30532. If any of the configuration properties are modified then
  30533. <see cref="M:log4net.Util.WindowsSecurityContext.ActivateOptions"/> must be called again.
  30534. </para>
  30535. <para>
  30536. The security context will try to Logon the specified user account and
  30537. capture a primary token for impersonation.
  30538. </para>
  30539. </remarks>
  30540. <exception cref="T:System.ArgumentNullException">The required <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/>,
  30541. <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> or <see cref="P:log4net.Util.WindowsSecurityContext.Password"/> properties were not specified.</exception>
  30542. </member>
  30543. <member name="M:log4net.Util.WindowsSecurityContext.Impersonate(System.Object)">
  30544. <summary>
  30545. Impersonate the Windows account specified by the <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> properties.
  30546. </summary>
  30547. <param name="state">caller provided state</param>
  30548. <returns>
  30549. An <see cref="T:System.IDisposable"/> instance that will revoke the impersonation of this SecurityContext
  30550. </returns>
  30551. <remarks>
  30552. <para>
  30553. Depending on the <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/> property either
  30554. impersonate a user using credentials supplied or revert
  30555. to the process credentials.
  30556. </para>
  30557. </remarks>
  30558. </member>
  30559. <member name="M:log4net.Util.WindowsSecurityContext.LogonUser(System.String,System.String,System.String)">
  30560. <summary>
  30561. Create a <see cref="T:System.Security.Principal.WindowsIdentity"/> given the userName, domainName and password.
  30562. </summary>
  30563. <param name="userName">the user name</param>
  30564. <param name="domainName">the domain name</param>
  30565. <param name="password">the password</param>
  30566. <returns>the <see cref="T:System.Security.Principal.WindowsIdentity"/> for the account specified</returns>
  30567. <remarks>
  30568. <para>
  30569. Uses the Windows API call LogonUser to get a principal token for the account. This
  30570. token is used to initialize the WindowsIdentity.
  30571. </para>
  30572. </remarks>
  30573. </member>
  30574. <member name="P:log4net.Util.WindowsSecurityContext.Credentials">
  30575. <summary>
  30576. Gets or sets the impersonation mode for this security context
  30577. </summary>
  30578. <value>
  30579. The impersonation mode for this security context
  30580. </value>
  30581. <remarks>
  30582. <para>
  30583. Impersonate either a user with user credentials or
  30584. revert this thread to the credentials of the process.
  30585. The value is one of the <see cref="T:log4net.Util.WindowsSecurityContext.ImpersonationMode"/>
  30586. enum.
  30587. </para>
  30588. <para>
  30589. The default value is <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/>
  30590. </para>
  30591. <para>
  30592. When the mode is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/>
  30593. the user's credentials are established using the
  30594. <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/>, <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.Password"/>
  30595. values.
  30596. </para>
  30597. <para>
  30598. When the mode is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.Process"/>
  30599. no other properties need to be set. If the calling thread is
  30600. impersonating then it will be reverted back to the process credentials.
  30601. </para>
  30602. </remarks>
  30603. </member>
  30604. <member name="P:log4net.Util.WindowsSecurityContext.UserName">
  30605. <summary>
  30606. Gets or sets the Windows username for this security context
  30607. </summary>
  30608. <value>
  30609. The Windows username for this security context
  30610. </value>
  30611. <remarks>
  30612. <para>
  30613. This property must be set if <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/>
  30614. is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/> (the default setting).
  30615. </para>
  30616. </remarks>
  30617. </member>
  30618. <member name="P:log4net.Util.WindowsSecurityContext.DomainName">
  30619. <summary>
  30620. Gets or sets the Windows domain name for this security context
  30621. </summary>
  30622. <value>
  30623. The Windows domain name for this security context
  30624. </value>
  30625. <remarks>
  30626. <para>
  30627. The default value for <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> is the local machine name
  30628. taken from the <see cref="P:System.Environment.MachineName"/> property.
  30629. </para>
  30630. <para>
  30631. This property must be set if <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/>
  30632. is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/> (the default setting).
  30633. </para>
  30634. </remarks>
  30635. </member>
  30636. <member name="P:log4net.Util.WindowsSecurityContext.Password">
  30637. <summary>
  30638. 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.
  30639. </summary>
  30640. <value>
  30641. 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.
  30642. </value>
  30643. <remarks>
  30644. <para>
  30645. This property must be set if <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/>
  30646. is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/> (the default setting).
  30647. </para>
  30648. </remarks>
  30649. </member>
  30650. <member name="T:log4net.Util.WindowsSecurityContext.ImpersonationMode">
  30651. <summary>
  30652. The impersonation modes for the <see cref="T:log4net.Util.WindowsSecurityContext"/>
  30653. </summary>
  30654. <remarks>
  30655. <para>
  30656. See the <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/> property for
  30657. details.
  30658. </para>
  30659. </remarks>
  30660. </member>
  30661. <member name="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User">
  30662. <summary>
  30663. Impersonate a user using the credentials supplied
  30664. </summary>
  30665. </member>
  30666. <member name="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.Process">
  30667. <summary>
  30668. Revert this the thread to the credentials of the process
  30669. </summary>
  30670. </member>
  30671. <member name="T:log4net.Util.WindowsSecurityContext.DisposableImpersonationContext">
  30672. <summary>
  30673. Adds <see cref="T:System.IDisposable"/> to <see cref="T:System.Security.Principal.WindowsImpersonationContext"/>
  30674. </summary>
  30675. <remarks>
  30676. <para>
  30677. Helper class to expose the <see cref="T:System.Security.Principal.WindowsImpersonationContext"/>
  30678. through the <see cref="T:System.IDisposable"/> interface.
  30679. </para>
  30680. </remarks>
  30681. </member>
  30682. <member name="M:log4net.Util.WindowsSecurityContext.DisposableImpersonationContext.#ctor(System.Security.Principal.WindowsImpersonationContext)">
  30683. <summary>
  30684. Constructor
  30685. </summary>
  30686. <param name="impersonationContext">the impersonation context being wrapped</param>
  30687. <remarks>
  30688. <para>
  30689. Constructor
  30690. </para>
  30691. </remarks>
  30692. </member>
  30693. <member name="M:log4net.Util.WindowsSecurityContext.DisposableImpersonationContext.Dispose">
  30694. <summary>
  30695. Revert the impersonation
  30696. </summary>
  30697. <remarks>
  30698. <para>
  30699. Revert the impersonation
  30700. </para>
  30701. </remarks>
  30702. </member>
  30703. <member name="T:log4net.GlobalContext">
  30704. <summary>
  30705. The log4net Global Context.
  30706. </summary>
  30707. <remarks>
  30708. <para>
  30709. The <c>GlobalContext</c> provides a location for global debugging
  30710. information to be stored.
  30711. </para>
  30712. <para>
  30713. The global context has a properties map and these properties can
  30714. be included in the output of log messages. The <see cref="T:log4net.Layout.PatternLayout"/>
  30715. supports selecting and outputing these properties.
  30716. </para>
  30717. <para>
  30718. By default the <c>log4net:HostName</c> property is set to the name of
  30719. the current machine.
  30720. </para>
  30721. </remarks>
  30722. <example>
  30723. <code lang="C#">
  30724. GlobalContext.Properties["hostname"] = Environment.MachineName;
  30725. </code>
  30726. </example>
  30727. <threadsafety static="true" instance="true"/>
  30728. <author>Nicko Cadell</author>
  30729. </member>
  30730. <member name="M:log4net.GlobalContext.#ctor">
  30731. <summary>
  30732. Private Constructor.
  30733. </summary>
  30734. <remarks>
  30735. Uses a private access modifier to prevent instantiation of this class.
  30736. </remarks>
  30737. </member>
  30738. <member name="F:log4net.GlobalContext.s_properties">
  30739. <summary>
  30740. The global context properties instance
  30741. </summary>
  30742. </member>
  30743. <member name="P:log4net.GlobalContext.Properties">
  30744. <summary>
  30745. The global properties map.
  30746. </summary>
  30747. <value>
  30748. The global properties map.
  30749. </value>
  30750. <remarks>
  30751. <para>
  30752. The global properties map.
  30753. </para>
  30754. </remarks>
  30755. </member>
  30756. <member name="T:log4net.AssemblyInfo">
  30757. <summary>
  30758. Provides information about the environment the assembly has
  30759. been built for.
  30760. </summary>
  30761. </member>
  30762. <member name="F:log4net.AssemblyInfo.Version">
  30763. <summary>Version of the assembly</summary>
  30764. </member>
  30765. <member name="F:log4net.AssemblyInfo.TargetFrameworkVersion">
  30766. <summary>Version of the framework targeted</summary>
  30767. </member>
  30768. <member name="F:log4net.AssemblyInfo.TargetFramework">
  30769. <summary>Type of framework targeted</summary>
  30770. </member>
  30771. <member name="F:log4net.AssemblyInfo.ClientProfile">
  30772. <summary>Does it target a client profile?</summary>
  30773. </member>
  30774. <member name="P:log4net.AssemblyInfo.Info">
  30775. <summary>
  30776. Identifies the version and target for this assembly.
  30777. </summary>
  30778. </member>
  30779. <member name="T:log4net.LogicalThreadContext">
  30780. <summary>
  30781. The log4net Logical Thread Context.
  30782. </summary>
  30783. <remarks>
  30784. <para>
  30785. The <c>LogicalThreadContext</c> provides a location for <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> specific debugging
  30786. information to be stored.
  30787. The <c>LogicalThreadContext</c> properties override any <see cref="T:log4net.ThreadContext"/> or <see cref="T:log4net.GlobalContext"/>
  30788. properties with the same name.
  30789. </para>
  30790. <para>
  30791. The Logical Thread Context has a properties map and a stack.
  30792. The properties and stack can
  30793. be included in the output of log messages. The <see cref="T:log4net.Layout.PatternLayout"/>
  30794. supports selecting and outputting these properties.
  30795. </para>
  30796. <para>
  30797. The Logical Thread Context provides a diagnostic context for the current call context.
  30798. This is an instrument for distinguishing interleaved log
  30799. output from different sources. Log output is typically interleaved
  30800. when a server handles multiple clients near-simultaneously.
  30801. </para>
  30802. <para>
  30803. The Logical Thread Context is managed on a per <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> basis.
  30804. </para>
  30805. <para>
  30806. The <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> requires a link time
  30807. <see cref="T:System.Security.Permissions.SecurityPermission"/> for the
  30808. <see cref="F:System.Security.Permissions.SecurityPermissionFlag.Infrastructure"/>.
  30809. If the calling code does not have this permission then this context will be disabled.
  30810. It will not store any property values set on it.
  30811. </para>
  30812. </remarks>
  30813. <example>Example of using the thread context properties to store a username.
  30814. <code lang="C#">
  30815. LogicalThreadContext.Properties["user"] = userName;
  30816. log.Info("This log message has a LogicalThreadContext Property called 'user'");
  30817. </code>
  30818. </example>
  30819. <example>Example of how to push a message into the context stack
  30820. <code lang="C#">
  30821. using(LogicalThreadContext.Stacks["LDC"].Push("my context message"))
  30822. {
  30823. log.Info("This log message has a LogicalThreadContext Stack message that includes 'my context message'");
  30824. } // at the end of the using block the message is automatically popped
  30825. </code>
  30826. </example>
  30827. <threadsafety static="true" instance="true"/>
  30828. <author>Nicko Cadell</author>
  30829. </member>
  30830. <member name="M:log4net.LogicalThreadContext.#ctor">
  30831. <summary>
  30832. Private Constructor.
  30833. </summary>
  30834. <remarks>
  30835. <para>
  30836. Uses a private access modifier to prevent instantiation of this class.
  30837. </para>
  30838. </remarks>
  30839. </member>
  30840. <member name="F:log4net.LogicalThreadContext.s_properties">
  30841. <summary>
  30842. The thread context properties instance
  30843. </summary>
  30844. </member>
  30845. <member name="F:log4net.LogicalThreadContext.s_stacks">
  30846. <summary>
  30847. The thread context stacks instance
  30848. </summary>
  30849. </member>
  30850. <member name="P:log4net.LogicalThreadContext.Properties">
  30851. <summary>
  30852. The thread properties map
  30853. </summary>
  30854. <value>
  30855. The thread properties map
  30856. </value>
  30857. <remarks>
  30858. <para>
  30859. The <c>LogicalThreadContext</c> properties override any <see cref="T:log4net.ThreadContext"/>
  30860. or <see cref="T:log4net.GlobalContext"/> properties with the same name.
  30861. </para>
  30862. </remarks>
  30863. </member>
  30864. <member name="P:log4net.LogicalThreadContext.Stacks">
  30865. <summary>
  30866. The thread stacks
  30867. </summary>
  30868. <value>
  30869. stack map
  30870. </value>
  30871. <remarks>
  30872. <para>
  30873. The logical thread stacks.
  30874. </para>
  30875. </remarks>
  30876. </member>
  30877. <member name="T:log4net.LogManager">
  30878. <summary>
  30879. This class is used by client applications to request logger instances.
  30880. </summary>
  30881. <remarks>
  30882. <para>
  30883. This class has static methods that are used by a client to request
  30884. a logger instance. The <see cref="M:GetLogger(string)"/> method is
  30885. used to retrieve a logger.
  30886. </para>
  30887. <para>
  30888. See the <see cref="T:log4net.ILog"/> interface for more details.
  30889. </para>
  30890. </remarks>
  30891. <example>Simple example of logging messages
  30892. <code lang="C#">
  30893. ILog log = LogManager.GetLogger("application-log");
  30894. log.Info("Application Start");
  30895. log.Debug("This is a debug message");
  30896. if (log.IsDebugEnabled)
  30897. {
  30898. log.Debug("This is another debug message");
  30899. }
  30900. </code>
  30901. </example>
  30902. <threadsafety static="true" instance="true"/>
  30903. <seealso cref="T:log4net.ILog"/>
  30904. <author>Nicko Cadell</author>
  30905. <author>Gert Driesen</author>
  30906. </member>
  30907. <member name="M:log4net.LogManager.#ctor">
  30908. <summary>
  30909. Initializes a new instance of the <see cref="T:log4net.LogManager"/> class.
  30910. </summary>
  30911. <remarks>
  30912. Uses a private access modifier to prevent instantiation of this class.
  30913. </remarks>
  30914. </member>
  30915. <member name="M:log4net.LogManager.Exists(System.String)">
  30916. <overloads>Returns the named logger if it exists.</overloads>
  30917. <summary>
  30918. Returns the named logger if it exists.
  30919. </summary>
  30920. <remarks>
  30921. <para>
  30922. If the named logger exists (in the default repository) then it
  30923. returns a reference to the logger, otherwise it returns <c>null</c>.
  30924. </para>
  30925. </remarks>
  30926. <param name="name">The fully qualified logger name to look for.</param>
  30927. <returns>The logger found, or <c>null</c> if no logger could be found.</returns>
  30928. </member>
  30929. <member name="M:log4net.LogManager.Exists(System.String,System.String)">
  30930. <summary>
  30931. Returns the named logger if it exists.
  30932. </summary>
  30933. <remarks>
  30934. <para>
  30935. If the named logger exists (in the specified repository) then it
  30936. returns a reference to the logger, otherwise it returns
  30937. <c>null</c>.
  30938. </para>
  30939. </remarks>
  30940. <param name="repository">The repository to lookup in.</param>
  30941. <param name="name">The fully qualified logger name to look for.</param>
  30942. <returns>
  30943. The logger found, or <c>null</c> if the logger doesn't exist in the specified
  30944. repository.
  30945. </returns>
  30946. </member>
  30947. <member name="M:log4net.LogManager.Exists(System.Reflection.Assembly,System.String)">
  30948. <summary>
  30949. Returns the named logger if it exists.
  30950. </summary>
  30951. <remarks>
  30952. <para>
  30953. If the named logger exists (in the repository for the specified assembly) then it
  30954. returns a reference to the logger, otherwise it returns
  30955. <c>null</c>.
  30956. </para>
  30957. </remarks>
  30958. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  30959. <param name="name">The fully qualified logger name to look for.</param>
  30960. <returns>
  30961. The logger, or <c>null</c> if the logger doesn't exist in the specified
  30962. assembly's repository.
  30963. </returns>
  30964. </member>
  30965. <member name="M:log4net.LogManager.GetCurrentLoggers">
  30966. <overloads>Get the currently defined loggers.</overloads>
  30967. <summary>
  30968. Returns all the currently defined loggers in the default repository.
  30969. </summary>
  30970. <remarks>
  30971. <para>The root logger is <b>not</b> included in the returned array.</para>
  30972. </remarks>
  30973. <returns>All the defined loggers.</returns>
  30974. </member>
  30975. <member name="M:log4net.LogManager.GetCurrentLoggers(System.String)">
  30976. <summary>
  30977. Returns all the currently defined loggers in the specified repository.
  30978. </summary>
  30979. <param name="repository">The repository to lookup in.</param>
  30980. <remarks>
  30981. The root logger is <b>not</b> included in the returned array.
  30982. </remarks>
  30983. <returns>All the defined loggers.</returns>
  30984. </member>
  30985. <member name="M:log4net.LogManager.GetCurrentLoggers(System.Reflection.Assembly)">
  30986. <summary>
  30987. Returns all the currently defined loggers in the specified assembly's repository.
  30988. </summary>
  30989. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  30990. <remarks>
  30991. The root logger is <b>not</b> included in the returned array.
  30992. </remarks>
  30993. <returns>All the defined loggers.</returns>
  30994. </member>
  30995. <member name="M:log4net.LogManager.GetLogger(System.String)">
  30996. <overloads>Get or create a logger.</overloads>
  30997. <summary>
  30998. Retrieves or creates a named logger.
  30999. </summary>
  31000. <remarks>
  31001. <para>
  31002. Retrieves a logger named as the <paramref name="name"/>
  31003. parameter. If the named logger already exists, then the
  31004. existing instance will be returned. Otherwise, a new instance is
  31005. created.
  31006. </para>
  31007. <para>By default, loggers do not have a set level but inherit
  31008. it from the hierarchy. This is one of the central features of
  31009. log4net.
  31010. </para>
  31011. </remarks>
  31012. <param name="name">The name of the logger to retrieve.</param>
  31013. <returns>The logger with the name specified.</returns>
  31014. </member>
  31015. <member name="M:log4net.LogManager.GetLogger(System.String,System.String)">
  31016. <summary>
  31017. Retrieves or creates a named logger.
  31018. </summary>
  31019. <remarks>
  31020. <para>
  31021. Retrieve a logger named as the <paramref name="name"/>
  31022. parameter. If the named logger already exists, then the
  31023. existing instance will be returned. Otherwise, a new instance is
  31024. created.
  31025. </para>
  31026. <para>
  31027. By default, loggers do not have a set level but inherit
  31028. it from the hierarchy. This is one of the central features of
  31029. log4net.
  31030. </para>
  31031. </remarks>
  31032. <param name="repository">The repository to lookup in.</param>
  31033. <param name="name">The name of the logger to retrieve.</param>
  31034. <returns>The logger with the name specified.</returns>
  31035. </member>
  31036. <member name="M:log4net.LogManager.GetLogger(System.Reflection.Assembly,System.String)">
  31037. <summary>
  31038. Retrieves or creates a named logger.
  31039. </summary>
  31040. <remarks>
  31041. <para>
  31042. Retrieve a logger named as the <paramref name="name"/>
  31043. parameter. If the named logger already exists, then the
  31044. existing instance will be returned. Otherwise, a new instance is
  31045. created.
  31046. </para>
  31047. <para>
  31048. By default, loggers do not have a set level but inherit
  31049. it from the hierarchy. This is one of the central features of
  31050. log4net.
  31051. </para>
  31052. </remarks>
  31053. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  31054. <param name="name">The name of the logger to retrieve.</param>
  31055. <returns>The logger with the name specified.</returns>
  31056. </member>
  31057. <member name="M:log4net.LogManager.GetLogger(System.Type)">
  31058. <summary>
  31059. Shorthand for <see cref="M:LogManager.GetLogger(string)"/>.
  31060. </summary>
  31061. <remarks>
  31062. Get the logger for the fully qualified name of the type specified.
  31063. </remarks>
  31064. <param name="type">The full name of <paramref name="type"/> will be used as the name of the logger to retrieve.</param>
  31065. <returns>The logger with the name specified.</returns>
  31066. </member>
  31067. <member name="M:log4net.LogManager.GetLogger(System.String,System.Type)">
  31068. <summary>
  31069. Shorthand for <see cref="M:LogManager.GetLogger(string)"/>.
  31070. </summary>
  31071. <remarks>
  31072. Gets the logger for the fully qualified name of the type specified.
  31073. </remarks>
  31074. <param name="repository">The repository to lookup in.</param>
  31075. <param name="type">The full name of <paramref name="type"/> will be used as the name of the logger to retrieve.</param>
  31076. <returns>The logger with the name specified.</returns>
  31077. </member>
  31078. <member name="M:log4net.LogManager.GetLogger(System.Reflection.Assembly,System.Type)">
  31079. <summary>
  31080. Shorthand for <see cref="M:LogManager.GetLogger(string)"/>.
  31081. </summary>
  31082. <remarks>
  31083. Gets the logger for the fully qualified name of the type specified.
  31084. </remarks>
  31085. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  31086. <param name="type">The full name of <paramref name="type"/> will be used as the name of the logger to retrieve.</param>
  31087. <returns>The logger with the name specified.</returns>
  31088. </member>
  31089. <member name="M:log4net.LogManager.Shutdown">
  31090. <summary>
  31091. Shuts down the log4net system.
  31092. </summary>
  31093. <remarks>
  31094. <para>
  31095. Calling this method will <b>safely</b> close and remove all
  31096. appenders in all the loggers including root contained in all the
  31097. default repositories.
  31098. </para>
  31099. <para>
  31100. Some appenders need to be closed before the application exists.
  31101. Otherwise, pending logging events might be lost.
  31102. </para>
  31103. <para>The <c>shutdown</c> method is careful to close nested
  31104. appenders before closing regular appenders. This is allows
  31105. configurations where a regular appender is attached to a logger
  31106. and again to a nested appender.
  31107. </para>
  31108. </remarks>
  31109. </member>
  31110. <member name="M:log4net.LogManager.ShutdownRepository">
  31111. <overloads>Shutdown a logger repository.</overloads>
  31112. <summary>
  31113. Shuts down the default repository.
  31114. </summary>
  31115. <remarks>
  31116. <para>
  31117. Calling this method will <b>safely</b> close and remove all
  31118. appenders in all the loggers including root contained in the
  31119. default repository.
  31120. </para>
  31121. <para>Some appenders need to be closed before the application exists.
  31122. Otherwise, pending logging events might be lost.
  31123. </para>
  31124. <para>The <c>shutdown</c> method is careful to close nested
  31125. appenders before closing regular appenders. This is allows
  31126. configurations where a regular appender is attached to a logger
  31127. and again to a nested appender.
  31128. </para>
  31129. </remarks>
  31130. </member>
  31131. <member name="M:log4net.LogManager.ShutdownRepository(System.String)">
  31132. <summary>
  31133. Shuts down the repository for the repository specified.
  31134. </summary>
  31135. <remarks>
  31136. <para>
  31137. Calling this method will <b>safely</b> close and remove all
  31138. appenders in all the loggers including root contained in the
  31139. <paramref name="repository"/> specified.
  31140. </para>
  31141. <para>
  31142. Some appenders need to be closed before the application exists.
  31143. Otherwise, pending logging events might be lost.
  31144. </para>
  31145. <para>The <c>shutdown</c> method is careful to close nested
  31146. appenders before closing regular appenders. This is allows
  31147. configurations where a regular appender is attached to a logger
  31148. and again to a nested appender.
  31149. </para>
  31150. </remarks>
  31151. <param name="repository">The repository to shutdown.</param>
  31152. </member>
  31153. <member name="M:log4net.LogManager.ShutdownRepository(System.Reflection.Assembly)">
  31154. <summary>
  31155. Shuts down the repository specified.
  31156. </summary>
  31157. <remarks>
  31158. <para>
  31159. Calling this method will <b>safely</b> close and remove all
  31160. appenders in all the loggers including root contained in the
  31161. repository. The repository is looked up using
  31162. the <paramref name="repositoryAssembly"/> specified.
  31163. </para>
  31164. <para>
  31165. Some appenders need to be closed before the application exists.
  31166. Otherwise, pending logging events might be lost.
  31167. </para>
  31168. <para>
  31169. The <c>shutdown</c> method is careful to close nested
  31170. appenders before closing regular appenders. This is allows
  31171. configurations where a regular appender is attached to a logger
  31172. and again to a nested appender.
  31173. </para>
  31174. </remarks>
  31175. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  31176. </member>
  31177. <member name="M:log4net.LogManager.ResetConfiguration">
  31178. <overloads>Reset the configuration of a repository</overloads>
  31179. <summary>
  31180. Resets all values contained in this repository instance to their defaults.
  31181. </summary>
  31182. <remarks>
  31183. <para>
  31184. Resets all values contained in the repository instance to their
  31185. defaults. This removes all appenders from all loggers, sets
  31186. the level of all non-root loggers to <c>null</c>,
  31187. sets their additivity flag to <c>true</c> and sets the level
  31188. of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
  31189. message disabling is set to its default "off" value.
  31190. </para>
  31191. </remarks>
  31192. </member>
  31193. <member name="M:log4net.LogManager.ResetConfiguration(System.String)">
  31194. <summary>
  31195. Resets all values contained in this repository instance to their defaults.
  31196. </summary>
  31197. <remarks>
  31198. <para>
  31199. Reset all values contained in the repository instance to their
  31200. defaults. This removes all appenders from all loggers, sets
  31201. the level of all non-root loggers to <c>null</c>,
  31202. sets their additivity flag to <c>true</c> and sets the level
  31203. of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
  31204. message disabling is set to its default "off" value.
  31205. </para>
  31206. </remarks>
  31207. <param name="repository">The repository to reset.</param>
  31208. </member>
  31209. <member name="M:log4net.LogManager.ResetConfiguration(System.Reflection.Assembly)">
  31210. <summary>
  31211. Resets all values contained in this repository instance to their defaults.
  31212. </summary>
  31213. <remarks>
  31214. <para>
  31215. Reset all values contained in the repository instance to their
  31216. defaults. This removes all appenders from all loggers, sets
  31217. the level of all non-root loggers to <c>null</c>,
  31218. sets their additivity flag to <c>true</c> and sets the level
  31219. of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
  31220. message disabling is set to its default "off" value.
  31221. </para>
  31222. </remarks>
  31223. <param name="repositoryAssembly">The assembly to use to lookup the repository to reset.</param>
  31224. </member>
  31225. <member name="M:log4net.LogManager.GetLoggerRepository">
  31226. <overloads>Get the logger repository.</overloads>
  31227. <summary>
  31228. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  31229. </summary>
  31230. <remarks>
  31231. <para>
  31232. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  31233. by the callers assembly (<see cref="M:Assembly.GetCallingAssembly()"/>).
  31234. </para>
  31235. </remarks>
  31236. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> instance for the default repository.</returns>
  31237. </member>
  31238. <member name="M:log4net.LogManager.GetLoggerRepository(System.String)">
  31239. <summary>
  31240. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  31241. </summary>
  31242. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
  31243. <remarks>
  31244. <para>
  31245. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  31246. by the <paramref name="repository"/> argument.
  31247. </para>
  31248. </remarks>
  31249. <param name="repository">The repository to lookup in.</param>
  31250. </member>
  31251. <member name="M:log4net.LogManager.GetLoggerRepository(System.Reflection.Assembly)">
  31252. <summary>
  31253. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  31254. </summary>
  31255. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
  31256. <remarks>
  31257. <para>
  31258. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  31259. by the <paramref name="repositoryAssembly"/> argument.
  31260. </para>
  31261. </remarks>
  31262. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  31263. </member>
  31264. <member name="M:log4net.LogManager.GetRepository">
  31265. <overloads>Get a logger repository.</overloads>
  31266. <summary>
  31267. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  31268. </summary>
  31269. <remarks>
  31270. <para>
  31271. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  31272. by the callers assembly (<see cref="M:Assembly.GetCallingAssembly()"/>).
  31273. </para>
  31274. </remarks>
  31275. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> instance for the default repository.</returns>
  31276. </member>
  31277. <member name="M:log4net.LogManager.GetRepository(System.String)">
  31278. <summary>
  31279. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  31280. </summary>
  31281. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
  31282. <remarks>
  31283. <para>
  31284. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  31285. by the <paramref name="repository"/> argument.
  31286. </para>
  31287. </remarks>
  31288. <param name="repository">The repository to lookup in.</param>
  31289. </member>
  31290. <member name="M:log4net.LogManager.GetRepository(System.Reflection.Assembly)">
  31291. <summary>
  31292. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  31293. </summary>
  31294. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
  31295. <remarks>
  31296. <para>
  31297. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  31298. by the <paramref name="repositoryAssembly"/> argument.
  31299. </para>
  31300. </remarks>
  31301. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  31302. </member>
  31303. <member name="M:log4net.LogManager.CreateDomain(System.Type)">
  31304. <overloads>Create a domain</overloads>
  31305. <summary>
  31306. Creates a repository with the specified repository type.
  31307. </summary>
  31308. <remarks>
  31309. <para>
  31310. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  31311. </para>
  31312. <para>
  31313. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  31314. specified such that a call to <see cref="M:GetRepository()"/> will return
  31315. the same repository instance.
  31316. </para>
  31317. </remarks>
  31318. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  31319. and has a no arg constructor. An instance of this type will be created to act
  31320. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  31321. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31322. </member>
  31323. <member name="M:log4net.LogManager.CreateRepository(System.Type)">
  31324. <overloads>Create a logger repository.</overloads>
  31325. <summary>
  31326. Creates a repository with the specified repository type.
  31327. </summary>
  31328. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  31329. and has a no arg constructor. An instance of this type will be created to act
  31330. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  31331. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31332. <remarks>
  31333. <para>
  31334. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  31335. specified such that a call to <see cref="M:GetRepository()"/> will return
  31336. the same repository instance.
  31337. </para>
  31338. </remarks>
  31339. </member>
  31340. <member name="M:log4net.LogManager.CreateDomain(System.String)">
  31341. <summary>
  31342. Creates a repository with the specified name.
  31343. </summary>
  31344. <remarks>
  31345. <para>
  31346. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  31347. </para>
  31348. <para>
  31349. Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
  31350. <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
  31351. </para>
  31352. <para>
  31353. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  31354. An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
  31355. </para>
  31356. </remarks>
  31357. <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
  31358. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31359. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  31360. </member>
  31361. <member name="M:log4net.LogManager.CreateRepository(System.String)">
  31362. <summary>
  31363. Creates a repository with the specified name.
  31364. </summary>
  31365. <remarks>
  31366. <para>
  31367. Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
  31368. <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
  31369. </para>
  31370. <para>
  31371. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  31372. An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
  31373. </para>
  31374. </remarks>
  31375. <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
  31376. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31377. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  31378. </member>
  31379. <member name="M:log4net.LogManager.CreateDomain(System.String,System.Type)">
  31380. <summary>
  31381. Creates a repository with the specified name and repository type.
  31382. </summary>
  31383. <remarks>
  31384. <para>
  31385. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  31386. </para>
  31387. <para>
  31388. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  31389. An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
  31390. </para>
  31391. </remarks>
  31392. <param name="repository">The name of the repository, this must be unique to the repository.</param>
  31393. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  31394. and has a no arg constructor. An instance of this type will be created to act
  31395. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  31396. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31397. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  31398. </member>
  31399. <member name="M:log4net.LogManager.CreateRepository(System.String,System.Type)">
  31400. <summary>
  31401. Creates a repository with the specified name and repository type.
  31402. </summary>
  31403. <remarks>
  31404. <para>
  31405. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  31406. An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
  31407. </para>
  31408. </remarks>
  31409. <param name="repository">The name of the repository, this must be unique to the repository.</param>
  31410. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  31411. and has a no arg constructor. An instance of this type will be created to act
  31412. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  31413. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31414. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  31415. </member>
  31416. <member name="M:log4net.LogManager.CreateDomain(System.Reflection.Assembly,System.Type)">
  31417. <summary>
  31418. Creates a repository for the specified assembly and repository type.
  31419. </summary>
  31420. <remarks>
  31421. <para>
  31422. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  31423. </para>
  31424. <para>
  31425. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  31426. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  31427. same assembly specified will return the same repository instance.
  31428. </para>
  31429. </remarks>
  31430. <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
  31431. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  31432. and has a no arg constructor. An instance of this type will be created to act
  31433. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  31434. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31435. </member>
  31436. <member name="M:log4net.LogManager.CreateRepository(System.Reflection.Assembly,System.Type)">
  31437. <summary>
  31438. Creates a repository for the specified assembly and repository type.
  31439. </summary>
  31440. <remarks>
  31441. <para>
  31442. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  31443. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  31444. same assembly specified will return the same repository instance.
  31445. </para>
  31446. </remarks>
  31447. <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
  31448. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  31449. and has a no arg constructor. An instance of this type will be created to act
  31450. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  31451. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31452. </member>
  31453. <member name="M:log4net.LogManager.GetAllRepositories">
  31454. <summary>
  31455. Gets the list of currently defined repositories.
  31456. </summary>
  31457. <remarks>
  31458. <para>
  31459. Get an array of all the <see cref="T:log4net.Repository.ILoggerRepository"/> objects that have been created.
  31460. </para>
  31461. </remarks>
  31462. <returns>An array of all the known <see cref="T:log4net.Repository.ILoggerRepository"/> objects.</returns>
  31463. </member>
  31464. <member name="M:log4net.LogManager.WrapLogger(log4net.Core.ILogger)">
  31465. <summary>
  31466. Looks up the wrapper object for the logger specified.
  31467. </summary>
  31468. <param name="logger">The logger to get the wrapper for.</param>
  31469. <returns>The wrapper for the logger specified.</returns>
  31470. </member>
  31471. <member name="M:log4net.LogManager.WrapLoggers(log4net.Core.ILogger[])">
  31472. <summary>
  31473. Looks up the wrapper objects for the loggers specified.
  31474. </summary>
  31475. <param name="loggers">The loggers to get the wrappers for.</param>
  31476. <returns>The wrapper objects for the loggers specified.</returns>
  31477. </member>
  31478. <member name="M:log4net.LogManager.WrapperCreationHandler(log4net.Core.ILogger)">
  31479. <summary>
  31480. Create the <see cref="T:log4net.Core.ILoggerWrapper"/> objects used by
  31481. this manager.
  31482. </summary>
  31483. <param name="logger">The logger to wrap.</param>
  31484. <returns>The wrapper for the logger specified.</returns>
  31485. </member>
  31486. <member name="F:log4net.LogManager.s_wrapperMap">
  31487. <summary>
  31488. The wrapper map to use to hold the <see cref="T:log4net.Core.LogImpl"/> objects.
  31489. </summary>
  31490. </member>
  31491. <member name="T:log4net.MDC">
  31492. <summary>
  31493. Implementation of Mapped Diagnostic Contexts.
  31494. </summary>
  31495. <remarks>
  31496. <note>
  31497. <para>
  31498. The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
  31499. The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
  31500. </para>
  31501. </note>
  31502. <para>
  31503. The MDC class is similar to the <see cref="T:log4net.NDC"/> class except that it is
  31504. based on a map instead of a stack. It provides <i>mapped
  31505. diagnostic contexts</i>. A <i>Mapped Diagnostic Context</i>, or
  31506. MDC in short, is an instrument for distinguishing interleaved log
  31507. output from different sources. Log output is typically interleaved
  31508. when a server handles multiple clients near-simultaneously.
  31509. </para>
  31510. <para>
  31511. The MDC is managed on a per thread basis.
  31512. </para>
  31513. </remarks>
  31514. <threadsafety static="true" instance="true"/>
  31515. <author>Nicko Cadell</author>
  31516. <author>Gert Driesen</author>
  31517. </member>
  31518. <member name="M:log4net.MDC.#ctor">
  31519. <summary>
  31520. Initializes a new instance of the <see cref="T:log4net.MDC"/> class.
  31521. </summary>
  31522. <remarks>
  31523. Uses a private access modifier to prevent instantiation of this class.
  31524. </remarks>
  31525. </member>
  31526. <member name="M:log4net.MDC.Get(System.String)">
  31527. <summary>
  31528. Gets the context value identified by the <paramref name="key"/> parameter.
  31529. </summary>
  31530. <param name="key">The key to lookup in the MDC.</param>
  31531. <returns>The string value held for the key, or a <c>null</c> reference if no corresponding value is found.</returns>
  31532. <remarks>
  31533. <note>
  31534. <para>
  31535. The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
  31536. The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
  31537. </para>
  31538. </note>
  31539. <para>
  31540. If the <paramref name="key"/> parameter does not look up to a
  31541. previously defined context then <c>null</c> will be returned.
  31542. </para>
  31543. </remarks>
  31544. </member>
  31545. <member name="M:log4net.MDC.Set(System.String,System.String)">
  31546. <summary>
  31547. Add an entry to the MDC
  31548. </summary>
  31549. <param name="key">The key to store the value under.</param>
  31550. <param name="value">The value to store.</param>
  31551. <remarks>
  31552. <note>
  31553. <para>
  31554. The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
  31555. The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
  31556. </para>
  31557. </note>
  31558. <para>
  31559. Puts a context value (the <paramref name="value"/> parameter) as identified
  31560. with the <paramref name="key"/> parameter into the current thread's
  31561. context map.
  31562. </para>
  31563. <para>
  31564. If a value is already defined for the <paramref name="key"/>
  31565. specified then the value will be replaced. If the <paramref name="value"/>
  31566. is specified as <c>null</c> then the key value mapping will be removed.
  31567. </para>
  31568. </remarks>
  31569. </member>
  31570. <member name="M:log4net.MDC.Remove(System.String)">
  31571. <summary>
  31572. Removes the key value mapping for the key specified.
  31573. </summary>
  31574. <param name="key">The key to remove.</param>
  31575. <remarks>
  31576. <note>
  31577. <para>
  31578. The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
  31579. The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
  31580. </para>
  31581. </note>
  31582. <para>
  31583. Remove the specified entry from this thread's MDC
  31584. </para>
  31585. </remarks>
  31586. </member>
  31587. <member name="M:log4net.MDC.Clear">
  31588. <summary>
  31589. Clear all entries in the MDC
  31590. </summary>
  31591. <remarks>
  31592. <note>
  31593. <para>
  31594. The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
  31595. The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
  31596. </para>
  31597. </note>
  31598. <para>
  31599. Remove all the entries from this thread's MDC
  31600. </para>
  31601. </remarks>
  31602. </member>
  31603. <member name="T:log4net.NDC">
  31604. <summary>
  31605. Implementation of Nested Diagnostic Contexts.
  31606. </summary>
  31607. <remarks>
  31608. <note>
  31609. <para>
  31610. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31611. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31612. </para>
  31613. </note>
  31614. <para>
  31615. A Nested Diagnostic Context, or NDC in short, is an instrument
  31616. to distinguish interleaved log output from different sources. Log
  31617. output is typically interleaved when a server handles multiple
  31618. clients near-simultaneously.
  31619. </para>
  31620. <para>
  31621. Interleaved log output can still be meaningful if each log entry
  31622. from different contexts had a distinctive stamp. This is where NDCs
  31623. come into play.
  31624. </para>
  31625. <para>
  31626. Note that NDCs are managed on a per thread basis. The NDC class
  31627. is made up of static methods that operate on the context of the
  31628. calling thread.
  31629. </para>
  31630. </remarks>
  31631. <example>How to push a message into the context
  31632. <code lang="C#">
  31633. using(NDC.Push("my context message"))
  31634. {
  31635. ... all log calls will have 'my context message' included ...
  31636. } // at the end of the using block the message is automatically removed
  31637. </code>
  31638. </example>
  31639. <threadsafety static="true" instance="true"/>
  31640. <author>Nicko Cadell</author>
  31641. <author>Gert Driesen</author>
  31642. </member>
  31643. <member name="M:log4net.NDC.#ctor">
  31644. <summary>
  31645. Initializes a new instance of the <see cref="T:log4net.NDC"/> class.
  31646. </summary>
  31647. <remarks>
  31648. Uses a private access modifier to prevent instantiation of this class.
  31649. </remarks>
  31650. </member>
  31651. <member name="M:log4net.NDC.Clear">
  31652. <summary>
  31653. Clears all the contextual information held on the current thread.
  31654. </summary>
  31655. <remarks>
  31656. <note>
  31657. <para>
  31658. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31659. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31660. </para>
  31661. </note>
  31662. <para>
  31663. Clears the stack of NDC data held on the current thread.
  31664. </para>
  31665. </remarks>
  31666. </member>
  31667. <member name="M:log4net.NDC.CloneStack">
  31668. <summary>
  31669. Creates a clone of the stack of context information.
  31670. </summary>
  31671. <returns>A clone of the context info for this thread.</returns>
  31672. <remarks>
  31673. <note>
  31674. <para>
  31675. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31676. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31677. </para>
  31678. </note>
  31679. <para>
  31680. The results of this method can be passed to the <see cref="M:log4net.NDC.Inherit(System.Collections.Stack)"/>
  31681. method to allow child threads to inherit the context of their
  31682. parent thread.
  31683. </para>
  31684. </remarks>
  31685. </member>
  31686. <member name="M:log4net.NDC.Inherit(System.Collections.Stack)">
  31687. <summary>
  31688. Inherits the contextual information from another thread.
  31689. </summary>
  31690. <param name="stack">The context stack to inherit.</param>
  31691. <remarks>
  31692. <note>
  31693. <para>
  31694. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31695. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31696. </para>
  31697. </note>
  31698. <para>
  31699. This thread will use the context information from the stack
  31700. supplied. This can be used to initialize child threads with
  31701. the same contextual information as their parent threads. These
  31702. contexts will <b>NOT</b> be shared. Any further contexts that
  31703. are pushed onto the stack will not be visible to the other.
  31704. Call <see cref="M:log4net.NDC.CloneStack"/> to obtain a stack to pass to
  31705. this method.
  31706. </para>
  31707. </remarks>
  31708. </member>
  31709. <member name="M:log4net.NDC.Pop">
  31710. <summary>
  31711. Removes the top context from the stack.
  31712. </summary>
  31713. <returns>
  31714. The message in the context that was removed from the top
  31715. of the stack.
  31716. </returns>
  31717. <remarks>
  31718. <note>
  31719. <para>
  31720. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31721. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31722. </para>
  31723. </note>
  31724. <para>
  31725. Remove the top context from the stack, and return
  31726. it to the caller. If the stack is empty then an
  31727. empty string (not <c>null</c>) is returned.
  31728. </para>
  31729. </remarks>
  31730. </member>
  31731. <member name="M:log4net.NDC.Push(System.String)">
  31732. <summary>
  31733. Pushes a new context message.
  31734. </summary>
  31735. <param name="message">The new context message.</param>
  31736. <returns>
  31737. An <see cref="T:System.IDisposable"/> that can be used to clean up
  31738. the context stack.
  31739. </returns>
  31740. <remarks>
  31741. <note>
  31742. <para>
  31743. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31744. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31745. </para>
  31746. </note>
  31747. <para>
  31748. Pushes a new context onto the context stack. An <see cref="T:System.IDisposable"/>
  31749. is returned that can be used to clean up the context stack. This
  31750. can be easily combined with the <c>using</c> keyword to scope the
  31751. context.
  31752. </para>
  31753. </remarks>
  31754. <example>Simple example of using the <c>Push</c> method with the <c>using</c> keyword.
  31755. <code lang="C#">
  31756. using(log4net.NDC.Push("NDC_Message"))
  31757. {
  31758. log.Warn("This should have an NDC message");
  31759. }
  31760. </code>
  31761. </example>
  31762. </member>
  31763. <member name="M:log4net.NDC.Remove">
  31764. <summary>
  31765. Removes the context information for this thread. It is
  31766. not required to call this method.
  31767. </summary>
  31768. <remarks>
  31769. <note>
  31770. <para>
  31771. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31772. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31773. </para>
  31774. </note>
  31775. <para>
  31776. This method is not implemented.
  31777. </para>
  31778. </remarks>
  31779. </member>
  31780. <member name="M:log4net.NDC.SetMaxDepth(System.Int32)">
  31781. <summary>
  31782. Forces the stack depth to be at most <paramref name="maxDepth"/>.
  31783. </summary>
  31784. <param name="maxDepth">The maximum depth of the stack</param>
  31785. <remarks>
  31786. <note>
  31787. <para>
  31788. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31789. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31790. </para>
  31791. </note>
  31792. <para>
  31793. Forces the stack depth to be at most <paramref name="maxDepth"/>.
  31794. This may truncate the head of the stack. This only affects the
  31795. stack in the current thread. Also it does not prevent it from
  31796. growing, it only sets the maximum depth at the time of the
  31797. call. This can be used to return to a known context depth.
  31798. </para>
  31799. </remarks>
  31800. </member>
  31801. <member name="P:log4net.NDC.Depth">
  31802. <summary>
  31803. Gets the current context depth.
  31804. </summary>
  31805. <value>The current context depth.</value>
  31806. <remarks>
  31807. <note>
  31808. <para>
  31809. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31810. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31811. </para>
  31812. </note>
  31813. <para>
  31814. The number of context values pushed onto the context stack.
  31815. </para>
  31816. <para>
  31817. Used to record the current depth of the context. This can then
  31818. be restored using the <see cref="M:log4net.NDC.SetMaxDepth(System.Int32)"/> method.
  31819. </para>
  31820. </remarks>
  31821. <seealso cref="M:log4net.NDC.SetMaxDepth(System.Int32)"/>
  31822. </member>
  31823. <member name="T:log4net.ThreadContext">
  31824. <summary>
  31825. The log4net Thread Context.
  31826. </summary>
  31827. <remarks>
  31828. <para>
  31829. The <c>ThreadContext</c> provides a location for thread specific debugging
  31830. information to be stored.
  31831. The <c>ThreadContext</c> properties override any <see cref="T:log4net.GlobalContext"/>
  31832. properties with the same name.
  31833. </para>
  31834. <para>
  31835. The thread context has a properties map and a stack.
  31836. The properties and stack can
  31837. be included in the output of log messages. The <see cref="T:log4net.Layout.PatternLayout"/>
  31838. supports selecting and outputting these properties.
  31839. </para>
  31840. <para>
  31841. The Thread Context provides a diagnostic context for the current thread.
  31842. This is an instrument for distinguishing interleaved log
  31843. output from different sources. Log output is typically interleaved
  31844. when a server handles multiple clients near-simultaneously.
  31845. </para>
  31846. <para>
  31847. The Thread Context is managed on a per thread basis.
  31848. </para>
  31849. </remarks>
  31850. <example>Example of using the thread context properties to store a username.
  31851. <code lang="C#">
  31852. ThreadContext.Properties["user"] = userName;
  31853. log.Info("This log message has a ThreadContext Property called 'user'");
  31854. </code>
  31855. </example>
  31856. <example>Example of how to push a message into the context stack
  31857. <code lang="C#">
  31858. using(ThreadContext.Stacks["NDC"].Push("my context message"))
  31859. {
  31860. log.Info("This log message has a ThreadContext Stack message that includes 'my context message'");
  31861. } // at the end of the using block the message is automatically popped
  31862. </code>
  31863. </example>
  31864. <threadsafety static="true" instance="true"/>
  31865. <author>Nicko Cadell</author>
  31866. </member>
  31867. <member name="M:log4net.ThreadContext.#ctor">
  31868. <summary>
  31869. Private Constructor.
  31870. </summary>
  31871. <remarks>
  31872. <para>
  31873. Uses a private access modifier to prevent instantiation of this class.
  31874. </para>
  31875. </remarks>
  31876. </member>
  31877. <member name="F:log4net.ThreadContext.s_properties">
  31878. <summary>
  31879. The thread context properties instance
  31880. </summary>
  31881. </member>
  31882. <member name="F:log4net.ThreadContext.s_stacks">
  31883. <summary>
  31884. The thread context stacks instance
  31885. </summary>
  31886. </member>
  31887. <member name="P:log4net.ThreadContext.Properties">
  31888. <summary>
  31889. The thread properties map
  31890. </summary>
  31891. <value>
  31892. The thread properties map
  31893. </value>
  31894. <remarks>
  31895. <para>
  31896. The <c>ThreadContext</c> properties override any <see cref="T:log4net.GlobalContext"/>
  31897. properties with the same name.
  31898. </para>
  31899. </remarks>
  31900. </member>
  31901. <member name="P:log4net.ThreadContext.Stacks">
  31902. <summary>
  31903. The thread stacks
  31904. </summary>
  31905. <value>
  31906. stack map
  31907. </value>
  31908. <remarks>
  31909. <para>
  31910. The thread local stacks.
  31911. </para>
  31912. </remarks>
  31913. </member>
  31914. </members>
  31915. </doc>