12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780 |
- <?xml version="1.0"?>
- <doc>
- <assembly>
- <name>Common.Logging</name>
- </assembly>
- <members>
- <member name="T:CoverageExcludeAttribute">
- <summary>
- Indicates classes or members to be ignored by NCover
- </summary>
- <remarks>
- Note, the key is chosen, because TestDriven.NET uses it as //ea argument to "Test With... Coverage"
- </remarks>
- <author>Erich Eichinger</author>
- </member>
- <member name="T:Common.Logging.ConfigurationException">
- <summary>
- The exception that is thrown when a configuration system error has occurred with Common.Logging
- </summary>
- <author>Mark Pollack</author>
- </member>
- <member name="M:Common.Logging.ConfigurationException.#ctor">
- <summary>Creates a new instance of the ObjectsException class.</summary>
- </member>
- <member name="M:Common.Logging.ConfigurationException.#ctor(System.String)">
- <summary>
- Creates a new instance of the ConfigurationException class. with the specified message.
- </summary>
- <param name="message">
- A message about the exception.
- </param>
- </member>
- <member name="M:Common.Logging.ConfigurationException.#ctor(System.String,System.Exception)">
- <summary>
- Creates a new instance of the ConfigurationException class with the specified message
- and root cause.
- </summary>
- <param name="message">
- A message about the exception.
- </param>
- <param name="rootCause">
- The root exception that is being wrapped.
- </param>
- </member>
- <member name="M:Common.Logging.ConfigurationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
- <summary>
- Creates a new instance of the ConfigurationException class.
- </summary>
- <param name="info">
- The <see cref="T:System.Runtime.Serialization.SerializationInfo"/>
- that holds the serialized object data about the exception being thrown.
- </param>
- <param name="context">
- The <see cref="T:System.Runtime.Serialization.StreamingContext"/>
- that contains contextual information about the source or destination.
- </param>
- </member>
- <member name="T:Common.Logging.Configuration.ArgUtils">
- <summary>
- Various utility methods for using during factory and logger instance configuration
- </summary>
- <author>Erich Eichinger</author>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.#cctor">
- <summary>
- Initialize all members before any of this class' methods can be accessed (avoids beforeFieldInit)
- </summary>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.RegisterTypeParser``1(Common.Logging.Configuration.ArgUtils.ParseHandler{``0})">
- <summary>
- Adds the parser to the list of known type parsers.
- </summary>
- <remarks>
- .NET intrinsic types are pre-registerd: short, int, long, float, double, decimal, bool
- </remarks>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.GetValue(Common.Logging.Configuration.NameValueCollection,System.String)">
- <summary>
- Retrieves the named value from the specified <see cref="T:Common.Logging.Configuration.NameValueCollection"/>.
- </summary>
- <param name="values">may be null</param>
- <param name="key">the value's key</param>
- <returns>if <paramref key="values"/> is not null, the value returned by values[key]. <c>null</c> otherwise.</returns>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.GetValue(Common.Logging.Configuration.NameValueCollection,System.String,System.String)">
- <summary>
- Retrieves the named value from the specified <see cref="T:Common.Logging.Configuration.NameValueCollection"/>.
- </summary>
- <param name="values">may be null</param>
- <param name="key">the value's key</param>
- <param name="defaultValue">the default value, if not found</param>
- <returns>if <paramref key="values"/> is not null, the value returned by values[key]. <c>null</c> otherwise.</returns>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.Coalesce(System.String[])">
- <summary>
- Returns the first nonnull, nonempty value among its arguments.
- </summary>
- <remarks>
- Returns <c>null</c>, if the initial list was null or empty.
- </remarks>
- <seealso cref="M:Common.Logging.Configuration.ArgUtils.Coalesce``1(System.Predicate{``0},``0[])"/>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.Coalesce``1(System.Predicate{``0},``0[])">
- <summary>
- Returns the first nonnull, nonempty value among its arguments.
- </summary>
- <remarks>
- Also
- </remarks>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.TryParseEnum``1(``0,System.String)">
- <summary>
- Tries parsing <paramref key="stringValue"/> into an enum of the type of <paramref key="defaultValue"/>.
- </summary>
- <param name="defaultValue">the default value to return if parsing fails</param>
- <param name="stringValue">the string value to parse</param>
- <returns>the successfully parsed value, <paramref key="defaultValue"/> otherwise.</returns>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.TryParse``1(``0,System.String)">
- <summary>
- Tries parsing <paramref key="stringValue"/> into the specified return type.
- </summary>
- <param name="defaultValue">the default value to return if parsing fails</param>
- <param name="stringValue">the string value to parse</param>
- <returns>the successfully parsed value, <paramref key="defaultValue"/> otherwise.</returns>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.AssertNotNull``1(System.String,``0)">
- <summary>
- Throws a <see cref="T:System.ArgumentNullException"/> if <paramref key="val"/> is <c>null</c>.
- </summary>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.AssertNotNull``1(System.String,``0,System.String,System.Object[])">
- <summary>
- Throws a <see cref="T:System.ArgumentNullException"/> if <paramref key="val"/> is <c>null</c>.
- </summary>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.AssertIsAssignable``1(System.String,System.Type)">
- <summary>
- Throws a <see cref="T:System.ArgumentOutOfRangeException"/> if an object of type <paramref key="valType"/> is not
- assignable to type <typeparam key="T"></typeparam>.
- </summary>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.AssertIsAssignable``1(System.String,System.Type,System.String,System.Object[])">
- <summary>
- Throws a <see cref="T:System.ArgumentOutOfRangeException"/> if an object of type <paramref key="valType"/> is not
- assignable to type <typeparam key="T"></typeparam>.
- </summary>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.Guard(Common.Logging.Configuration.ArgUtils.Action,System.String,System.Object[])">
- <summary>
- Ensures any exception thrown by the given <paramref key="action"/> is wrapped with an
- <see cref="T:Common.Logging.ConfigurationException"/>.
- </summary>
- <remarks>
- If <paramref key="action"/> already throws a ConfigurationException, it will not be wrapped.
- </remarks>
- <param name="action">the action to execute</param>
- <param name="messageFormat">the message to be set on the thrown <see cref="T:Common.Logging.ConfigurationException"/></param>
- <param name="args">args to be passed to <see cref="M:System.String.Format(System.String,System.Object[])"/> to format the message</param>
- </member>
- <member name="M:Common.Logging.Configuration.ArgUtils.Guard``1(Common.Logging.Configuration.ArgUtils.Function{``0},System.String,System.Object[])">
- <summary>
- Ensures any exception thrown by the given <paramref key="function"/> is wrapped with an
- <see cref="T:Common.Logging.ConfigurationException"/>.
- </summary>
- <remarks>
- If <paramref key="function"/> already throws a ConfigurationException, it will not be wrapped.
- </remarks>
- <param name="function">the action to execute</param>
- <param name="messageFormat">the message to be set on the thrown <see cref="T:Common.Logging.ConfigurationException"/></param>
- <param name="args">args to be passed to <see cref="M:System.String.Format(System.String,System.Object[])"/> to format the message</param>
- </member>
- <member name="T:Common.Logging.Configuration.ArgUtils.ParseHandler`1">
- <summary>
- A delegate converting a string representation into the target type
- </summary>
- </member>
- <member name="T:Common.Logging.Configuration.ArgUtils.Action">
- <summary>
- An anonymous action delegate with no arguments and no return value.
- </summary>
- <seealso cref="M:Common.Logging.Configuration.ArgUtils.Guard(Common.Logging.Configuration.ArgUtils.Action,System.String,System.Object[])"/>
- </member>
- <member name="T:Common.Logging.Configuration.ArgUtils.Function`1">
- <summary>
- An anonymous action delegate with no arguments and no return value.
- </summary>
- <seealso cref="M:Common.Logging.Configuration.ArgUtils.Guard``1(Common.Logging.Configuration.ArgUtils.Function{``0},System.String,System.Object[])"/>
- </member>
- <member name="T:Common.Logging.Configuration.DefaultConfigurationReader">
- <summary>
- Implementation of <see cref="T:Common.Logging.IConfigurationReader"/> that uses the standard .NET
- configuration APIs, ConfigurationSettings in 1.x and ConfigurationManager in 2.0
- </summary>
- <author>Mark Pollack</author>
- </member>
- <member name="M:Common.Logging.Configuration.DefaultConfigurationReader.GetSection(System.String)">
- <summary>
- Parses the configuration section and returns the resulting object.
- Using the <c>System.Configuration.ConfigurationManager</c>
- </summary>
- <param name="sectionName">Name of the configuration section.</param>
- <returns>
- Object created by a corresponding <c>IConfigurationSectionHandler"</c>
- </returns>
- <remarks>
- <p>
- Primary purpose of this method is to allow us to parse and
- load configuration sections using the same API regardless
- of the .NET framework version.
- </p>
- </remarks>
- </member>
- <member name="T:Common.Logging.Configuration.LogSetting">
- <summary>
- Container used to hold configuration information from config file.
- </summary>
- <author>Gilles Bayon</author>
- </member>
- <member name="M:Common.Logging.Configuration.LogSetting.#ctor(System.Type,Common.Logging.Configuration.NameValueCollection)">
- <summary>
-
- </summary>
- <param name="factoryAdapterType">
- The <see cref="T:Common.Logging.ILoggerFactoryAdapter"/> type
- that will be used for creating <see cref="T:Common.Logging.ILog"/>
- </param>
- <param name="properties">
- Additional user supplied properties that are passed to the
- <paramref key="factoryAdapterType"/>'s constructor.
- </param>
- </member>
- <member name="P:Common.Logging.Configuration.LogSetting.FactoryAdapterType">
- <summary>
- The <see cref="T:Common.Logging.ILoggerFactoryAdapter"/> type that will be used for creating <see cref="T:Common.Logging.ILog"/>
- instances.
- </summary>
- </member>
- <member name="P:Common.Logging.Configuration.LogSetting.Properties">
- <summary>
- Additional user supplied properties that are passed to the <see cref="P:Common.Logging.Configuration.LogSetting.FactoryAdapterType"/>'s constructor.
- </summary>
- </member>
- <member name="T:Common.Logging.Configuration.NameValueCollection">
- <summary>
- Substitute NameValueCollection in System.Collections.Specialized.
- </summary>
- </member>
- <member name="M:Common.Logging.Configuration.NameValueCollection.#ctor">
- <summary>
- Creates a new instance of <seealso cref="T:Common.Logging.Configuration.NameValueCollection">NameValueCollection</seealso>.
- </summary>
- </member>
- <member name="M:Common.Logging.Configuration.NameValueCollection.GetValues(System.String)">
- <summary>
- Gets the values (only a single one) for the specified key (configuration name)
- </summary>
- <param name="key">The key.</param>
- <returns>an array with one value, or null if no value exist</returns>
- </member>
- <member name="P:Common.Logging.Configuration.NameValueCollection.Item(System.String)">
- <summary>
- Gets or sets the value with the specified key.
- </summary>
- <value>
- The value corrsponding to the key, or null if no value exist
- </value>
- <param name="key">The key.</param>
- <returns>value store for the key</returns>
- </member>
- <member name="T:Common.Logging.Configuration.NameValueCollectionHelper">
- <summary>
- Helper class for working with NameValueCollection
- </summary>
- </member>
- <member name="M:Common.Logging.Configuration.NameValueCollectionHelper.ToCommonLoggingCollection(System.Collections.Specialized.NameValueCollection)">
- <summary>
- Convert a <see cref="T:System.Collections.Specialized.NameValueCollection"/> into the corresponding
- common logging equivalent <see cref="T:Common.Logging.Configuration.NameValueCollection"/>
- </summary>
- <param name="properties">The properties.</param>
- <returns></returns>
- </member>
- <member name="T:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter">
- <summary>
- An implementation of <see cref="T:Common.Logging.ILoggerFactoryAdapter"/> that caches loggers handed out by this factory.
- </summary>
- <remarks>
- Implementors just need to override <see cref="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.CreateLogger(System.String)"/>.
- </remarks>
- <author>Erich Eichinger</author>
- </member>
- <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.#ctor">
- <summary>
- Creates a new instance, the logger cache being case-sensitive.
- </summary>
- </member>
- <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.#ctor(System.Boolean)">
- <summary>
- Creates a new instance, the logger cache being <paramref key="caseSensitiveLoggerCache"/>.
- </summary>
- <param name="caseSensitiveLoggerCache"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.ClearLoggerCache">
- <summary>
- Purges all loggers from cache
- </summary>
- </member>
- <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.CreateLogger(System.String)">
- <summary>
- Create the specified named logger instance
- </summary>
- <remarks>
- Derived factories need to implement this method to create the
- actual logger instance.
- </remarks>
- </member>
- <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.GetLogger(System.Type)">
- <summary>
- Get a ILog instance by <see cref="T:System.Type"/>.
- </summary>
- <param name="type">Usually the <see cref="T:System.Type"/> of the current class.</param>
- <returns>
- 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)"/>.
- </returns>
- </member>
- <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.GetLogger(System.String)">
- <summary>
- Get a ILog instance by key.
- </summary>
- <param name="key">Usually a <see cref="T:System.Type"/>'s Name or FullName property.</param>
- <returns>
- 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)"/>.
- </returns>
- </member>
- <member name="M:Common.Logging.Factory.AbstractCachingLoggerFactoryAdapter.GetLoggerInternal(System.String)">
- <summary>
- Get or create a ILog instance by key.
- </summary>
- <param name="key">Usually a <see cref="T:System.Type"/>'s Name or FullName property.</param>
- <returns>
- 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)"/>.
- </returns>
- </member>
- <member name="T:Common.Logging.Factory.AbstractLogger">
- <summary>
- Provides base implementation suitable for almost all logger adapters
- </summary>
- <author>Erich Eichinger</author>
- </member>
- <member name="F:Common.Logging.Factory.AbstractLogger.Write">
- <summary>
- Holds the method for writing a message to the log system.
- </summary>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.#ctor">
- <summary>
- Creates a new logger instance using <see cref="M:Common.Logging.Factory.AbstractLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)"/> for
- writing log events to the underlying log system.
- </summary>
- <seealso cref="M:Common.Logging.Factory.AbstractLogger.GetWriteHandler"/>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.GetWriteHandler">
- <summary>
- Override this method to use a different method than <see cref="M:Common.Logging.Factory.AbstractLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)"/>
- for writing log events to the underlying log system.
- </summary>
- <remarks>
- Usually you don't need to override thise method. The default implementation returns
- <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
- used.
- </remarks>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)">
- <summary>
- Actually sends the message to the underlying log system.
- </summary>
- <param name="level">the level of this log event.</param>
- <param name="message">the message to log</param>
- <param name="exception">the exception to log (may be null)</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Trace(System.Object)">
- <summary>
- Log a message object with the <see cref="F:Common.Logging.LogLevel.Trace"/> level.
- </summary>
- <param name="message">The message object to log.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Trace(System.Object,System.Exception)">
- <summary>
- Log a message object with the <see cref="F:Common.Logging.LogLevel.Trace"/> level including
- the stack trace of the <see cref="T:System.Exception"/> passed
- as a parameter.
- </summary>
- <param name="message">The message object to log.</param>
- <param name="exception">The exception to log, including its stack trace.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.TraceFormat(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.TraceFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.TraceFormat(System.String,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args">the list of format arguments</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.TraceFormat(System.String,System.Exception,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of format arguments</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Trace(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Trace(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack trace.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Trace(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Trace(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Trace"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack trace.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Debug(System.Object)">
- <summary>
- Log a message object with the <see cref="F:Common.Logging.LogLevel.Debug"/> level.
- </summary>
- <param name="message">The message object to log.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Debug(System.Object,System.Exception)">
- <summary>
- Log a message object with the <see cref="F:Common.Logging.LogLevel.Debug"/> level including
- the stack Debug of the <see cref="T:System.Exception"/> passed
- as a parameter.
- </summary>
- <param name="message">The message object to log.</param>
- <param name="exception">The exception to log, including its stack Debug.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.DebugFormat(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.DebugFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.DebugFormat(System.String,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args">the list of format arguments</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.DebugFormat(System.String,System.Exception,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of format arguments</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Debug(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Debug(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Debug.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Debug(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Debug(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Debug"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Debug.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Info(System.Object)">
- <summary>
- Log a message object with the <see cref="F:Common.Logging.LogLevel.Info"/> level.
- </summary>
- <param name="message">The message object to log.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Info(System.Object,System.Exception)">
- <summary>
- Log a message object with the <see cref="F:Common.Logging.LogLevel.Info"/> level including
- the stack Info of the <see cref="T:System.Exception"/> passed
- as a parameter.
- </summary>
- <param name="message">The message object to log.</param>
- <param name="exception">The exception to log, including its stack Info.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.InfoFormat(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.InfoFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.InfoFormat(System.String,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args">the list of format arguments</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.InfoFormat(System.String,System.Exception,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of format arguments</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Info(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Info(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Info.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Info(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Info(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Info"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Info.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Warn(System.Object)">
- <summary>
- Log a message object with the <see cref="F:Common.Logging.LogLevel.Warn"/> level.
- </summary>
- <param name="message">The message object to log.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Warn(System.Object,System.Exception)">
- <summary>
- Log a message object with the <see cref="F:Common.Logging.LogLevel.Warn"/> level including
- the stack Warn of the <see cref="T:System.Exception"/> passed
- as a parameter.
- </summary>
- <param name="message">The message object to log.</param>
- <param name="exception">The exception to log, including its stack Warn.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.WarnFormat(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Warnrmation.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.WarnFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Warnrmation.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.WarnFormat(System.String,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args">the list of format arguments</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.WarnFormat(System.String,System.Exception,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of format arguments</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Warn(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Warn(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Warn.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Warn(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Warn(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Warn"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Warn.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Error(System.Object)">
- <summary>
- Log a message object with the <see cref="F:Common.Logging.LogLevel.Error"/> level.
- </summary>
- <param name="message">The message object to log.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Error(System.Object,System.Exception)">
- <summary>
- Log a message object with the <see cref="F:Common.Logging.LogLevel.Error"/> level including
- the stack Error of the <see cref="T:System.Exception"/> passed
- as a parameter.
- </summary>
- <param name="message">The message object to log.</param>
- <param name="exception">The exception to log, including its stack Error.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.ErrorFormat(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Errorrmation.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.ErrorFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Errorrmation.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.ErrorFormat(System.String,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args">the list of format arguments</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.ErrorFormat(System.String,System.Exception,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of format arguments</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Error(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Error(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Error.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Error(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Error(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Error"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Error.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Fatal(System.Object)">
- <summary>
- Log a message object with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level.
- </summary>
- <param name="message">The message object to log.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Fatal(System.Object,System.Exception)">
- <summary>
- Log a message object with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level including
- the stack Fatal of the <see cref="T:System.Exception"/> passed
- as a parameter.
- </summary>
- <param name="message">The message object to log.</param>
- <param name="exception">The exception to log, including its stack Fatal.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.FatalFormat(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Fatalrmation.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.FatalFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Fatalrmation.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.FatalFormat(System.String,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args">the list of format arguments</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.FatalFormat(System.String,System.Exception,System.Object[])">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of format arguments</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Fatal(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Fatal(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Fatal.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Fatal(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.Fatal(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Log a message with the <see cref="F:Common.Logging.LogLevel.Fatal"/> level using a callback to obtain the message
- </summary>
- <remarks>
- Using this method avoids the cost of creating a message and evaluating message arguments
- that probably won't be logged due to loglevel settings.
- </remarks>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Fatal.</param>
- </member>
- <member name="P:Common.Logging.Factory.AbstractLogger.IsTraceEnabled">
- <summary>
- Checks if this logger is enabled for the <see cref="F:Common.Logging.LogLevel.Trace"/> level.
- </summary>
- <remarks>
- Override this in your derived class to comply with the underlying logging system
- </remarks>
- </member>
- <member name="P:Common.Logging.Factory.AbstractLogger.IsDebugEnabled">
- <summary>
- Checks if this logger is enabled for the <see cref="F:Common.Logging.LogLevel.Debug"/> level.
- </summary>
- <remarks>
- Override this in your derived class to comply with the underlying logging system
- </remarks>
- </member>
- <member name="P:Common.Logging.Factory.AbstractLogger.IsInfoEnabled">
- <summary>
- Checks if this logger is enabled for the <see cref="F:Common.Logging.LogLevel.Info"/> level.
- </summary>
- <remarks>
- Override this in your derived class to comply with the underlying logging system
- </remarks>
- </member>
- <member name="P:Common.Logging.Factory.AbstractLogger.IsWarnEnabled">
- <summary>
- Checks if this logger is enabled for the <see cref="F:Common.Logging.LogLevel.Warn"/> level.
- </summary>
- <remarks>
- Override this in your derived class to comply with the underlying logging system
- </remarks>
- </member>
- <member name="P:Common.Logging.Factory.AbstractLogger.IsErrorEnabled">
- <summary>
- Checks if this logger is enabled for the <see cref="F:Common.Logging.LogLevel.Error"/> level.
- </summary>
- <remarks>
- Override this in your derived class to comply with the underlying logging system
- </remarks>
- </member>
- <member name="P:Common.Logging.Factory.AbstractLogger.IsFatalEnabled">
- <summary>
- Checks if this logger is enabled for the <see cref="F:Common.Logging.LogLevel.Fatal"/> level.
- </summary>
- <remarks>
- Override this in your derived class to comply with the underlying logging system
- </remarks>
- </member>
- <member name="P:Common.Logging.Factory.AbstractLogger.GlobalVariablesContext">
- <summary>
- Returns the global context for variables
- </summary>
- </member>
- <member name="P:Common.Logging.Factory.AbstractLogger.ThreadVariablesContext">
- <summary>
- Returns the thread-specific context for variables
- </summary>
- </member>
- <member name="T:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage">
- <summary>
- Format message on demand.
- </summary>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage.#ctor(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage"/> class.
- </summary>
- <param name="formatMessageCallback">The format message callback.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage.#ctor(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage"/> class.
- </summary>
- <param name="formatProvider">The format provider.</param>
- <param name="formatMessageCallback">The format message callback.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage.ToString">
- <summary>
- Calls <see cref="F:Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage.formatMessageCallback"/> and returns result.
- </summary>
- <returns></returns>
- </member>
- <member name="T:Common.Logging.Factory.AbstractLogger.StringFormatFormattedMessage">
- <summary>
- Format string on demand.
- </summary>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.StringFormatFormattedMessage.#ctor(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Factory.AbstractLogger.StringFormatFormattedMessage"/> class.
- </summary>
- <param name="formatProvider">The format provider.</param>
- <param name="message">The message.</param>
- <param name="args">The args.</param>
- </member>
- <member name="M:Common.Logging.Factory.AbstractLogger.StringFormatFormattedMessage.ToString">
- <summary>
- Runs <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> on supplied arguemnts.
- </summary>
- <returns>string</returns>
- </member>
- <member name="T:Common.Logging.Factory.AbstractLogger.WriteHandler">
- <summary>
- Represents a method responsible for writing a message to the log system.
- </summary>
- </member>
- <member name="T:Common.Logging.LogManager">
- <summary>
- Use the LogManager's <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/> or <see cref="M:Common.Logging.LogManager.GetLogger(System.Type)"/>
- methods to obtain <see cref="T:Common.Logging.ILog"/> instances for logging.
- </summary>
- <remarks>
- For configuring the underlying log system using application configuration, see the example
- at <c>System.Configuration.ConfigurationManager</c>
- For configuring programmatically, see the example section below.
- </remarks>
- <example>
- The example below shows the typical use of LogManager to obtain a reference to a logger
- and log an exception:
- <code>
-
- ILog log = LogManager.GetLogger(this.GetType());
- ...
- try
- {
- /* .... */
- }
- catch(Exception ex)
- {
- log.ErrorFormat("Hi {0}", ex, "dude");
- }
-
- </code>
- The example below shows programmatic configuration of the underlying log system:
- <code>
-
- // create properties
- NameValueCollection properties = new NameValueCollection();
- properties["showDateTime"] = "true";
-
- // set Adapter
- Common.Logging.LogManager.Adapter = new
- Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter(properties);
-
- </code>
- </example>
- <seealso cref="T:Common.Logging.ILog"/>
- <seealso cref="P:Common.Logging.LogManager.Adapter"/>
- <seealso cref="T:Common.Logging.ILoggerFactoryAdapter"/>
- <author>Gilles Bayon</author>
- </member>
- <member name="M:Common.Logging.LogManager.#cctor">
- <summary>
- Performs static 1-time init of LogManager by calling <see cref="M:Common.Logging.LogManager.Reset"/>
- </summary>
- </member>
- <member name="M:Common.Logging.LogManager.Reset">
- <summary>
- Reset the <see cref="N:Common.Logging"/> infrastructure to its default settings. This means, that configuration settings
- will be re-read from section <c><common/logging></c> of your <c>app.config</c>.
- </summary>
- <remarks>
- This is mainly used for unit testing, you wouldn't normally use this in your applications.<br/>
- <b>Note:</b><see cref="T:Common.Logging.ILog"/> instances already handed out from this LogManager are not(!) affected.
- Resetting LogManager only affects new instances being handed out.
- </remarks>
- </member>
- <member name="M:Common.Logging.LogManager.Reset(Common.Logging.IConfigurationReader)">
- <summary>
- Reset the <see cref="N:Common.Logging"/> infrastructure to its default settings. This means, that configuration settings
- will be re-read from section <c><common/logging></c> of your <c>app.config</c>.
- </summary>
- <remarks>
- This is mainly used for unit testing, you wouldn't normally use this in your applications.<br/>
- <b>Note:</b><see cref="T:Common.Logging.ILog"/> instances already handed out from this LogManager are not(!) affected.
- Resetting LogManager only affects new instances being handed out.
- </remarks>
- <param name="reader">
- the <see cref="T:Common.Logging.IConfigurationReader"/> instance to obtain settings for
- re-initializing the LogManager.
- </param>
- </member>
- <member name="M:Common.Logging.LogManager.GetCurrentClassLogger">
- <summary>
- Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.Type)"/>
- on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the type of the calling class.
- </summary>
- <remarks>
- This method needs to inspect the <see cref="T:System.Diagnostics.StackTrace"/> in order to determine the calling
- class. This of course comes with a performance penalty, thus you shouldn't call it too
- often in your application.
- </remarks>
- <seealso cref="M:Common.Logging.LogManager.GetLogger(System.Type)"/>
- <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
- </member>
- <member name="M:Common.Logging.LogManager.Common#Logging#ILogManager#GetCurrentClassLogger">
- <summary>
- Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.Type)"/>
- on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the type of the calling class.
- </summary>
- <remarks>
- This method needs to inspect the <see cref="T:System.Diagnostics.StackTrace"/> in order to determine the calling
- class. This of course comes with a performance penalty, thus you shouldn't call it too
- often in your application.
- </remarks>
- <seealso cref="M:Common.Logging.LogManager.GetLogger(System.Type)"/>
- <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
- </member>
- <member name="M:Common.Logging.LogManager.GetLogger``1">
- <summary>
- Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.Type)"/>
- on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the specified type.
- </summary>
- <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
- </member>
- <member name="M:Common.Logging.LogManager.Common#Logging#ILogManager#GetLogger``1">
- <summary>
- Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.Type)"/>
- on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the specified type.
- </summary>
- <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
- </member>
- <member name="M:Common.Logging.LogManager.GetLogger(System.Type)">
- <summary>
- Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.Type)"/>
- on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the specified type.
- </summary>
- <param name="type">The type.</param>
- <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
- </member>
- <member name="M:Common.Logging.LogManager.Common#Logging#ILogManager#GetLogger(System.Type)">
- <summary>
- Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.Type)"/>
- on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the specified type.
- </summary>
- <param name="type">The type.</param>
- <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
- </member>
- <member name="M:Common.Logging.LogManager.GetLogger(System.String)">
- <summary>
- Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.String)"/>
- on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the specified key.
- </summary>
- <param name="key">The key.</param>
- <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
- </member>
- <member name="M:Common.Logging.LogManager.Common#Logging#ILogManager#GetLogger(System.String)">
- <summary>
- Gets the logger by calling <see cref="M:Common.Logging.ILoggerFactoryAdapter.GetLogger(System.String)"/>
- on the currently configured <see cref="P:Common.Logging.LogManager.Adapter"/> using the specified key.
- </summary>
- <param name="key">The key.</param>
- <returns>the logger instance obtained from the current <see cref="P:Common.Logging.LogManager.Adapter"/></returns>
- </member>
- <member name="M:Common.Logging.LogManager.BuildLoggerFactoryAdapter">
- <summary>
- Builds the logger factory adapter.
- </summary>
- <returns>a factory adapter instance. Is never <c>null</c>.</returns>
- </member>
- <member name="M:Common.Logging.LogManager.BuildLoggerFactoryAdapterFromLogSettings(Common.Logging.Configuration.LogSetting)">
- <summary>
- Builds a <see cref="T:Common.Logging.ILoggerFactoryAdapter"/> instance from the given <see cref="T:Common.Logging.Configuration.LogSetting"/>
- using <see cref="T:System.Activator"/>.
- </summary>
- <param name="setting"></param>
- <returns>the <see cref="T:Common.Logging.ILoggerFactoryAdapter"/> instance. Is never <c>null</c></returns>
- </member>
- <member name="P:Common.Logging.LogManager.COMMON_LOGGING_SECTION">
- <summary>
- The key of the default configuration section to read settings from.
- </summary>
- <remarks>
- You can always change the source of your configuration settings by setting another <see cref="T:Common.Logging.IConfigurationReader"/> instance
- on <see cref="P:Common.Logging.LogManager.ConfigurationReader"/>.
- </remarks>
- </member>
- <member name="P:Common.Logging.LogManager.Common#Logging#ILogManager#COMMON_LOGGING_SECTION">
- <summary>
- The key of the default configuration section to read settings from.
- </summary>
- <remarks>
- You can always change the source of your configuration settings by setting another <see cref="T:Common.Logging.IConfigurationReader"/> instance
- on <see cref="P:Common.Logging.LogManager.ConfigurationReader"/>.
- </remarks>
- </member>
- <member name="P:Common.Logging.LogManager.ConfigurationReader">
- <summary>
- Gets the configuration reader used to initialize the LogManager.
- </summary>
- <remarks>Primarily used for testing purposes but maybe useful to obtain configuration
- information from some place other than the .NET application configuration file.</remarks>
- <value>The configuration reader.</value>
- </member>
- <member name="P:Common.Logging.LogManager.Common#Logging#ILogManager#ConfigurationReader">
- <summary>
- Gets the configuration reader used to initialize the LogManager.
- </summary>
- <remarks>Primarily used for testing purposes but maybe useful to obtain configuration
- information from some place other than the .NET application configuration file.</remarks>
- <value>The configuration reader.</value>
- </member>
- <member name="P:Common.Logging.LogManager.Adapter">
- <summary>
- Gets or sets the adapter.
- </summary>
- <value>The adapter.</value>
- </member>
- <member name="P:Common.Logging.LogManager.Common#Logging#ILogManager#Adapter">
- <summary>
- Gets or sets the adapter.
- </summary>
- <value>The adapter.</value>
- </member>
- <member name="T:Common.Logging.Simple.AbstractSimpleLogger">
- <summary>
- Abstract class providing a standard implementation of simple loggers.
- </summary>
- <author>Erich Eichinger</author>
- </member>
- <member name="M:Common.Logging.Simple.AbstractSimpleLogger.#ctor(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
- <summary>
- Creates and initializes a the simple logger.
- </summary>
- <param name="logName">The key, usually type key of the calling class, of the logger.</param>
- <param name="logLevel">The current logging threshold. Messages recieved that are beneath this threshold will not be logged.</param>
- <param name="showlevel">Include level in the log message.</param>
- <param name="showDateTime">Include the current time in the log message.</param>
- <param name="showLogName">Include the instance key in the log message.</param>
- <param name="dateTimeFormat">The date and time format to use in the log message.</param>
- </member>
- <member name="M:Common.Logging.Simple.AbstractSimpleLogger.FormatOutput(System.Text.StringBuilder,Common.Logging.LogLevel,System.Object,System.Exception)">
- <summary>
- Appends the formatted message to the specified <see cref="T:System.Text.StringBuilder"/>.
- </summary>
- <param name="stringBuilder">the <see cref="T:System.Text.StringBuilder"/> that receíves the formatted message.</param>
- <param name="level"></param>
- <param name="message"></param>
- <param name="e"></param>
- </member>
- <member name="M:Common.Logging.Simple.AbstractSimpleLogger.IsLevelEnabled(Common.Logging.LogLevel)">
- <summary>
- Determines if the given log level is currently enabled.
- </summary>
- <param name="level"></param>
- <returns></returns>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.Name">
- <summary>
- The key of the logger.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.ShowLevel">
- <summary>
- Include the current log level in the log message.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.ShowDateTime">
- <summary>
- Include the current time in the log message.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.ShowLogName">
- <summary>
- Include the instance key in the log message.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.CurrentLogLevel">
- <summary>
- The current logging threshold. Messages recieved that are beneath this threshold will not be logged.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.DateTimeFormat">
- <summary>
- The date and time format to use in the log message.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.HasDateTimeFormat">
- <summary>
- Determines Whether <see cref="P:Common.Logging.Simple.AbstractSimpleLogger.DateTimeFormat"/> is set.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.IsTraceEnabled">
- <summary>
- Returns <see langword="true"/> if the current <see cref="T:Common.Logging.LogLevel"/> is greater than or
- equal to <see cref="F:Common.Logging.LogLevel.Trace"/>. If it is, all messages will be sent to <see cref="P:System.Console.Out"/>.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.IsDebugEnabled">
- <summary>
- Returns <see langword="true"/> if the current <see cref="T:Common.Logging.LogLevel"/> is greater than or
- equal to <see cref="F:Common.Logging.LogLevel.Debug"/>. If it is, all messages will be sent to <see cref="P:System.Console.Out"/>.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.IsInfoEnabled">
- <summary>
- Returns <see langword="true"/> if the current <see cref="T:Common.Logging.LogLevel"/> is greater than or
- equal to <see cref="F:Common.Logging.LogLevel.Info"/>. If it is, only messages with a <see cref="T:Common.Logging.LogLevel"/> of
- <see cref="F:Common.Logging.LogLevel.Info"/>, <see cref="F:Common.Logging.LogLevel.Warn"/>, <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"/>.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.IsWarnEnabled">
- <summary>
- Returns <see langword="true"/> if the current <see cref="T:Common.Logging.LogLevel"/> is greater than or
- equal to <see cref="F:Common.Logging.LogLevel.Warn"/>. If it is, only messages with a <see cref="T:Common.Logging.LogLevel"/> of
- <see cref="F:Common.Logging.LogLevel.Warn"/>, <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"/>.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.IsErrorEnabled">
- <summary>
- Returns <see langword="true"/> if the current <see cref="T:Common.Logging.LogLevel"/> is greater than or
- equal to <see cref="F:Common.Logging.LogLevel.Error"/>. If it is, only messages with a <see cref="T:Common.Logging.LogLevel"/> of
- <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"/>.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLogger.IsFatalEnabled">
- <summary>
- Returns <see langword="true"/> if the current <see cref="T:Common.Logging.LogLevel"/> is greater than or
- equal to <see cref="F:Common.Logging.LogLevel.Fatal"/>. If it is, only messages with a <see cref="T:Common.Logging.LogLevel"/> of
- <see cref="F:Common.Logging.LogLevel.Fatal"/> will be sent to <see cref="P:System.Console.Out"/>.
- </summary>
- </member>
- <member name="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter">
- <summary>
- Base factory implementation for creating simple <see cref="T:Common.Logging.ILog"/> instances.
- </summary>
- <remarks>Default settings are LogLevel.All, showDateTime = true, showLogName = true, and no DateTimeFormat.
- The keys in the NameValueCollection to configure this adapter are the following
- <list type="bullet">
- <item>level</item>
- <item>showDateTime</item>
- <item>showLogName</item>
- <item>dateTimeFormat</item>
- </list>
- <example>
- Here is an example how to implement your own logging adapter:
- <code>
- public class ConsoleOutLogger : AbstractSimpleLogger
- {
- public ConsoleOutLogger(string logName, LogLevel logLevel, bool showLevel, bool showDateTime,
- bool showLogName, string dateTimeFormat)
- : base(logName, logLevel, showLevel, showDateTime, showLogName, dateTimeFormat)
- {
- }
-
- protected override void WriteInternal(LogLevel level, object message, Exception e)
- {
- // Use a StringBuilder for better performance
- StringBuilder sb = new StringBuilder();
- FormatOutput(sb, level, message, e);
-
- // Print to the appropriate destination
- Console.Out.WriteLine(sb.ToString());
- }
- }
-
- public class ConsoleOutLoggerFactoryAdapter : AbstractSimpleLoggerFactoryAdapter
- {
- public ConsoleOutLoggerFactoryAdapter(NameValueCollection properties)
- : base(properties)
- { }
-
- protected override ILog CreateLogger(string key, LogLevel level, bool showLevel, bool
- showDateTime, bool showLogName, string dateTimeFormat)
- {
- ILog log = new ConsoleOutLogger(key, level, showLevel, showDateTime, showLogName,
- dateTimeFormat);
- return log;
- }
- }
- </code>
- </example>
- </remarks>
- <author>Gilles Bayon</author>
- <author>Mark Pollack</author>
- <author>Erich Eichinger</author>
- </member>
- <member name="M:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.#ctor(Common.Logging.Configuration.NameValueCollection)">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class.
- </summary>
- <remarks>
- Looks for level, showDateTime, showLogName, dateTimeFormat items from
- <paramref key="properties"/> for use when the GetLogger methods are called.
- <c>System.Configuration.ConfigurationManager</c> for more information on how to use the
- standard .NET application configuraiton file (App.config/Web.config)
- to configure this adapter.
- </remarks>
- <param name="properties">The key value collection, typically specified by the user in
- a configuration section named common/logging.</param>
- </member>
- <member name="M:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.#ctor(Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class with
- default settings for the loggers created by this factory.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.CreateLogger(System.String)">
- <summary>
- Create the specified logger instance
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.CreateLogger(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
- <summary>
- Derived factories need to implement this method to create the
- actual logger instance.
- </summary>
- <returns>a new logger instance. Must never be <c>null</c>!</returns>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.Level">
- <summary>
- The default <see cref="T:Common.Logging.LogLevel"/> to use when creating new <see cref="T:Common.Logging.ILog"/> instances.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.ShowLevel">
- <summary>
- The default setting to use when creating new <see cref="T:Common.Logging.ILog"/> instances.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.ShowDateTime">
- <summary>
- The default setting to use when creating new <see cref="T:Common.Logging.ILog"/> instances.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.ShowLogName">
- <summary>
- The default setting to use when creating new <see cref="T:Common.Logging.ILog"/> instances.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter.DateTimeFormat">
- <summary>
- The default setting to use when creating new <see cref="T:Common.Logging.ILog"/> instances.
- </summary>
- </member>
- <member name="T:Common.Logging.Simple.CapturingLogger">
- <summary>
- A logger created by <see cref="T:Common.Logging.Simple.CapturingLoggerFactoryAdapter"/> that
- sends all log events to the owning adapter's <see cref="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.AddEvent(Common.Logging.Simple.CapturingLoggerEvent)"/>
- </summary>
- <author>Erich Eichinger</author>
- </member>
- <member name="F:Common.Logging.Simple.CapturingLogger.Owner">
- <summary>
- The adapter that created this logger instance.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CapturingLogger.Clear">
- <summary>
- Clears all captured events
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CapturingLogger.ClearLastEvent">
- <summary>
- Resets the <see cref="P:Common.Logging.Simple.CapturingLogger.LastEvent"/> to <c>null</c>.
- </summary>
- </member>
- <member name="F:Common.Logging.Simple.CapturingLogger.LoggerEvents">
- <summary>
- Holds the list of logged events.
- </summary>
- <remarks>
- To access this collection in a multithreaded application, put a lock on the list instance.
- </remarks>
- </member>
- <member name="M:Common.Logging.Simple.CapturingLogger.AddEvent(Common.Logging.Simple.CapturingLoggerEvent)">
- <summary>
- <see cref="T:Common.Logging.Simple.CapturingLogger"/> instances send their captured log events to this method.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CapturingLogger.#ctor(Common.Logging.Simple.CapturingLoggerFactoryAdapter,System.String)">
- <summary>
- Create a new logger instance.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CapturingLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)">
- <summary>
- 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)"/>
- </summary>
- <param name="level"></param>
- <param name="message"></param>
- <param name="exception"></param>
- </member>
- <member name="P:Common.Logging.Simple.CapturingLogger.LastEvent">
- <summary>
- Holds the last log event received from any of this adapter's loggers.
- </summary>
- </member>
- <member name="T:Common.Logging.Simple.CapturingLoggerEvent">
- <summary>
- A logging event captured by <see cref="T:Common.Logging.Simple.CapturingLogger"/>
- </summary>
- <author>Erich Eichinger</author>
- </member>
- <member name="F:Common.Logging.Simple.CapturingLoggerEvent.Source">
- <summary>
- The logger that logged this event
- </summary>
- </member>
- <member name="F:Common.Logging.Simple.CapturingLoggerEvent.Level">
- <summary>
- The level used to log this event
- </summary>
- </member>
- <member name="F:Common.Logging.Simple.CapturingLoggerEvent.MessageObject">
- <summary>
- The raw message object
- </summary>
- </member>
- <member name="F:Common.Logging.Simple.CapturingLoggerEvent.Exception">
- <summary>
- A logged exception
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CapturingLoggerEvent.#ctor(Common.Logging.Simple.CapturingLogger,Common.Logging.LogLevel,System.Object,System.Exception)">
- <summary>
- Create a new event instance
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.CapturingLoggerEvent.RenderedMessage">
- <summary>
- Retrieves the formatted message text
- </summary>
- </member>
- <member name="T:Common.Logging.Simple.CapturingLoggerFactoryAdapter">
- <summary>
- 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)"/>.
- Retrieve the list of log events from <see cref="F:Common.Logging.Simple.CapturingLoggerFactoryAdapter.LoggerEvents"/>.
- </summary>
- <remarks>
- This logger factory is mainly for debugging and test purposes.
- <example>
- This is an example how you might use this adapter for testing:
- <code>
- // configure for capturing
- CapturingLoggerFactoryAdapter adapter = new CapturingLoggerFactoryAdapter();
- LogManager.Adapter = adapter;
-
- // reset capture state
- adapter.Clear();
- // log something
- ILog log = LogManager.GetCurrentClassLogger();
- log.DebugFormat("Current Time:{0}", DateTime.Now);
-
- // check logged data
- Assert.AreEqual(1, adapter.LoggerEvents.Count);
- Assert.AreEqual(LogLevel.Debug, adapter.LastEvent.Level);
- </code>
- </example>
- </remarks>
- <author>Erich Eichinger</author>
- </member>
- <member name="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.Clear">
- <summary>
- Clears all captured events
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.ClearLastEvent">
- <summary>
- Resets the <see cref="P:Common.Logging.Simple.CapturingLoggerFactoryAdapter.LastEvent"/> to <c>null</c>.
- </summary>
- </member>
- <member name="F:Common.Logging.Simple.CapturingLoggerFactoryAdapter.LoggerEvents">
- <summary>
- Holds the list of logged events.
- </summary>
- <remarks>
- To access this collection in a multithreaded application, put a lock on the list instance.
- </remarks>
- </member>
- <member name="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.AddEvent(Common.Logging.Simple.CapturingLoggerEvent)">
- <summary>
- <see cref="T:Common.Logging.Simple.CapturingLogger"/> instances send their captured log events to this method.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.GetLogger(System.Type)">
- <summary>
- Get a <see cref="T:Common.Logging.Simple.CapturingLogger"/> instance for the given type.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CapturingLoggerFactoryAdapter.GetLogger(System.String)">
- <summary>
- Get a <see cref="T:Common.Logging.Simple.CapturingLogger"/> instance for the given key.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.CapturingLoggerFactoryAdapter.LastEvent">
- <summary>
- Holds the last log event received from any of this adapter's loggers.
- </summary>
- </member>
- <member name="T:Common.Logging.Simple.DebugOutLogger">
- <summary>
- Sends log messages to <see cref="T:System.Diagnostics.Debug"/>.
- </summary>
- <author>Gilles Bayon</author>
- </member>
- <member name="M:Common.Logging.Simple.DebugOutLogger.#ctor(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
- <summary>
- Creates and initializes a logger that writes messages to <see cref="T:System.Diagnostics.Debug"/>.
- </summary>
- <param name="logName">The key, usually type key of the calling class, of the logger.</param>
- <param name="logLevel">The current logging threshold. Messages recieved that are beneath this threshold will not be logged.</param>
- <param name="showLevel">Include the current log level in the log message.</param>
- <param name="showDateTime">Include the current time in the log message.</param>
- <param name="showLogName">Include the instance key in the log message.</param>
- <param name="dateTimeFormat">The date and time format to use in the log message.</param>
- </member>
- <member name="M:Common.Logging.Simple.DebugOutLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)">
- <summary>
- Do the actual logging by constructing the log message using a <see cref="T:System.Text.StringBuilder"/> then
- sending the output to <see cref="P:System.Console.Out"/>.
- </summary>
- <param name="level">The <see cref="T:Common.Logging.LogLevel"/> of the message.</param>
- <param name="message">The log message.</param>
- <param name="e">An optional <see cref="T:System.Exception"/> associated with the message.</param>
- </member>
- <member name="T:Common.Logging.Simple.DebugLoggerFactoryAdapter">
- <summary>
- Factory for creating <see cref="T:Common.Logging.ILog"/> instances that write data using <see cref="M:System.Diagnostics.Debug.WriteLine(System.String)"/>.
- </summary>
- <remarks>
- <example>
- Below is an example how to configure this adapter:
- <code>
- <configuration>
-
- <configSections>
- <sectionGroup key="common">
- <section key="logging"
- type="Common.Logging.ConfigurationSectionHandler, Common.Logging"
- requirePermission="false" />
- </sectionGroup>
- </configSections>
-
- <common>
- <logging>
- <factoryAdapter type="Common.Logging.Simple.DebugLoggerFactoryAdapter, Common.Logging">
- <arg key="level" value="ALL" />
- </factoryAdapter>
- </logging>
- </common>
-
- </configuration>
- </code>
- </example>
- </remarks>
- <seealso cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/>
- <author>Gilles Bayon</author>
- <author>Mark Pollack</author>
- <author>Erich Eichinger</author>
- </member>
- <member name="M:Common.Logging.Simple.DebugLoggerFactoryAdapter.#ctor">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Simple.DebugLoggerFactoryAdapter"/> class using default
- settings.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.DebugLoggerFactoryAdapter.#ctor(Common.Logging.Configuration.NameValueCollection)">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Simple.DebugLoggerFactoryAdapter"/> class.
- </summary>
- <remarks>
- Looks for level, showDateTime, showLogName, dateTimeFormat items from
- <paramref key="properties"/> for use when the GetLogger methods are called.
- <see cref="T:System.Configuration.ConfigurationManager"/> for more information on how to use the
- standard .NET application configuraiton file (App.config/Web.config)
- to configure this adapter.
- </remarks>
- <param name="properties">The key value collection, typically specified by the user in
- a configuration section named common/logging.</param>
- </member>
- <member name="M:Common.Logging.Simple.DebugLoggerFactoryAdapter.#ctor(Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class with
- default settings for the loggers created by this factory.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.DebugLoggerFactoryAdapter.CreateLogger(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
- <summary>
- Creates a new <see cref="T:Common.Logging.Simple.DebugOutLogger"/> instance.
- </summary>
- </member>
- <member name="T:Common.Logging.Simple.ExceptionFormatter">
- <summary>
- </summary>
- </member>
- <member name="T:Common.Logging.Simple.NoOpLogger">
- <summary>
- Silently ignores all log messages.
- </summary>
- <author>Gilles Bayon</author>
- <author>Erich Eichinger</author>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Trace(System.Object)">
- <summary>
- Ignores message.
- </summary>
- <param name="message"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Trace(System.Object,System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="message"></param>
- <param name="e"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.TraceFormat(System.String,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.TraceFormat(System.String,System.Exception,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.TraceFormat(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.TraceFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Trace(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Ignores message.
- </summary>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Trace(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack trace.</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Trace(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Trace(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack trace.</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Debug(System.Object)">
- <summary>
- Ignores message.
- </summary>
- <param name="message"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Debug(System.Object,System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="message"></param>
- <param name="e"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.DebugFormat(System.String,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.DebugFormat(System.String,System.Exception,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.DebugFormat(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.DebugFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Debug(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Ignores message.
- </summary>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Debug(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Debug.</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Debug(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Debug(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Debug.</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Info(System.Object)">
- <summary>
- Ignores message.
- </summary>
- <param name="message"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Info(System.Object,System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="message"></param>
- <param name="e"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.InfoFormat(System.String,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.InfoFormat(System.String,System.Exception,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.InfoFormat(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.InfoFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Info(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Ignores message.
- </summary>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Info(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Info.</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Info(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Info(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Info.</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Warn(System.Object)">
- <summary>
- Ignores message.
- </summary>
- <param name="message"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Warn(System.Object,System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="message"></param>
- <param name="e"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.WarnFormat(System.String,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.WarnFormat(System.String,System.Exception,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.WarnFormat(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Warnrmation.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.WarnFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Warnrmation.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Warn(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Ignores message.
- </summary>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Warn(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Warn.</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Warn(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Warn(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Warn.</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Error(System.Object)">
- <summary>
- Ignores message.
- </summary>
- <param name="message"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Error(System.Object,System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="message"></param>
- <param name="e"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.ErrorFormat(System.String,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.ErrorFormat(System.String,System.Exception,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.ErrorFormat(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Errorrmation.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.ErrorFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Errorrmation.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Error(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Ignores message.
- </summary>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Error(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Error.</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Error(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Error(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Error.</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Fatal(System.Object)">
- <summary>
- Ignores message.
- </summary>
- <param name="message"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Fatal(System.Object,System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="message"></param>
- <param name="e"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.FatalFormat(System.String,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args"></param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.FatalFormat(System.String,System.Exception,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.FatalFormat(System.IFormatProvider,System.String,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Fatalrmation.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.FatalFormat(System.IFormatProvider,System.String,System.Exception,System.Object[])">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting Fatalrmation.</param>
- <param name="format">The format of the message object to log.<see cref="M:System.String.Format(System.String,System.Object[])"/> </param>
- <param name="exception">The exception to log.</param>
- <param name="args">the list of message format arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Fatal(System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Ignores message.
- </summary>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Fatal(System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Fatal.</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Fatal(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler})">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLogger.Fatal(System.IFormatProvider,System.Action{Common.Logging.FormatMessageHandler},System.Exception)">
- <summary>
- Ignores message.
- </summary>
- <param name="formatProvider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
- <param name="formatMessageCallback">A callback used by the logger to obtain the message if log level is matched</param>
- <param name="exception">The exception to log, including its stack Fatal.</param>
- </member>
- <member name="P:Common.Logging.Simple.NoOpLogger.IsTraceEnabled">
- <summary>
- Always returns <see langword="false" />.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.NoOpLogger.IsDebugEnabled">
- <summary>
- Always returns <see langword="false" />.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.NoOpLogger.IsInfoEnabled">
- <summary>
- Always returns <see langword="false" />.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.NoOpLogger.IsWarnEnabled">
- <summary>
- Always returns <see langword="false" />.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.NoOpLogger.IsErrorEnabled">
- <summary>
- Always returns <see langword="false" />.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.NoOpLogger.IsFatalEnabled">
- <summary>
- Always returns <see langword="false" />.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.NoOpLogger.GlobalVariablesContext">
- <summary>
- Returns the global context for variables
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.NoOpLogger.ThreadVariablesContext">
- <summary>
- Returns the thread-specific context for variables
- </summary>
- </member>
- <member name="T:Common.Logging.Simple.NoOpLoggerFactoryAdapter">
- <summary>
- Factory for creating <see cref="T:Common.Logging.ILog"/> instances that silently ignores
- logging requests.
- </summary>
- <remarks>
- This logger adapter is the default used by Common.Logging if unconfigured. Using this logger adapter is the most efficient
- way to suppress any logging output.
- <example>
- Below is an example how to configure this adapter:
- <code>
- <configuration>
-
- <configSections>
- <sectionGroup key="common">
- <section key="logging"
- type="Common.Logging.ConfigurationSectionHandler, Common.Logging"
- requirePermission="false" />
- </sectionGroup>
- </configSections>
-
- <common>
- <logging>
- <factoryAdapter type="Common.Logging.Simple.NoOpLoggerFactoryAdapter, Common.Logging">
- <arg key="level" value="ALL" />
- </factoryAdapter>
- </logging>
- </common>
-
- </configuration>
- </code>
- </example>
- </remarks>
- <author>Gilles Bayon</author>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLoggerFactoryAdapter.#ctor">
- <summary>
- Constructor
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLoggerFactoryAdapter.#ctor(Common.Logging.Configuration.NameValueCollection)">
- <summary>
- Constructor
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLoggerFactoryAdapter.#ctor(System.Collections.Specialized.NameValueCollection)">
- <summary>
- Constructor for binary backwards compatibility
- </summary>
- <param name="properties">The properties.</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLoggerFactoryAdapter.GetLogger(System.Type)">
- <summary>
- Get a ILog instance by type
- </summary>
- <param name="type"></param>
- <returns></returns>
- </member>
- <member name="M:Common.Logging.Simple.NoOpLoggerFactoryAdapter.Common#Logging#ILoggerFactoryAdapter#GetLogger(System.String)">
- <summary>
- Get a ILog instance by type key
- </summary>
- <param name="key"></param>
- <returns></returns>
- </member>
- <member name="T:Common.Logging.Simple.NoOpVariablesContext">
- <summary>
- A null-functionality implementation of <see cref="T:Common.Logging.IVariablesContext"/>
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.NoOpVariablesContext.Set(System.String,System.Object)">
- <summary>
- Sets the value of a new or existing variable within the global context
- </summary>
- <param name="key">The key of the variable that is to be added</param>
- <param name="value">The value to add</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpVariablesContext.Get(System.String)">
- <summary>
- Gets the value of a variable within the global context
- </summary>
- <param name="key">The key of the variable to get</param>
- <returns>The value or null if not found</returns>
- </member>
- <member name="M:Common.Logging.Simple.NoOpVariablesContext.Contains(System.String)">
- <summary>
- Checks if a variable is set within the global context
- </summary>
- <param name="key">The key of the variable to check for</param>
- <returns>True if the variable is set</returns>
- </member>
- <member name="M:Common.Logging.Simple.NoOpVariablesContext.Remove(System.String)">
- <summary>
- Removes a variable from the global context by key
- </summary>
- <param name="key">The key of the variable to remove</param>
- </member>
- <member name="M:Common.Logging.Simple.NoOpVariablesContext.Clear">
- <summary>
- Clears the global context variables
- </summary>
- </member>
- <member name="T:Common.Logging.Simple.CommonLoggingTraceListener">
- <summary>
- A <see cref="T:System.Diagnostics.TraceListener"/> implementation sending all <see cref="T:System.Diagnostics.Trace">System.Diagnostics.Trace</see> output to
- the Common.Logging infrastructure.
- </summary>
- <remarks>
- This listener captures all output sent by calls to <see cref="T:System.Diagnostics.Trace">System.Diagnostics.Trace</see> and
- and <see cref="T:System.Diagnostics.TraceSource"/> and sends it to an <see cref="T:Common.Logging.ILog"/> instance.<br/>
- The <see cref="T:Common.Logging.ILog"/> instance to be used is obtained by calling
- <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>. The name of the logger is created by passing
- this listener's <see cref="P:System.Diagnostics.TraceListener.Name"/> and any <c>source</c> or <c>category</c> passed
- 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).
- </remarks>
- <example>
- The snippet below shows how to add and configure this listener to your app.config:
- <code lang="XML">
- <system.diagnostics>
- <sharedListeners>
- <add name="Diagnostics"
- type="Common.Logging.Simple.CommonLoggingTraceListener, Common.Logging"
- initializeData="DefaultTraceEventType=Information; LoggerNameFormat={listenerName}.{sourceName}">
- <filter type="System.Diagnostics.EventTypeFilter" initializeData="Information"/>
- </add>
- </sharedListeners>
- <trace>
- <listeners>
- <add name="Diagnostics" />
- </listeners>
- </trace>
- </system.diagnostics>
- </code>
- </example>
- <author>Erich Eichinger</author>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.#ctor">
- <summary>
- Creates a new instance with the default name "Diagnostics" and <see cref="T:Common.Logging.LogLevel"/> "Trace".
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.#ctor(System.String)">
- <summary>
- Creates a new instance initialized with properties from the <paramref name="initializeData"/>. string.
- </summary>
- <remarks>
- <paramref name="initializeData"/> is a semicolon separated string of name/value pairs, where each pair has
- the form <c>key=value</c>. E.g.
- "<c>Name=MyLoggerName;LogLevel=Debug</c>"
- </remarks>
- <param name="initializeData">a semicolon separated list of name/value pairs.</param>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.#ctor(System.Collections.Specialized.NameValueCollection)">
- <summary>
- Creates a new instance initialized with the specified properties.
- </summary>
- <param name="properties">name/value configuration properties.</param>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.Log(System.Diagnostics.TraceEventType,System.String,System.Int32,System.String,System.Object[])">
- <summary>
- Logs the given message to the Common.Logging infrastructure.
- </summary>
- <param name="eventType">the eventType</param>
- <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>
- <param name="id">the id of this event</param>
- <param name="format">the message format</param>
- <param name="args">the message arguments</param>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.Write(System.Object)">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.Write(System.Object,System.String)">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.Write(System.String)">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.Write(System.String,System.String)">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.WriteLine(System.Object)">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.WriteLine(System.Object,System.String)">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.WriteLine(System.String)">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.WriteLine(System.String,System.String)">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32)">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String)">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[])">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.TraceData(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.Object[])">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.CommonLoggingTraceListener.TraceData(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.Object)">
- <summary>
- Writes message to logger provided by <see cref="M:Common.Logging.LogManager.GetLogger(System.String)"/>
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.CommonLoggingTraceListener.DefaultTraceEventType">
- <summary>
- Sets the default <see cref="T:System.Diagnostics.TraceEventType"/> to use for logging
- all events emitted by <see cref="T:System.Diagnostics.Trace"/><c>.Write(...)</c> and
- <see cref="T:System.Diagnostics.Trace"/><c>.WriteLine(...)</c> methods.
- </summary>
- <remarks>
- This listener captures all output sent by calls to <see cref="T:System.Diagnostics.Trace"/> and
- sends it to an <see cref="T:Common.Logging.ILog"/> instance using the <see cref="T:Common.Logging.LogLevel"/> specified
- on <see cref="T:Common.Logging.LogLevel"/>.
- </remarks>
- </member>
- <member name="P:Common.Logging.Simple.CommonLoggingTraceListener.LoggerNameFormat">
- <summary>
- Format to use for creating the logger name. Defaults to "{listenerName}.{sourceName}".
- </summary>
- <remarks>
- Available placeholders are:
- <list type="bullet">
- <item>{listenerName}: the configured name of this listener instance.</item>
- <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>
- </list>
- </remarks>
- </member>
- <member name="T:Common.Logging.ConfigurationSectionHandler">
- <summary>
- Used in an application's configuration file (App.Config or Web.Config) to configure the logging subsystem.
- </summary>
- <example>
- An example configuration section that writes log messages to the Console using the
- built-in Console Logger.
- <code lang="XML">
- <configuration>
- <configSections>
- <sectionGroup name="common">
- <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
- </sectionGroup>
- </configSections>
- <common>
- <logging>
- <factoryAdapter type="Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter, Common.Logging">
- <arg key="showLogName" value="true" />
- <arg key="showDataTime" value="true" />
- <arg key="level" value="ALL" />
- <arg key="dateTimeFormat" value="yyyy/MM/dd HH:mm:ss:fff" />
- </factoryAdapter>
- </logging>
- </common>
- </configuration>
- </code>
- </example>
- </member>
- <member name="M:Common.Logging.ConfigurationSectionHandler.#cctor">
- <summary>
- Ensure static fields get initialized before any class member
- can be accessed (avoids beforeFieldInit)
- </summary>
- </member>
- <member name="M:Common.Logging.ConfigurationSectionHandler.#ctor">
- <summary>
- Constructor
- </summary>
- </member>
- <member name="M:Common.Logging.ConfigurationSectionHandler.ReadConfiguration(System.Xml.XmlNode)">
- <summary>
- Retrieves the <see cref="T:System.Type"/> of the logger the use by looking at the logFactoryAdapter element
- of the logging configuration element.
- </summary>
- <param name="section"></param>
- <returns>
- A <see cref="T:Common.Logging.Configuration.LogSetting"/> object containing the specified type that implements
- <see cref="T:Common.Logging.ILoggerFactoryAdapter"/> along with zero or more properties that will be
- passed to the logger factory adapter's constructor as an <see cref="T:System.Collections.IDictionary"/>.
- </returns>
- </member>
- <member name="M:Common.Logging.ConfigurationSectionHandler.Create(Common.Logging.Configuration.LogSetting,System.Object,System.Xml.XmlNode)">
- <summary>
- Verifies that the logFactoryAdapter element appears once in the configuration section.
- </summary>
- <param name="parent">settings of a parent section - atm this must always be null</param>
- <param name="configContext">Additional information about the configuration process.</param>
- <param name="section">The configuration section to apply an XPath query too.</param>
- <returns>
- A <see cref="T:Common.Logging.Configuration.LogSetting"/> object containing the specified logFactoryAdapter type
- along with user supplied configuration properties.
- </returns>
- </member>
- <member name="M:Common.Logging.ConfigurationSectionHandler.System#Configuration#IConfigurationSectionHandler#Create(System.Object,System.Object,System.Xml.XmlNode)">
- <summary>
- Verifies that the logFactoryAdapter element appears once in the configuration section.
- </summary>
- <param name="parent">The parent of the current item.</param>
- <param name="configContext">Additional information about the configuration process.</param>
- <param name="section">The configuration section to apply an XPath query too.</param>
- <returns>
- A <see cref="T:Common.Logging.Configuration.LogSetting"/> object containing the specified logFactoryAdapter type
- along with user supplied configuration properties.
- </returns>
- </member>
- <member name="T:Common.Logging.Simple.ConsoleOutLogger">
- <summary>
- Sends log messages to <see cref="P:System.Console.Out"/>.
- </summary>
- <author>Gilles Bayon</author>
- </member>
- <member name="M:Common.Logging.Simple.ConsoleOutLogger.#ctor(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
- <summary>
- Creates and initializes a logger that writes messages to <see cref="P:System.Console.Out"/>.
- </summary>
- <param name="logName">The name, usually type name of the calling class, of the logger.</param>
- <param name="logLevel">The current logging threshold. Messages recieved that are beneath this threshold will not be logged.</param>
- <param name="showLevel">Include the current log level in the log message.</param>
- <param name="showDateTime">Include the current time in the log message.</param>
- <param name="showLogName">Include the instance name in the log message.</param>
- <param name="dateTimeFormat">The date and time format to use in the log message.</param>
- </member>
- <member name="M:Common.Logging.Simple.ConsoleOutLogger.#ctor(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String,System.Boolean)">
- <summary>
- Creates and initializes a logger that writes messages to <see cref="P:System.Console.Out"/>.
- </summary>
- <param name="logName">The name, usually type name of the calling class, of the logger.</param>
- <param name="logLevel">The current logging threshold. Messages recieved that are beneath this threshold will not be logged.</param>
- <param name="showLevel">Include the current log level in the log message.</param>
- <param name="showDateTime">Include the current time in the log message.</param>
- <param name="showLogName">Include the instance name in the log message.</param>
- <param name="dateTimeFormat">The date and time format to use in the log message.</param>
- <param name="useColor">Use color when writing the log message.</param>
- </member>
- <member name="M:Common.Logging.Simple.ConsoleOutLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)">
- <summary>
- Do the actual logging by constructing the log message using a <see cref="T:System.Text.StringBuilder"/> then
- sending the output to <see cref="P:System.Console.Out"/>.
- </summary>
- <param name="level">The <see cref="T:Common.Logging.LogLevel"/> of the message.</param>
- <param name="message">The log message.</param>
- <param name="e">An optional <see cref="T:System.Exception"/> associated with the message.</param>
- </member>
- <member name="T:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter">
- <summary>
- Factory for creating <see cref="T:Common.Logging.ILog"/> instances that write data to <see cref="P:System.Console.Out"/>.
- </summary>
- <remarks>
- <example>
- Below is an example how to configure this adapter:
- <code>
- <configuration>
-
- <configSections>
- <sectionGroup name="common">
- <section name="logging"
- type="Common.Logging.ConfigurationSectionHandler, Common.Logging"
- requirePermission="false" />
- </sectionGroup>
- </configSections>
-
- <common>
- <logging>
- <factoryAdapter type="Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter, Common.Logging">
- <arg key="level" value="ALL" />
- </factoryAdapter>
- </logging>
- </common>
-
- </configuration>
- </code>
- </example>
- </remarks>
- <seealso cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/>
- <seealso cref="P:Common.Logging.LogManager.Adapter"/>
- <seealso cref="T:Common.Logging.ConfigurationSectionHandler"/>
- <author>Gilles Bayon</author>
- <author>Mark Pollack</author>
- <author>Erich Eichinger</author>
- </member>
- <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter"/> class using default
- settings.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor(Common.Logging.Configuration.NameValueCollection)">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter"/> class.
- </summary>
- <remarks>
- Looks for level, showDateTime, showLogName, dateTimeFormat items from
- <paramref name="properties"/> for use when the GetLogger methods are called.
- <see cref="T:Common.Logging.ConfigurationSectionHandler"/> for more information on how to use the
- standard .NET application configuraiton file (App.config/Web.config)
- to configure this adapter.
- </remarks>
- <param name="properties">The name value collection, typically specified by the user in
- a configuration section named common/logging.</param>
- </member>
- <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor(System.Collections.Specialized.NameValueCollection)">
- <summary>
- Constructor for binary backwards compatibility with non-portableversions
- </summary>
- <param name="properties">The properties.</param>
- </member>
- <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor(Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class with
- default settings for the loggers created by this factory.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.#ctor(Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String,System.Boolean)">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class with
- default settings for the loggers created by this factory.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter.CreateLogger(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
- <summary>
- Creates a new <see cref="T:Common.Logging.Simple.ConsoleOutLogger"/> instance.
- </summary>
- </member>
- <member name="T:Common.Logging.Simple.TraceLogger">
- <summary>
- Logger sending everything to the trace output stream using <see cref="T:System.Diagnostics.Trace"/>.
- </summary>
- <remarks>
- Beware not to use <see cref="T:Common.Logging.Simple.CommonLoggingTraceListener"/> in combination with this logger as
- this would result in an endless loop for obvious reasons!
- </remarks>
- <seealso cref="P:Common.Logging.LogManager.Adapter"/>
- <seealso cref="T:Common.Logging.ConfigurationSectionHandler"/>
- <author>Gilles Bayon</author>
- <author>Erich Eichinger</author>
- </member>
- <member name="M:Common.Logging.Simple.TraceLogger.#ctor(System.Boolean,System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
- <summary>
- Creates a new TraceLogger instance.
- </summary>
- <param name="useTraceSource">whether to use <see cref="T:System.Diagnostics.TraceSource"/> or <see cref="T:System.Diagnostics.Trace"/> for logging.</param>
- <param name="logName">the name of this logger</param>
- <param name="logLevel">the default log level to use</param>
- <param name="showLevel">Include the current log level in the log message.</param>
- <param name="showDateTime">Include the current time in the log message.</param>
- <param name="showLogName">Include the instance name in the log message.</param>
- <param name="dateTimeFormat">The date and time format to use in the log message.</param>
- </member>
- <member name="M:Common.Logging.Simple.TraceLogger.IsLevelEnabled(Common.Logging.LogLevel)">
- <summary>
- Determines if the given log level is currently enabled.
- checks <see cref="P:System.Diagnostics.TraceSource.Switch"/> if <see cref="P:Common.Logging.Simple.TraceLoggerFactoryAdapter.UseTraceSource"/> is true.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.TraceLogger.WriteInternal(Common.Logging.LogLevel,System.Object,System.Exception)">
- <summary>
- Do the actual logging.
- </summary>
- <param name="level"></param>
- <param name="message"></param>
- <param name="e"></param>
- </member>
- <member name="M:Common.Logging.Simple.TraceLogger.OnDeserialization(System.Object)">
- <summary>
- Called after deserialization completed.
- </summary>
- </member>
- <member name="T:Common.Logging.Simple.TraceLogger.FormatOutputMessage">
- <summary>
- Used to defer message formatting until it is really needed.
- </summary>
- <remarks>
- This class also improves performance when multiple
- <see cref="T:System.Diagnostics.TraceListener"/>s are configured.
- </remarks>
- </member>
- <member name="T:Common.Logging.Simple.TraceLoggerFactoryAdapter">
- <summary>
- Factory for creating <see cref="T:Common.Logging.ILog"/> instances that send
- everything to the <see cref="T:System.Diagnostics.Trace"/> output stream.
- </summary>
- <remarks>
- Beware not to use <see cref="T:Common.Logging.Simple.CommonLoggingTraceListener"/> in combination with this logger factory
- as this would result in an endless loop for obvious reasons!
- <example>
- Below is an example how to configure this adapter:
- <code>
- <configuration>
-
- <configSections>
- <sectionGroup name="common">
- <section name="logging"
- type="Common.Logging.ConfigurationSectionHandler, Common.Logging"
- requirePermission="false" />
- </sectionGroup>
- </configSections>
-
- <common>
- <logging>
- <factoryAdapter type="Common.Logging.Simple.TraceLoggerFactoryAdapter, Common.Logging">
- <arg key="level" value="ALL" />
- </factoryAdapter>
- </logging>
- </common>
-
- </configuration>
- </code>
- </example>
- </remarks>
- <seealso cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/>
- <seealso cref="P:Common.Logging.LogManager.Adapter"/>
- <seealso cref="T:Common.Logging.ConfigurationSectionHandler"/>
- <author>Gilles Bayon</author>
- <author>Mark Pollack</author>
- <author>Erich Eichinger</author>
- </member>
- <member name="M:Common.Logging.Simple.TraceLoggerFactoryAdapter.#ctor">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Simple.TraceLoggerFactoryAdapter"/> class using default settings.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.TraceLoggerFactoryAdapter.#ctor(Common.Logging.Configuration.NameValueCollection)">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Simple.TraceLoggerFactoryAdapter"/> class.
- </summary>
- <remarks>
- Looks for level, showDateTime, showLogName, dateTimeFormat items from
- <paramref name="properties"/> for use when the GetLogger methods are called.
- <see cref="T:Common.Logging.ConfigurationSectionHandler"/> for more information on how to use the
- standard .NET application configuraiton file (App.config/Web.config)
- to configure this adapter.
- </remarks>
- <param name="properties">The name value collection, typically specified by the user in
- a configuration section named common/logging.</param>
- </member>
- <member name="M:Common.Logging.Simple.TraceLoggerFactoryAdapter.#ctor(Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String,System.Boolean)">
- <summary>
- Initializes a new instance of the <see cref="T:Common.Logging.Simple.AbstractSimpleLoggerFactoryAdapter"/> class with
- default settings for the loggers created by this factory.
- </summary>
- </member>
- <member name="M:Common.Logging.Simple.TraceLoggerFactoryAdapter.CreateLogger(System.String,Common.Logging.LogLevel,System.Boolean,System.Boolean,System.Boolean,System.String)">
- <summary>
- Creates a new <see cref="T:Common.Logging.Simple.TraceLogger"/> instance.
- </summary>
- </member>
- <member name="P:Common.Logging.Simple.TraceLoggerFactoryAdapter.UseTraceSource">
- <summary>
- Whether to use <see cref="T:System.Diagnostics.Trace"/>.<c>TraceXXXX(string,object[])</c> methods for logging
- or <see cref="T:System.Diagnostics.TraceSource"/>.
- </summary>
- </member>
- </members>
- </doc>
|