Common.Logging.XML 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>Common.Logging</name>
  5. </assembly>
  6. <members>
  7. <member name="T:CoverageExcludeAttribute">
  8. <summary>
  9. Indicates classes or members to be ignored by NCover
  10. </summary>
  11. <remarks>
  12. Note, the name is chosen, because TestDriven.NET uses it as //ea argument to "Test With... Coverage"
  13. </remarks>
  14. <author>Erich Eichinger</author>
  15. </member>
  16. <member name="T:Common.Logging.Simple.ConsoleOutLogger">
  17. <summary>
  18. Sends log messages to <see cref="P:System.Console.Out"/>.
  19. </summary>
  20. <author>Gilles Bayon</author>
  21. </member>
  22. <member name="M:Common.Logging.Simple.ConsoleOutLogger.#ctor(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  23. <summary>
  24. Creates and initializes a logger that writes messages to <see cref="P:System.Console.Out"/>.
  25. </summary>
  26. <param name="logName">The name, usually type name of the calling class, of the logger.</param>
  27. <param name="logLevel">The current logging threshold. Messages recieved that are beneath this threshold will not be logged.</param>
  28. <param name="showLevel">Include the current log level in the log message.</param>
  29. <param name="showDateTime">Include the current time in the log message.</param>
  30. <param name="showLogName">Include the instance name in the log message.</param>
  31. <param name="dateTimeFormat">The date and time format to use in the log message.</param>
  32. </member>
  33. <member name="M:Common.Logging.Simple.ConsoleOutLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)">
  34. <summary>
  35. Do the actual logging by constructing the log message using a <see cref="T:System.Text.StringBuilder"/> then
  36. sending the output to <see cref="P:System.Console.Out"/>.
  37. </summary>
  38. <param name="level">The <see cref="T:Common.Logging.LogLevel"/> of the message.</param>
  39. <param name="message">The log message.</param>
  40. <param name="e">An optional <see cref="T:System.Exception"/> associated with the message.</param>
  41. </member>
  42. <member name="T:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter">
  43. <summary>
  44. Factory for creating <see cref="T:Common.Logging.ILog"/> instances that write data to <see cref="P:System.Console.Out"/>.
  45. </summary>
  46. <remarks>
  47. <example>
  48. Below is an example how to configure this adapter:
  49. <code>
  50. &lt;configuration&gt;
  51. &lt;configSections&gt;
  52. &lt;sectionGroup name="common"&gt;
  53. &lt;section name="logging"
  54. type="Common.Logging.ConfigurationSectionHandler, Common.Logging"
  55. requirePermission="false" /&gt;
  56. &lt;/sectionGroup&gt;
  57. &lt;/configSections&gt;
  58. &lt;common&gt;
  59. &lt;logging&gt;
  60. &lt;factoryAdapter type="Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter, Common.Logging"&gt;
  61. &lt;arg key="level" value="ALL" /&gt;
  62. &lt;/factoryAdapter&gt;
  63. &lt;/logging&gt;
  64. &lt;/common&gt;
  65. &lt;/configuration&gt;
  66. </code>
  67. </example>
  68. </remarks>
  69. <seealso cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/>
  70. <seealso cref="P:Common.Logging.LogManager.Adapter"/>
  71. <seealso cref="!:ConfigurationSectionHandler"/>
  72. <author>Gilles Bayon</author>
  73. <author>Mark Pollack</author>
  74. <author>Erich Eichinger</author>
  75. </member>
  76. <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor">
  77. <summary>
  78. Initializes a new instance of the <see cref="T:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter"/> class using default
  79. settings.
  80. </summary>
  81. </member>
  82. <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor(Common.Logging.Configuration.NameValueCollection)">
  83. <summary>
  84. Initializes a new instance of the <see cref="T:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter"/> class.
  85. </summary>
  86. <remarks>
  87. Looks for level, showDateTime, showLogName, dateTimeFormat items from
  88. <paramref name="properties"/> for use when the GetLogger methods are called.
  89. <see cref="!:ConfigurationSectionHandler"/> for more information on how to use the
  90. standard .NET application configuraiton file (App.config/Web.config)
  91. to configure this adapter.
  92. </remarks>
  93. <param name="properties">The name value collection, typically specified by the user in
  94. a configuration section named common/logging.</param>
  95. </member>
  96. <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor(Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  97. <summary>
  98. Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class with
  99. default settings for the loggers created by this factory.
  100. </summary>
  101. </member>
  102. <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.CreateLogger(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  103. <summary>
  104. Creates a new <see cref="T:Common.Logging.Simple.ConsoleOutLogger"/> instance.
  105. </summary>
  106. </member>
  107. </members>
  108. </doc>