b58e2267f241449786257bad1dc8a60b37bbc1f2.svn-base 161 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780
  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 Warnrmation.</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 Warnrmation.</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 Warnrmation.</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 Warnrmation.</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;showDataTime&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>