Common.Logging.xml 168 KB

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