Common.Logging.xml 161 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781
  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 key 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.ConfigurationException">
  17. <summary>
  18. The exception that is thrown when a configuration system error has occurred with Common.Logging
  19. </summary>
  20. <author>Mark Pollack</author>
  21. </member>
  22. <member name="M:Common.Logging.ConfigurationException.#ctor">
  23. <summary>Creates a new instance of the ObjectsException class.</summary>
  24. </member>
  25. <member name="M:Common.Logging.ConfigurationException.#ctor(System.String)">
  26. <summary>
  27. Creates a new instance of the ConfigurationException class. with the specified message.
  28. </summary>
  29. <param name="message">
  30. A message about the exception.
  31. </param>
  32. </member>
  33. <member name="M:Common.Logging.ConfigurationException.#ctor(System.String,System.Exception)">
  34. <summary>
  35. Creates a new instance of the ConfigurationException class with the specified message
  36. and root cause.
  37. </summary>
  38. <param name="message">
  39. A message about the exception.
  40. </param>
  41. <param name="rootCause">
  42. The root exception that is being wrapped.
  43. </param>
  44. </member>
  45. <member name="M:Common.Logging.ConfigurationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  46. <summary>
  47. Creates a new instance of the ConfigurationException class.
  48. </summary>
  49. <param name="info">
  50. The <see cref="T:System.Runtime.Serialization.SerializationInfo"/>
  51. that holds the serialized object data about the exception being thrown.
  52. </param>
  53. <param name="context">
  54. The <see cref="T:System.Runtime.Serialization.StreamingContext"/>
  55. that contains contextual information about the source or destination.
  56. </param>
  57. </member>
  58. <member name="T:Common.Logging.Configuration.ArgUtils">
  59. <summary>
  60. Various utility methods for using during factory and logger instance configuration
  61. </summary>
  62. <author>Erich Eichinger</author>
  63. </member>
  64. <member name="M:Common.Logging.Configuration.ArgUtils.#cctor">
  65. <summary>
  66. Initialize all members before any of this class' methods can be accessed (avoids beforeFieldInit)
  67. </summary>
  68. </member>
  69. <member name="M:Common.Logging.Configuration.ArgUtils.RegisterTypeParser``1(Common.Logging.Configuration.ArgUtils.ParseHandler{``0})">
  70. <summary>
  71. Adds the parser to the list of known type parsers.
  72. </summary>
  73. <remarks>
  74. .NET intrinsic types are pre-registerd: short, int, long, float, double, decimal, bool
  75. </remarks>
  76. </member>
  77. <member name="M:Common.Logging.Configuration.ArgUtils.GetValue(Common.Logging.Configuration.NameValueCollection,System.String)">
  78. <summary>
  79. Retrieves the named value from the specified <see cref="T:Common.Logging.Configuration.NameValueCollection"/>.
  80. </summary>
  81. <param name="values">may be null</param>
  82. <param name="key">the value's key</param>
  83. <returns>if <paramref key="values"/> is not null, the value returned by values[key]. <c>null</c> otherwise.</returns>
  84. </member>
  85. <member name="M:Common.Logging.Configuration.ArgUtils.GetValue(Common.Logging.Configuration.NameValueCollection,System.String,System.String)">
  86. <summary>
  87. Retrieves the named value from the specified <see cref="T:Common.Logging.Configuration.NameValueCollection"/>.
  88. </summary>
  89. <param name="values">may be null</param>
  90. <param name="key">the value's key</param>
  91. <param name="defaultValue">the default value, if not found</param>
  92. <returns>if <paramref key="values"/> is not null, the value returned by values[key]. <c>null</c> otherwise.</returns>
  93. </member>
  94. <member name="M:Common.Logging.Configuration.ArgUtils.Coalesce(System.String[])">
  95. <summary>
  96. Returns the first nonnull, nonempty value among its arguments.
  97. </summary>
  98. <remarks>
  99. Returns <c>null</c>, if the initial list was null or empty.
  100. </remarks>
  101. <seealso cref="M:Common.Logging.Configuration.ArgUtils.Coalesce``1(System.Predicate{``0},``0[])"/>
  102. </member>
  103. <member name="M:Common.Logging.Configuration.ArgUtils.Coalesce``1(System.Predicate{``0},``0[])">
  104. <summary>
  105. Returns the first nonnull, nonempty value among its arguments.
  106. </summary>
  107. <remarks>
  108. Also
  109. </remarks>
  110. </member>
  111. <member name="M:Common.Logging.Configuration.ArgUtils.TryParseEnum``1(``0,System.String)">
  112. <summary>
  113. Tries parsing <paramref key="stringValue"/> into an enum of the type of <paramref key="defaultValue"/>.
  114. </summary>
  115. <param name="defaultValue">the default value to return if parsing fails</param>
  116. <param name="stringValue">the string value to parse</param>
  117. <returns>the successfully parsed value, <paramref key="defaultValue"/> otherwise.</returns>
  118. </member>
  119. <member name="M:Common.Logging.Configuration.ArgUtils.TryParse``1(``0,System.String)">
  120. <summary>
  121. Tries parsing <paramref key="stringValue"/> into the specified return type.
  122. </summary>
  123. <param name="defaultValue">the default value to return if parsing fails</param>
  124. <param name="stringValue">the string value to parse</param>
  125. <returns>the successfully parsed value, <paramref key="defaultValue"/> otherwise.</returns>
  126. </member>
  127. <member name="M:Common.Logging.Configuration.ArgUtils.AssertNotNull``1(System.String,``0)">
  128. <summary>
  129. Throws a <see cref="T:System.ArgumentNullException"/> if <paramref key="val"/> is <c>null</c>.
  130. </summary>
  131. </member>
  132. <member name="M:Common.Logging.Configuration.ArgUtils.AssertNotNull``1(System.String,``0,System.String,System.Object[])">
  133. <summary>
  134. Throws a <see cref="T:System.ArgumentNullException"/> if <paramref key="val"/> is <c>null</c>.
  135. </summary>
  136. </member>
  137. <member name="M:Common.Logging.Configuration.ArgUtils.AssertIsAssignable``1(System.String,System.Type)">
  138. <summary>
  139. Throws a <see cref="T:System.ArgumentOutOfRangeException"/> if an object of type <paramref key="valType"/> is not
  140. assignable to type <typeparam key="T"></typeparam>.
  141. </summary>
  142. </member>
  143. <member name="M:Common.Logging.Configuration.ArgUtils.AssertIsAssignable``1(System.String,System.Type,System.String,System.Object[])">
  144. <summary>
  145. Throws a <see cref="T:System.ArgumentOutOfRangeException"/> if an object of type <paramref key="valType"/> is not
  146. assignable to type <typeparam key="T"></typeparam>.
  147. </summary>
  148. </member>
  149. <member name="M:Common.Logging.Configuration.ArgUtils.Guard(Common.Logging.Configuration.ArgUtils.Action,System.String,System.Object[])">
  150. <summary>
  151. Ensures any exception thrown by the given <paramref key="action"/> is wrapped with an
  152. <see cref="T:Common.Logging.ConfigurationException"/>.
  153. </summary>
  154. <remarks>
  155. If <paramref key="action"/> already throws a ConfigurationException, it will not be wrapped.
  156. </remarks>
  157. <param name="action">the action to execute</param>
  158. <param name="messageFormat">the message to be set on the thrown <see cref="T:Common.Logging.ConfigurationException"/></param>
  159. <param name="args">args to be passed to <see cref="M:System.String.Format(System.String,System.Object[])"/> to format the message</param>
  160. </member>
  161. <member name="M:Common.Logging.Configuration.ArgUtils.Guard``1(Common.Logging.Configuration.ArgUtils.Function{``0},System.String,System.Object[])">
  162. <summary>
  163. Ensures any exception thrown by the given <paramref key="function"/> is wrapped with an
  164. <see cref="T:Common.Logging.ConfigurationException"/>.
  165. </summary>
  166. <remarks>
  167. If <paramref key="function"/> already throws a ConfigurationException, it will not be wrapped.
  168. </remarks>
  169. <param name="function">the action to execute</param>
  170. <param name="messageFormat">the message to be set on the thrown <see cref="T:Common.Logging.ConfigurationException"/></param>
  171. <param name="args">args to be passed to <see cref="M:System.String.Format(System.String,System.Object[])"/> to format the message</param>
  172. </member>
  173. <member name="T:Common.Logging.Configuration.ArgUtils.ParseHandler`1">
  174. <summary>
  175. A delegate converting a string representation into the target type
  176. </summary>
  177. </member>
  178. <member name="T:Common.Logging.Configuration.ArgUtils.Action">
  179. <summary>
  180. An anonymous action delegate with no arguments and no return value.
  181. </summary>
  182. <seealso cref="M:Common.Logging.Configuration.ArgUtils.Guard(Common.Logging.Configuration.ArgUtils.Action,System.String,System.Object[])"/>
  183. </member>
  184. <member name="T:Common.Logging.Configuration.ArgUtils.Function`1">
  185. <summary>
  186. An anonymous action delegate with no arguments and no return value.
  187. </summary>
  188. <seealso cref="M:Common.Logging.Configuration.ArgUtils.Guard``1(Common.Logging.Configuration.ArgUtils.Function{``0},System.String,System.Object[])"/>
  189. </member>
  190. <member name="T:Common.Logging.Configuration.DefaultConfigurationReader">
  191. <summary>
  192. Implementation of <see cref="T:Common.Logging.IConfigurationReader"/> that uses the standard .NET
  193. configuration APIs, ConfigurationSettings in 1.x and ConfigurationManager in 2.0
  194. </summary>
  195. <author>Mark Pollack</author>
  196. </member>
  197. <member name="M:Common.Logging.Configuration.DefaultConfigurationReader.GetSection(System.String)">
  198. <summary>
  199. Parses the configuration section and returns the resulting object.
  200. Using the <c>System.Configuration.ConfigurationManager</c>
  201. </summary>
  202. <param name="sectionName">Name of the configuration section.</param>
  203. <returns>
  204. Object created by a corresponding <c>IConfigurationSectionHandler"</c>
  205. </returns>
  206. <remarks>
  207. <p>
  208. Primary purpose of this method is to allow us to parse and
  209. load configuration sections using the same API regardless
  210. of the .NET framework version.
  211. </p>
  212. </remarks>
  213. </member>
  214. <member name="T:Common.Logging.Configuration.LogSetting">
  215. <summary>
  216. Container used to hold configuration information from config file.
  217. </summary>
  218. <author>Gilles Bayon</author>
  219. </member>
  220. <member name="M:Common.Logging.Configuration.LogSetting.#ctor(System.Type,Common.Logging.Configuration.NameValueCollection)">
  221. <summary>
  222. </summary>
  223. <param name="factoryAdapterType">
  224. The <see cref="T:Common.Logging.ILoggerFactoryAdapter"/> type
  225. that will be used for creating <see cref="T:Common.Logging.ILog"/>
  226. </param>
  227. <param name="properties">
  228. Additional user supplied properties that are passed to the
  229. <paramref key="factoryAdapterType"/>'s constructor.
  230. </param>
  231. </member>
  232. <member name="P:Common.Logging.Configuration.LogSetting.FactoryAdapterType">
  233. <summary>
  234. The <see cref="T:Common.Logging.ILoggerFactoryAdapter"/> type that will be used for creating <see cref="T:Common.Logging.ILog"/>
  235. instances.
  236. </summary>
  237. </member>
  238. <member name="P:Common.Logging.Configuration.LogSetting.Properties">
  239. <summary>
  240. Additional user supplied properties that are passed to the <see cref="P:Common.Logging.Configuration.LogSetting.FactoryAdapterType"/>'s constructor.
  241. </summary>
  242. </member>
  243. <member name="T:Common.Logging.Configuration.NameValueCollection">
  244. <summary>
  245. Substitute NameValueCollection in System.Collections.Specialized.
  246. </summary>
  247. </member>
  248. <member name="M:Common.Logging.Configuration.NameValueCollection.#ctor">
  249. <summary>
  250. Creates a new instance of <seealso cref="T:Common.Logging.Configuration.NameValueCollection">NameValueCollection</seealso>.
  251. </summary>
  252. </member>
  253. <member name="M:Common.Logging.Configuration.NameValueCollection.GetValues(System.String)">
  254. <summary>
  255. Gets the values (only a single one) for the specified key (configuration name)
  256. </summary>
  257. <param name="key">The key.</param>
  258. <returns>an array with one value, or null if no value exist</returns>
  259. </member>
  260. <member name="P:Common.Logging.Configuration.NameValueCollection.Item(System.String)">
  261. <summary>
  262. Gets or sets the value with the specified key.
  263. </summary>
  264. <value>
  265. The value corrsponding to the key, or null if no value exist
  266. </value>
  267. <param name="key">The key.</param>
  268. <returns>value store for the key</returns>
  269. </member>
  270. <member name="T:Common.Logging.Configuration.NameValueCollectionHelper">
  271. <summary>
  272. Helper class for working with NameValueCollection
  273. </summary>
  274. </member>
  275. <member name="M:Common.Logging.Configuration.NameValueCollectionHelper.ToCommonLoggingCollection(System.Collections.Specialized.NameValueCollection)">
  276. <summary>
  277. Convert a <see cref="T:System.Collections.Specialized.NameValueCollection"/> into the corresponding
  278. common logging equivalent <see cref="T:Common.Logging.Configuration.NameValueCollection"/>
  279. </summary>
  280. <param name="properties">The properties.</param>
  281. <returns></returns>
  282. </member>
  283. <member name="T:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter">
  284. <summary>
  285. An implementation of <see cref="T:Common.Logging.ILoggerFactoryAdapter"/> that caches loggers handed out by this factory.
  286. </summary>
  287. <remarks>
  288. Implementors just need to override <see cref="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.CreateLogger(System.String)"/>.
  289. </remarks>
  290. <author>Erich Eichinger</author>
  291. </member>
  292. <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.#ctor">
  293. <summary>
  294. Creates a new instance, the logger cache being case-sensitive.
  295. </summary>
  296. </member>
  297. <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.#ctor(System.Boolean)">
  298. <summary>
  299. Creates a new instance, the logger cache being <paramref key="caseSensitiveLoggerCache"/>.
  300. </summary>
  301. <param name="caseSensitiveLoggerCache"></param>
  302. </member>
  303. <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.ClearLoggerCache">
  304. <summary>
  305. Purges all loggers from cache
  306. </summary>
  307. </member>
  308. <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.CreateLogger(System.String)">
  309. <summary>
  310. Create the specified named logger instance
  311. </summary>
  312. <remarks>
  313. Derived factories need to implement this method to create the
  314. actual logger instance.
  315. </remarks>
  316. </member>
  317. <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.GetLogger(System.Type)">
  318. <summary>
  319. Get a ILog instance by <see cref="T:System.Type"/>.
  320. </summary>
  321. <param name="type">Usually the <see cref="T:System.Type"/> of the current class.</param>
  322. <returns>
  323. An ILog instance either obtained from the internal cache or created by a call to <see cref="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.CreateLogger(System.String)"/>.
  324. </returns>
  325. </member>
  326. <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.GetLogger(System.String)">
  327. <summary>
  328. Get a ILog instance by key.
  329. </summary>
  330. <param name="key">Usually a <see cref="T:System.Type"/>'s Name or FullName property.</param>
  331. <returns>
  332. An ILog instance either obtained from the internal cache or created by a call to <see cref="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.CreateLogger(System.String)"/>.
  333. </returns>
  334. </member>
  335. <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.GetLoggerInternal(System.String)">
  336. <summary>
  337. Get or create a ILog instance by key.
  338. </summary>
  339. <param name="key">Usually a <see cref="T:System.Type"/>'s Name or FullName property.</param>
  340. <returns>
  341. An ILog instance either obtained from the internal cache or created by a call to <see cref="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.CreateLogger(System.String)"/>.
  342. </returns>
  343. </member>
  344. <member name="T:Common.Logging.Factory.AbstractLogger">
  345. <summary>
  346. Provides base implementation suitable for almost all logger adapters
  347. </summary>
  348. <author>Erich Eichinger</author>
  349. </member>
  350. <member name="F:Common.Logging.Factory.AbstractLogger.Write">
  351. <summary>
  352. Holds the method for writing a message to the log system.
  353. </summary>
  354. </member>
  355. <member name="M:Common.Logging.Factory.AbstractLogger.#ctor">
  356. <summary>
  357. Creates a new logger instance using <see cref="M:Common.Logging.Factory.AbstractLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)"/> for
  358. writing log events to the underlying log system.
  359. </summary>
  360. <seealso cref="M:Common.Logging.Factory.AbstractLogger.GetWriteHandler"/>
  361. </member>
  362. <member name="M:Common.Logging.Factory.AbstractLogger.GetWriteHandler">
  363. <summary>
  364. Override this method to use a different method than <see cref="M:Common.Logging.Factory.AbstractLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)"/>
  365. for writing log events to the underlying log system.
  366. </summary>
  367. <remarks>
  368. Usually you don't need to override thise method. The default implementation returns
  369. <c>null</c> to indicate that the default handler <see cref="M:Common.Logging.Factory.AbstractLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)"/> should be
  370. used.
  371. </remarks>
  372. </member>
  373. <member name="M:Common.Logging.Factory.AbstractLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)">
  374. <summary>
  375. Actually sends the message to the underlying log system.
  376. </summary>
  377. <param name="level">the level of this log event.</param>
  378. <param name="message">the message to log</param>
  379. <param name="exception">the exception to log (may be null)</param>
  380. </member>
  381. <member name="M:Common.Logging.Factory.AbstractLogger.Trace(System.Object)">
  382. <summary>
  383. Log a message object with the <see cref="F:Common.Logging.LogLevel.Trace"/> level.
  384. </summary>
  385. <param name="message">The message object to log.</param>
  386. </member>
  387. <member name="M:Common.Logging.Factory.AbstractLogger.Trace(System.Object,System.Exception)">
  388. <summary>
  389. Log a message object with the <see cref="F:Common.Logging.LogLevel.Trace"/> level including
  390. the stack trace of the <see cref="T:System.Exception"/> passed
  391. as a parameter.
  392. </summary>
  393. <param name="message">The message object to log.</param>
  394. <param name="exception">The exception to log, including its stack trace.</param>
  395. </member>
  396. <member name="M:Common.Logging.Factory.AbstractLogger.TraceFormat(System.IFormatProvider,System.String,System.Object[])">
  397. <summary>
  398. Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level.
  399. </summary>
  400. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  401. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  402. <param name="args"></param>
  403. </member>
  404. <member name="M:Common.Logging.Factory.AbstractLogger.TraceFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
  405. <summary>
  406. Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level.
  407. </summary>
  408. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  409. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  410. <param name="exception">The exception to log.</param>
  411. <param name="args"></param>
  412. </member>
  413. <member name="M:Common.Logging.Factory.AbstractLogger.TraceFormat(System.String,System.Object[])">
  414. <summary>
  415. Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level.
  416. </summary>
  417. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  418. <param name="args">the list of format arguments</param>
  419. </member>
  420. <member name="M:Common.Logging.Factory.AbstractLogger.TraceFormat(System.String,System.Exception,System.Object[])">
  421. <summary>
  422. Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level.
  423. </summary>
  424. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  425. <param name="exception">The exception to log.</param>
  426. <param name="args">the list of format arguments</param>
  427. </member>
  428. <member name="M:Common.Logging.Factory.AbstractLogger.Trace(System.Action{Common.Logging.FormatMessageHandler})">
  429. <summary>
  430. Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level using a callback to obtain the message
  431. </summary>
  432. <remarks>
  433. Using this method avoids the cost of creating a message and evaluating message arguments
  434. that probably won't be logged due to loglevel settings.
  435. </remarks>
  436. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  437. </member>
  438. <member name="M:Common.Logging.Factory.AbstractLogger.Trace(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  439. <summary>
  440. Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level using a callback to obtain the message
  441. </summary>
  442. <remarks>
  443. Using this method avoids the cost of creating a message and evaluating message arguments
  444. that probably won't be logged due to loglevel settings.
  445. </remarks>
  446. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  447. <param name="exception">The exception to log, including its stack trace.</param>
  448. </member>
  449. <member name="M:Common.Logging.Factory.AbstractLogger.Trace(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  450. <summary>
  451. Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level using a callback to obtain the message
  452. </summary>
  453. <remarks>
  454. Using this method avoids the cost of creating a message and evaluating message arguments
  455. that probably won't be logged due to loglevel settings.
  456. </remarks>
  457. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  458. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  459. </member>
  460. <member name="M:Common.Logging.Factory.AbstractLogger.Trace(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  461. <summary>
  462. Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level using a callback to obtain the message
  463. </summary>
  464. <remarks>
  465. Using this method avoids the cost of creating a message and evaluating message arguments
  466. that probably won't be logged due to loglevel settings.
  467. </remarks>
  468. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  469. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  470. <param name="exception">The exception to log, including its stack trace.</param>
  471. </member>
  472. <member name="M:Common.Logging.Factory.AbstractLogger.Debug(System.Object)">
  473. <summary>
  474. Log a message object with the <see cref="F:Common.Logging.LogLevel.Debug"/> level.
  475. </summary>
  476. <param name="message">The message object to log.</param>
  477. </member>
  478. <member name="M:Common.Logging.Factory.AbstractLogger.Debug(System.Object,System.Exception)">
  479. <summary>
  480. Log a message object with the <see cref="F:Common.Logging.LogLevel.Debug"/> level including
  481. the stack Debug of the <see cref="T:System.Exception"/> passed
  482. as a parameter.
  483. </summary>
  484. <param name="message">The message object to log.</param>
  485. <param name="exception">The exception to log, including its stack Debug.</param>
  486. </member>
  487. <member name="M:Common.Logging.Factory.AbstractLogger.DebugFormat(System.IFormatProvider,System.String,System.Object[])">
  488. <summary>
  489. Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level.
  490. </summary>
  491. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  492. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  493. <param name="args"></param>
  494. </member>
  495. <member name="M:Common.Logging.Factory.AbstractLogger.DebugFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
  496. <summary>
  497. Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level.
  498. </summary>
  499. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  500. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  501. <param name="exception">The exception to log.</param>
  502. <param name="args"></param>
  503. </member>
  504. <member name="M:Common.Logging.Factory.AbstractLogger.DebugFormat(System.String,System.Object[])">
  505. <summary>
  506. Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level.
  507. </summary>
  508. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  509. <param name="args">the list of format arguments</param>
  510. </member>
  511. <member name="M:Common.Logging.Factory.AbstractLogger.DebugFormat(System.String,System.Exception,System.Object[])">
  512. <summary>
  513. Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level.
  514. </summary>
  515. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  516. <param name="exception">The exception to log.</param>
  517. <param name="args">the list of format arguments</param>
  518. </member>
  519. <member name="M:Common.Logging.Factory.AbstractLogger.Debug(System.Action{Common.Logging.FormatMessageHandler})">
  520. <summary>
  521. Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level using a callback to obtain the message
  522. </summary>
  523. <remarks>
  524. Using this method avoids the cost of creating a message and evaluating message arguments
  525. that probably won't be logged due to loglevel settings.
  526. </remarks>
  527. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  528. </member>
  529. <member name="M:Common.Logging.Factory.AbstractLogger.Debug(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  530. <summary>
  531. Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level using a callback to obtain the message
  532. </summary>
  533. <remarks>
  534. Using this method avoids the cost of creating a message and evaluating message arguments
  535. that probably won't be logged due to loglevel settings.
  536. </remarks>
  537. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  538. <param name="exception">The exception to log, including its stack Debug.</param>
  539. </member>
  540. <member name="M:Common.Logging.Factory.AbstractLogger.Debug(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  541. <summary>
  542. Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level using a callback to obtain the message
  543. </summary>
  544. <remarks>
  545. Using this method avoids the cost of creating a message and evaluating message arguments
  546. that probably won't be logged due to loglevel settings.
  547. </remarks>
  548. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  549. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  550. </member>
  551. <member name="M:Common.Logging.Factory.AbstractLogger.Debug(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  552. <summary>
  553. Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level using a callback to obtain the message
  554. </summary>
  555. <remarks>
  556. Using this method avoids the cost of creating a message and evaluating message arguments
  557. that probably won't be logged due to loglevel settings.
  558. </remarks>
  559. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  560. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  561. <param name="exception">The exception to log, including its stack Debug.</param>
  562. </member>
  563. <member name="M:Common.Logging.Factory.AbstractLogger.Info(System.Object)">
  564. <summary>
  565. Log a message object with the <see cref="F:Common.Logging.LogLevel.Info"/> level.
  566. </summary>
  567. <param name="message">The message object to log.</param>
  568. </member>
  569. <member name="M:Common.Logging.Factory.AbstractLogger.Info(System.Object,System.Exception)">
  570. <summary>
  571. Log a message object with the <see cref="F:Common.Logging.LogLevel.Info"/> level including
  572. the stack Info of the <see cref="T:System.Exception"/> passed
  573. as a parameter.
  574. </summary>
  575. <param name="message">The message object to log.</param>
  576. <param name="exception">The exception to log, including its stack Info.</param>
  577. </member>
  578. <member name="M:Common.Logging.Factory.AbstractLogger.InfoFormat(System.IFormatProvider,System.String,System.Object[])">
  579. <summary>
  580. Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level.
  581. </summary>
  582. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  583. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  584. <param name="args"></param>
  585. </member>
  586. <member name="M:Common.Logging.Factory.AbstractLogger.InfoFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
  587. <summary>
  588. Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level.
  589. </summary>
  590. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  591. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  592. <param name="exception">The exception to log.</param>
  593. <param name="args"></param>
  594. </member>
  595. <member name="M:Common.Logging.Factory.AbstractLogger.InfoFormat(System.String,System.Object[])">
  596. <summary>
  597. Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level.
  598. </summary>
  599. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  600. <param name="args">the list of format arguments</param>
  601. </member>
  602. <member name="M:Common.Logging.Factory.AbstractLogger.InfoFormat(System.String,System.Exception,System.Object[])">
  603. <summary>
  604. Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level.
  605. </summary>
  606. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  607. <param name="exception">The exception to log.</param>
  608. <param name="args">the list of format arguments</param>
  609. </member>
  610. <member name="M:Common.Logging.Factory.AbstractLogger.Info(System.Action{Common.Logging.FormatMessageHandler})">
  611. <summary>
  612. Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level using a callback to obtain the message
  613. </summary>
  614. <remarks>
  615. Using this method avoids the cost of creating a message and evaluating message arguments
  616. that probably won't be logged due to loglevel settings.
  617. </remarks>
  618. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  619. </member>
  620. <member name="M:Common.Logging.Factory.AbstractLogger.Info(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  621. <summary>
  622. Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level using a callback to obtain the message
  623. </summary>
  624. <remarks>
  625. Using this method avoids the cost of creating a message and evaluating message arguments
  626. that probably won't be logged due to loglevel settings.
  627. </remarks>
  628. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  629. <param name="exception">The exception to log, including its stack Info.</param>
  630. </member>
  631. <member name="M:Common.Logging.Factory.AbstractLogger.Info(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  632. <summary>
  633. Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level using a callback to obtain the message
  634. </summary>
  635. <remarks>
  636. Using this method avoids the cost of creating a message and evaluating message arguments
  637. that probably won't be logged due to loglevel settings.
  638. </remarks>
  639. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  640. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  641. </member>
  642. <member name="M:Common.Logging.Factory.AbstractLogger.Info(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  643. <summary>
  644. Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level using a callback to obtain the message
  645. </summary>
  646. <remarks>
  647. Using this method avoids the cost of creating a message and evaluating message arguments
  648. that probably won't be logged due to loglevel settings.
  649. </remarks>
  650. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  651. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  652. <param name="exception">The exception to log, including its stack Info.</param>
  653. </member>
  654. <member name="M:Common.Logging.Factory.AbstractLogger.Warn(System.Object)">
  655. <summary>
  656. Log a message object with the <see cref="F:Common.Logging.LogLevel.Warn"/> level.
  657. </summary>
  658. <param name="message">The message object to log.</param>
  659. </member>
  660. <member name="M:Common.Logging.Factory.AbstractLogger.Warn(System.Object,System.Exception)">
  661. <summary>
  662. Log a message object with the <see cref="F:Common.Logging.LogLevel.Warn"/> level including
  663. the stack Warn of the <see cref="T:System.Exception"/> passed
  664. as a parameter.
  665. </summary>
  666. <param name="message">The message object to log.</param>
  667. <param name="exception">The exception to log, including its stack Warn.</param>
  668. </member>
  669. <member name="M:Common.Logging.Factory.AbstractLogger.WarnFormat(System.IFormatProvider,System.String,System.Object[])">
  670. <summary>
  671. Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level.
  672. </summary>
  673. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Information.</param>
  674. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  675. <param name="args"></param>
  676. </member>
  677. <member name="M:Common.Logging.Factory.AbstractLogger.WarnFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
  678. <summary>
  679. Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level.
  680. </summary>
  681. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  682. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  683. <param name="exception">The exception to log.</param>
  684. <param name="args"></param>
  685. </member>
  686. <member name="M:Common.Logging.Factory.AbstractLogger.WarnFormat(System.String,System.Object[])">
  687. <summary>
  688. Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level.
  689. </summary>
  690. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  691. <param name="args">the list of format arguments</param>
  692. </member>
  693. <member name="M:Common.Logging.Factory.AbstractLogger.WarnFormat(System.String,System.Exception,System.Object[])">
  694. <summary>
  695. Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level.
  696. </summary>
  697. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  698. <param name="exception">The exception to log.</param>
  699. <param name="args">the list of format arguments</param>
  700. </member>
  701. <member name="M:Common.Logging.Factory.AbstractLogger.Warn(System.Action{Common.Logging.FormatMessageHandler})">
  702. <summary>
  703. Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level using a callback to obtain the message
  704. </summary>
  705. <remarks>
  706. Using this method avoids the cost of creating a message and evaluating message arguments
  707. that probably won't be logged due to loglevel settings.
  708. </remarks>
  709. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  710. </member>
  711. <member name="M:Common.Logging.Factory.AbstractLogger.Warn(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  712. <summary>
  713. Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level using a callback to obtain the message
  714. </summary>
  715. <remarks>
  716. Using this method avoids the cost of creating a message and evaluating message arguments
  717. that probably won't be logged due to loglevel settings.
  718. </remarks>
  719. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  720. <param name="exception">The exception to log, including its stack Warn.</param>
  721. </member>
  722. <member name="M:Common.Logging.Factory.AbstractLogger.Warn(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  723. <summary>
  724. Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level using a callback to obtain the message
  725. </summary>
  726. <remarks>
  727. Using this method avoids the cost of creating a message and evaluating message arguments
  728. that probably won't be logged due to loglevel settings.
  729. </remarks>
  730. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  731. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  732. </member>
  733. <member name="M:Common.Logging.Factory.AbstractLogger.Warn(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  734. <summary>
  735. Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level using a callback to obtain the message
  736. </summary>
  737. <remarks>
  738. Using this method avoids the cost of creating a message and evaluating message arguments
  739. that probably won't be logged due to loglevel settings.
  740. </remarks>
  741. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  742. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  743. <param name="exception">The exception to log, including its stack Warn.</param>
  744. </member>
  745. <member name="M:Common.Logging.Factory.AbstractLogger.Error(System.Object)">
  746. <summary>
  747. Log a message object with the <see cref="F:Common.Logging.LogLevel.Error"/> level.
  748. </summary>
  749. <param name="message">The message object to log.</param>
  750. </member>
  751. <member name="M:Common.Logging.Factory.AbstractLogger.Error(System.Object,System.Exception)">
  752. <summary>
  753. Log a message object with the <see cref="F:Common.Logging.LogLevel.Error"/> level including
  754. the stack Error of the <see cref="T:System.Exception"/> passed
  755. as a parameter.
  756. </summary>
  757. <param name="message">The message object to log.</param>
  758. <param name="exception">The exception to log, including its stack Error.</param>
  759. </member>
  760. <member name="M:Common.Logging.Factory.AbstractLogger.ErrorFormat(System.IFormatProvider,System.String,System.Object[])">
  761. <summary>
  762. Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level.
  763. </summary>
  764. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Errorrmation.</param>
  765. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  766. <param name="args"></param>
  767. </member>
  768. <member name="M:Common.Logging.Factory.AbstractLogger.ErrorFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
  769. <summary>
  770. Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level.
  771. </summary>
  772. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Errorrmation.</param>
  773. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  774. <param name="exception">The exception to log.</param>
  775. <param name="args"></param>
  776. </member>
  777. <member name="M:Common.Logging.Factory.AbstractLogger.ErrorFormat(System.String,System.Object[])">
  778. <summary>
  779. Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level.
  780. </summary>
  781. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  782. <param name="args">the list of format arguments</param>
  783. </member>
  784. <member name="M:Common.Logging.Factory.AbstractLogger.ErrorFormat(System.String,System.Exception,System.Object[])">
  785. <summary>
  786. Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level.
  787. </summary>
  788. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  789. <param name="exception">The exception to log.</param>
  790. <param name="args">the list of format arguments</param>
  791. </member>
  792. <member name="M:Common.Logging.Factory.AbstractLogger.Error(System.Action{Common.Logging.FormatMessageHandler})">
  793. <summary>
  794. Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level using a callback to obtain the message
  795. </summary>
  796. <remarks>
  797. Using this method avoids the cost of creating a message and evaluating message arguments
  798. that probably won't be logged due to loglevel settings.
  799. </remarks>
  800. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  801. </member>
  802. <member name="M:Common.Logging.Factory.AbstractLogger.Error(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  803. <summary>
  804. Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level using a callback to obtain the message
  805. </summary>
  806. <remarks>
  807. Using this method avoids the cost of creating a message and evaluating message arguments
  808. that probably won't be logged due to loglevel settings.
  809. </remarks>
  810. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  811. <param name="exception">The exception to log, including its stack Error.</param>
  812. </member>
  813. <member name="M:Common.Logging.Factory.AbstractLogger.Error(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  814. <summary>
  815. Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level using a callback to obtain the message
  816. </summary>
  817. <remarks>
  818. Using this method avoids the cost of creating a message and evaluating message arguments
  819. that probably won't be logged due to loglevel settings.
  820. </remarks>
  821. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  822. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  823. </member>
  824. <member name="M:Common.Logging.Factory.AbstractLogger.Error(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  825. <summary>
  826. Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level using a callback to obtain the message
  827. </summary>
  828. <remarks>
  829. Using this method avoids the cost of creating a message and evaluating message arguments
  830. that probably won't be logged due to loglevel settings.
  831. </remarks>
  832. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  833. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  834. <param name="exception">The exception to log, including its stack Error.</param>
  835. </member>
  836. <member name="M:Common.Logging.Factory.AbstractLogger.Fatal(System.Object)">
  837. <summary>
  838. Log a message object with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level.
  839. </summary>
  840. <param name="message">The message object to log.</param>
  841. </member>
  842. <member name="M:Common.Logging.Factory.AbstractLogger.Fatal(System.Object,System.Exception)">
  843. <summary>
  844. Log a message object with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level including
  845. the stack Fatal of the <see cref="T:System.Exception"/> passed
  846. as a parameter.
  847. </summary>
  848. <param name="message">The message object to log.</param>
  849. <param name="exception">The exception to log, including its stack Fatal.</param>
  850. </member>
  851. <member name="M:Common.Logging.Factory.AbstractLogger.FatalFormat(System.IFormatProvider,System.String,System.Object[])">
  852. <summary>
  853. Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level.
  854. </summary>
  855. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Fatalrmation.</param>
  856. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  857. <param name="args"></param>
  858. </member>
  859. <member name="M:Common.Logging.Factory.AbstractLogger.FatalFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
  860. <summary>
  861. Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level.
  862. </summary>
  863. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Fatalrmation.</param>
  864. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  865. <param name="exception">The exception to log.</param>
  866. <param name="args"></param>
  867. </member>
  868. <member name="M:Common.Logging.Factory.AbstractLogger.FatalFormat(System.String,System.Object[])">
  869. <summary>
  870. Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level.
  871. </summary>
  872. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  873. <param name="args">the list of format arguments</param>
  874. </member>
  875. <member name="M:Common.Logging.Factory.AbstractLogger.FatalFormat(System.String,System.Exception,System.Object[])">
  876. <summary>
  877. Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level.
  878. </summary>
  879. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  880. <param name="exception">The exception to log.</param>
  881. <param name="args">the list of format arguments</param>
  882. </member>
  883. <member name="M:Common.Logging.Factory.AbstractLogger.Fatal(System.Action{Common.Logging.FormatMessageHandler})">
  884. <summary>
  885. Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level using a callback to obtain the message
  886. </summary>
  887. <remarks>
  888. Using this method avoids the cost of creating a message and evaluating message arguments
  889. that probably won't be logged due to loglevel settings.
  890. </remarks>
  891. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  892. </member>
  893. <member name="M:Common.Logging.Factory.AbstractLogger.Fatal(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  894. <summary>
  895. Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level using a callback to obtain the message
  896. </summary>
  897. <remarks>
  898. Using this method avoids the cost of creating a message and evaluating message arguments
  899. that probably won't be logged due to loglevel settings.
  900. </remarks>
  901. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  902. <param name="exception">The exception to log, including its stack Fatal.</param>
  903. </member>
  904. <member name="M:Common.Logging.Factory.AbstractLogger.Fatal(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  905. <summary>
  906. Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level using a callback to obtain the message
  907. </summary>
  908. <remarks>
  909. Using this method avoids the cost of creating a message and evaluating message arguments
  910. that probably won't be logged due to loglevel settings.
  911. </remarks>
  912. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  913. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  914. </member>
  915. <member name="M:Common.Logging.Factory.AbstractLogger.Fatal(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  916. <summary>
  917. Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level using a callback to obtain the message
  918. </summary>
  919. <remarks>
  920. Using this method avoids the cost of creating a message and evaluating message arguments
  921. that probably won't be logged due to loglevel settings.
  922. </remarks>
  923. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  924. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  925. <param name="exception">The exception to log, including its stack Fatal.</param>
  926. </member>
  927. <member name="P:Common.Logging.Factory.AbstractLogger.IsTraceEnabled">
  928. <summary>
  929. Checks if this logger is enabled for the <see cref="F:Common.Logging.LogLevel.Trace"/> level.
  930. </summary>
  931. <remarks>
  932. Override this in your derived class to comply with the underlying logging system
  933. </remarks>
  934. </member>
  935. <member name="P:Common.Logging.Factory.AbstractLogger.IsDebugEnabled">
  936. <summary>
  937. Checks if this logger is enabled for the <see cref="F:Common.Logging.LogLevel.Debug"/> level.
  938. </summary>
  939. <remarks>
  940. Override this in your derived class to comply with the underlying logging system
  941. </remarks>
  942. </member>
  943. <member name="P:Common.Logging.Factory.AbstractLogger.IsInfoEnabled">
  944. <summary>
  945. Checks if this logger is enabled for the <see cref="F:Common.Logging.LogLevel.Info"/> level.
  946. </summary>
  947. <remarks>
  948. Override this in your derived class to comply with the underlying logging system
  949. </remarks>
  950. </member>
  951. <member name="P:Common.Logging.Factory.AbstractLogger.IsWarnEnabled">
  952. <summary>
  953. Checks if this logger is enabled for the <see cref="F:Common.Logging.LogLevel.Warn"/> level.
  954. </summary>
  955. <remarks>
  956. Override this in your derived class to comply with the underlying logging system
  957. </remarks>
  958. </member>
  959. <member name="P:Common.Logging.Factory.AbstractLogger.IsErrorEnabled">
  960. <summary>
  961. Checks if this logger is enabled for the <see cref="F:Common.Logging.LogLevel.Error"/> level.
  962. </summary>
  963. <remarks>
  964. Override this in your derived class to comply with the underlying logging system
  965. </remarks>
  966. </member>
  967. <member name="P:Common.Logging.Factory.AbstractLogger.IsFatalEnabled">
  968. <summary>
  969. Checks if this logger is enabled for the <see cref="F:Common.Logging.LogLevel.Fatal"/> level.
  970. </summary>
  971. <remarks>
  972. Override this in your derived class to comply with the underlying logging system
  973. </remarks>
  974. </member>
  975. <member name="P:Common.Logging.Factory.AbstractLogger.GlobalVariablesContext">
  976. <summary>
  977. Returns the global context for variables
  978. </summary>
  979. </member>
  980. <member name="P:Common.Logging.Factory.AbstractLogger.ThreadVariablesContext">
  981. <summary>
  982. Returns the thread-specific context for variables
  983. </summary>
  984. </member>
  985. <member name="T:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage">
  986. <summary>
  987. Format message on demand.
  988. </summary>
  989. </member>
  990. <member name="M:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage.#ctor(System.Action{Common.Logging.FormatMessageHandler})">
  991. <summary>
  992. Initializes a new instance of the <see cref="T:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage"/> class.
  993. </summary>
  994. <param name="formatMessageCallback">The format message callback.</param>
  995. </member>
  996. <member name="M:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage.#ctor(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  997. <summary>
  998. Initializes a new instance of the <see cref="T:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage"/> class.
  999. </summary>
  1000. <param name="formatProvider">The format provider.</param>
  1001. <param name="formatMessageCallback">The format message callback.</param>
  1002. </member>
  1003. <member name="M:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage.ToString">
  1004. <summary>
  1005. Calls <see cref="F:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage.formatMessageCallback"/> and returns result.
  1006. </summary>
  1007. <returns></returns>
  1008. </member>
  1009. <member name="T:Common.Logging.Factory.AbstractLogger.StringFormatFormattedMessage">
  1010. <summary>
  1011. Format string on demand.
  1012. </summary>
  1013. </member>
  1014. <member name="M:Common.Logging.Factory.AbstractLogger.StringFormatFormattedMessage.#ctor(System.IFormatProvider,System.String,System.Object[])">
  1015. <summary>
  1016. Initializes a new instance of the <see cref="T:Common.Logging.Factory.AbstractLogger.StringFormatFormattedMessage"/> class.
  1017. </summary>
  1018. <param name="formatProvider">The format provider.</param>
  1019. <param name="message">The message.</param>
  1020. <param name="args">The args.</param>
  1021. </member>
  1022. <member name="M:Common.Logging.Factory.AbstractLogger.StringFormatFormattedMessage.ToString">
  1023. <summary>
  1024. Runs <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> on supplied arguemnts.
  1025. </summary>
  1026. <returns>string</returns>
  1027. </member>
  1028. <member name="T:Common.Logging.Factory.AbstractLogger.WriteHandler">
  1029. <summary>
  1030. Represents a method responsible for writing a message to the log system.
  1031. </summary>
  1032. </member>
  1033. <member name="T:Common.Logging.LogManager">
  1034. <summary>
  1035. Use the LogManager's <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/> or <see cref="M:Common.Logging.LogManager.GetLogger(System.Type)"/>
  1036. methods to obtain <see cref="T:Common.Logging.ILog"/> instances for logging.
  1037. </summary>
  1038. <remarks>
  1039. For configuring the underlying log system using application configuration, see the example
  1040. at <c>System.Configuration.ConfigurationManager</c>
  1041. For configuring programmatically, see the example section below.
  1042. </remarks>
  1043. <example>
  1044. The example below shows the typical use of LogManager to obtain a reference to a logger
  1045. and log an exception:
  1046. <code>
  1047. ILog log = LogManager.GetLogger(this.GetType());
  1048. ...
  1049. try
  1050. {
  1051. /* .... */
  1052. }
  1053. catch(Exception ex)
  1054. {
  1055. log.ErrorFormat("Hi {0}", ex, "dude");
  1056. }
  1057. </code>
  1058. The example below shows programmatic configuration of the underlying log system:
  1059. <code>
  1060. // create properties
  1061. NameValueCollection properties = new NameValueCollection();
  1062. properties["showDateTime"] = "true";
  1063. // set Adapter
  1064. Common.Logging.LogManager.Adapter = new
  1065. Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter(properties);
  1066. </code>
  1067. </example>
  1068. <seealso cref="T:Common.Logging.ILog"/>
  1069. <seealso cref="P:Common.Logging.LogManager.Adapter"/>
  1070. <seealso cref="T:Common.Logging.ILoggerFactoryAdapter"/>
  1071. <author>Gilles Bayon</author>
  1072. </member>
  1073. <member name="M:Common.Logging.LogManager.#cctor">
  1074. <summary>
  1075. Performs static 1-time init of LogManager by calling <see cref="M:Common.Logging.LogManager.Reset"/>
  1076. </summary>
  1077. </member>
  1078. <member name="M:Common.Logging.LogManager.Reset">
  1079. <summary>
  1080. Reset the <see cref="N:Common.Logging"/> infrastructure to its default settings. This means, that configuration settings
  1081. will be re-read from section <c>&lt;common/logging&gt;</c> of your <c>app.config</c>.
  1082. </summary>
  1083. <remarks>
  1084. This is mainly used for unit testing, you wouldn't normally use this in your applications.<br/>
  1085. <b>Note:</b><see cref="T:Common.Logging.ILog"/> instances already handed out from this LogManager are not(!) affected.
  1086. Resetting LogManager only affects new instances being handed out.
  1087. </remarks>
  1088. </member>
  1089. <member name="M:Common.Logging.LogManager.Reset(Common.Logging.IConfigurationReader)">
  1090. <summary>
  1091. Reset the <see cref="N:Common.Logging"/> infrastructure to its default settings. This means, that configuration settings
  1092. will be re-read from section <c>&lt;common/logging&gt;</c> of your <c>app.config</c>.
  1093. </summary>
  1094. <remarks>
  1095. This is mainly used for unit testing, you wouldn't normally use this in your applications.<br/>
  1096. <b>Note:</b><see cref="T:Common.Logging.ILog"/> instances already handed out from this LogManager are not(!) affected.
  1097. Resetting LogManager only affects new instances being handed out.
  1098. </remarks>
  1099. <param name="reader">
  1100. the <see cref="T:Common.Logging.IConfigurationReader"/> instance to obtain settings for
  1101. re-initializing the LogManager.
  1102. </param>
  1103. </member>
  1104. <member name="M:Common.Logging.LogManager.GetCurrentClassLogger">
  1105. <summary>
  1106. Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.Type)"/>
  1107. on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the type of the calling class.
  1108. </summary>
  1109. <remarks>
  1110. This method needs to inspect the <see cref="T:System.Diagnostics.StackTrace"/> in order to determine the calling
  1111. class. This of course comes with a performance penalty, thus you shouldn't call it too
  1112. often in your application.
  1113. </remarks>
  1114. <seealso cref="M:Common.Logging.LogManager.GetLogger(System.Type)"/>
  1115. <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
  1116. </member>
  1117. <member name="M:Common.Logging.LogManager.Common#Logging#ILogManager#GetCurrentClassLogger">
  1118. <summary>
  1119. Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.Type)"/>
  1120. on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the type of the calling class.
  1121. </summary>
  1122. <remarks>
  1123. This method needs to inspect the <see cref="T:System.Diagnostics.StackTrace"/> in order to determine the calling
  1124. class. This of course comes with a performance penalty, thus you shouldn't call it too
  1125. often in your application.
  1126. </remarks>
  1127. <seealso cref="M:Common.Logging.LogManager.GetLogger(System.Type)"/>
  1128. <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
  1129. </member>
  1130. <member name="M:Common.Logging.LogManager.GetLogger``1">
  1131. <summary>
  1132. Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.Type)"/>
  1133. on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the specified type.
  1134. </summary>
  1135. <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
  1136. </member>
  1137. <member name="M:Common.Logging.LogManager.Common#Logging#ILogManager#GetLogger``1">
  1138. <summary>
  1139. Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.Type)"/>
  1140. on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the specified type.
  1141. </summary>
  1142. <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
  1143. </member>
  1144. <member name="M:Common.Logging.LogManager.GetLogger(System.Type)">
  1145. <summary>
  1146. Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.Type)"/>
  1147. on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the specified type.
  1148. </summary>
  1149. <param name="type">The type.</param>
  1150. <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
  1151. </member>
  1152. <member name="M:Common.Logging.LogManager.Common#Logging#ILogManager#GetLogger(System.Type)">
  1153. <summary>
  1154. Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.Type)"/>
  1155. on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the specified type.
  1156. </summary>
  1157. <param name="type">The type.</param>
  1158. <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
  1159. </member>
  1160. <member name="M:Common.Logging.LogManager.GetLogger(System.String)">
  1161. <summary>
  1162. Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.String)"/>
  1163. on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the specified key.
  1164. </summary>
  1165. <param name="key">The key.</param>
  1166. <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
  1167. </member>
  1168. <member name="M:Common.Logging.LogManager.Common#Logging#ILogManager#GetLogger(System.String)">
  1169. <summary>
  1170. Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.String)"/>
  1171. on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the specified key.
  1172. </summary>
  1173. <param name="key">The key.</param>
  1174. <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
  1175. </member>
  1176. <member name="M:Common.Logging.LogManager.BuildLoggerFactoryAdapter">
  1177. <summary>
  1178. Builds the logger factory adapter.
  1179. </summary>
  1180. <returns>a factory adapter instance. Is never <c>null</c>.</returns>
  1181. </member>
  1182. <member name="M:Common.Logging.LogManager.BuildLoggerFactoryAdapterFromLogSettings(Common.Logging.Configuration.LogSetting)">
  1183. <summary>
  1184. Builds a <see cref="T:Common.Logging.ILoggerFactoryAdapter"/> instance from the given <see cref="T:Common.Logging.Configuration.LogSetting"/>
  1185. using <see cref="T:System.Activator"/>.
  1186. </summary>
  1187. <param name="setting"></param>
  1188. <returns>the <see cref="T:Common.Logging.ILoggerFactoryAdapter"/> instance. Is never <c>null</c></returns>
  1189. </member>
  1190. <member name="P:Common.Logging.LogManager.COMMON_LOGGING_SECTION">
  1191. <summary>
  1192. The key of the default configuration section to read settings from.
  1193. </summary>
  1194. <remarks>
  1195. You can always change the source of your configuration settings by setting another <see cref="T:Common.Logging.IConfigurationReader"/> instance
  1196. on <see cref="P:Common.Logging.LogManager.ConfigurationReader"/>.
  1197. </remarks>
  1198. </member>
  1199. <member name="P:Common.Logging.LogManager.Common#Logging#ILogManager#COMMON_LOGGING_SECTION">
  1200. <summary>
  1201. The key of the default configuration section to read settings from.
  1202. </summary>
  1203. <remarks>
  1204. You can always change the source of your configuration settings by setting another <see cref="T:Common.Logging.IConfigurationReader"/> instance
  1205. on <see cref="P:Common.Logging.LogManager.ConfigurationReader"/>.
  1206. </remarks>
  1207. </member>
  1208. <member name="P:Common.Logging.LogManager.ConfigurationReader">
  1209. <summary>
  1210. Gets the configuration reader used to initialize the LogManager.
  1211. </summary>
  1212. <remarks>Primarily used for testing purposes but maybe useful to obtain configuration
  1213. information from some place other than the .NET application configuration file.</remarks>
  1214. <value>The configuration reader.</value>
  1215. </member>
  1216. <member name="P:Common.Logging.LogManager.Common#Logging#ILogManager#ConfigurationReader">
  1217. <summary>
  1218. Gets the configuration reader used to initialize the LogManager.
  1219. </summary>
  1220. <remarks>Primarily used for testing purposes but maybe useful to obtain configuration
  1221. information from some place other than the .NET application configuration file.</remarks>
  1222. <value>The configuration reader.</value>
  1223. </member>
  1224. <member name="P:Common.Logging.LogManager.Adapter">
  1225. <summary>
  1226. Gets or sets the adapter.
  1227. </summary>
  1228. <value>The adapter.</value>
  1229. </member>
  1230. <member name="P:Common.Logging.LogManager.Common#Logging#ILogManager#Adapter">
  1231. <summary>
  1232. Gets or sets the adapter.
  1233. </summary>
  1234. <value>The adapter.</value>
  1235. </member>
  1236. <member name="T:Common.Logging.Simple.AbstractSimpleLogger">
  1237. <summary>
  1238. Abstract class providing a standard implementation of simple loggers.
  1239. </summary>
  1240. <author>Erich Eichinger</author>
  1241. </member>
  1242. <member name="M:Common.Logging.Simple.AbstractSimpleLogger.#ctor(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  1243. <summary>
  1244. Creates and initializes a the simple logger.
  1245. </summary>
  1246. <param name="logName">The key, usually type key of the calling class, of the logger.</param>
  1247. <param name="logLevel">The current logging threshold. Messages recieved that are beneath this threshold will not be logged.</param>
  1248. <param name="showlevel">Include level in the log message.</param>
  1249. <param name="showDateTime">Include the current time in the log message.</param>
  1250. <param name="showLogName">Include the instance key in the log message.</param>
  1251. <param name="dateTimeFormat">The date and time format to use in the log message.</param>
  1252. </member>
  1253. <member name="M:Common.Logging.Simple.AbstractSimpleLogger.FormatOutput(System.Text.StringBuilder,Common.Logging.LogLevel,System.Object,System.Exception)">
  1254. <summary>
  1255. Appends the formatted message to the specified <see cref="T:System.Text.StringBuilder"/>.
  1256. </summary>
  1257. <param name="stringBuilder">the <see cref="T:System.Text.StringBuilder"/> that receíves the formatted message.</param>
  1258. <param name="level"></param>
  1259. <param name="message"></param>
  1260. <param name="e"></param>
  1261. </member>
  1262. <member name="M:Common.Logging.Simple.AbstractSimpleLogger.IsLevelEnabled(Common.Logging.LogLevel)">
  1263. <summary>
  1264. Determines if the given log level is currently enabled.
  1265. </summary>
  1266. <param name="level"></param>
  1267. <returns></returns>
  1268. </member>
  1269. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.Name">
  1270. <summary>
  1271. The key of the logger.
  1272. </summary>
  1273. </member>
  1274. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.ShowLevel">
  1275. <summary>
  1276. Include the current log level in the log message.
  1277. </summary>
  1278. </member>
  1279. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.ShowDateTime">
  1280. <summary>
  1281. Include the current time in the log message.
  1282. </summary>
  1283. </member>
  1284. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.ShowLogName">
  1285. <summary>
  1286. Include the instance key in the log message.
  1287. </summary>
  1288. </member>
  1289. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.CurrentLogLevel">
  1290. <summary>
  1291. The current logging threshold. Messages recieved that are beneath this threshold will not be logged.
  1292. </summary>
  1293. </member>
  1294. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.DateTimeFormat">
  1295. <summary>
  1296. The date and time format to use in the log message.
  1297. </summary>
  1298. </member>
  1299. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.HasDateTimeFormat">
  1300. <summary>
  1301. Determines Whether <see cref="P:Common.Logging.Simple.AbstractSimpleLogger.DateTimeFormat"/> is set.
  1302. </summary>
  1303. </member>
  1304. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.IsTraceEnabled">
  1305. <summary>
  1306. Returns <see langword="true"/> if the current <see cref="T:Common.Logging.LogLevel"/> is greater than or
  1307. equal to <see cref="F:Common.Logging.LogLevel.Trace"/>. If it is, all messages will be sent to <see cref="P:System.Console.Out"/>.
  1308. </summary>
  1309. </member>
  1310. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.IsDebugEnabled">
  1311. <summary>
  1312. Returns <see langword="true"/> if the current <see cref="T:Common.Logging.LogLevel"/> is greater than or
  1313. equal to <see cref="F:Common.Logging.LogLevel.Debug"/>. If it is, all messages will be sent to <see cref="P:System.Console.Out"/>.
  1314. </summary>
  1315. </member>
  1316. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.IsInfoEnabled">
  1317. <summary>
  1318. Returns <see langword="true"/> if the current <see cref="T:Common.Logging.LogLevel"/> is greater than or
  1319. equal to <see cref="F:Common.Logging.LogLevel.Info"/>. If it is, only messages with a <see cref="T:Common.Logging.LogLevel"/> of
  1320. <see cref="F:Common.Logging.LogLevel.Info"/>, <see cref="F:Common.Logging.LogLevel.Warn"/>, <see cref="F:Common.Logging.LogLevel.Error"/>, and
  1321. <see cref="F:Common.Logging.LogLevel.Fatal"/> will be sent to <see cref="P:System.Console.Out"/>.
  1322. </summary>
  1323. </member>
  1324. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.IsWarnEnabled">
  1325. <summary>
  1326. Returns <see langword="true"/> if the current <see cref="T:Common.Logging.LogLevel"/> is greater than or
  1327. equal to <see cref="F:Common.Logging.LogLevel.Warn"/>. If it is, only messages with a <see cref="T:Common.Logging.LogLevel"/> of
  1328. <see cref="F:Common.Logging.LogLevel.Warn"/>, <see cref="F:Common.Logging.LogLevel.Error"/>, and <see cref="F:Common.Logging.LogLevel.Fatal"/>
  1329. will be sent to <see cref="P:System.Console.Out"/>.
  1330. </summary>
  1331. </member>
  1332. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.IsErrorEnabled">
  1333. <summary>
  1334. Returns <see langword="true"/> if the current <see cref="T:Common.Logging.LogLevel"/> is greater than or
  1335. equal to <see cref="F:Common.Logging.LogLevel.Error"/>. If it is, only messages with a <see cref="T:Common.Logging.LogLevel"/> of
  1336. <see cref="F:Common.Logging.LogLevel.Error"/> and <see cref="F:Common.Logging.LogLevel.Fatal"/> will be sent to <see cref="P:System.Console.Out"/>.
  1337. </summary>
  1338. </member>
  1339. <member name="P:Common.Logging.Simple.AbstractSimpleLogger.IsFatalEnabled">
  1340. <summary>
  1341. Returns <see langword="true"/> if the current <see cref="T:Common.Logging.LogLevel"/> is greater than or
  1342. equal to <see cref="F:Common.Logging.LogLevel.Fatal"/>. If it is, only messages with a <see cref="T:Common.Logging.LogLevel"/> of
  1343. <see cref="F:Common.Logging.LogLevel.Fatal"/> will be sent to <see cref="P:System.Console.Out"/>.
  1344. </summary>
  1345. </member>
  1346. <member name="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter">
  1347. <summary>
  1348. Base factory implementation for creating simple <see cref="T:Common.Logging.ILog"/> instances.
  1349. </summary>
  1350. <remarks>Default settings are LogLevel.All, showDateTime = true, showLogName = true, and no DateTimeFormat.
  1351. The keys in the NameValueCollection to configure this adapter are the following
  1352. <list type="bullet">
  1353. <item>level</item>
  1354. <item>showDateTime</item>
  1355. <item>showLogName</item>
  1356. <item>dateTimeFormat</item>
  1357. </list>
  1358. <example>
  1359. Here is an example how to implement your own logging adapter:
  1360. <code>
  1361. public class ConsoleOutLogger : AbstractSimpleLogger
  1362. {
  1363. public ConsoleOutLogger(string logName, LogLevel logLevel, bool showLevel, bool showDateTime,
  1364. bool showLogName, string dateTimeFormat)
  1365. : base(logName, logLevel, showLevel, showDateTime, showLogName, dateTimeFormat)
  1366. {
  1367. }
  1368. protected override void WriteInternal(LogLevel level, object message, Exception e)
  1369. {
  1370. // Use a StringBuilder for better performance
  1371. StringBuilder sb = new StringBuilder();
  1372. FormatOutput(sb, level, message, e);
  1373. // Print to the appropriate destination
  1374. Console.Out.WriteLine(sb.ToString());
  1375. }
  1376. }
  1377. public class ConsoleOutLoggerFactoryAdapter : AbstractSimpleLoggerFactoryAdapter
  1378. {
  1379. public ConsoleOutLoggerFactoryAdapter(NameValueCollection properties)
  1380. : base(properties)
  1381. { }
  1382. protected override ILog CreateLogger(string key, LogLevel level, bool showLevel, bool
  1383. showDateTime, bool showLogName, string dateTimeFormat)
  1384. {
  1385. ILog log = new ConsoleOutLogger(key, level, showLevel, showDateTime, showLogName,
  1386. dateTimeFormat);
  1387. return log;
  1388. }
  1389. }
  1390. </code>
  1391. </example>
  1392. </remarks>
  1393. <author>Gilles Bayon</author>
  1394. <author>Mark Pollack</author>
  1395. <author>Erich Eichinger</author>
  1396. </member>
  1397. <member name="M:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.#ctor(Common.Logging.Configuration.NameValueCollection)">
  1398. <summary>
  1399. Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class.
  1400. </summary>
  1401. <remarks>
  1402. Looks for level, showDateTime, showLogName, dateTimeFormat items from
  1403. <paramref key="properties"/> for use when the GetLogger methods are called.
  1404. <c>System.Configuration.ConfigurationManager</c> for more information on how to use the
  1405. standard .NET application configuraiton file (App.config/Web.config)
  1406. to configure this adapter.
  1407. </remarks>
  1408. <param name="properties">The key value collection, typically specified by the user in
  1409. a configuration section named common/logging.</param>
  1410. </member>
  1411. <member name="M:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.#ctor(Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  1412. <summary>
  1413. Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class with
  1414. default settings for the loggers created by this factory.
  1415. </summary>
  1416. </member>
  1417. <member name="M:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.CreateLogger(System.String)">
  1418. <summary>
  1419. Create the specified logger instance
  1420. </summary>
  1421. </member>
  1422. <member name="M:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.CreateLogger(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  1423. <summary>
  1424. Derived factories need to implement this method to create the
  1425. actual logger instance.
  1426. </summary>
  1427. <returns>a new logger instance. Must never be <c>null</c>!</returns>
  1428. </member>
  1429. <member name="P:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.Level">
  1430. <summary>
  1431. The default <see cref="T:Common.Logging.LogLevel"/> to use when creating new <see cref="T:Common.Logging.ILog"/> instances.
  1432. </summary>
  1433. </member>
  1434. <member name="P:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.ShowLevel">
  1435. <summary>
  1436. The default setting to use when creating new <see cref="T:Common.Logging.ILog"/> instances.
  1437. </summary>
  1438. </member>
  1439. <member name="P:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.ShowDateTime">
  1440. <summary>
  1441. The default setting to use when creating new <see cref="T:Common.Logging.ILog"/> instances.
  1442. </summary>
  1443. </member>
  1444. <member name="P:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.ShowLogName">
  1445. <summary>
  1446. The default setting to use when creating new <see cref="T:Common.Logging.ILog"/> instances.
  1447. </summary>
  1448. </member>
  1449. <member name="P:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.DateTimeFormat">
  1450. <summary>
  1451. The default setting to use when creating new <see cref="T:Common.Logging.ILog"/> instances.
  1452. </summary>
  1453. </member>
  1454. <member name="T:Common.Logging.Simple.CapturingLogger">
  1455. <summary>
  1456. A logger created by <see cref="T:Common.Logging.Simple.CapturingLoggerFactoryAdapter"/> that
  1457. sends all log events to the owning adapter's <see cref="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.AddEvent(Common.Logging.Simple.CapturingLoggerEvent)"/>
  1458. </summary>
  1459. <author>Erich Eichinger</author>
  1460. </member>
  1461. <member name="F:Common.Logging.Simple.CapturingLogger.Owner">
  1462. <summary>
  1463. The adapter that created this logger instance.
  1464. </summary>
  1465. </member>
  1466. <member name="M:Common.Logging.Simple.CapturingLogger.Clear">
  1467. <summary>
  1468. Clears all captured events
  1469. </summary>
  1470. </member>
  1471. <member name="M:Common.Logging.Simple.CapturingLogger.ClearLastEvent">
  1472. <summary>
  1473. Resets the <see cref="P:Common.Logging.Simple.CapturingLogger.LastEvent"/> to <c>null</c>.
  1474. </summary>
  1475. </member>
  1476. <member name="F:Common.Logging.Simple.CapturingLogger.LoggerEvents">
  1477. <summary>
  1478. Holds the list of logged events.
  1479. </summary>
  1480. <remarks>
  1481. To access this collection in a multithreaded application, put a lock on the list instance.
  1482. </remarks>
  1483. </member>
  1484. <member name="M:Common.Logging.Simple.CapturingLogger.AddEvent(Common.Logging.Simple.CapturingLoggerEvent)">
  1485. <summary>
  1486. <see cref="T:Common.Logging.Simple.CapturingLogger"/> instances send their captured log events to this method.
  1487. </summary>
  1488. </member>
  1489. <member name="M:Common.Logging.Simple.CapturingLogger.#ctor(Common.Logging.Simple.CapturingLoggerFactoryAdapter,System.String)">
  1490. <summary>
  1491. Create a new logger instance.
  1492. </summary>
  1493. </member>
  1494. <member name="M:Common.Logging.Simple.CapturingLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)">
  1495. <summary>
  1496. Create a new <see cref="T:Common.Logging.Simple.CapturingLoggerEvent"/> and send it to <see cref="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.AddEvent(Common.Logging.Simple.CapturingLoggerEvent)"/>
  1497. </summary>
  1498. <param name="level"></param>
  1499. <param name="message"></param>
  1500. <param name="exception"></param>
  1501. </member>
  1502. <member name="P:Common.Logging.Simple.CapturingLogger.LastEvent">
  1503. <summary>
  1504. Holds the last log event received from any of this adapter's loggers.
  1505. </summary>
  1506. </member>
  1507. <member name="T:Common.Logging.Simple.CapturingLoggerEvent">
  1508. <summary>
  1509. A logging event captured by <see cref="T:Common.Logging.Simple.CapturingLogger"/>
  1510. </summary>
  1511. <author>Erich Eichinger</author>
  1512. </member>
  1513. <member name="F:Common.Logging.Simple.CapturingLoggerEvent.Source">
  1514. <summary>
  1515. The logger that logged this event
  1516. </summary>
  1517. </member>
  1518. <member name="F:Common.Logging.Simple.CapturingLoggerEvent.Level">
  1519. <summary>
  1520. The level used to log this event
  1521. </summary>
  1522. </member>
  1523. <member name="F:Common.Logging.Simple.CapturingLoggerEvent.MessageObject">
  1524. <summary>
  1525. The raw message object
  1526. </summary>
  1527. </member>
  1528. <member name="F:Common.Logging.Simple.CapturingLoggerEvent.Exception">
  1529. <summary>
  1530. A logged exception
  1531. </summary>
  1532. </member>
  1533. <member name="M:Common.Logging.Simple.CapturingLoggerEvent.#ctor(Common.Logging.Simple.CapturingLogger,Common.Logging.LogLevel,System.Object,System.Exception)">
  1534. <summary>
  1535. Create a new event instance
  1536. </summary>
  1537. </member>
  1538. <member name="P:Common.Logging.Simple.CapturingLoggerEvent.RenderedMessage">
  1539. <summary>
  1540. Retrieves the formatted message text
  1541. </summary>
  1542. </member>
  1543. <member name="T:Common.Logging.Simple.CapturingLoggerFactoryAdapter">
  1544. <summary>
  1545. An adapter, who's loggers capture all log events and send them to <see cref="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.AddEvent(Common.Logging.Simple.CapturingLoggerEvent)"/>.
  1546. Retrieve the list of log events from <see cref="F:Common.Logging.Simple.CapturingLoggerFactoryAdapter.LoggerEvents"/>.
  1547. </summary>
  1548. <remarks>
  1549. This logger factory is mainly for debugging and test purposes.
  1550. <example>
  1551. This is an example how you might use this adapter for testing:
  1552. <code>
  1553. // configure for capturing
  1554. CapturingLoggerFactoryAdapter adapter = new CapturingLoggerFactoryAdapter();
  1555. LogManager.Adapter = adapter;
  1556. // reset capture state
  1557. adapter.Clear();
  1558. // log something
  1559. ILog log = LogManager.GetCurrentClassLogger();
  1560. log.DebugFormat("Current Time:{0}", DateTime.Now);
  1561. // check logged data
  1562. Assert.AreEqual(1, adapter.LoggerEvents.Count);
  1563. Assert.AreEqual(LogLevel.Debug, adapter.LastEvent.Level);
  1564. </code>
  1565. </example>
  1566. </remarks>
  1567. <author>Erich Eichinger</author>
  1568. </member>
  1569. <member name="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.Clear">
  1570. <summary>
  1571. Clears all captured events
  1572. </summary>
  1573. </member>
  1574. <member name="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.ClearLastEvent">
  1575. <summary>
  1576. Resets the <see cref="P:Common.Logging.Simple.CapturingLoggerFactoryAdapter.LastEvent"/> to <c>null</c>.
  1577. </summary>
  1578. </member>
  1579. <member name="F:Common.Logging.Simple.CapturingLoggerFactoryAdapter.LoggerEvents">
  1580. <summary>
  1581. Holds the list of logged events.
  1582. </summary>
  1583. <remarks>
  1584. To access this collection in a multithreaded application, put a lock on the list instance.
  1585. </remarks>
  1586. </member>
  1587. <member name="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.AddEvent(Common.Logging.Simple.CapturingLoggerEvent)">
  1588. <summary>
  1589. <see cref="T:Common.Logging.Simple.CapturingLogger"/> instances send their captured log events to this method.
  1590. </summary>
  1591. </member>
  1592. <member name="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.GetLogger(System.Type)">
  1593. <summary>
  1594. Get a <see cref="T:Common.Logging.Simple.CapturingLogger"/> instance for the given type.
  1595. </summary>
  1596. </member>
  1597. <member name="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.GetLogger(System.String)">
  1598. <summary>
  1599. Get a <see cref="T:Common.Logging.Simple.CapturingLogger"/> instance for the given key.
  1600. </summary>
  1601. </member>
  1602. <member name="P:Common.Logging.Simple.CapturingLoggerFactoryAdapter.LastEvent">
  1603. <summary>
  1604. Holds the last log event received from any of this adapter's loggers.
  1605. </summary>
  1606. </member>
  1607. <member name="T:Common.Logging.Simple.DebugOutLogger">
  1608. <summary>
  1609. Sends log messages to <see cref="T:System.Diagnostics.Debug"/>.
  1610. </summary>
  1611. <author>Gilles Bayon</author>
  1612. </member>
  1613. <member name="M:Common.Logging.Simple.DebugOutLogger.#ctor(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  1614. <summary>
  1615. Creates and initializes a logger that writes messages to <see cref="T:System.Diagnostics.Debug"/>.
  1616. </summary>
  1617. <param name="logName">The key, usually type key of the calling class, of the logger.</param>
  1618. <param name="logLevel">The current logging threshold. Messages recieved that are beneath this threshold will not be logged.</param>
  1619. <param name="showLevel">Include the current log level in the log message.</param>
  1620. <param name="showDateTime">Include the current time in the log message.</param>
  1621. <param name="showLogName">Include the instance key in the log message.</param>
  1622. <param name="dateTimeFormat">The date and time format to use in the log message.</param>
  1623. </member>
  1624. <member name="M:Common.Logging.Simple.DebugOutLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)">
  1625. <summary>
  1626. Do the actual logging by constructing the log message using a <see cref="T:System.Text.StringBuilder"/> then
  1627. sending the output to <see cref="P:System.Console.Out"/>.
  1628. </summary>
  1629. <param name="level">The <see cref="T:Common.Logging.LogLevel"/> of the message.</param>
  1630. <param name="message">The log message.</param>
  1631. <param name="e">An optional <see cref="T:System.Exception"/> associated with the message.</param>
  1632. </member>
  1633. <member name="T:Common.Logging.Simple.DebugLoggerFactoryAdapter">
  1634. <summary>
  1635. Factory for creating <see cref="T:Common.Logging.ILog"/> instances that write data using <see cref="M:System.Diagnostics.Debug.WriteLine(System.String)"/>.
  1636. </summary>
  1637. <remarks>
  1638. <example>
  1639. Below is an example how to configure this adapter:
  1640. <code>
  1641. &lt;configuration&gt;
  1642. &lt;configSections&gt;
  1643. &lt;sectionGroup key="common"&gt;
  1644. &lt;section key="logging"
  1645. type="Common.Logging.ConfigurationSectionHandler, Common.Logging"
  1646. requirePermission="false" /&gt;
  1647. &lt;/sectionGroup&gt;
  1648. &lt;/configSections&gt;
  1649. &lt;common&gt;
  1650. &lt;logging&gt;
  1651. &lt;factoryAdapter type="Common.Logging.Simple.DebugLoggerFactoryAdapter, Common.Logging"&gt;
  1652. &lt;arg key="level" value="ALL" /&gt;
  1653. &lt;/factoryAdapter&gt;
  1654. &lt;/logging&gt;
  1655. &lt;/common&gt;
  1656. &lt;/configuration&gt;
  1657. </code>
  1658. </example>
  1659. </remarks>
  1660. <seealso cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/>
  1661. <author>Gilles Bayon</author>
  1662. <author>Mark Pollack</author>
  1663. <author>Erich Eichinger</author>
  1664. </member>
  1665. <member name="M:Common.Logging.Simple.DebugLoggerFactoryAdapter.#ctor">
  1666. <summary>
  1667. Initializes a new instance of the <see cref="T:Common.Logging.Simple.DebugLoggerFactoryAdapter"/> class using default
  1668. settings.
  1669. </summary>
  1670. </member>
  1671. <member name="M:Common.Logging.Simple.DebugLoggerFactoryAdapter.#ctor(Common.Logging.Configuration.NameValueCollection)">
  1672. <summary>
  1673. Initializes a new instance of the <see cref="T:Common.Logging.Simple.DebugLoggerFactoryAdapter"/> class.
  1674. </summary>
  1675. <remarks>
  1676. Looks for level, showDateTime, showLogName, dateTimeFormat items from
  1677. <paramref key="properties"/> for use when the GetLogger methods are called.
  1678. <see cref="T:System.Configuration.ConfigurationManager"/> for more information on how to use the
  1679. standard .NET application configuraiton file (App.config/Web.config)
  1680. to configure this adapter.
  1681. </remarks>
  1682. <param name="properties">The key value collection, typically specified by the user in
  1683. a configuration section named common/logging.</param>
  1684. </member>
  1685. <member name="M:Common.Logging.Simple.DebugLoggerFactoryAdapter.#ctor(Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  1686. <summary>
  1687. Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class with
  1688. default settings for the loggers created by this factory.
  1689. </summary>
  1690. </member>
  1691. <member name="M:Common.Logging.Simple.DebugLoggerFactoryAdapter.CreateLogger(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  1692. <summary>
  1693. Creates a new <see cref="T:Common.Logging.Simple.DebugOutLogger"/> instance.
  1694. </summary>
  1695. </member>
  1696. <member name="T:Common.Logging.Simple.ExceptionFormatter">
  1697. <summary>
  1698. </summary>
  1699. </member>
  1700. <member name="T:Common.Logging.Simple.NoOpLogger">
  1701. <summary>
  1702. Silently ignores all log messages.
  1703. </summary>
  1704. <author>Gilles Bayon</author>
  1705. <author>Erich Eichinger</author>
  1706. </member>
  1707. <member name="M:Common.Logging.Simple.NoOpLogger.Trace(System.Object)">
  1708. <summary>
  1709. Ignores message.
  1710. </summary>
  1711. <param name="message"></param>
  1712. </member>
  1713. <member name="M:Common.Logging.Simple.NoOpLogger.Trace(System.Object,System.Exception)">
  1714. <summary>
  1715. Ignores message.
  1716. </summary>
  1717. <param name="message"></param>
  1718. <param name="e"></param>
  1719. </member>
  1720. <member name="M:Common.Logging.Simple.NoOpLogger.TraceFormat(System.String,System.Object[])">
  1721. <summary>
  1722. Ignores message.
  1723. </summary>
  1724. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1725. <param name="args"></param>
  1726. </member>
  1727. <member name="M:Common.Logging.Simple.NoOpLogger.TraceFormat(System.String,System.Exception,System.Object[])">
  1728. <summary>
  1729. Ignores message.
  1730. </summary>
  1731. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1732. <param name="exception">The exception to log.</param>
  1733. <param name="args">the list of message format arguments</param>
  1734. </member>
  1735. <member name="M:Common.Logging.Simple.NoOpLogger.TraceFormat(System.IFormatProvider,System.String,System.Object[])">
  1736. <summary>
  1737. Ignores message.
  1738. </summary>
  1739. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1740. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1741. <param name="args">the list of message format arguments</param>
  1742. </member>
  1743. <member name="M:Common.Logging.Simple.NoOpLogger.TraceFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
  1744. <summary>
  1745. Ignores message.
  1746. </summary>
  1747. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1748. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1749. <param name="exception">The exception to log.</param>
  1750. <param name="args">the list of message format arguments</param>
  1751. </member>
  1752. <member name="M:Common.Logging.Simple.NoOpLogger.Trace(System.Action{Common.Logging.FormatMessageHandler})">
  1753. <summary>
  1754. Ignores message.
  1755. </summary>
  1756. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1757. </member>
  1758. <member name="M:Common.Logging.Simple.NoOpLogger.Trace(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  1759. <summary>
  1760. Ignores message.
  1761. </summary>
  1762. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1763. <param name="exception">The exception to log, including its stack trace.</param>
  1764. </member>
  1765. <member name="M:Common.Logging.Simple.NoOpLogger.Trace(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  1766. <summary>
  1767. Ignores message.
  1768. </summary>
  1769. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1770. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1771. </member>
  1772. <member name="M:Common.Logging.Simple.NoOpLogger.Trace(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  1773. <summary>
  1774. Ignores message.
  1775. </summary>
  1776. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1777. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1778. <param name="exception">The exception to log, including its stack trace.</param>
  1779. </member>
  1780. <member name="M:Common.Logging.Simple.NoOpLogger.Debug(System.Object)">
  1781. <summary>
  1782. Ignores message.
  1783. </summary>
  1784. <param name="message"></param>
  1785. </member>
  1786. <member name="M:Common.Logging.Simple.NoOpLogger.Debug(System.Object,System.Exception)">
  1787. <summary>
  1788. Ignores message.
  1789. </summary>
  1790. <param name="message"></param>
  1791. <param name="e"></param>
  1792. </member>
  1793. <member name="M:Common.Logging.Simple.NoOpLogger.DebugFormat(System.String,System.Object[])">
  1794. <summary>
  1795. Ignores message.
  1796. </summary>
  1797. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1798. <param name="args"></param>
  1799. </member>
  1800. <member name="M:Common.Logging.Simple.NoOpLogger.DebugFormat(System.String,System.Exception,System.Object[])">
  1801. <summary>
  1802. Ignores message.
  1803. </summary>
  1804. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1805. <param name="exception">The exception to log.</param>
  1806. <param name="args">the list of message format arguments</param>
  1807. </member>
  1808. <member name="M:Common.Logging.Simple.NoOpLogger.DebugFormat(System.IFormatProvider,System.String,System.Object[])">
  1809. <summary>
  1810. Ignores message.
  1811. </summary>
  1812. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1813. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1814. <param name="args">the list of message format arguments</param>
  1815. </member>
  1816. <member name="M:Common.Logging.Simple.NoOpLogger.DebugFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
  1817. <summary>
  1818. Ignores message.
  1819. </summary>
  1820. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1821. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1822. <param name="exception">The exception to log.</param>
  1823. <param name="args">the list of message format arguments</param>
  1824. </member>
  1825. <member name="M:Common.Logging.Simple.NoOpLogger.Debug(System.Action{Common.Logging.FormatMessageHandler})">
  1826. <summary>
  1827. Ignores message.
  1828. </summary>
  1829. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1830. </member>
  1831. <member name="M:Common.Logging.Simple.NoOpLogger.Debug(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  1832. <summary>
  1833. Ignores message.
  1834. </summary>
  1835. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1836. <param name="exception">The exception to log, including its stack Debug.</param>
  1837. </member>
  1838. <member name="M:Common.Logging.Simple.NoOpLogger.Debug(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  1839. <summary>
  1840. Ignores message.
  1841. </summary>
  1842. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1843. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1844. </member>
  1845. <member name="M:Common.Logging.Simple.NoOpLogger.Debug(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  1846. <summary>
  1847. Ignores message.
  1848. </summary>
  1849. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1850. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1851. <param name="exception">The exception to log, including its stack Debug.</param>
  1852. </member>
  1853. <member name="M:Common.Logging.Simple.NoOpLogger.Info(System.Object)">
  1854. <summary>
  1855. Ignores message.
  1856. </summary>
  1857. <param name="message"></param>
  1858. </member>
  1859. <member name="M:Common.Logging.Simple.NoOpLogger.Info(System.Object,System.Exception)">
  1860. <summary>
  1861. Ignores message.
  1862. </summary>
  1863. <param name="message"></param>
  1864. <param name="e"></param>
  1865. </member>
  1866. <member name="M:Common.Logging.Simple.NoOpLogger.InfoFormat(System.String,System.Object[])">
  1867. <summary>
  1868. Ignores message.
  1869. </summary>
  1870. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1871. <param name="args"></param>
  1872. </member>
  1873. <member name="M:Common.Logging.Simple.NoOpLogger.InfoFormat(System.String,System.Exception,System.Object[])">
  1874. <summary>
  1875. Ignores message.
  1876. </summary>
  1877. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1878. <param name="exception">The exception to log.</param>
  1879. <param name="args">the list of message format arguments</param>
  1880. </member>
  1881. <member name="M:Common.Logging.Simple.NoOpLogger.InfoFormat(System.IFormatProvider,System.String,System.Object[])">
  1882. <summary>
  1883. Ignores message.
  1884. </summary>
  1885. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1886. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1887. <param name="args">the list of message format arguments</param>
  1888. </member>
  1889. <member name="M:Common.Logging.Simple.NoOpLogger.InfoFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
  1890. <summary>
  1891. Ignores message.
  1892. </summary>
  1893. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1894. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1895. <param name="exception">The exception to log.</param>
  1896. <param name="args">the list of message format arguments</param>
  1897. </member>
  1898. <member name="M:Common.Logging.Simple.NoOpLogger.Info(System.Action{Common.Logging.FormatMessageHandler})">
  1899. <summary>
  1900. Ignores message.
  1901. </summary>
  1902. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1903. </member>
  1904. <member name="M:Common.Logging.Simple.NoOpLogger.Info(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  1905. <summary>
  1906. Ignores message.
  1907. </summary>
  1908. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1909. <param name="exception">The exception to log, including its stack Info.</param>
  1910. </member>
  1911. <member name="M:Common.Logging.Simple.NoOpLogger.Info(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  1912. <summary>
  1913. Ignores message.
  1914. </summary>
  1915. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1916. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1917. </member>
  1918. <member name="M:Common.Logging.Simple.NoOpLogger.Info(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  1919. <summary>
  1920. Ignores message.
  1921. </summary>
  1922. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1923. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1924. <param name="exception">The exception to log, including its stack Info.</param>
  1925. </member>
  1926. <member name="M:Common.Logging.Simple.NoOpLogger.Warn(System.Object)">
  1927. <summary>
  1928. Ignores message.
  1929. </summary>
  1930. <param name="message"></param>
  1931. </member>
  1932. <member name="M:Common.Logging.Simple.NoOpLogger.Warn(System.Object,System.Exception)">
  1933. <summary>
  1934. Ignores message.
  1935. </summary>
  1936. <param name="message"></param>
  1937. <param name="e"></param>
  1938. </member>
  1939. <member name="M:Common.Logging.Simple.NoOpLogger.WarnFormat(System.String,System.Object[])">
  1940. <summary>
  1941. Ignores message.
  1942. </summary>
  1943. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1944. <param name="args"></param>
  1945. </member>
  1946. <member name="M:Common.Logging.Simple.NoOpLogger.WarnFormat(System.String,System.Exception,System.Object[])">
  1947. <summary>
  1948. Ignores message.
  1949. </summary>
  1950. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1951. <param name="exception">The exception to log.</param>
  1952. <param name="args">the list of message format arguments</param>
  1953. </member>
  1954. <member name="M:Common.Logging.Simple.NoOpLogger.WarnFormat(System.IFormatProvider,System.String,System.Object[])">
  1955. <summary>
  1956. Ignores message.
  1957. </summary>
  1958. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Information.</param>
  1959. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1960. <param name="args">the list of message format arguments</param>
  1961. </member>
  1962. <member name="M:Common.Logging.Simple.NoOpLogger.WarnFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
  1963. <summary>
  1964. Ignores message.
  1965. </summary>
  1966. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Information.</param>
  1967. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  1968. <param name="exception">The exception to log.</param>
  1969. <param name="args">the list of message format arguments</param>
  1970. </member>
  1971. <member name="M:Common.Logging.Simple.NoOpLogger.Warn(System.Action{Common.Logging.FormatMessageHandler})">
  1972. <summary>
  1973. Ignores message.
  1974. </summary>
  1975. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1976. </member>
  1977. <member name="M:Common.Logging.Simple.NoOpLogger.Warn(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  1978. <summary>
  1979. Ignores message.
  1980. </summary>
  1981. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1982. <param name="exception">The exception to log, including its stack Warn.</param>
  1983. </member>
  1984. <member name="M:Common.Logging.Simple.NoOpLogger.Warn(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  1985. <summary>
  1986. Ignores message.
  1987. </summary>
  1988. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1989. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1990. </member>
  1991. <member name="M:Common.Logging.Simple.NoOpLogger.Warn(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  1992. <summary>
  1993. Ignores message.
  1994. </summary>
  1995. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  1996. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  1997. <param name="exception">The exception to log, including its stack Warn.</param>
  1998. </member>
  1999. <member name="M:Common.Logging.Simple.NoOpLogger.Error(System.Object)">
  2000. <summary>
  2001. Ignores message.
  2002. </summary>
  2003. <param name="message"></param>
  2004. </member>
  2005. <member name="M:Common.Logging.Simple.NoOpLogger.Error(System.Object,System.Exception)">
  2006. <summary>
  2007. Ignores message.
  2008. </summary>
  2009. <param name="message"></param>
  2010. <param name="e"></param>
  2011. </member>
  2012. <member name="M:Common.Logging.Simple.NoOpLogger.ErrorFormat(System.String,System.Object[])">
  2013. <summary>
  2014. Ignores message.
  2015. </summary>
  2016. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  2017. <param name="args"></param>
  2018. </member>
  2019. <member name="M:Common.Logging.Simple.NoOpLogger.ErrorFormat(System.String,System.Exception,System.Object[])">
  2020. <summary>
  2021. Ignores message.
  2022. </summary>
  2023. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  2024. <param name="exception">The exception to log.</param>
  2025. <param name="args">the list of message format arguments</param>
  2026. </member>
  2027. <member name="M:Common.Logging.Simple.NoOpLogger.ErrorFormat(System.IFormatProvider,System.String,System.Object[])">
  2028. <summary>
  2029. Ignores message.
  2030. </summary>
  2031. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Errorrmation.</param>
  2032. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  2033. <param name="args">the list of message format arguments</param>
  2034. </member>
  2035. <member name="M:Common.Logging.Simple.NoOpLogger.ErrorFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
  2036. <summary>
  2037. Ignores message.
  2038. </summary>
  2039. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Errorrmation.</param>
  2040. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  2041. <param name="exception">The exception to log.</param>
  2042. <param name="args">the list of message format arguments</param>
  2043. </member>
  2044. <member name="M:Common.Logging.Simple.NoOpLogger.Error(System.Action{Common.Logging.FormatMessageHandler})">
  2045. <summary>
  2046. Ignores message.
  2047. </summary>
  2048. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  2049. </member>
  2050. <member name="M:Common.Logging.Simple.NoOpLogger.Error(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  2051. <summary>
  2052. Ignores message.
  2053. </summary>
  2054. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  2055. <param name="exception">The exception to log, including its stack Error.</param>
  2056. </member>
  2057. <member name="M:Common.Logging.Simple.NoOpLogger.Error(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  2058. <summary>
  2059. Ignores message.
  2060. </summary>
  2061. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  2062. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  2063. </member>
  2064. <member name="M:Common.Logging.Simple.NoOpLogger.Error(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  2065. <summary>
  2066. Ignores message.
  2067. </summary>
  2068. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  2069. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  2070. <param name="exception">The exception to log, including its stack Error.</param>
  2071. </member>
  2072. <member name="M:Common.Logging.Simple.NoOpLogger.Fatal(System.Object)">
  2073. <summary>
  2074. Ignores message.
  2075. </summary>
  2076. <param name="message"></param>
  2077. </member>
  2078. <member name="M:Common.Logging.Simple.NoOpLogger.Fatal(System.Object,System.Exception)">
  2079. <summary>
  2080. Ignores message.
  2081. </summary>
  2082. <param name="message"></param>
  2083. <param name="e"></param>
  2084. </member>
  2085. <member name="M:Common.Logging.Simple.NoOpLogger.FatalFormat(System.String,System.Object[])">
  2086. <summary>
  2087. Ignores message.
  2088. </summary>
  2089. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  2090. <param name="args"></param>
  2091. </member>
  2092. <member name="M:Common.Logging.Simple.NoOpLogger.FatalFormat(System.String,System.Exception,System.Object[])">
  2093. <summary>
  2094. Ignores message.
  2095. </summary>
  2096. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  2097. <param name="exception">The exception to log.</param>
  2098. <param name="args">the list of message format arguments</param>
  2099. </member>
  2100. <member name="M:Common.Logging.Simple.NoOpLogger.FatalFormat(System.IFormatProvider,System.String,System.Object[])">
  2101. <summary>
  2102. Ignores message.
  2103. </summary>
  2104. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Fatalrmation.</param>
  2105. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  2106. <param name="args">the list of message format arguments</param>
  2107. </member>
  2108. <member name="M:Common.Logging.Simple.NoOpLogger.FatalFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
  2109. <summary>
  2110. Ignores message.
  2111. </summary>
  2112. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Fatalrmation.</param>
  2113. <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
  2114. <param name="exception">The exception to log.</param>
  2115. <param name="args">the list of message format arguments</param>
  2116. </member>
  2117. <member name="M:Common.Logging.Simple.NoOpLogger.Fatal(System.Action{Common.Logging.FormatMessageHandler})">
  2118. <summary>
  2119. Ignores message.
  2120. </summary>
  2121. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  2122. </member>
  2123. <member name="M:Common.Logging.Simple.NoOpLogger.Fatal(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  2124. <summary>
  2125. Ignores message.
  2126. </summary>
  2127. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  2128. <param name="exception">The exception to log, including its stack Fatal.</param>
  2129. </member>
  2130. <member name="M:Common.Logging.Simple.NoOpLogger.Fatal(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
  2131. <summary>
  2132. Ignores message.
  2133. </summary>
  2134. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  2135. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  2136. </member>
  2137. <member name="M:Common.Logging.Simple.NoOpLogger.Fatal(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
  2138. <summary>
  2139. Ignores message.
  2140. </summary>
  2141. <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  2142. <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
  2143. <param name="exception">The exception to log, including its stack Fatal.</param>
  2144. </member>
  2145. <member name="P:Common.Logging.Simple.NoOpLogger.IsTraceEnabled">
  2146. <summary>
  2147. Always returns <see langword="false" />.
  2148. </summary>
  2149. </member>
  2150. <member name="P:Common.Logging.Simple.NoOpLogger.IsDebugEnabled">
  2151. <summary>
  2152. Always returns <see langword="false" />.
  2153. </summary>
  2154. </member>
  2155. <member name="P:Common.Logging.Simple.NoOpLogger.IsInfoEnabled">
  2156. <summary>
  2157. Always returns <see langword="false" />.
  2158. </summary>
  2159. </member>
  2160. <member name="P:Common.Logging.Simple.NoOpLogger.IsWarnEnabled">
  2161. <summary>
  2162. Always returns <see langword="false" />.
  2163. </summary>
  2164. </member>
  2165. <member name="P:Common.Logging.Simple.NoOpLogger.IsErrorEnabled">
  2166. <summary>
  2167. Always returns <see langword="false" />.
  2168. </summary>
  2169. </member>
  2170. <member name="P:Common.Logging.Simple.NoOpLogger.IsFatalEnabled">
  2171. <summary>
  2172. Always returns <see langword="false" />.
  2173. </summary>
  2174. </member>
  2175. <member name="P:Common.Logging.Simple.NoOpLogger.GlobalVariablesContext">
  2176. <summary>
  2177. Returns the global context for variables
  2178. </summary>
  2179. </member>
  2180. <member name="P:Common.Logging.Simple.NoOpLogger.ThreadVariablesContext">
  2181. <summary>
  2182. Returns the thread-specific context for variables
  2183. </summary>
  2184. </member>
  2185. <member name="T:Common.Logging.Simple.NoOpLoggerFactoryAdapter">
  2186. <summary>
  2187. Factory for creating <see cref="T:Common.Logging.ILog"/> instances that silently ignores
  2188. logging requests.
  2189. </summary>
  2190. <remarks>
  2191. This logger adapter is the default used by Common.Logging if unconfigured. Using this logger adapter is the most efficient
  2192. way to suppress any logging output.
  2193. <example>
  2194. Below is an example how to configure this adapter:
  2195. <code>
  2196. &lt;configuration&gt;
  2197. &lt;configSections&gt;
  2198. &lt;sectionGroup key="common"&gt;
  2199. &lt;section key="logging"
  2200. type="Common.Logging.ConfigurationSectionHandler, Common.Logging"
  2201. requirePermission="false" /&gt;
  2202. &lt;/sectionGroup&gt;
  2203. &lt;/configSections&gt;
  2204. &lt;common&gt;
  2205. &lt;logging&gt;
  2206. &lt;factoryAdapter type="Common.Logging.Simple.NoOpLoggerFactoryAdapter, Common.Logging"&gt;
  2207. &lt;arg key="level" value="ALL" /&gt;
  2208. &lt;/factoryAdapter&gt;
  2209. &lt;/logging&gt;
  2210. &lt;/common&gt;
  2211. &lt;/configuration&gt;
  2212. </code>
  2213. </example>
  2214. </remarks>
  2215. <author>Gilles Bayon</author>
  2216. </member>
  2217. <member name="M:Common.Logging.Simple.NoOpLoggerFactoryAdapter.#ctor">
  2218. <summary>
  2219. Constructor
  2220. </summary>
  2221. </member>
  2222. <member name="M:Common.Logging.Simple.NoOpLoggerFactoryAdapter.#ctor(Common.Logging.Configuration.NameValueCollection)">
  2223. <summary>
  2224. Constructor
  2225. </summary>
  2226. </member>
  2227. <member name="M:Common.Logging.Simple.NoOpLoggerFactoryAdapter.#ctor(System.Collections.Specialized.NameValueCollection)">
  2228. <summary>
  2229. Constructor for binary backwards compatibility
  2230. </summary>
  2231. <param name="properties">The properties.</param>
  2232. </member>
  2233. <member name="M:Common.Logging.Simple.NoOpLoggerFactoryAdapter.GetLogger(System.Type)">
  2234. <summary>
  2235. Get a ILog instance by type
  2236. </summary>
  2237. <param name="type"></param>
  2238. <returns></returns>
  2239. </member>
  2240. <member name="M:Common.Logging.Simple.NoOpLoggerFactoryAdapter.Common#Logging#ILoggerFactoryAdapter#GetLogger(System.String)">
  2241. <summary>
  2242. Get a ILog instance by type key
  2243. </summary>
  2244. <param name="key"></param>
  2245. <returns></returns>
  2246. </member>
  2247. <member name="T:Common.Logging.Simple.NoOpVariablesContext">
  2248. <summary>
  2249. A null-functionality implementation of <see cref="T:Common.Logging.IVariablesContext"/>
  2250. </summary>
  2251. </member>
  2252. <member name="M:Common.Logging.Simple.NoOpVariablesContext.Set(System.String,System.Object)">
  2253. <summary>
  2254. Sets the value of a new or existing variable within the global context
  2255. </summary>
  2256. <param name="key">The key of the variable that is to be added</param>
  2257. <param name="value">The value to add</param>
  2258. </member>
  2259. <member name="M:Common.Logging.Simple.NoOpVariablesContext.Get(System.String)">
  2260. <summary>
  2261. Gets the value of a variable within the global context
  2262. </summary>
  2263. <param name="key">The key of the variable to get</param>
  2264. <returns>The value or null if not found</returns>
  2265. </member>
  2266. <member name="M:Common.Logging.Simple.NoOpVariablesContext.Contains(System.String)">
  2267. <summary>
  2268. Checks if a variable is set within the global context
  2269. </summary>
  2270. <param name="key">The key of the variable to check for</param>
  2271. <returns>True if the variable is set</returns>
  2272. </member>
  2273. <member name="M:Common.Logging.Simple.NoOpVariablesContext.Remove(System.String)">
  2274. <summary>
  2275. Removes a variable from the global context by key
  2276. </summary>
  2277. <param name="key">The key of the variable to remove</param>
  2278. </member>
  2279. <member name="M:Common.Logging.Simple.NoOpVariablesContext.Clear">
  2280. <summary>
  2281. Clears the global context variables
  2282. </summary>
  2283. </member>
  2284. <member name="T:Common.Logging.Simple.CommonLoggingTraceListener">
  2285. <summary>
  2286. A <see cref="T:System.Diagnostics.TraceListener"/> implementation sending all <see cref="T:System.Diagnostics.Trace">System.Diagnostics.Trace</see> output to
  2287. the Common.Logging infrastructure.
  2288. </summary>
  2289. <remarks>
  2290. This listener captures all output sent by calls to <see cref="T:System.Diagnostics.Trace">System.Diagnostics.Trace</see> and
  2291. and <see cref="T:System.Diagnostics.TraceSource"/> and sends it to an <see cref="T:Common.Logging.ILog"/> instance.<br/>
  2292. The <see cref="T:Common.Logging.ILog"/> instance to be used is obtained by calling
  2293. <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>. The name of the logger is created by passing
  2294. this listener's <see cref="P:System.Diagnostics.TraceListener.Name"/> and any <c>source</c> or <c>category</c> passed
  2295. into this listener (see <see cref="M:System.Diagnostics.TraceListener.WriteLine(System.Object,System.String)"/> or <see cref="M:System.Diagnostics.TraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[])"/> for example).
  2296. </remarks>
  2297. <example>
  2298. The snippet below shows how to add and configure this listener to your app.config:
  2299. <code lang="XML">
  2300. &lt;system.diagnostics&gt;
  2301. &lt;sharedListeners&gt;
  2302. &lt;add name="Diagnostics"
  2303. type="Common.Logging.Simple.CommonLoggingTraceListener, Common.Logging"
  2304. initializeData="DefaultTraceEventType=Information; LoggerNameFormat={listenerName}.{sourceName}"&gt;
  2305. &lt;filter type="System.Diagnostics.EventTypeFilter" initializeData="Information"/&gt;
  2306. &lt;/add&gt;
  2307. &lt;/sharedListeners&gt;
  2308. &lt;trace&gt;
  2309. &lt;listeners&gt;
  2310. &lt;add name="Diagnostics" /&gt;
  2311. &lt;/listeners&gt;
  2312. &lt;/trace&gt;
  2313. &lt;/system.diagnostics&gt;
  2314. </code>
  2315. </example>
  2316. <author>Erich Eichinger</author>
  2317. </member>
  2318. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.#ctor">
  2319. <summary>
  2320. Creates a new instance with the default name "Diagnostics" and <see cref="T:Common.Logging.LogLevel"/> "Trace".
  2321. </summary>
  2322. </member>
  2323. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.#ctor(System.String)">
  2324. <summary>
  2325. Creates a new instance initialized with properties from the <paramref name="initializeData"/>. string.
  2326. </summary>
  2327. <remarks>
  2328. <paramref name="initializeData"/> is a semicolon separated string of name/value pairs, where each pair has
  2329. the form <c>key=value</c>. E.g.
  2330. "<c>Name=MyLoggerName;LogLevel=Debug</c>"
  2331. </remarks>
  2332. <param name="initializeData">a semicolon separated list of name/value pairs.</param>
  2333. </member>
  2334. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.#ctor(System.Collections.Specialized.NameValueCollection)">
  2335. <summary>
  2336. Creates a new instance initialized with the specified properties.
  2337. </summary>
  2338. <param name="properties">name/value configuration properties.</param>
  2339. </member>
  2340. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.Log(System.Diagnostics.TraceEventType,System.String,System.Int32,System.String,System.Object[])">
  2341. <summary>
  2342. Logs the given message to the Common.Logging infrastructure.
  2343. </summary>
  2344. <param name="eventType">the eventType</param>
  2345. <param name="source">the <see cref="T:System.Diagnostics.TraceSource"/> name or category name passed into e.g. <see cref="M:System.Diagnostics.Trace.Write(System.Object,System.String)"/>.</param>
  2346. <param name="id">the id of this event</param>
  2347. <param name="format">the message format</param>
  2348. <param name="args">the message arguments</param>
  2349. </member>
  2350. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.Write(System.Object)">
  2351. <summary>
  2352. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
  2353. </summary>
  2354. </member>
  2355. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.Write(System.Object,System.String)">
  2356. <summary>
  2357. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
  2358. </summary>
  2359. </member>
  2360. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.Write(System.String)">
  2361. <summary>
  2362. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
  2363. </summary>
  2364. </member>
  2365. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.Write(System.String,System.String)">
  2366. <summary>
  2367. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
  2368. </summary>
  2369. </member>
  2370. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.WriteLine(System.Object)">
  2371. <summary>
  2372. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
  2373. </summary>
  2374. </member>
  2375. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.WriteLine(System.Object,System.String)">
  2376. <summary>
  2377. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
  2378. </summary>
  2379. </member>
  2380. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.WriteLine(System.String)">
  2381. <summary>
  2382. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
  2383. </summary>
  2384. </member>
  2385. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.WriteLine(System.String,System.String)">
  2386. <summary>
  2387. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>
  2388. </summary>
  2389. </member>
  2390. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32)">
  2391. <summary>
  2392. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>
  2393. </summary>
  2394. </member>
  2395. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String)">
  2396. <summary>
  2397. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>
  2398. </summary>
  2399. </member>
  2400. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[])">
  2401. <summary>
  2402. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>
  2403. </summary>
  2404. </member>
  2405. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.TraceData(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.Object[])">
  2406. <summary>
  2407. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>
  2408. </summary>
  2409. </member>
  2410. <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.TraceData(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.Object)">
  2411. <summary>
  2412. Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>
  2413. </summary>
  2414. </member>
  2415. <member name="P:Common.Logging.Simple.CommonLoggingTraceListener.DefaultTraceEventType">
  2416. <summary>
  2417. Sets the default <see cref="T:System.Diagnostics.TraceEventType"/> to use for logging
  2418. all events emitted by <see cref="T:System.Diagnostics.Trace"/><c>.Write(...)</c> and
  2419. <see cref="T:System.Diagnostics.Trace"/><c>.WriteLine(...)</c> methods.
  2420. </summary>
  2421. <remarks>
  2422. This listener captures all output sent by calls to <see cref="T:System.Diagnostics.Trace"/> and
  2423. sends it to an <see cref="T:Common.Logging.ILog"/> instance using the <see cref="T:Common.Logging.LogLevel"/> specified
  2424. on <see cref="T:Common.Logging.LogLevel"/>.
  2425. </remarks>
  2426. </member>
  2427. <member name="P:Common.Logging.Simple.CommonLoggingTraceListener.LoggerNameFormat">
  2428. <summary>
  2429. Format to use for creating the logger name. Defaults to "{listenerName}.{sourceName}".
  2430. </summary>
  2431. <remarks>
  2432. Available placeholders are:
  2433. <list type="bullet">
  2434. <item>{listenerName}: the configured name of this listener instance.</item>
  2435. <item>{sourceName}: the trace source name an event originates from (see e.g. <see cref="M:System.Diagnostics.TraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[])"/>.</item>
  2436. </list>
  2437. </remarks>
  2438. </member>
  2439. <member name="T:Common.Logging.ConfigurationSectionHandler">
  2440. <summary>
  2441. Used in an application's configuration file (App.Config or Web.Config) to configure the logging subsystem.
  2442. </summary>
  2443. <example>
  2444. An example configuration section that writes log messages to the Console using the
  2445. built-in Console Logger.
  2446. <code lang="XML">
  2447. &lt;configuration&gt;
  2448. &lt;configSections&gt;
  2449. &lt;sectionGroup name=&quot;common&quot;&gt;
  2450. &lt;section name=&quot;logging&quot; type=&quot;Common.Logging.ConfigurationSectionHandler, Common.Logging&quot; /&gt;
  2451. &lt;/sectionGroup&gt;
  2452. &lt;/configSections&gt;
  2453. &lt;common&gt;
  2454. &lt;logging&gt;
  2455. &lt;factoryAdapter type=&quot;Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter, Common.Logging&quot;&gt;
  2456. &lt;arg key=&quot;showLogName&quot; value=&quot;true&quot; /&gt;
  2457. &lt;arg key=&quot;showDateTime&quot; value=&quot;true&quot; /&gt;
  2458. &lt;arg key=&quot;level&quot; value=&quot;ALL&quot; /&gt;
  2459. &lt;arg key=&quot;dateTimeFormat&quot; value=&quot;yyyy/MM/dd HH:mm:ss:fff&quot; /&gt;
  2460. &lt;/factoryAdapter&gt;
  2461. &lt;/logging&gt;
  2462. &lt;/common&gt;
  2463. &lt;/configuration&gt;
  2464. </code>
  2465. </example>
  2466. </member>
  2467. <member name="M:Common.Logging.ConfigurationSectionHandler.#cctor">
  2468. <summary>
  2469. Ensure static fields get initialized before any class member
  2470. can be accessed (avoids beforeFieldInit)
  2471. </summary>
  2472. </member>
  2473. <member name="M:Common.Logging.ConfigurationSectionHandler.#ctor">
  2474. <summary>
  2475. Constructor
  2476. </summary>
  2477. </member>
  2478. <member name="M:Common.Logging.ConfigurationSectionHandler.ReadConfiguration(System.Xml.XmlNode)">
  2479. <summary>
  2480. Retrieves the <see cref="T:System.Type"/> of the logger the use by looking at the logFactoryAdapter element
  2481. of the logging configuration element.
  2482. </summary>
  2483. <param name="section"></param>
  2484. <returns>
  2485. A <see cref="T:Common.Logging.Configuration.LogSetting"/> object containing the specified type that implements
  2486. <see cref="T:Common.Logging.ILoggerFactoryAdapter"/> along with zero or more properties that will be
  2487. passed to the logger factory adapter's constructor as an <see cref="T:System.Collections.IDictionary"/>.
  2488. </returns>
  2489. </member>
  2490. <member name="M:Common.Logging.ConfigurationSectionHandler.Create(Common.Logging.Configuration.LogSetting,System.Object,System.Xml.XmlNode)">
  2491. <summary>
  2492. Verifies that the logFactoryAdapter element appears once in the configuration section.
  2493. </summary>
  2494. <param name="parent">settings of a parent section - atm this must always be null</param>
  2495. <param name="configContext">Additional information about the configuration process.</param>
  2496. <param name="section">The configuration section to apply an XPath query too.</param>
  2497. <returns>
  2498. A <see cref="T:Common.Logging.Configuration.LogSetting"/> object containing the specified logFactoryAdapter type
  2499. along with user supplied configuration properties.
  2500. </returns>
  2501. </member>
  2502. <member name="M:Common.Logging.ConfigurationSectionHandler.System#Configuration#IConfigurationSectionHandler#Create(System.Object,System.Object,System.Xml.XmlNode)">
  2503. <summary>
  2504. Verifies that the logFactoryAdapter element appears once in the configuration section.
  2505. </summary>
  2506. <param name="parent">The parent of the current item.</param>
  2507. <param name="configContext">Additional information about the configuration process.</param>
  2508. <param name="section">The configuration section to apply an XPath query too.</param>
  2509. <returns>
  2510. A <see cref="T:Common.Logging.Configuration.LogSetting"/> object containing the specified logFactoryAdapter type
  2511. along with user supplied configuration properties.
  2512. </returns>
  2513. </member>
  2514. <member name="T:Common.Logging.Simple.ConsoleOutLogger">
  2515. <summary>
  2516. Sends log messages to <see cref="P:System.Console.Out"/>.
  2517. </summary>
  2518. <author>Gilles Bayon</author>
  2519. </member>
  2520. <member name="M:Common.Logging.Simple.ConsoleOutLogger.#ctor(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  2521. <summary>
  2522. Creates and initializes a logger that writes messages to <see cref="P:System.Console.Out"/>.
  2523. </summary>
  2524. <param name="logName">The name, usually type name of the calling class, of the logger.</param>
  2525. <param name="logLevel">The current logging threshold. Messages recieved that are beneath this threshold will not be logged.</param>
  2526. <param name="showLevel">Include the current log level in the log message.</param>
  2527. <param name="showDateTime">Include the current time in the log message.</param>
  2528. <param name="showLogName">Include the instance name in the log message.</param>
  2529. <param name="dateTimeFormat">The date and time format to use in the log message.</param>
  2530. </member>
  2531. <member name="M:Common.Logging.Simple.ConsoleOutLogger.#ctor(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String,System.Boolean)">
  2532. <summary>
  2533. Creates and initializes a logger that writes messages to <see cref="P:System.Console.Out"/>.
  2534. </summary>
  2535. <param name="logName">The name, usually type name of the calling class, of the logger.</param>
  2536. <param name="logLevel">The current logging threshold. Messages recieved that are beneath this threshold will not be logged.</param>
  2537. <param name="showLevel">Include the current log level in the log message.</param>
  2538. <param name="showDateTime">Include the current time in the log message.</param>
  2539. <param name="showLogName">Include the instance name in the log message.</param>
  2540. <param name="dateTimeFormat">The date and time format to use in the log message.</param>
  2541. <param name="useColor">Use color when writing the log message.</param>
  2542. </member>
  2543. <member name="M:Common.Logging.Simple.ConsoleOutLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)">
  2544. <summary>
  2545. Do the actual logging by constructing the log message using a <see cref="T:System.Text.StringBuilder"/> then
  2546. sending the output to <see cref="P:System.Console.Out"/>.
  2547. </summary>
  2548. <param name="level">The <see cref="T:Common.Logging.LogLevel"/> of the message.</param>
  2549. <param name="message">The log message.</param>
  2550. <param name="e">An optional <see cref="T:System.Exception"/> associated with the message.</param>
  2551. </member>
  2552. <member name="T:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter">
  2553. <summary>
  2554. Factory for creating <see cref="T:Common.Logging.ILog"/> instances that write data to <see cref="P:System.Console.Out"/>.
  2555. </summary>
  2556. <remarks>
  2557. <example>
  2558. Below is an example how to configure this adapter:
  2559. <code>
  2560. &lt;configuration&gt;
  2561. &lt;configSections&gt;
  2562. &lt;sectionGroup name="common"&gt;
  2563. &lt;section name="logging"
  2564. type="Common.Logging.ConfigurationSectionHandler, Common.Logging"
  2565. requirePermission="false" /&gt;
  2566. &lt;/sectionGroup&gt;
  2567. &lt;/configSections&gt;
  2568. &lt;common&gt;
  2569. &lt;logging&gt;
  2570. &lt;factoryAdapter type="Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter, Common.Logging"&gt;
  2571. &lt;arg key="level" value="ALL" /&gt;
  2572. &lt;/factoryAdapter&gt;
  2573. &lt;/logging&gt;
  2574. &lt;/common&gt;
  2575. &lt;/configuration&gt;
  2576. </code>
  2577. </example>
  2578. </remarks>
  2579. <seealso cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/>
  2580. <seealso cref="P:Common.Logging.LogManager.Adapter"/>
  2581. <seealso cref="T:Common.Logging.ConfigurationSectionHandler"/>
  2582. <author>Gilles Bayon</author>
  2583. <author>Mark Pollack</author>
  2584. <author>Erich Eichinger</author>
  2585. </member>
  2586. <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor">
  2587. <summary>
  2588. Initializes a new instance of the <see cref="T:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter"/> class using default
  2589. settings.
  2590. </summary>
  2591. </member>
  2592. <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor(Common.Logging.Configuration.NameValueCollection)">
  2593. <summary>
  2594. Initializes a new instance of the <see cref="T:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter"/> class.
  2595. </summary>
  2596. <remarks>
  2597. Looks for level, showDateTime, showLogName, dateTimeFormat items from
  2598. <paramref name="properties"/> for use when the GetLogger methods are called.
  2599. <see cref="T:Common.Logging.ConfigurationSectionHandler"/> for more information on how to use the
  2600. standard .NET application configuraiton file (App.config/Web.config)
  2601. to configure this adapter.
  2602. </remarks>
  2603. <param name="properties">The name value collection, typically specified by the user in
  2604. a configuration section named common/logging.</param>
  2605. </member>
  2606. <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor(System.Collections.Specialized.NameValueCollection)">
  2607. <summary>
  2608. Constructor for binary backwards compatibility with non-portableversions
  2609. </summary>
  2610. <param name="properties">The properties.</param>
  2611. </member>
  2612. <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor(Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  2613. <summary>
  2614. Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class with
  2615. default settings for the loggers created by this factory.
  2616. </summary>
  2617. </member>
  2618. <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor(Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String,System.Boolean)">
  2619. <summary>
  2620. Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class with
  2621. default settings for the loggers created by this factory.
  2622. </summary>
  2623. </member>
  2624. <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.CreateLogger(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  2625. <summary>
  2626. Creates a new <see cref="T:Common.Logging.Simple.ConsoleOutLogger"/> instance.
  2627. </summary>
  2628. </member>
  2629. <member name="T:Common.Logging.Simple.TraceLogger">
  2630. <summary>
  2631. Logger sending everything to the trace output stream using <see cref="T:System.Diagnostics.Trace"/>.
  2632. </summary>
  2633. <remarks>
  2634. Beware not to use <see cref="T:Common.Logging.Simple.CommonLoggingTraceListener"/> in combination with this logger as
  2635. this would result in an endless loop for obvious reasons!
  2636. </remarks>
  2637. <seealso cref="P:Common.Logging.LogManager.Adapter"/>
  2638. <seealso cref="T:Common.Logging.ConfigurationSectionHandler"/>
  2639. <author>Gilles Bayon</author>
  2640. <author>Erich Eichinger</author>
  2641. </member>
  2642. <member name="M:Common.Logging.Simple.TraceLogger.#ctor(System.Boolean,System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  2643. <summary>
  2644. Creates a new TraceLogger instance.
  2645. </summary>
  2646. <param name="useTraceSource">whether to use <see cref="T:System.Diagnostics.TraceSource"/> or <see cref="T:System.Diagnostics.Trace"/> for logging.</param>
  2647. <param name="logName">the name of this logger</param>
  2648. <param name="logLevel">the default log level to use</param>
  2649. <param name="showLevel">Include the current log level in the log message.</param>
  2650. <param name="showDateTime">Include the current time in the log message.</param>
  2651. <param name="showLogName">Include the instance name in the log message.</param>
  2652. <param name="dateTimeFormat">The date and time format to use in the log message.</param>
  2653. </member>
  2654. <member name="M:Common.Logging.Simple.TraceLogger.IsLevelEnabled(Common.Logging.LogLevel)">
  2655. <summary>
  2656. Determines if the given log level is currently enabled.
  2657. checks <see cref="P:System.Diagnostics.TraceSource.Switch"/> if <see cref="P:Common.Logging.Simple.TraceLoggerFactoryAdapter.UseTraceSource"/> is true.
  2658. </summary>
  2659. </member>
  2660. <member name="M:Common.Logging.Simple.TraceLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)">
  2661. <summary>
  2662. Do the actual logging.
  2663. </summary>
  2664. <param name="level"></param>
  2665. <param name="message"></param>
  2666. <param name="e"></param>
  2667. </member>
  2668. <member name="M:Common.Logging.Simple.TraceLogger.OnDeserialization(System.Object)">
  2669. <summary>
  2670. Called after deserialization completed.
  2671. </summary>
  2672. </member>
  2673. <member name="T:Common.Logging.Simple.TraceLogger.FormatOutputMessage">
  2674. <summary>
  2675. Used to defer message formatting until it is really needed.
  2676. </summary>
  2677. <remarks>
  2678. This class also improves performance when multiple
  2679. <see cref="T:System.Diagnostics.TraceListener"/>s are configured.
  2680. </remarks>
  2681. </member>
  2682. <member name="T:Common.Logging.Simple.TraceLoggerFactoryAdapter">
  2683. <summary>
  2684. Factory for creating <see cref="T:Common.Logging.ILog"/> instances that send
  2685. everything to the <see cref="T:System.Diagnostics.Trace"/> output stream.
  2686. </summary>
  2687. <remarks>
  2688. Beware not to use <see cref="T:Common.Logging.Simple.CommonLoggingTraceListener"/> in combination with this logger factory
  2689. as this would result in an endless loop for obvious reasons!
  2690. <example>
  2691. Below is an example how to configure this adapter:
  2692. <code>
  2693. &lt;configuration&gt;
  2694. &lt;configSections&gt;
  2695. &lt;sectionGroup name="common"&gt;
  2696. &lt;section name="logging"
  2697. type="Common.Logging.ConfigurationSectionHandler, Common.Logging"
  2698. requirePermission="false" /&gt;
  2699. &lt;/sectionGroup&gt;
  2700. &lt;/configSections&gt;
  2701. &lt;common&gt;
  2702. &lt;logging&gt;
  2703. &lt;factoryAdapter type="Common.Logging.Simple.TraceLoggerFactoryAdapter, Common.Logging"&gt;
  2704. &lt;arg key="level" value="ALL" /&gt;
  2705. &lt;/factoryAdapter&gt;
  2706. &lt;/logging&gt;
  2707. &lt;/common&gt;
  2708. &lt;/configuration&gt;
  2709. </code>
  2710. </example>
  2711. </remarks>
  2712. <seealso cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/>
  2713. <seealso cref="P:Common.Logging.LogManager.Adapter"/>
  2714. <seealso cref="T:Common.Logging.ConfigurationSectionHandler"/>
  2715. <author>Gilles Bayon</author>
  2716. <author>Mark Pollack</author>
  2717. <author>Erich Eichinger</author>
  2718. </member>
  2719. <member name="M:Common.Logging.Simple.TraceLoggerFactoryAdapter.#ctor">
  2720. <summary>
  2721. Initializes a new instance of the <see cref="T:Common.Logging.Simple.TraceLoggerFactoryAdapter"/> class using default settings.
  2722. </summary>
  2723. </member>
  2724. <member name="M:Common.Logging.Simple.TraceLoggerFactoryAdapter.#ctor(Common.Logging.Configuration.NameValueCollection)">
  2725. <summary>
  2726. Initializes a new instance of the <see cref="T:Common.Logging.Simple.TraceLoggerFactoryAdapter"/> class.
  2727. </summary>
  2728. <remarks>
  2729. Looks for level, showDateTime, showLogName, dateTimeFormat items from
  2730. <paramref name="properties"/> for use when the GetLogger methods are called.
  2731. <see cref="T:Common.Logging.ConfigurationSectionHandler"/> for more information on how to use the
  2732. standard .NET application configuraiton file (App.config/Web.config)
  2733. to configure this adapter.
  2734. </remarks>
  2735. <param name="properties">The name value collection, typically specified by the user in
  2736. a configuration section named common/logging.</param>
  2737. </member>
  2738. <member name="M:Common.Logging.Simple.TraceLoggerFactoryAdapter.#ctor(Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String,System.Boolean)">
  2739. <summary>
  2740. Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class with
  2741. default settings for the loggers created by this factory.
  2742. </summary>
  2743. </member>
  2744. <member name="M:Common.Logging.Simple.TraceLoggerFactoryAdapter.CreateLogger(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
  2745. <summary>
  2746. Creates a new <see cref="T:Common.Logging.Simple.TraceLogger"/> instance.
  2747. </summary>
  2748. </member>
  2749. <member name="P:Common.Logging.Simple.TraceLoggerFactoryAdapter.UseTraceSource">
  2750. <summary>
  2751. Whether to use <see cref="T:System.Diagnostics.Trace"/>.<c>TraceXXXX(string,object[])</c> methods for logging
  2752. or <see cref="T:System.Diagnostics.TraceSource"/>.
  2753. </summary>
  2754. </member>
  2755. </members>
  2756. </doc>