123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775 |
- <?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 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.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 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.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 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.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 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.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.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="showDateTime" 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>
|