星火批注
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>log4net</name>
  5. </assembly>
  6. <members>
  7. <member name="T:log4net.Appender.AdoNetAppender">
  8. <summary>
  9. Appender that logs to a database.
  10. </summary>
  11. <remarks>
  12. <para>
  13. <see cref="T:log4net.Appender.AdoNetAppender"/> appends logging events to a table within a
  14. database. The appender can be configured to specify the connection
  15. string by setting the <see cref="P:log4net.Appender.AdoNetAppender.ConnectionString"/> property.
  16. The connection type (provider) can be specified by setting the <see cref="P:log4net.Appender.AdoNetAppender.ConnectionType"/>
  17. property. For more information on database connection strings for
  18. your specific database see <a href="http://www.connectionstrings.com/">http://www.connectionstrings.com/</a>.
  19. </para>
  20. <para>
  21. Records are written into the database either using a prepared
  22. statement or a stored procedure. The <see cref="P:log4net.Appender.AdoNetAppender.CommandType"/> property
  23. is set to <see cref="F:System.Data.CommandType.Text"/> (<c>System.Data.CommandType.Text</c>) to specify a prepared statement
  24. or to <see cref="F:System.Data.CommandType.StoredProcedure"/> (<c>System.Data.CommandType.StoredProcedure</c>) to specify a stored
  25. procedure.
  26. </para>
  27. <para>
  28. The prepared statement text or the name of the stored procedure
  29. must be set in the <see cref="P:log4net.Appender.AdoNetAppender.CommandText"/> property.
  30. </para>
  31. <para>
  32. The prepared statement or stored procedure can take a number
  33. of parameters. Parameters are added using the <see cref="M:log4net.Appender.AdoNetAppender.AddParameter(log4net.Appender.AdoNetAppenderParameter)"/>
  34. method. This adds a single <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> to the
  35. ordered list of parameters. The <see cref="T:log4net.Appender.AdoNetAppenderParameter"/>
  36. type may be subclassed if required to provide database specific
  37. functionality. The <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> specifies
  38. the parameter name, database type, size, and how the value should
  39. be generated using a <see cref="T:log4net.Layout.ILayout"/>.
  40. </para>
  41. </remarks>
  42. <example>
  43. An example of a SQL Server table that could be logged to:
  44. <code lang="SQL">
  45. CREATE TABLE [dbo].[Log] (
  46. [ID] [int] IDENTITY (1, 1) NOT NULL ,
  47. [Date] [datetime] NOT NULL ,
  48. [Thread] [varchar] (255) NOT NULL ,
  49. [Level] [varchar] (20) NOT NULL ,
  50. [Logger] [varchar] (255) NOT NULL ,
  51. [Message] [varchar] (4000) NOT NULL
  52. ) ON [PRIMARY]
  53. </code>
  54. </example>
  55. <example>
  56. An example configuration to log to the above table:
  57. <code lang="XML" escaped="true">
  58. <appender name="AdoNetAppender_SqlServer" type="log4net.Appender.AdoNetAppender">
  59. <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
  60. <connectionString value="data source=SQLSVR;initial catalog=test_log4net;integrated security=false;persist security info=True;User ID=sa;Password=sa"/>
  61. <commandText value="INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message]) VALUES (@log_date, @thread, @log_level, @logger, @message)"/>
  62. <parameter>
  63. <parameterName value="@log_date"/>
  64. <dbType value="DateTime"/>
  65. <layout type="log4net.Layout.PatternLayout" value="%date{yyyy'-'MM'-'dd HH':'mm':'ss'.'fff}"/>
  66. </parameter>
  67. <parameter>
  68. <parameterName value="@thread"/>
  69. <dbType value="String"/>
  70. <size value="255"/>
  71. <layout type="log4net.Layout.PatternLayout" value="%thread"/>
  72. </parameter>
  73. <parameter>
  74. <parameterName value="@log_level"/>
  75. <dbType value="String"/>
  76. <size value="50"/>
  77. <layout type="log4net.Layout.PatternLayout" value="%level"/>
  78. </parameter>
  79. <parameter>
  80. <parameterName value="@logger"/>
  81. <dbType value="String"/>
  82. <size value="255"/>
  83. <layout type="log4net.Layout.PatternLayout" value="%logger"/>
  84. </parameter>
  85. <parameter>
  86. <parameterName value="@message"/>
  87. <dbType value="String"/>
  88. <size value="4000"/>
  89. <layout type="log4net.Layout.PatternLayout" value="%message"/>
  90. </parameter>
  91. </appender>
  92. </code>
  93. </example>
  94. <author>Julian Biddle</author>
  95. <author>Nicko Cadell</author>
  96. <author>Gert Driesen</author>
  97. <author>Lance Nehring</author>
  98. </member>
  99. <member name="T:log4net.Appender.BufferingAppenderSkeleton">
  100. <summary>
  101. Abstract base class implementation of <see cref="T:log4net.Appender.IAppender"/> that
  102. buffers events in a fixed size buffer.
  103. </summary>
  104. <remarks>
  105. <para>
  106. This base class should be used by appenders that need to buffer a
  107. number of events before logging them. For example the <see cref="T:log4net.Appender.AdoNetAppender"/>
  108. buffers events and then submits the entire contents of the buffer to
  109. the underlying database in one go.
  110. </para>
  111. <para>
  112. Subclasses should override the <see cref="M:SendBuffer(LoggingEvent[])"/>
  113. method to deliver the buffered events.
  114. </para>
  115. <para>The BufferingAppenderSkeleton maintains a fixed size cyclic
  116. buffer of events. The size of the buffer is set using
  117. the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> property.
  118. </para>
  119. <para>A <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> is used to inspect
  120. each event as it arrives in the appender. If the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/>
  121. triggers, then the current buffer is sent immediately
  122. (see <see cref="M:SendBuffer(LoggingEvent[])"/>). Otherwise the event
  123. is stored in the buffer. For example, an evaluator can be used to
  124. deliver the events immediately when an ERROR event arrives.
  125. </para>
  126. <para>
  127. The buffering appender can be configured in a <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> mode.
  128. By default the appender is NOT lossy. When the buffer is full all
  129. the buffered events are sent with <see cref="M:SendBuffer(LoggingEvent[])"/>.
  130. If the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> property is set to <c>true</c> then the
  131. buffer will not be sent when it is full, and new events arriving
  132. in the appender will overwrite the oldest event in the buffer.
  133. In lossy mode the buffer will only be sent when the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/>
  134. triggers. This can be useful behavior when you need to know about
  135. ERROR events but not about events with a lower level, configure an
  136. evaluator that will trigger when an ERROR event arrives, the whole
  137. buffer will be sent which gives a history of events leading up to
  138. the ERROR event.
  139. </para>
  140. </remarks>
  141. <author>Nicko Cadell</author>
  142. <author>Gert Driesen</author>
  143. </member>
  144. <member name="T:log4net.Appender.AppenderSkeleton">
  145. <summary>
  146. Abstract base class implementation of <see cref="T:log4net.Appender.IAppender"/>.
  147. </summary>
  148. <remarks>
  149. <para>
  150. This class provides the code for common functionality, such
  151. as support for threshold filtering and support for general filters.
  152. </para>
  153. <para>
  154. Appenders can also implement the <see cref="T:log4net.Core.IOptionHandler"/> interface. Therefore
  155. they would require that the <see cref="M:IOptionHandler.ActivateOptions()"/> method
  156. be called after the appenders properties have been configured.
  157. </para>
  158. </remarks>
  159. <author>Nicko Cadell</author>
  160. <author>Gert Driesen</author>
  161. </member>
  162. <member name="T:log4net.Appender.IAppender">
  163. <summary>
  164. Implement this interface for your own strategies for printing log statements.
  165. </summary>
  166. <remarks>
  167. <para>
  168. Implementors should consider extending the <see cref="T:log4net.Appender.AppenderSkeleton"/>
  169. class which provides a default implementation of this interface.
  170. </para>
  171. <para>
  172. Appenders can also implement the <see cref="T:log4net.Core.IOptionHandler"/> interface. Therefore
  173. they would require that the <see cref="M:IOptionHandler.ActivateOptions()"/> method
  174. be called after the appenders properties have been configured.
  175. </para>
  176. </remarks>
  177. <author>Nicko Cadell</author>
  178. <author>Gert Driesen</author>
  179. </member>
  180. <member name="M:log4net.Appender.IAppender.Close">
  181. <summary>
  182. Closes the appender and releases resources.
  183. </summary>
  184. <remarks>
  185. <para>
  186. Releases any resources allocated within the appender such as file handles,
  187. network connections, etc.
  188. </para>
  189. <para>
  190. It is a programming error to append to a closed appender.
  191. </para>
  192. </remarks>
  193. </member>
  194. <member name="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)">
  195. <summary>
  196. Log the logging event in Appender specific way.
  197. </summary>
  198. <param name="loggingEvent">The event to log</param>
  199. <remarks>
  200. <para>
  201. This method is called to log a message into this appender.
  202. </para>
  203. </remarks>
  204. </member>
  205. <member name="P:log4net.Appender.IAppender.Name">
  206. <summary>
  207. Gets or sets the name of this appender.
  208. </summary>
  209. <value>The name of the appender.</value>
  210. <remarks>
  211. <para>The name uniquely identifies the appender.</para>
  212. </remarks>
  213. </member>
  214. <member name="T:log4net.Appender.IBulkAppender">
  215. <summary>
  216. Interface for appenders that support bulk logging.
  217. </summary>
  218. <remarks>
  219. <para>
  220. This interface extends the <see cref="T:log4net.Appender.IAppender"/> interface to
  221. support bulk logging of <see cref="T:log4net.Core.LoggingEvent"/> objects. Appenders
  222. should only implement this interface if they can bulk log efficiently.
  223. </para>
  224. </remarks>
  225. <author>Nicko Cadell</author>
  226. </member>
  227. <member name="M:log4net.Appender.IBulkAppender.DoAppend(log4net.Core.LoggingEvent[])">
  228. <summary>
  229. Log the array of logging events in Appender specific way.
  230. </summary>
  231. <param name="loggingEvents">The events to log</param>
  232. <remarks>
  233. <para>
  234. This method is called to log an array of events into this appender.
  235. </para>
  236. </remarks>
  237. </member>
  238. <member name="T:log4net.Core.IOptionHandler">
  239. <summary>
  240. Interface used to delay activate a configured object.
  241. </summary>
  242. <remarks>
  243. <para>
  244. This allows an object to defer activation of its options until all
  245. options have been set. This is required for components which have
  246. related options that remain ambiguous until all are set.
  247. </para>
  248. <para>
  249. If a component implements this interface then the <see cref="M:log4net.Core.IOptionHandler.ActivateOptions"/> method
  250. must be called by the container after its all the configured properties have been set
  251. and before the component can be used.
  252. </para>
  253. </remarks>
  254. <author>Nicko Cadell</author>
  255. </member>
  256. <member name="M:log4net.Core.IOptionHandler.ActivateOptions">
  257. <summary>
  258. Activate the options that were previously set with calls to properties.
  259. </summary>
  260. <remarks>
  261. <para>
  262. This allows an object to defer activation of its options until all
  263. options have been set. This is required for components which have
  264. related options that remain ambiguous until all are set.
  265. </para>
  266. <para>
  267. If a component implements this interface then this method must be called
  268. after its properties have been set before the component can be used.
  269. </para>
  270. </remarks>
  271. </member>
  272. <member name="F:log4net.Appender.AppenderSkeleton.c_renderBufferSize">
  273. <summary>
  274. Initial buffer size
  275. </summary>
  276. </member>
  277. <member name="F:log4net.Appender.AppenderSkeleton.c_renderBufferMaxCapacity">
  278. <summary>
  279. Maximum buffer size before it is recycled
  280. </summary>
  281. </member>
  282. <member name="M:log4net.Appender.AppenderSkeleton.#ctor">
  283. <summary>
  284. Default constructor
  285. </summary>
  286. <remarks>
  287. <para>Empty default constructor</para>
  288. </remarks>
  289. </member>
  290. <member name="M:log4net.Appender.AppenderSkeleton.Finalize">
  291. <summary>
  292. Finalizes this appender by calling the implementation's
  293. <see cref="M:log4net.Appender.AppenderSkeleton.Close"/> method.
  294. </summary>
  295. <remarks>
  296. <para>
  297. If this appender has not been closed then the <c>Finalize</c> method
  298. will call <see cref="M:log4net.Appender.AppenderSkeleton.Close"/>.
  299. </para>
  300. </remarks>
  301. </member>
  302. <member name="M:log4net.Appender.AppenderSkeleton.ActivateOptions">
  303. <summary>
  304. Initialize the appender based on the options set
  305. </summary>
  306. <remarks>
  307. <para>
  308. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  309. activation scheme. The <see cref="M:log4net.Appender.AppenderSkeleton.ActivateOptions"/> method must
  310. be called on this object after the configuration properties have
  311. been set. Until <see cref="M:log4net.Appender.AppenderSkeleton.ActivateOptions"/> is called this
  312. object is in an undefined state and must not be used.
  313. </para>
  314. <para>
  315. If any of the configuration properties are modified then
  316. <see cref="M:log4net.Appender.AppenderSkeleton.ActivateOptions"/> must be called again.
  317. </para>
  318. </remarks>
  319. </member>
  320. <member name="M:log4net.Appender.AppenderSkeleton.Close">
  321. <summary>
  322. Closes the appender and release resources.
  323. </summary>
  324. <remarks>
  325. <para>
  326. Release any resources allocated within the appender such as file handles,
  327. network connections, etc.
  328. </para>
  329. <para>
  330. It is a programming error to append to a closed appender.
  331. </para>
  332. <para>
  333. This method cannot be overridden by subclasses. This method
  334. delegates the closing of the appender to the <see cref="M:log4net.Appender.AppenderSkeleton.OnClose"/>
  335. method which must be overridden in the subclass.
  336. </para>
  337. </remarks>
  338. </member>
  339. <member name="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)">
  340. <summary>
  341. Performs threshold checks and invokes filters before
  342. delegating actual logging to the subclasses specific
  343. <see cref="M:Append(LoggingEvent)"/> method.
  344. </summary>
  345. <param name="loggingEvent">The event to log.</param>
  346. <remarks>
  347. <para>
  348. This method cannot be overridden by derived classes. A
  349. derived class should override the <see cref="M:Append(LoggingEvent)"/> method
  350. which is called by this method.
  351. </para>
  352. <para>
  353. The implementation of this method is as follows:
  354. </para>
  355. <para>
  356. <list type="bullet">
  357. <item>
  358. <description>
  359. Checks that the severity of the <paramref name="loggingEvent"/>
  360. is greater than or equal to the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> of this
  361. appender.</description>
  362. </item>
  363. <item>
  364. <description>
  365. Checks that the <see cref="T:log4net.Filter.IFilter"/> chain accepts the
  366. <paramref name="loggingEvent"/>.
  367. </description>
  368. </item>
  369. <item>
  370. <description>
  371. Calls <see cref="M:PreAppendCheck()"/> and checks that
  372. it returns <c>true</c>.</description>
  373. </item>
  374. </list>
  375. </para>
  376. <para>
  377. If all of the above steps succeed then the <paramref name="loggingEvent"/>
  378. will be passed to the abstract <see cref="M:Append(LoggingEvent)"/> method.
  379. </para>
  380. </remarks>
  381. </member>
  382. <member name="M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent[])">
  383. <summary>
  384. Performs threshold checks and invokes filters before
  385. delegating actual logging to the subclasses specific
  386. <see cref="M:Append(LoggingEvent[])"/> method.
  387. </summary>
  388. <param name="loggingEvents">The array of events to log.</param>
  389. <remarks>
  390. <para>
  391. This method cannot be overridden by derived classes. A
  392. derived class should override the <see cref="M:Append(LoggingEvent[])"/> method
  393. which is called by this method.
  394. </para>
  395. <para>
  396. The implementation of this method is as follows:
  397. </para>
  398. <para>
  399. <list type="bullet">
  400. <item>
  401. <description>
  402. Checks that the severity of the <paramref name="loggingEvents"/>
  403. is greater than or equal to the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> of this
  404. appender.</description>
  405. </item>
  406. <item>
  407. <description>
  408. Checks that the <see cref="T:log4net.Filter.IFilter"/> chain accepts the
  409. <paramref name="loggingEvents"/>.
  410. </description>
  411. </item>
  412. <item>
  413. <description>
  414. Calls <see cref="M:PreAppendCheck()"/> and checks that
  415. it returns <c>true</c>.</description>
  416. </item>
  417. </list>
  418. </para>
  419. <para>
  420. If all of the above steps succeed then the <paramref name="loggingEvents"/>
  421. will be passed to the <see cref="M:Append(LoggingEvent[])"/> method.
  422. </para>
  423. </remarks>
  424. </member>
  425. <member name="M:log4net.Appender.AppenderSkeleton.FilterEvent(log4net.Core.LoggingEvent)">
  426. <summary>
  427. Test if the logging event should we output by this appender
  428. </summary>
  429. <param name="loggingEvent">the event to test</param>
  430. <returns><c>true</c> if the event should be output, <c>false</c> if the event should be ignored</returns>
  431. <remarks>
  432. <para>
  433. This method checks the logging event against the threshold level set
  434. on this appender and also against the filters specified on this
  435. appender.
  436. </para>
  437. <para>
  438. The implementation of this method is as follows:
  439. </para>
  440. <para>
  441. <list type="bullet">
  442. <item>
  443. <description>
  444. Checks that the severity of the <paramref name="loggingEvent"/>
  445. is greater than or equal to the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> of this
  446. appender.</description>
  447. </item>
  448. <item>
  449. <description>
  450. Checks that the <see cref="T:log4net.Filter.IFilter"/> chain accepts the
  451. <paramref name="loggingEvent"/>.
  452. </description>
  453. </item>
  454. </list>
  455. </para>
  456. </remarks>
  457. </member>
  458. <member name="M:log4net.Appender.AppenderSkeleton.AddFilter(log4net.Filter.IFilter)">
  459. <summary>
  460. Adds a filter to the end of the filter chain.
  461. </summary>
  462. <param name="filter">the filter to add to this appender</param>
  463. <remarks>
  464. <para>
  465. The Filters are organized in a linked list.
  466. </para>
  467. <para>
  468. Setting this property causes the new filter to be pushed onto the
  469. back of the filter chain.
  470. </para>
  471. </remarks>
  472. </member>
  473. <member name="M:log4net.Appender.AppenderSkeleton.ClearFilters">
  474. <summary>
  475. Clears the filter list for this appender.
  476. </summary>
  477. <remarks>
  478. <para>
  479. Clears the filter list for this appender.
  480. </para>
  481. </remarks>
  482. </member>
  483. <member name="M:log4net.Appender.AppenderSkeleton.IsAsSevereAsThreshold(log4net.Core.Level)">
  484. <summary>
  485. Checks if the message level is below this appender's threshold.
  486. </summary>
  487. <param name="level"><see cref="T:log4net.Core.Level"/> to test against.</param>
  488. <remarks>
  489. <para>
  490. If there is no threshold set, then the return value is always <c>true</c>.
  491. </para>
  492. </remarks>
  493. <returns>
  494. <c>true</c> if the <paramref name="level"/> meets the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/>
  495. requirements of this appender.
  496. </returns>
  497. </member>
  498. <member name="M:log4net.Appender.AppenderSkeleton.OnClose">
  499. <summary>
  500. Is called when the appender is closed. Derived classes should override
  501. this method if resources need to be released.
  502. </summary>
  503. <remarks>
  504. <para>
  505. Releases any resources allocated within the appender such as file handles,
  506. network connections, etc.
  507. </para>
  508. <para>
  509. It is a programming error to append to a closed appender.
  510. </para>
  511. </remarks>
  512. </member>
  513. <member name="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent)">
  514. <summary>
  515. Subclasses of <see cref="T:log4net.Appender.AppenderSkeleton"/> should implement this method
  516. to perform actual logging.
  517. </summary>
  518. <param name="loggingEvent">The event to append.</param>
  519. <remarks>
  520. <para>
  521. A subclass must implement this method to perform
  522. logging of the <paramref name="loggingEvent"/>.
  523. </para>
  524. <para>This method will be called by <see cref="M:DoAppend(LoggingEvent)"/>
  525. if all the conditions listed for that method are met.
  526. </para>
  527. <para>
  528. To restrict the logging of events in the appender
  529. override the <see cref="M:PreAppendCheck()"/> method.
  530. </para>
  531. </remarks>
  532. </member>
  533. <member name="M:log4net.Appender.AppenderSkeleton.Append(log4net.Core.LoggingEvent[])">
  534. <summary>
  535. Append a bulk array of logging events.
  536. </summary>
  537. <param name="loggingEvents">the array of logging events</param>
  538. <remarks>
  539. <para>
  540. This base class implementation calls the <see cref="M:Append(LoggingEvent)"/>
  541. method for each element in the bulk array.
  542. </para>
  543. <para>
  544. A sub class that can better process a bulk array of events should
  545. override this method in addition to <see cref="M:Append(LoggingEvent)"/>.
  546. </para>
  547. </remarks>
  548. </member>
  549. <member name="M:log4net.Appender.AppenderSkeleton.PreAppendCheck">
  550. <summary>
  551. Called before <see cref="M:Append(LoggingEvent)"/> as a precondition.
  552. </summary>
  553. <remarks>
  554. <para>
  555. This method is called by <see cref="M:DoAppend(LoggingEvent)"/>
  556. before the call to the abstract <see cref="M:Append(LoggingEvent)"/> method.
  557. </para>
  558. <para>
  559. This method can be overridden in a subclass to extend the checks
  560. made before the event is passed to the <see cref="M:Append(LoggingEvent)"/> method.
  561. </para>
  562. <para>
  563. A subclass should ensure that they delegate this call to
  564. this base class if it is overridden.
  565. </para>
  566. </remarks>
  567. <returns><c>true</c> if the call to <see cref="M:Append(LoggingEvent)"/> should proceed.</returns>
  568. </member>
  569. <member name="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(log4net.Core.LoggingEvent)">
  570. <summary>
  571. Renders the <see cref="T:log4net.Core.LoggingEvent"/> to a string.
  572. </summary>
  573. <param name="loggingEvent">The event to render.</param>
  574. <returns>The event rendered as a string.</returns>
  575. <remarks>
  576. <para>
  577. Helper method to render a <see cref="T:log4net.Core.LoggingEvent"/> to
  578. a string. This appender must have a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/>
  579. set to render the <paramref name="loggingEvent"/> to
  580. a string.
  581. </para>
  582. <para>If there is exception data in the logging event and
  583. the layout does not process the exception, this method
  584. will append the exception text to the rendered string.
  585. </para>
  586. <para>
  587. Where possible use the alternative version of this method
  588. <see cref="M:RenderLoggingEvent(TextWriter,LoggingEvent)"/>.
  589. That method streams the rendering onto an existing Writer
  590. which can give better performance if the caller already has
  591. a <see cref="T:System.IO.TextWriter"/> open and ready for writing.
  592. </para>
  593. </remarks>
  594. </member>
  595. <member name="M:log4net.Appender.AppenderSkeleton.RenderLoggingEvent(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  596. <summary>
  597. Renders the <see cref="T:log4net.Core.LoggingEvent"/> to a string.
  598. </summary>
  599. <param name="loggingEvent">The event to render.</param>
  600. <param name="writer">The TextWriter to write the formatted event to</param>
  601. <remarks>
  602. <para>
  603. Helper method to render a <see cref="T:log4net.Core.LoggingEvent"/> to
  604. a string. This appender must have a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/>
  605. set to render the <paramref name="loggingEvent"/> to
  606. a string.
  607. </para>
  608. <para>If there is exception data in the logging event and
  609. the layout does not process the exception, this method
  610. will append the exception text to the rendered string.
  611. </para>
  612. <para>
  613. Use this method in preference to <see cref="M:RenderLoggingEvent(LoggingEvent)"/>
  614. where possible. If, however, the caller needs to render the event
  615. to a string then <see cref="M:RenderLoggingEvent(LoggingEvent)"/> does
  616. provide an efficient mechanism for doing so.
  617. </para>
  618. </remarks>
  619. </member>
  620. <member name="F:log4net.Appender.AppenderSkeleton.m_layout">
  621. <summary>
  622. The layout of this appender.
  623. </summary>
  624. <remarks>
  625. See <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> for more information.
  626. </remarks>
  627. </member>
  628. <member name="F:log4net.Appender.AppenderSkeleton.m_name">
  629. <summary>
  630. The name of this appender.
  631. </summary>
  632. <remarks>
  633. See <see cref="P:log4net.Appender.AppenderSkeleton.Name"/> for more information.
  634. </remarks>
  635. </member>
  636. <member name="F:log4net.Appender.AppenderSkeleton.m_threshold">
  637. <summary>
  638. The level threshold of this appender.
  639. </summary>
  640. <remarks>
  641. <para>
  642. There is no level threshold filtering by default.
  643. </para>
  644. <para>
  645. See <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> for more information.
  646. </para>
  647. </remarks>
  648. </member>
  649. <member name="F:log4net.Appender.AppenderSkeleton.m_errorHandler">
  650. <summary>
  651. It is assumed and enforced that errorHandler is never null.
  652. </summary>
  653. <remarks>
  654. <para>
  655. It is assumed and enforced that errorHandler is never null.
  656. </para>
  657. <para>
  658. See <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/> for more information.
  659. </para>
  660. </remarks>
  661. </member>
  662. <member name="F:log4net.Appender.AppenderSkeleton.m_headFilter">
  663. <summary>
  664. The first filter in the filter chain.
  665. </summary>
  666. <remarks>
  667. <para>
  668. Set to <c>null</c> initially.
  669. </para>
  670. <para>
  671. See <see cref="T:log4net.Filter.IFilter"/> for more information.
  672. </para>
  673. </remarks>
  674. </member>
  675. <member name="F:log4net.Appender.AppenderSkeleton.m_tailFilter">
  676. <summary>
  677. The last filter in the filter chain.
  678. </summary>
  679. <remarks>
  680. See <see cref="T:log4net.Filter.IFilter"/> for more information.
  681. </remarks>
  682. </member>
  683. <member name="F:log4net.Appender.AppenderSkeleton.m_closed">
  684. <summary>
  685. Flag indicating if this appender is closed.
  686. </summary>
  687. <remarks>
  688. See <see cref="M:log4net.Appender.AppenderSkeleton.Close"/> for more information.
  689. </remarks>
  690. </member>
  691. <member name="F:log4net.Appender.AppenderSkeleton.m_recursiveGuard">
  692. <summary>
  693. The guard prevents an appender from repeatedly calling its own DoAppend method
  694. </summary>
  695. </member>
  696. <member name="F:log4net.Appender.AppenderSkeleton.m_renderWriter">
  697. <summary>
  698. StringWriter used to render events
  699. </summary>
  700. </member>
  701. <member name="F:log4net.Appender.AppenderSkeleton.declaringType">
  702. <summary>
  703. The fully qualified type of the AppenderSkeleton class.
  704. </summary>
  705. <remarks>
  706. Used by the internal logger to record the Type of the
  707. log message.
  708. </remarks>
  709. </member>
  710. <member name="P:log4net.Appender.AppenderSkeleton.Threshold">
  711. <summary>
  712. Gets or sets the threshold <see cref="T:log4net.Core.Level"/> of this appender.
  713. </summary>
  714. <value>
  715. The threshold <see cref="T:log4net.Core.Level"/> of the appender.
  716. </value>
  717. <remarks>
  718. <para>
  719. All log events with lower level than the threshold level are ignored
  720. by the appender.
  721. </para>
  722. <para>
  723. In configuration files this option is specified by setting the
  724. value of the <see cref="P:log4net.Appender.AppenderSkeleton.Threshold"/> option to a level
  725. string, such as "DEBUG", "INFO" and so on.
  726. </para>
  727. </remarks>
  728. </member>
  729. <member name="P:log4net.Appender.AppenderSkeleton.ErrorHandler">
  730. <summary>
  731. Gets or sets the <see cref="T:log4net.Core.IErrorHandler"/> for this appender.
  732. </summary>
  733. <value>The <see cref="T:log4net.Core.IErrorHandler"/> of the appender</value>
  734. <remarks>
  735. <para>
  736. The <see cref="T:log4net.Appender.AppenderSkeleton"/> provides a default
  737. implementation for the <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/> property.
  738. </para>
  739. </remarks>
  740. </member>
  741. <member name="P:log4net.Appender.AppenderSkeleton.FilterHead">
  742. <summary>
  743. The filter chain.
  744. </summary>
  745. <value>The head of the filter chain filter chain.</value>
  746. <remarks>
  747. <para>
  748. Returns the head Filter. The Filters are organized in a linked list
  749. and so all Filters on this Appender are available through the result.
  750. </para>
  751. </remarks>
  752. </member>
  753. <member name="P:log4net.Appender.AppenderSkeleton.Layout">
  754. <summary>
  755. Gets or sets the <see cref="T:log4net.Layout.ILayout"/> for this appender.
  756. </summary>
  757. <value>The layout of the appender.</value>
  758. <remarks>
  759. <para>
  760. See <see cref="P:log4net.Appender.AppenderSkeleton.RequiresLayout"/> for more information.
  761. </para>
  762. </remarks>
  763. <seealso cref="P:log4net.Appender.AppenderSkeleton.RequiresLayout"/>
  764. </member>
  765. <member name="P:log4net.Appender.AppenderSkeleton.Name">
  766. <summary>
  767. Gets or sets the name of this appender.
  768. </summary>
  769. <value>The name of the appender.</value>
  770. <remarks>
  771. <para>
  772. The name uniquely identifies the appender.
  773. </para>
  774. </remarks>
  775. </member>
  776. <member name="P:log4net.Appender.AppenderSkeleton.RequiresLayout">
  777. <summary>
  778. Tests if this appender requires a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> to be set.
  779. </summary>
  780. <remarks>
  781. <para>
  782. In the rather exceptional case, where the appender
  783. implementation admits a layout but can also work without it,
  784. then the appender should return <c>true</c>.
  785. </para>
  786. <para>
  787. This default implementation always returns <c>false</c>.
  788. </para>
  789. </remarks>
  790. <returns>
  791. <c>true</c> if the appender requires a layout object, otherwise <c>false</c>.
  792. </returns>
  793. </member>
  794. <member name="F:log4net.Appender.BufferingAppenderSkeleton.DEFAULT_BUFFER_SIZE">
  795. <summary>
  796. The default buffer size.
  797. </summary>
  798. <remarks>
  799. The default size of the cyclic buffer used to store events.
  800. This is set to 512 by default.
  801. </remarks>
  802. </member>
  803. <member name="M:log4net.Appender.BufferingAppenderSkeleton.#ctor">
  804. <summary>
  805. Initializes a new instance of the <see cref="T:log4net.Appender.BufferingAppenderSkeleton"/> class.
  806. </summary>
  807. <remarks>
  808. <para>
  809. Protected default constructor to allow subclassing.
  810. </para>
  811. </remarks>
  812. </member>
  813. <member name="M:log4net.Appender.BufferingAppenderSkeleton.#ctor(System.Boolean)">
  814. <summary>
  815. Initializes a new instance of the <see cref="T:log4net.Appender.BufferingAppenderSkeleton"/> class.
  816. </summary>
  817. <param name="eventMustBeFixed">the events passed through this appender must be
  818. fixed by the time that they arrive in the derived class' <c>SendBuffer</c> method.</param>
  819. <remarks>
  820. <para>
  821. Protected constructor to allow subclassing.
  822. </para>
  823. <para>
  824. The <paramref name="eventMustBeFixed"/> should be set if the subclass
  825. expects the events delivered to be fixed even if the
  826. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> is set to zero, i.e. when no buffering occurs.
  827. </para>
  828. </remarks>
  829. </member>
  830. <member name="M:log4net.Appender.BufferingAppenderSkeleton.Flush">
  831. <summary>
  832. Flush the currently buffered events
  833. </summary>
  834. <remarks>
  835. <para>
  836. Flushes any events that have been buffered.
  837. </para>
  838. <para>
  839. If the appender is buffering in <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> mode then the contents
  840. of the buffer will NOT be flushed to the appender.
  841. </para>
  842. </remarks>
  843. </member>
  844. <member name="M:log4net.Appender.BufferingAppenderSkeleton.Flush(System.Boolean)">
  845. <summary>
  846. Flush the currently buffered events
  847. </summary>
  848. <param name="flushLossyBuffer">set to <c>true</c> to flush the buffer of lossy events</param>
  849. <remarks>
  850. <para>
  851. Flushes events that have been buffered. If <paramref name="flushLossyBuffer"/> is
  852. <c>false</c> then events will only be flushed if this buffer is non-lossy mode.
  853. </para>
  854. <para>
  855. If the appender is buffering in <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> mode then the contents
  856. of the buffer will only be flushed if <paramref name="flushLossyBuffer"/> is <c>true</c>.
  857. In this case the contents of the buffer will be tested against the
  858. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.LossyEvaluator"/> and if triggering will be output. All other buffered
  859. events will be discarded.
  860. </para>
  861. <para>
  862. If <paramref name="flushLossyBuffer"/> is <c>true</c> then the buffer will always
  863. be emptied by calling this method.
  864. </para>
  865. </remarks>
  866. </member>
  867. <member name="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions">
  868. <summary>
  869. Initialize the appender based on the options set
  870. </summary>
  871. <remarks>
  872. <para>
  873. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  874. activation scheme. The <see cref="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions"/> method must
  875. be called on this object after the configuration properties have
  876. been set. Until <see cref="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions"/> is called this
  877. object is in an undefined state and must not be used.
  878. </para>
  879. <para>
  880. If any of the configuration properties are modified then
  881. <see cref="M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions"/> must be called again.
  882. </para>
  883. </remarks>
  884. </member>
  885. <member name="M:log4net.Appender.BufferingAppenderSkeleton.OnClose">
  886. <summary>
  887. Close this appender instance.
  888. </summary>
  889. <remarks>
  890. <para>
  891. Close this appender instance. If this appender is marked
  892. as not <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> then the remaining events in
  893. the buffer must be sent when the appender is closed.
  894. </para>
  895. </remarks>
  896. </member>
  897. <member name="M:log4net.Appender.BufferingAppenderSkeleton.Append(log4net.Core.LoggingEvent)">
  898. <summary>
  899. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  900. </summary>
  901. <param name="loggingEvent">the event to log</param>
  902. <remarks>
  903. <para>
  904. Stores the <paramref name="loggingEvent"/> in the cyclic buffer.
  905. </para>
  906. <para>
  907. The buffer will be sent (i.e. passed to the <see cref="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])"/>
  908. method) if one of the following conditions is met:
  909. </para>
  910. <list type="bullet">
  911. <item>
  912. <description>The cyclic buffer is full and this appender is
  913. marked as not lossy (see <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/>)</description>
  914. </item>
  915. <item>
  916. <description>An <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> is set and
  917. it is triggered for the <paramref name="loggingEvent"/>
  918. specified.</description>
  919. </item>
  920. </list>
  921. <para>
  922. Before the event is stored in the buffer it is fixed
  923. (see <see cref="M:LoggingEvent.FixVolatileData(FixFlags)"/>) to ensure that
  924. any data referenced by the event will be valid when the buffer
  925. is processed.
  926. </para>
  927. </remarks>
  928. </member>
  929. <member name="M:log4net.Appender.BufferingAppenderSkeleton.SendFromBuffer(log4net.Core.LoggingEvent,log4net.Util.CyclicBuffer)">
  930. <summary>
  931. Sends the contents of the buffer.
  932. </summary>
  933. <param name="firstLoggingEvent">The first logging event.</param>
  934. <param name="buffer">The buffer containing the events that need to be send.</param>
  935. <remarks>
  936. <para>
  937. The subclass must override <see cref="M:SendBuffer(LoggingEvent[])"/>.
  938. </para>
  939. </remarks>
  940. </member>
  941. <member name="M:log4net.Appender.BufferingAppenderSkeleton.SendBuffer(log4net.Core.LoggingEvent[])">
  942. <summary>
  943. Sends the events.
  944. </summary>
  945. <param name="events">The events that need to be send.</param>
  946. <remarks>
  947. <para>
  948. The subclass must override this method to process the buffered events.
  949. </para>
  950. </remarks>
  951. </member>
  952. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_bufferSize">
  953. <summary>
  954. The size of the cyclic buffer used to hold the logging events.
  955. </summary>
  956. <remarks>
  957. Set to <see cref="F:log4net.Appender.BufferingAppenderSkeleton.DEFAULT_BUFFER_SIZE"/> by default.
  958. </remarks>
  959. </member>
  960. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_cb">
  961. <summary>
  962. The cyclic buffer used to store the logging events.
  963. </summary>
  964. </member>
  965. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_evaluator">
  966. <summary>
  967. The triggering event evaluator that causes the buffer to be sent immediately.
  968. </summary>
  969. <remarks>
  970. The object that is used to determine if an event causes the entire
  971. buffer to be sent immediately. This field can be <c>null</c>, which
  972. indicates that event triggering is not to be done. The evaluator
  973. can be set using the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> property. If this appender
  974. has the <see cref="F:log4net.Appender.BufferingAppenderSkeleton.m_lossy"/> (<see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> property) set to
  975. <c>true</c> then an <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must be set.
  976. </remarks>
  977. </member>
  978. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_lossy">
  979. <summary>
  980. Indicates if the appender should overwrite events in the cyclic buffer
  981. when it becomes full, or if the buffer should be flushed when the
  982. buffer is full.
  983. </summary>
  984. <remarks>
  985. If this field is set to <c>true</c> then an <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must
  986. be set.
  987. </remarks>
  988. </member>
  989. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_lossyEvaluator">
  990. <summary>
  991. The triggering event evaluator filters discarded events.
  992. </summary>
  993. <remarks>
  994. The object that is used to determine if an event that is discarded should
  995. really be discarded or if it should be sent to the appenders.
  996. This field can be <c>null</c>, which indicates that all discarded events will
  997. be discarded.
  998. </remarks>
  999. </member>
  1000. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_fixFlags">
  1001. <summary>
  1002. Value indicating which fields in the event should be fixed
  1003. </summary>
  1004. <remarks>
  1005. By default all fields are fixed
  1006. </remarks>
  1007. </member>
  1008. <member name="F:log4net.Appender.BufferingAppenderSkeleton.m_eventMustBeFixed">
  1009. <summary>
  1010. The events delivered to the subclass must be fixed.
  1011. </summary>
  1012. </member>
  1013. <member name="P:log4net.Appender.BufferingAppenderSkeleton.Lossy">
  1014. <summary>
  1015. Gets or sets a value that indicates whether the appender is lossy.
  1016. </summary>
  1017. <value>
  1018. <c>true</c> if the appender is lossy, otherwise <c>false</c>. The default is <c>false</c>.
  1019. </value>
  1020. <remarks>
  1021. <para>
  1022. This appender uses a buffer to store logging events before
  1023. delivering them. A triggering event causes the whole buffer
  1024. to be send to the remote sink. If the buffer overruns before
  1025. a triggering event then logging events could be lost. Set
  1026. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> to <c>false</c> to prevent logging events
  1027. from being lost.
  1028. </para>
  1029. <para>If <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> is set to <c>true</c> then an
  1030. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must be specified.</para>
  1031. </remarks>
  1032. </member>
  1033. <member name="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize">
  1034. <summary>
  1035. Gets or sets the size of the cyclic buffer used to hold the
  1036. logging events.
  1037. </summary>
  1038. <value>
  1039. The size of the cyclic buffer used to hold the logging events.
  1040. </value>
  1041. <remarks>
  1042. <para>
  1043. The <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> option takes a positive integer
  1044. representing the maximum number of logging events to collect in
  1045. a cyclic buffer. When the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> is reached,
  1046. oldest events are deleted as new events are added to the
  1047. buffer. By default the size of the cyclic buffer is 512 events.
  1048. </para>
  1049. <para>
  1050. If the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> is set to a value less than
  1051. or equal to 1 then no buffering will occur. The logging event
  1052. will be delivered synchronously (depending on the <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/>
  1053. and <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> properties). Otherwise the event will
  1054. be buffered.
  1055. </para>
  1056. </remarks>
  1057. </member>
  1058. <member name="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator">
  1059. <summary>
  1060. Gets or sets the <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> that causes the
  1061. buffer to be sent immediately.
  1062. </summary>
  1063. <value>
  1064. The <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> that causes the buffer to be
  1065. sent immediately.
  1066. </value>
  1067. <remarks>
  1068. <para>
  1069. The evaluator will be called for each event that is appended to this
  1070. appender. If the evaluator triggers then the current buffer will
  1071. immediately be sent (see <see cref="M:SendBuffer(LoggingEvent[])"/>).
  1072. </para>
  1073. <para>If <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Lossy"/> is set to <c>true</c> then an
  1074. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.Evaluator"/> must be specified.</para>
  1075. </remarks>
  1076. </member>
  1077. <member name="P:log4net.Appender.BufferingAppenderSkeleton.LossyEvaluator">
  1078. <summary>
  1079. Gets or sets the value of the <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> to use.
  1080. </summary>
  1081. <value>
  1082. The value of the <see cref="T:log4net.Core.ITriggeringEventEvaluator"/> to use.
  1083. </value>
  1084. <remarks>
  1085. <para>
  1086. The evaluator will be called for each event that is discarded from this
  1087. appender. If the evaluator triggers then the current buffer will immediately
  1088. be sent (see <see cref="M:SendBuffer(LoggingEvent[])"/>).
  1089. </para>
  1090. </remarks>
  1091. </member>
  1092. <member name="P:log4net.Appender.BufferingAppenderSkeleton.OnlyFixPartialEventData">
  1093. <summary>
  1094. Gets or sets a value indicating if only part of the logging event data
  1095. should be fixed.
  1096. </summary>
  1097. <value>
  1098. <c>true</c> if the appender should only fix part of the logging event
  1099. data, otherwise <c>false</c>. The default is <c>false</c>.
  1100. </value>
  1101. <remarks>
  1102. <para>
  1103. Setting this property to <c>true</c> will cause only part of the
  1104. event data to be fixed and serialized. This will improve performance.
  1105. </para>
  1106. <para>
  1107. See <see cref="M:LoggingEvent.FixVolatileData(FixFlags)"/> for more information.
  1108. </para>
  1109. </remarks>
  1110. </member>
  1111. <member name="P:log4net.Appender.BufferingAppenderSkeleton.Fix">
  1112. <summary>
  1113. Gets or sets a the fields that will be fixed in the event
  1114. </summary>
  1115. <value>
  1116. The event fields that will be fixed before the event is buffered
  1117. </value>
  1118. <remarks>
  1119. <para>
  1120. The logging event needs to have certain thread specific values
  1121. captured before it can be buffered. See <see cref="P:log4net.Core.LoggingEvent.Fix"/>
  1122. for details.
  1123. </para>
  1124. </remarks>
  1125. <seealso cref="P:log4net.Core.LoggingEvent.Fix"/>
  1126. </member>
  1127. <member name="M:log4net.Appender.AdoNetAppender.#ctor">
  1128. <summary>
  1129. Initializes a new instance of the <see cref="T:log4net.Appender.AdoNetAppender"/> class.
  1130. </summary>
  1131. <remarks>
  1132. Public default constructor to initialize a new instance of this class.
  1133. </remarks>
  1134. </member>
  1135. <member name="M:log4net.Appender.AdoNetAppender.ActivateOptions">
  1136. <summary>
  1137. Initialize the appender based on the options set
  1138. </summary>
  1139. <remarks>
  1140. <para>
  1141. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  1142. activation scheme. The <see cref="M:log4net.Appender.AdoNetAppender.ActivateOptions"/> method must
  1143. be called on this object after the configuration properties have
  1144. been set. Until <see cref="M:log4net.Appender.AdoNetAppender.ActivateOptions"/> is called this
  1145. object is in an undefined state and must not be used.
  1146. </para>
  1147. <para>
  1148. If any of the configuration properties are modified then
  1149. <see cref="M:log4net.Appender.AdoNetAppender.ActivateOptions"/> must be called again.
  1150. </para>
  1151. </remarks>
  1152. </member>
  1153. <member name="M:log4net.Appender.AdoNetAppender.OnClose">
  1154. <summary>
  1155. Override the parent method to close the database
  1156. </summary>
  1157. <remarks>
  1158. <para>
  1159. Closes the database command and database connection.
  1160. </para>
  1161. </remarks>
  1162. </member>
  1163. <member name="M:log4net.Appender.AdoNetAppender.SendBuffer(log4net.Core.LoggingEvent[])">
  1164. <summary>
  1165. Inserts the events into the database.
  1166. </summary>
  1167. <param name="events">The events to insert into the database.</param>
  1168. <remarks>
  1169. <para>
  1170. Insert all the events specified in the <paramref name="events"/>
  1171. array into the database.
  1172. </para>
  1173. </remarks>
  1174. </member>
  1175. <member name="M:log4net.Appender.AdoNetAppender.AddParameter(log4net.Appender.AdoNetAppenderParameter)">
  1176. <summary>
  1177. Adds a parameter to the command.
  1178. </summary>
  1179. <param name="parameter">The parameter to add to the command.</param>
  1180. <remarks>
  1181. <para>
  1182. Adds a parameter to the ordered list of command parameters.
  1183. </para>
  1184. </remarks>
  1185. </member>
  1186. <member name="M:log4net.Appender.AdoNetAppender.SendBuffer(System.Data.IDbTransaction,log4net.Core.LoggingEvent[])">
  1187. <summary>
  1188. Writes the events to the database using the transaction specified.
  1189. </summary>
  1190. <param name="dbTran">The transaction that the events will be executed under.</param>
  1191. <param name="events">The array of events to insert into the database.</param>
  1192. <remarks>
  1193. <para>
  1194. The transaction argument can be <c>null</c> if the appender has been
  1195. configured not to use transactions. See <see cref="P:log4net.Appender.AdoNetAppender.UseTransactions"/>
  1196. property for more information.
  1197. </para>
  1198. </remarks>
  1199. </member>
  1200. <member name="M:log4net.Appender.AdoNetAppender.GetLogStatement(log4net.Core.LoggingEvent)">
  1201. <summary>
  1202. Formats the log message into database statement text.
  1203. </summary>
  1204. <param name="logEvent">The event being logged.</param>
  1205. <remarks>
  1206. This method can be overridden by subclasses to provide
  1207. more control over the format of the database statement.
  1208. </remarks>
  1209. <returns>
  1210. Text that can be passed to a <see cref="T:System.Data.IDbCommand"/>.
  1211. </returns>
  1212. </member>
  1213. <member name="M:log4net.Appender.AdoNetAppender.CreateConnection(System.Type,System.String)">
  1214. <summary>
  1215. Creates an <see cref="T:System.Data.IDbConnection"/> instance used to connect to the database.
  1216. </summary>
  1217. <remarks>
  1218. This method is called whenever a new IDbConnection is needed (i.e. when a reconnect is necessary).
  1219. </remarks>
  1220. <param name="connectionType">The <see cref="T:System.Type"/> of the <see cref="T:System.Data.IDbConnection"/> object.</param>
  1221. <param name="connectionString">The connectionString output from the ResolveConnectionString method.</param>
  1222. <returns>An <see cref="T:System.Data.IDbConnection"/> instance with a valid connection string.</returns>
  1223. </member>
  1224. <member name="M:log4net.Appender.AdoNetAppender.ResolveConnectionString(System.String@)">
  1225. <summary>
  1226. Resolves the connection string from the ConnectionString, ConnectionStringName, or AppSettingsKey
  1227. property.
  1228. </summary>
  1229. <remarks>
  1230. ConnectiongStringName is only supported on .NET 2.0 and higher.
  1231. </remarks>
  1232. <param name="connectionStringContext">Additional information describing the connection string.</param>
  1233. <returns>A connection string used to connect to the database.</returns>
  1234. </member>
  1235. <member name="M:log4net.Appender.AdoNetAppender.ResolveConnectionType">
  1236. <summary>
  1237. Retrieves the class type of the ADO.NET provider.
  1238. </summary>
  1239. <remarks>
  1240. <para>
  1241. Gets the Type of the ADO.NET provider to use to connect to the
  1242. database. This method resolves the type specified in the
  1243. <see cref="P:log4net.Appender.AdoNetAppender.ConnectionType"/> property.
  1244. </para>
  1245. <para>
  1246. Subclasses can override this method to return a different type
  1247. if necessary.
  1248. </para>
  1249. </remarks>
  1250. <returns>The <see cref="T:System.Type"/> of the ADO.NET provider</returns>
  1251. </member>
  1252. <member name="M:log4net.Appender.AdoNetAppender.InitializeDatabaseCommand">
  1253. <summary>
  1254. Prepares the database command and initialize the parameters.
  1255. </summary>
  1256. </member>
  1257. <member name="M:log4net.Appender.AdoNetAppender.InitializeDatabaseConnection">
  1258. <summary>
  1259. Connects to the database.
  1260. </summary>
  1261. </member>
  1262. <member name="M:log4net.Appender.AdoNetAppender.DisposeCommand(System.Boolean)">
  1263. <summary>
  1264. Cleanup the existing command.
  1265. </summary>
  1266. <param name="ignoreException">
  1267. If true, a message will be written using LogLog.Warn if an exception is encountered when calling Dispose.
  1268. </param>
  1269. </member>
  1270. <member name="M:log4net.Appender.AdoNetAppender.DiposeConnection">
  1271. <summary>
  1272. Cleanup the existing connection.
  1273. </summary>
  1274. <remarks>
  1275. Calls the IDbConnection's <see cref="M:System.Data.IDbConnection.Close"/> method.
  1276. </remarks>
  1277. </member>
  1278. <member name="F:log4net.Appender.AdoNetAppender.m_usePreparedCommand">
  1279. <summary>
  1280. Flag to indicate if we are using a command object
  1281. </summary>
  1282. <remarks>
  1283. <para>
  1284. Set to <c>true</c> when the appender is to use a prepared
  1285. statement or stored procedure to insert into the database.
  1286. </para>
  1287. </remarks>
  1288. </member>
  1289. <member name="F:log4net.Appender.AdoNetAppender.m_parameters">
  1290. <summary>
  1291. The list of <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> objects.
  1292. </summary>
  1293. <remarks>
  1294. <para>
  1295. The list of <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> objects.
  1296. </para>
  1297. </remarks>
  1298. </member>
  1299. <member name="F:log4net.Appender.AdoNetAppender.m_securityContext">
  1300. <summary>
  1301. The security context to use for privileged calls
  1302. </summary>
  1303. </member>
  1304. <member name="F:log4net.Appender.AdoNetAppender.m_dbConnection">
  1305. <summary>
  1306. The <see cref="T:System.Data.IDbConnection"/> that will be used
  1307. to insert logging events into a database.
  1308. </summary>
  1309. </member>
  1310. <member name="F:log4net.Appender.AdoNetAppender.m_dbCommand">
  1311. <summary>
  1312. The database command.
  1313. </summary>
  1314. </member>
  1315. <member name="F:log4net.Appender.AdoNetAppender.m_connectionString">
  1316. <summary>
  1317. Database connection string.
  1318. </summary>
  1319. </member>
  1320. <member name="F:log4net.Appender.AdoNetAppender.m_appSettingsKey">
  1321. <summary>
  1322. The appSettings key from App.Config that contains the connection string.
  1323. </summary>
  1324. </member>
  1325. <member name="F:log4net.Appender.AdoNetAppender.m_connectionStringName">
  1326. <summary>
  1327. The connectionStrings key from App.Config that contains the connection string.
  1328. </summary>
  1329. </member>
  1330. <member name="F:log4net.Appender.AdoNetAppender.m_connectionType">
  1331. <summary>
  1332. String type name of the <see cref="T:System.Data.IDbConnection"/> type name.
  1333. </summary>
  1334. </member>
  1335. <member name="F:log4net.Appender.AdoNetAppender.m_commandText">
  1336. <summary>
  1337. The text of the command.
  1338. </summary>
  1339. </member>
  1340. <member name="F:log4net.Appender.AdoNetAppender.m_commandType">
  1341. <summary>
  1342. The command type.
  1343. </summary>
  1344. </member>
  1345. <member name="F:log4net.Appender.AdoNetAppender.m_useTransactions">
  1346. <summary>
  1347. Indicates whether to use transactions when writing to the database.
  1348. </summary>
  1349. </member>
  1350. <member name="F:log4net.Appender.AdoNetAppender.m_reconnectOnError">
  1351. <summary>
  1352. Indicates whether to use transactions when writing to the database.
  1353. </summary>
  1354. </member>
  1355. <member name="F:log4net.Appender.AdoNetAppender.declaringType">
  1356. <summary>
  1357. The fully qualified type of the AdoNetAppender class.
  1358. </summary>
  1359. <remarks>
  1360. Used by the internal logger to record the Type of the
  1361. log message.
  1362. </remarks>
  1363. </member>
  1364. <member name="P:log4net.Appender.AdoNetAppender.ConnectionString">
  1365. <summary>
  1366. Gets or sets the database connection string that is used to connect to
  1367. the database.
  1368. </summary>
  1369. <value>
  1370. The database connection string used to connect to the database.
  1371. </value>
  1372. <remarks>
  1373. <para>
  1374. The connections string is specific to the connection type.
  1375. See <see cref="P:log4net.Appender.AdoNetAppender.ConnectionType"/> for more information.
  1376. </para>
  1377. </remarks>
  1378. <example>Connection string for MS Access via ODBC:
  1379. <code>"DSN=MS Access Database;UID=admin;PWD=;SystemDB=C:\data\System.mdw;SafeTransactions = 0;FIL=MS Access;DriverID = 25;DBQ=C:\data\train33.mdb"</code>
  1380. </example>
  1381. <example>Another connection string for MS Access via ODBC:
  1382. <code>"Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\Work\cvs_root\log4net-1.2\access.mdb;UID=;PWD=;"</code>
  1383. </example>
  1384. <example>Connection string for MS Access via OLE DB:
  1385. <code>"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Work\cvs_root\log4net-1.2\access.mdb;User Id=;Password=;"</code>
  1386. </example>
  1387. </member>
  1388. <member name="P:log4net.Appender.AdoNetAppender.AppSettingsKey">
  1389. <summary>
  1390. The appSettings key from App.Config that contains the connection string.
  1391. </summary>
  1392. </member>
  1393. <member name="P:log4net.Appender.AdoNetAppender.ConnectionStringName">
  1394. <summary>
  1395. The connectionStrings key from App.Config that contains the connection string.
  1396. </summary>
  1397. <remarks>
  1398. This property requires at least .NET 2.0.
  1399. </remarks>
  1400. </member>
  1401. <member name="P:log4net.Appender.AdoNetAppender.ConnectionType">
  1402. <summary>
  1403. Gets or sets the type name of the <see cref="T:System.Data.IDbConnection"/> connection
  1404. that should be created.
  1405. </summary>
  1406. <value>
  1407. The type name of the <see cref="T:System.Data.IDbConnection"/> connection.
  1408. </value>
  1409. <remarks>
  1410. <para>
  1411. The type name of the ADO.NET provider to use.
  1412. </para>
  1413. <para>
  1414. The default is to use the OLE DB provider.
  1415. </para>
  1416. </remarks>
  1417. <example>Use the OLE DB Provider. This is the default value.
  1418. <code>System.Data.OleDb.OleDbConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</code>
  1419. </example>
  1420. <example>Use the MS SQL Server Provider.
  1421. <code>System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</code>
  1422. </example>
  1423. <example>Use the ODBC Provider.
  1424. <code>Microsoft.Data.Odbc.OdbcConnection,Microsoft.Data.Odbc,version=1.0.3300.0,publicKeyToken=b77a5c561934e089,culture=neutral</code>
  1425. This is an optional package that you can download from
  1426. <a href="http://msdn.microsoft.com/downloads">http://msdn.microsoft.com/downloads</a>
  1427. search for <b>ODBC .NET Data Provider</b>.
  1428. </example>
  1429. <example>Use the Oracle Provider.
  1430. <code>System.Data.OracleClient.OracleConnection, System.Data.OracleClient, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</code>
  1431. This is an optional package that you can download from
  1432. <a href="http://msdn.microsoft.com/downloads">http://msdn.microsoft.com/downloads</a>
  1433. search for <b>.NET Managed Provider for Oracle</b>.
  1434. </example>
  1435. </member>
  1436. <member name="P:log4net.Appender.AdoNetAppender.CommandText">
  1437. <summary>
  1438. Gets or sets the command text that is used to insert logging events
  1439. into the database.
  1440. </summary>
  1441. <value>
  1442. The command text used to insert logging events into the database.
  1443. </value>
  1444. <remarks>
  1445. <para>
  1446. Either the text of the prepared statement or the
  1447. name of the stored procedure to execute to write into
  1448. the database.
  1449. </para>
  1450. <para>
  1451. The <see cref="P:log4net.Appender.AdoNetAppender.CommandType"/> property determines if
  1452. this text is a prepared statement or a stored procedure.
  1453. </para>
  1454. </remarks>
  1455. </member>
  1456. <member name="P:log4net.Appender.AdoNetAppender.CommandType">
  1457. <summary>
  1458. Gets or sets the command type to execute.
  1459. </summary>
  1460. <value>
  1461. The command type to execute.
  1462. </value>
  1463. <remarks>
  1464. <para>
  1465. This value may be either <see cref="F:System.Data.CommandType.Text"/> (<c>System.Data.CommandType.Text</c>) to specify
  1466. that the <see cref="P:log4net.Appender.AdoNetAppender.CommandText"/> is a prepared statement to execute,
  1467. or <see cref="F:System.Data.CommandType.StoredProcedure"/> (<c>System.Data.CommandType.StoredProcedure</c>) to specify that the
  1468. <see cref="P:log4net.Appender.AdoNetAppender.CommandText"/> property is the name of a stored procedure
  1469. to execute.
  1470. </para>
  1471. <para>
  1472. The default value is <see cref="F:System.Data.CommandType.Text"/> (<c>System.Data.CommandType.Text</c>).
  1473. </para>
  1474. </remarks>
  1475. </member>
  1476. <member name="P:log4net.Appender.AdoNetAppender.UseTransactions">
  1477. <summary>
  1478. Should transactions be used to insert logging events in the database.
  1479. </summary>
  1480. <value>
  1481. <c>true</c> if transactions should be used to insert logging events in
  1482. the database, otherwise <c>false</c>. The default value is <c>true</c>.
  1483. </value>
  1484. <remarks>
  1485. <para>
  1486. Gets or sets a value that indicates whether transactions should be used
  1487. to insert logging events in the database.
  1488. </para>
  1489. <para>
  1490. When set a single transaction will be used to insert the buffered events
  1491. into the database. Otherwise each event will be inserted without using
  1492. an explicit transaction.
  1493. </para>
  1494. </remarks>
  1495. </member>
  1496. <member name="P:log4net.Appender.AdoNetAppender.SecurityContext">
  1497. <summary>
  1498. Gets or sets the <see cref="P:log4net.Appender.AdoNetAppender.SecurityContext"/> used to call the NetSend method.
  1499. </summary>
  1500. <value>
  1501. The <see cref="P:log4net.Appender.AdoNetAppender.SecurityContext"/> used to call the NetSend method.
  1502. </value>
  1503. <remarks>
  1504. <para>
  1505. Unless a <see cref="P:log4net.Appender.AdoNetAppender.SecurityContext"/> specified here for this appender
  1506. the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
  1507. security context to use. The default behavior is to use the security context
  1508. of the current thread.
  1509. </para>
  1510. </remarks>
  1511. </member>
  1512. <member name="P:log4net.Appender.AdoNetAppender.ReconnectOnError">
  1513. <summary>
  1514. Should this appender try to reconnect to the database on error.
  1515. </summary>
  1516. <value>
  1517. <c>true</c> if the appender should try to reconnect to the database after an
  1518. error has occurred, otherwise <c>false</c>. The default value is <c>false</c>,
  1519. i.e. not to try to reconnect.
  1520. </value>
  1521. <remarks>
  1522. <para>
  1523. The default behaviour is for the appender not to try to reconnect to the
  1524. database if an error occurs. Subsequent logging events are discarded.
  1525. </para>
  1526. <para>
  1527. To force the appender to attempt to reconnect to the database set this
  1528. property to <c>true</c>.
  1529. </para>
  1530. <note>
  1531. When the appender attempts to connect to the database there may be a
  1532. delay of up to the connection timeout specified in the connection string.
  1533. This delay will block the calling application's thread.
  1534. Until the connection can be reestablished this potential delay may occur multiple times.
  1535. </note>
  1536. </remarks>
  1537. </member>
  1538. <member name="P:log4net.Appender.AdoNetAppender.Connection">
  1539. <summary>
  1540. Gets or sets the underlying <see cref="T:System.Data.IDbConnection"/>.
  1541. </summary>
  1542. <value>
  1543. The underlying <see cref="T:System.Data.IDbConnection"/>.
  1544. </value>
  1545. <remarks>
  1546. <see cref="T:log4net.Appender.AdoNetAppender"/> creates a <see cref="T:System.Data.IDbConnection"/> to insert
  1547. logging events into a database. Classes deriving from <see cref="T:log4net.Appender.AdoNetAppender"/>
  1548. can use this property to get or set this <see cref="T:System.Data.IDbConnection"/>. Use the
  1549. underlying <see cref="T:System.Data.IDbConnection"/> returned from <see cref="P:log4net.Appender.AdoNetAppender.Connection"/> if
  1550. you require access beyond that which <see cref="T:log4net.Appender.AdoNetAppender"/> provides.
  1551. </remarks>
  1552. </member>
  1553. <member name="T:log4net.Appender.AdoNetAppenderParameter">
  1554. <summary>
  1555. Parameter type used by the <see cref="T:log4net.Appender.AdoNetAppender"/>.
  1556. </summary>
  1557. <remarks>
  1558. <para>
  1559. This class provides the basic database parameter properties
  1560. as defined by the <see cref="T:System.Data.IDbDataParameter"/> interface.
  1561. </para>
  1562. <para>This type can be subclassed to provide database specific
  1563. functionality. The two methods that are called externally are
  1564. <see cref="M:log4net.Appender.AdoNetAppenderParameter.Prepare(System.Data.IDbCommand)"/> and <see cref="M:log4net.Appender.AdoNetAppenderParameter.FormatValue(System.Data.IDbCommand,log4net.Core.LoggingEvent)"/>.
  1565. </para>
  1566. </remarks>
  1567. </member>
  1568. <member name="M:log4net.Appender.AdoNetAppenderParameter.#ctor">
  1569. <summary>
  1570. Initializes a new instance of the <see cref="T:log4net.Appender.AdoNetAppenderParameter"/> class.
  1571. </summary>
  1572. <remarks>
  1573. Default constructor for the AdoNetAppenderParameter class.
  1574. </remarks>
  1575. </member>
  1576. <member name="M:log4net.Appender.AdoNetAppenderParameter.Prepare(System.Data.IDbCommand)">
  1577. <summary>
  1578. Prepare the specified database command object.
  1579. </summary>
  1580. <param name="command">The command to prepare.</param>
  1581. <remarks>
  1582. <para>
  1583. Prepares the database command object by adding
  1584. this parameter to its collection of parameters.
  1585. </para>
  1586. </remarks>
  1587. </member>
  1588. <member name="M:log4net.Appender.AdoNetAppenderParameter.FormatValue(System.Data.IDbCommand,log4net.Core.LoggingEvent)">
  1589. <summary>
  1590. Renders the logging event and set the parameter value in the command.
  1591. </summary>
  1592. <param name="command">The command containing the parameter.</param>
  1593. <param name="loggingEvent">The event to be rendered.</param>
  1594. <remarks>
  1595. <para>
  1596. Renders the logging event using this parameters layout
  1597. object. Sets the value of the parameter on the command object.
  1598. </para>
  1599. </remarks>
  1600. </member>
  1601. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_parameterName">
  1602. <summary>
  1603. The name of this parameter.
  1604. </summary>
  1605. </member>
  1606. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_dbType">
  1607. <summary>
  1608. The database type for this parameter.
  1609. </summary>
  1610. </member>
  1611. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_inferType">
  1612. <summary>
  1613. Flag to infer type rather than use the DbType
  1614. </summary>
  1615. </member>
  1616. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_precision">
  1617. <summary>
  1618. The precision for this parameter.
  1619. </summary>
  1620. </member>
  1621. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_scale">
  1622. <summary>
  1623. The scale for this parameter.
  1624. </summary>
  1625. </member>
  1626. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_size">
  1627. <summary>
  1628. The size for this parameter.
  1629. </summary>
  1630. </member>
  1631. <member name="F:log4net.Appender.AdoNetAppenderParameter.m_layout">
  1632. <summary>
  1633. The <see cref="T:log4net.Layout.IRawLayout"/> to use to render the
  1634. logging event into an object for this parameter.
  1635. </summary>
  1636. </member>
  1637. <member name="P:log4net.Appender.AdoNetAppenderParameter.ParameterName">
  1638. <summary>
  1639. Gets or sets the name of this parameter.
  1640. </summary>
  1641. <value>
  1642. The name of this parameter.
  1643. </value>
  1644. <remarks>
  1645. <para>
  1646. The name of this parameter. The parameter name
  1647. must match up to a named parameter to the SQL stored procedure
  1648. or prepared statement.
  1649. </para>
  1650. </remarks>
  1651. </member>
  1652. <member name="P:log4net.Appender.AdoNetAppenderParameter.DbType">
  1653. <summary>
  1654. Gets or sets the database type for this parameter.
  1655. </summary>
  1656. <value>
  1657. The database type for this parameter.
  1658. </value>
  1659. <remarks>
  1660. <para>
  1661. The database type for this parameter. This property should
  1662. be set to the database type from the <see cref="P:log4net.Appender.AdoNetAppenderParameter.DbType"/>
  1663. enumeration. See <see cref="P:System.Data.IDataParameter.DbType"/>.
  1664. </para>
  1665. <para>
  1666. This property is optional. If not specified the ADO.NET provider
  1667. will attempt to infer the type from the value.
  1668. </para>
  1669. </remarks>
  1670. <seealso cref="P:System.Data.IDataParameter.DbType"/>
  1671. </member>
  1672. <member name="P:log4net.Appender.AdoNetAppenderParameter.Precision">
  1673. <summary>
  1674. Gets or sets the precision for this parameter.
  1675. </summary>
  1676. <value>
  1677. The precision for this parameter.
  1678. </value>
  1679. <remarks>
  1680. <para>
  1681. The maximum number of digits used to represent the Value.
  1682. </para>
  1683. <para>
  1684. This property is optional. If not specified the ADO.NET provider
  1685. will attempt to infer the precision from the value.
  1686. </para>
  1687. </remarks>
  1688. <seealso cref="P:System.Data.IDbDataParameter.Precision"/>
  1689. </member>
  1690. <member name="P:log4net.Appender.AdoNetAppenderParameter.Scale">
  1691. <summary>
  1692. Gets or sets the scale for this parameter.
  1693. </summary>
  1694. <value>
  1695. The scale for this parameter.
  1696. </value>
  1697. <remarks>
  1698. <para>
  1699. The number of decimal places to which Value is resolved.
  1700. </para>
  1701. <para>
  1702. This property is optional. If not specified the ADO.NET provider
  1703. will attempt to infer the scale from the value.
  1704. </para>
  1705. </remarks>
  1706. <seealso cref="P:System.Data.IDbDataParameter.Scale"/>
  1707. </member>
  1708. <member name="P:log4net.Appender.AdoNetAppenderParameter.Size">
  1709. <summary>
  1710. Gets or sets the size for this parameter.
  1711. </summary>
  1712. <value>
  1713. The size for this parameter.
  1714. </value>
  1715. <remarks>
  1716. <para>
  1717. The maximum size, in bytes, of the data within the column.
  1718. </para>
  1719. <para>
  1720. This property is optional. If not specified the ADO.NET provider
  1721. will attempt to infer the size from the value.
  1722. </para>
  1723. <para>
  1724. For BLOB data types like VARCHAR(max) it may be impossible to infer the value automatically, use -1 as the size in this case.
  1725. </para>
  1726. </remarks>
  1727. <seealso cref="P:System.Data.IDbDataParameter.Size"/>
  1728. </member>
  1729. <member name="P:log4net.Appender.AdoNetAppenderParameter.Layout">
  1730. <summary>
  1731. Gets or sets the <see cref="T:log4net.Layout.IRawLayout"/> to use to
  1732. render the logging event into an object for this
  1733. parameter.
  1734. </summary>
  1735. <value>
  1736. The <see cref="T:log4net.Layout.IRawLayout"/> used to render the
  1737. logging event into an object for this parameter.
  1738. </value>
  1739. <remarks>
  1740. <para>
  1741. The <see cref="T:log4net.Layout.IRawLayout"/> that renders the value for this
  1742. parameter.
  1743. </para>
  1744. <para>
  1745. The <see cref="T:log4net.Layout.RawLayoutConverter"/> can be used to adapt
  1746. any <see cref="T:log4net.Layout.ILayout"/> into a <see cref="T:log4net.Layout.IRawLayout"/>
  1747. for use in the property.
  1748. </para>
  1749. </remarks>
  1750. </member>
  1751. <member name="T:log4net.Appender.AnsiColorTerminalAppender">
  1752. <summary>
  1753. Appends logging events to the terminal using ANSI color escape sequences.
  1754. </summary>
  1755. <remarks>
  1756. <para>
  1757. AnsiColorTerminalAppender appends log events to the standard output stream
  1758. or the error output stream using a layout specified by the
  1759. user. It also allows the color of a specific level of message to be set.
  1760. </para>
  1761. <note>
  1762. This appender expects the terminal to understand the VT100 control set
  1763. in order to interpret the color codes. If the terminal or console does not
  1764. understand the control codes the behavior is not defined.
  1765. </note>
  1766. <para>
  1767. By default, all output is written to the console's standard output stream.
  1768. The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> property can be set to direct the output to the
  1769. error stream.
  1770. </para>
  1771. <para>
  1772. NOTE: This appender writes each message to the <c>System.Console.Out</c> or
  1773. <c>System.Console.Error</c> that is set at the time the event is appended.
  1774. Therefore it is possible to programmatically redirect the output of this appender
  1775. (for example NUnit does this to capture program output). While this is the desired
  1776. behavior of this appender it may have security implications in your application.
  1777. </para>
  1778. <para>
  1779. When configuring the ANSI colored terminal appender, a mapping should be
  1780. specified to map a logging level to a color. For example:
  1781. </para>
  1782. <code lang="XML" escaped="true">
  1783. <mapping>
  1784. <level value="ERROR"/>
  1785. <foreColor value="White"/>
  1786. <backColor value="Red"/>
  1787. <attributes value="Bright,Underscore"/>
  1788. </mapping>
  1789. <mapping>
  1790. <level value="DEBUG"/>
  1791. <backColor value="Green"/>
  1792. </mapping>
  1793. </code>
  1794. <para>
  1795. The Level is the standard log4net logging level and ForeColor and BackColor can be any
  1796. of the following values:
  1797. <list type="bullet">
  1798. <item><term>Blue</term><description></description></item>
  1799. <item><term>Green</term><description></description></item>
  1800. <item><term>Red</term><description></description></item>
  1801. <item><term>White</term><description></description></item>
  1802. <item><term>Yellow</term><description></description></item>
  1803. <item><term>Purple</term><description></description></item>
  1804. <item><term>Cyan</term><description></description></item>
  1805. </list>
  1806. These color values cannot be combined together to make new colors.
  1807. </para>
  1808. <para>
  1809. The attributes can be any combination of the following:
  1810. <list type="bullet">
  1811. <item><term>Bright</term><description>foreground is brighter</description></item>
  1812. <item><term>Dim</term><description>foreground is dimmer</description></item>
  1813. <item><term>Underscore</term><description>message is underlined</description></item>
  1814. <item><term>Blink</term><description>foreground is blinking (does not work on all terminals)</description></item>
  1815. <item><term>Reverse</term><description>foreground and background are reversed</description></item>
  1816. <item><term>Hidden</term><description>output is hidden</description></item>
  1817. <item><term>Strikethrough</term><description>message has a line through it</description></item>
  1818. </list>
  1819. While any of these attributes may be combined together not all combinations
  1820. work well together, for example setting both <i>Bright</i> and <i>Dim</i> attributes makes
  1821. no sense.
  1822. </para>
  1823. </remarks>
  1824. <author>Patrick Wagstrom</author>
  1825. <author>Nicko Cadell</author>
  1826. </member>
  1827. <member name="F:log4net.Appender.AnsiColorTerminalAppender.ConsoleOut">
  1828. <summary>
  1829. The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console
  1830. standard output stream.
  1831. </summary>
  1832. <remarks>
  1833. <para>
  1834. The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console
  1835. standard output stream.
  1836. </para>
  1837. </remarks>
  1838. </member>
  1839. <member name="F:log4net.Appender.AnsiColorTerminalAppender.ConsoleError">
  1840. <summary>
  1841. The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console
  1842. standard error output stream.
  1843. </summary>
  1844. <remarks>
  1845. <para>
  1846. The <see cref="P:log4net.Appender.AnsiColorTerminalAppender.Target"/> to use when writing to the Console
  1847. standard error output stream.
  1848. </para>
  1849. </remarks>
  1850. </member>
  1851. <member name="F:log4net.Appender.AnsiColorTerminalAppender.PostEventCodes">
  1852. <summary>
  1853. Ansi code to reset terminal
  1854. </summary>
  1855. </member>
  1856. <member name="M:log4net.Appender.AnsiColorTerminalAppender.#ctor">
  1857. <summary>
  1858. Initializes a new instance of the <see cref="T:log4net.Appender.AnsiColorTerminalAppender"/> class.
  1859. </summary>
  1860. <remarks>
  1861. The instance of the <see cref="T:log4net.Appender.AnsiColorTerminalAppender"/> class is set up to write
  1862. to the standard output stream.
  1863. </remarks>
  1864. </member>
  1865. <member name="M:log4net.Appender.AnsiColorTerminalAppender.AddMapping(log4net.Appender.AnsiColorTerminalAppender.LevelColors)">
  1866. <summary>
  1867. Add a mapping of level to color
  1868. </summary>
  1869. <param name="mapping">The mapping to add</param>
  1870. <remarks>
  1871. <para>
  1872. Add a <see cref="T:log4net.Appender.AnsiColorTerminalAppender.LevelColors"/> mapping to this appender.
  1873. Each mapping defines the foreground and background colours
  1874. for a level.
  1875. </para>
  1876. </remarks>
  1877. </member>
  1878. <member name="M:log4net.Appender.AnsiColorTerminalAppender.Append(log4net.Core.LoggingEvent)">
  1879. <summary>
  1880. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  1881. </summary>
  1882. <param name="loggingEvent">The event to log.</param>
  1883. <remarks>
  1884. <para>
  1885. Writes the event to the console.
  1886. </para>
  1887. <para>
  1888. The format of the output will depend on the appender's layout.
  1889. </para>
  1890. </remarks>
  1891. </member>
  1892. <member name="M:log4net.Appender.AnsiColorTerminalAppender.ActivateOptions">
  1893. <summary>
  1894. Initialize the options for this appender
  1895. </summary>
  1896. <remarks>
  1897. <para>
  1898. Initialize the level to color mappings set on this appender.
  1899. </para>
  1900. </remarks>
  1901. </member>
  1902. <member name="F:log4net.Appender.AnsiColorTerminalAppender.m_writeToErrorStream">
  1903. <summary>
  1904. Flag to write output to the error stream rather than the standard output stream
  1905. </summary>
  1906. </member>
  1907. <member name="F:log4net.Appender.AnsiColorTerminalAppender.m_levelMapping">
  1908. <summary>
  1909. Mapping from level object to color value
  1910. </summary>
  1911. </member>
  1912. <member name="P:log4net.Appender.AnsiColorTerminalAppender.Target">
  1913. <summary>
  1914. Target is the value of the console output stream.
  1915. </summary>
  1916. <value>
  1917. Target is the value of the console output stream.
  1918. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  1919. </value>
  1920. <remarks>
  1921. <para>
  1922. Target is the value of the console output stream.
  1923. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  1924. </para>
  1925. </remarks>
  1926. </member>
  1927. <member name="P:log4net.Appender.AnsiColorTerminalAppender.RequiresLayout">
  1928. <summary>
  1929. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  1930. </summary>
  1931. <value><c>true</c></value>
  1932. <remarks>
  1933. <para>
  1934. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  1935. </para>
  1936. </remarks>
  1937. </member>
  1938. <member name="T:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes">
  1939. <summary>
  1940. The enum of possible display attributes
  1941. </summary>
  1942. <remarks>
  1943. <para>
  1944. The following flags can be combined together to
  1945. form the ANSI color attributes.
  1946. </para>
  1947. </remarks>
  1948. <seealso cref="T:log4net.Appender.AnsiColorTerminalAppender"/>
  1949. </member>
  1950. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Bright">
  1951. <summary>
  1952. text is bright
  1953. </summary>
  1954. </member>
  1955. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Dim">
  1956. <summary>
  1957. text is dim
  1958. </summary>
  1959. </member>
  1960. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Underscore">
  1961. <summary>
  1962. text is underlined
  1963. </summary>
  1964. </member>
  1965. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Blink">
  1966. <summary>
  1967. text is blinking
  1968. </summary>
  1969. <remarks>
  1970. Not all terminals support this attribute
  1971. </remarks>
  1972. </member>
  1973. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Reverse">
  1974. <summary>
  1975. text and background colors are reversed
  1976. </summary>
  1977. </member>
  1978. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Hidden">
  1979. <summary>
  1980. text is hidden
  1981. </summary>
  1982. </member>
  1983. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Strikethrough">
  1984. <summary>
  1985. text is displayed with a strikethrough
  1986. </summary>
  1987. </member>
  1988. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiAttributes.Light">
  1989. <summary>
  1990. text color is light
  1991. </summary>
  1992. </member>
  1993. <member name="T:log4net.Appender.AnsiColorTerminalAppender.AnsiColor">
  1994. <summary>
  1995. The enum of possible foreground or background color values for
  1996. use with the color mapping method
  1997. </summary>
  1998. <remarks>
  1999. <para>
  2000. The output can be in one for the following ANSI colors.
  2001. </para>
  2002. </remarks>
  2003. <seealso cref="T:log4net.Appender.AnsiColorTerminalAppender"/>
  2004. </member>
  2005. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Black">
  2006. <summary>
  2007. color is black
  2008. </summary>
  2009. </member>
  2010. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Red">
  2011. <summary>
  2012. color is red
  2013. </summary>
  2014. </member>
  2015. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Green">
  2016. <summary>
  2017. color is green
  2018. </summary>
  2019. </member>
  2020. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Yellow">
  2021. <summary>
  2022. color is yellow
  2023. </summary>
  2024. </member>
  2025. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Blue">
  2026. <summary>
  2027. color is blue
  2028. </summary>
  2029. </member>
  2030. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Magenta">
  2031. <summary>
  2032. color is magenta
  2033. </summary>
  2034. </member>
  2035. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.Cyan">
  2036. <summary>
  2037. color is cyan
  2038. </summary>
  2039. </member>
  2040. <member name="F:log4net.Appender.AnsiColorTerminalAppender.AnsiColor.White">
  2041. <summary>
  2042. color is white
  2043. </summary>
  2044. </member>
  2045. <member name="T:log4net.Appender.AnsiColorTerminalAppender.LevelColors">
  2046. <summary>
  2047. A class to act as a mapping between the level that a logging call is made at and
  2048. the color it should be displayed as.
  2049. </summary>
  2050. <remarks>
  2051. <para>
  2052. Defines the mapping between a level and the color it should be displayed in.
  2053. </para>
  2054. </remarks>
  2055. </member>
  2056. <member name="T:log4net.Util.LevelMappingEntry">
  2057. <summary>
  2058. An entry in the <see cref="T:log4net.Util.LevelMapping"/>
  2059. </summary>
  2060. <remarks>
  2061. <para>
  2062. This is an abstract base class for types that are stored in the
  2063. <see cref="T:log4net.Util.LevelMapping"/> object.
  2064. </para>
  2065. </remarks>
  2066. <author>Nicko Cadell</author>
  2067. </member>
  2068. <member name="M:log4net.Util.LevelMappingEntry.#ctor">
  2069. <summary>
  2070. Default protected constructor
  2071. </summary>
  2072. <remarks>
  2073. <para>
  2074. Default protected constructor
  2075. </para>
  2076. </remarks>
  2077. </member>
  2078. <member name="M:log4net.Util.LevelMappingEntry.ActivateOptions">
  2079. <summary>
  2080. Initialize any options defined on this entry
  2081. </summary>
  2082. <remarks>
  2083. <para>
  2084. Should be overridden by any classes that need to initialise based on their options
  2085. </para>
  2086. </remarks>
  2087. </member>
  2088. <member name="P:log4net.Util.LevelMappingEntry.Level">
  2089. <summary>
  2090. The level that is the key for this mapping
  2091. </summary>
  2092. <value>
  2093. The <see cref="P:log4net.Util.LevelMappingEntry.Level"/> that is the key for this mapping
  2094. </value>
  2095. <remarks>
  2096. <para>
  2097. Get or set the <see cref="P:log4net.Util.LevelMappingEntry.Level"/> that is the key for this
  2098. mapping subclass.
  2099. </para>
  2100. </remarks>
  2101. </member>
  2102. <member name="M:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ActivateOptions">
  2103. <summary>
  2104. Initialize the options for the object
  2105. </summary>
  2106. <remarks>
  2107. <para>
  2108. Combine the <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor"/> and <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor"/> together
  2109. and append the attributes.
  2110. </para>
  2111. </remarks>
  2112. </member>
  2113. <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor">
  2114. <summary>
  2115. The mapped foreground color for the specified level
  2116. </summary>
  2117. <remarks>
  2118. <para>
  2119. Required property.
  2120. The mapped foreground color for the specified level
  2121. </para>
  2122. </remarks>
  2123. </member>
  2124. <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor">
  2125. <summary>
  2126. The mapped background color for the specified level
  2127. </summary>
  2128. <remarks>
  2129. <para>
  2130. Required property.
  2131. The mapped background color for the specified level
  2132. </para>
  2133. </remarks>
  2134. </member>
  2135. <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.Attributes">
  2136. <summary>
  2137. The color attributes for the specified level
  2138. </summary>
  2139. <remarks>
  2140. <para>
  2141. Required property.
  2142. The color attributes for the specified level
  2143. </para>
  2144. </remarks>
  2145. </member>
  2146. <member name="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.CombinedColor">
  2147. <summary>
  2148. The combined <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.ForeColor"/>, <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.BackColor"/> and
  2149. <see cref="P:log4net.Appender.AnsiColorTerminalAppender.LevelColors.Attributes"/> suitable for setting the ansi terminal color.
  2150. </summary>
  2151. </member>
  2152. <member name="T:log4net.Appender.AppenderCollection">
  2153. <summary>
  2154. A strongly-typed collection of <see cref="T:log4net.Appender.IAppender"/> objects.
  2155. </summary>
  2156. <author>Nicko Cadell</author>
  2157. </member>
  2158. <member name="M:log4net.Appender.AppenderCollection.ReadOnly(log4net.Appender.AppenderCollection)">
  2159. <summary>
  2160. Creates a read-only wrapper for a <c>AppenderCollection</c> instance.
  2161. </summary>
  2162. <param name="list">list to create a readonly wrapper arround</param>
  2163. <returns>
  2164. An <c>AppenderCollection</c> wrapper that is read-only.
  2165. </returns>
  2166. </member>
  2167. <member name="F:log4net.Appender.AppenderCollection.EmptyCollection">
  2168. <summary>
  2169. An empty readonly static AppenderCollection
  2170. </summary>
  2171. </member>
  2172. <member name="M:log4net.Appender.AppenderCollection.#ctor">
  2173. <summary>
  2174. Initializes a new instance of the <c>AppenderCollection</c> class
  2175. that is empty and has the default initial capacity.
  2176. </summary>
  2177. </member>
  2178. <member name="M:log4net.Appender.AppenderCollection.#ctor(System.Int32)">
  2179. <summary>
  2180. Initializes a new instance of the <c>AppenderCollection</c> class
  2181. that has the specified initial capacity.
  2182. </summary>
  2183. <param name="capacity">
  2184. The number of elements that the new <c>AppenderCollection</c> is initially capable of storing.
  2185. </param>
  2186. </member>
  2187. <member name="M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.AppenderCollection)">
  2188. <summary>
  2189. Initializes a new instance of the <c>AppenderCollection</c> class
  2190. that contains elements copied from the specified <c>AppenderCollection</c>.
  2191. </summary>
  2192. <param name="c">The <c>AppenderCollection</c> whose elements are copied to the new collection.</param>
  2193. </member>
  2194. <member name="M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.IAppender[])">
  2195. <summary>
  2196. Initializes a new instance of the <c>AppenderCollection</c> class
  2197. that contains elements copied from the specified <see cref="T:log4net.Appender.IAppender"/> array.
  2198. </summary>
  2199. <param name="a">The <see cref="T:log4net.Appender.IAppender"/> array whose elements are copied to the new list.</param>
  2200. </member>
  2201. <member name="M:log4net.Appender.AppenderCollection.#ctor(System.Collections.ICollection)">
  2202. <summary>
  2203. Initializes a new instance of the <c>AppenderCollection</c> class
  2204. that contains elements copied from the specified <see cref="T:log4net.Appender.IAppender"/> collection.
  2205. </summary>
  2206. <param name="col">The <see cref="T:log4net.Appender.IAppender"/> collection whose elements are copied to the new list.</param>
  2207. </member>
  2208. <member name="M:log4net.Appender.AppenderCollection.#ctor(log4net.Appender.AppenderCollection.Tag)">
  2209. <summary>
  2210. Allow subclasses to avoid our default constructors
  2211. </summary>
  2212. <param name="tag"></param>
  2213. <exclude/>
  2214. </member>
  2215. <member name="M:log4net.Appender.AppenderCollection.CopyTo(log4net.Appender.IAppender[])">
  2216. <summary>
  2217. Copies the entire <c>AppenderCollection</c> to a one-dimensional
  2218. <see cref="T:log4net.Appender.IAppender"/> array.
  2219. </summary>
  2220. <param name="array">The one-dimensional <see cref="T:log4net.Appender.IAppender"/> array to copy to.</param>
  2221. </member>
  2222. <member name="M:log4net.Appender.AppenderCollection.CopyTo(log4net.Appender.IAppender[],System.Int32)">
  2223. <summary>
  2224. Copies the entire <c>AppenderCollection</c> to a one-dimensional
  2225. <see cref="T:log4net.Appender.IAppender"/> array, starting at the specified index of the target array.
  2226. </summary>
  2227. <param name="array">The one-dimensional <see cref="T:log4net.Appender.IAppender"/> array to copy to.</param>
  2228. <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param>
  2229. </member>
  2230. <member name="M:log4net.Appender.AppenderCollection.Add(log4net.Appender.IAppender)">
  2231. <summary>
  2232. Adds a <see cref="T:log4net.Appender.IAppender"/> to the end of the <c>AppenderCollection</c>.
  2233. </summary>
  2234. <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to be added to the end of the <c>AppenderCollection</c>.</param>
  2235. <returns>The index at which the value has been added.</returns>
  2236. </member>
  2237. <member name="M:log4net.Appender.AppenderCollection.Clear">
  2238. <summary>
  2239. Removes all elements from the <c>AppenderCollection</c>.
  2240. </summary>
  2241. </member>
  2242. <member name="M:log4net.Appender.AppenderCollection.Clone">
  2243. <summary>
  2244. Creates a shallow copy of the <see cref="T:log4net.Appender.AppenderCollection"/>.
  2245. </summary>
  2246. <returns>A new <see cref="T:log4net.Appender.AppenderCollection"/> with a shallow copy of the collection data.</returns>
  2247. </member>
  2248. <member name="M:log4net.Appender.AppenderCollection.Contains(log4net.Appender.IAppender)">
  2249. <summary>
  2250. Determines whether a given <see cref="T:log4net.Appender.IAppender"/> is in the <c>AppenderCollection</c>.
  2251. </summary>
  2252. <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to check for.</param>
  2253. <returns><c>true</c> if <paramref name="item"/> is found in the <c>AppenderCollection</c>; otherwise, <c>false</c>.</returns>
  2254. </member>
  2255. <member name="M:log4net.Appender.AppenderCollection.IndexOf(log4net.Appender.IAppender)">
  2256. <summary>
  2257. Returns the zero-based index of the first occurrence of a <see cref="T:log4net.Appender.IAppender"/>
  2258. in the <c>AppenderCollection</c>.
  2259. </summary>
  2260. <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to locate in the <c>AppenderCollection</c>.</param>
  2261. <returns>
  2262. The zero-based index of the first occurrence of <paramref name="item"/>
  2263. in the entire <c>AppenderCollection</c>, if found; otherwise, -1.
  2264. </returns>
  2265. </member>
  2266. <member name="M:log4net.Appender.AppenderCollection.Insert(System.Int32,log4net.Appender.IAppender)">
  2267. <summary>
  2268. Inserts an element into the <c>AppenderCollection</c> at the specified index.
  2269. </summary>
  2270. <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
  2271. <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to insert.</param>
  2272. <exception cref="T:System.ArgumentOutOfRangeException">
  2273. <para><paramref name="index"/> is less than zero</para>
  2274. <para>-or-</para>
  2275. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
  2276. </exception>
  2277. </member>
  2278. <member name="M:log4net.Appender.AppenderCollection.Remove(log4net.Appender.IAppender)">
  2279. <summary>
  2280. Removes the first occurrence of a specific <see cref="T:log4net.Appender.IAppender"/> from the <c>AppenderCollection</c>.
  2281. </summary>
  2282. <param name="item">The <see cref="T:log4net.Appender.IAppender"/> to remove from the <c>AppenderCollection</c>.</param>
  2283. <exception cref="T:System.ArgumentException">
  2284. The specified <see cref="T:log4net.Appender.IAppender"/> was not found in the <c>AppenderCollection</c>.
  2285. </exception>
  2286. </member>
  2287. <member name="M:log4net.Appender.AppenderCollection.RemoveAt(System.Int32)">
  2288. <summary>
  2289. Removes the element at the specified index of the <c>AppenderCollection</c>.
  2290. </summary>
  2291. <param name="index">The zero-based index of the element to remove.</param>
  2292. <exception cref="T:System.ArgumentOutOfRangeException">
  2293. <para><paramref name="index"/> is less than zero</para>
  2294. <para>-or-</para>
  2295. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
  2296. </exception>
  2297. </member>
  2298. <member name="M:log4net.Appender.AppenderCollection.GetEnumerator">
  2299. <summary>
  2300. Returns an enumerator that can iterate through the <c>AppenderCollection</c>.
  2301. </summary>
  2302. <returns>An <see cref="T:log4net.Appender.AppenderCollection.Enumerator"/> for the entire <c>AppenderCollection</c>.</returns>
  2303. </member>
  2304. <member name="M:log4net.Appender.AppenderCollection.AddRange(log4net.Appender.AppenderCollection)">
  2305. <summary>
  2306. Adds the elements of another <c>AppenderCollection</c> to the current <c>AppenderCollection</c>.
  2307. </summary>
  2308. <param name="x">The <c>AppenderCollection</c> whose elements should be added to the end of the current <c>AppenderCollection</c>.</param>
  2309. <returns>The new <see cref="P:log4net.Appender.AppenderCollection.Count"/> of the <c>AppenderCollection</c>.</returns>
  2310. </member>
  2311. <member name="M:log4net.Appender.AppenderCollection.AddRange(log4net.Appender.IAppender[])">
  2312. <summary>
  2313. Adds the elements of a <see cref="T:log4net.Appender.IAppender"/> array to the current <c>AppenderCollection</c>.
  2314. </summary>
  2315. <param name="x">The <see cref="T:log4net.Appender.IAppender"/> array whose elements should be added to the end of the <c>AppenderCollection</c>.</param>
  2316. <returns>The new <see cref="P:log4net.Appender.AppenderCollection.Count"/> of the <c>AppenderCollection</c>.</returns>
  2317. </member>
  2318. <member name="M:log4net.Appender.AppenderCollection.AddRange(System.Collections.ICollection)">
  2319. <summary>
  2320. Adds the elements of a <see cref="T:log4net.Appender.IAppender"/> collection to the current <c>AppenderCollection</c>.
  2321. </summary>
  2322. <param name="col">The <see cref="T:log4net.Appender.IAppender"/> collection whose elements should be added to the end of the <c>AppenderCollection</c>.</param>
  2323. <returns>The new <see cref="P:log4net.Appender.AppenderCollection.Count"/> of the <c>AppenderCollection</c>.</returns>
  2324. </member>
  2325. <member name="M:log4net.Appender.AppenderCollection.TrimToSize">
  2326. <summary>
  2327. Sets the capacity to the actual number of elements.
  2328. </summary>
  2329. </member>
  2330. <member name="M:log4net.Appender.AppenderCollection.ToArray">
  2331. <summary>
  2332. Return the collection elements as an array
  2333. </summary>
  2334. <returns>the array</returns>
  2335. </member>
  2336. <member name="M:log4net.Appender.AppenderCollection.ValidateIndex(System.Int32)">
  2337. <exception cref="T:System.ArgumentOutOfRangeException">
  2338. <para><paramref name="i"/> is less than zero</para>
  2339. <para>-or-</para>
  2340. <para><paramref name="i"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
  2341. </exception>
  2342. </member>
  2343. <member name="M:log4net.Appender.AppenderCollection.ValidateIndex(System.Int32,System.Boolean)">
  2344. <exception cref="T:System.ArgumentOutOfRangeException">
  2345. <para><paramref name="i"/> is less than zero</para>
  2346. <para>-or-</para>
  2347. <para><paramref name="i"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
  2348. </exception>
  2349. </member>
  2350. <member name="P:log4net.Appender.AppenderCollection.Count">
  2351. <summary>
  2352. Gets the number of elements actually contained in the <c>AppenderCollection</c>.
  2353. </summary>
  2354. </member>
  2355. <member name="P:log4net.Appender.AppenderCollection.IsSynchronized">
  2356. <summary>
  2357. Gets a value indicating whether access to the collection is synchronized (thread-safe).
  2358. </summary>
  2359. <returns>true if access to the ICollection is synchronized (thread-safe); otherwise, false.</returns>
  2360. </member>
  2361. <member name="P:log4net.Appender.AppenderCollection.SyncRoot">
  2362. <summary>
  2363. Gets an object that can be used to synchronize access to the collection.
  2364. </summary>
  2365. </member>
  2366. <member name="P:log4net.Appender.AppenderCollection.Item(System.Int32)">
  2367. <summary>
  2368. Gets or sets the <see cref="T:log4net.Appender.IAppender"/> at the specified index.
  2369. </summary>
  2370. <param name="index">The zero-based index of the element to get or set.</param>
  2371. <exception cref="T:System.ArgumentOutOfRangeException">
  2372. <para><paramref name="index"/> is less than zero</para>
  2373. <para>-or-</para>
  2374. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Appender.AppenderCollection.Count"/>.</para>
  2375. </exception>
  2376. </member>
  2377. <member name="P:log4net.Appender.AppenderCollection.IsFixedSize">
  2378. <summary>
  2379. Gets a value indicating whether the collection has a fixed size.
  2380. </summary>
  2381. <value>true if the collection has a fixed size; otherwise, false. The default is false</value>
  2382. </member>
  2383. <member name="P:log4net.Appender.AppenderCollection.IsReadOnly">
  2384. <summary>
  2385. Gets a value indicating whether the IList is read-only.
  2386. </summary>
  2387. <value>true if the collection is read-only; otherwise, false. The default is false</value>
  2388. </member>
  2389. <member name="P:log4net.Appender.AppenderCollection.Capacity">
  2390. <summary>
  2391. Gets or sets the number of elements the <c>AppenderCollection</c> can contain.
  2392. </summary>
  2393. </member>
  2394. <member name="T:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator">
  2395. <summary>
  2396. Supports type-safe iteration over a <see cref="T:log4net.Appender.AppenderCollection"/>.
  2397. </summary>
  2398. <exclude/>
  2399. </member>
  2400. <member name="M:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator.MoveNext">
  2401. <summary>
  2402. Advances the enumerator to the next element in the collection.
  2403. </summary>
  2404. <returns>
  2405. <c>true</c> if the enumerator was successfully advanced to the next element;
  2406. <c>false</c> if the enumerator has passed the end of the collection.
  2407. </returns>
  2408. <exception cref="T:System.InvalidOperationException">
  2409. The collection was modified after the enumerator was created.
  2410. </exception>
  2411. </member>
  2412. <member name="M:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator.Reset">
  2413. <summary>
  2414. Sets the enumerator to its initial position, before the first element in the collection.
  2415. </summary>
  2416. </member>
  2417. <member name="P:log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator.Current">
  2418. <summary>
  2419. Gets the current element in the collection.
  2420. </summary>
  2421. </member>
  2422. <member name="T:log4net.Appender.AppenderCollection.Tag">
  2423. <summary>
  2424. Type visible only to our subclasses
  2425. Used to access protected constructor
  2426. </summary>
  2427. <exclude/>
  2428. </member>
  2429. <member name="F:log4net.Appender.AppenderCollection.Tag.Default">
  2430. <summary>
  2431. A value
  2432. </summary>
  2433. </member>
  2434. <member name="T:log4net.Appender.AppenderCollection.Enumerator">
  2435. <summary>
  2436. Supports simple iteration over a <see cref="T:log4net.Appender.AppenderCollection"/>.
  2437. </summary>
  2438. <exclude/>
  2439. </member>
  2440. <member name="M:log4net.Appender.AppenderCollection.Enumerator.#ctor(log4net.Appender.AppenderCollection)">
  2441. <summary>
  2442. Initializes a new instance of the <c>Enumerator</c> class.
  2443. </summary>
  2444. <param name="tc"></param>
  2445. </member>
  2446. <member name="M:log4net.Appender.AppenderCollection.Enumerator.MoveNext">
  2447. <summary>
  2448. Advances the enumerator to the next element in the collection.
  2449. </summary>
  2450. <returns>
  2451. <c>true</c> if the enumerator was successfully advanced to the next element;
  2452. <c>false</c> if the enumerator has passed the end of the collection.
  2453. </returns>
  2454. <exception cref="T:System.InvalidOperationException">
  2455. The collection was modified after the enumerator was created.
  2456. </exception>
  2457. </member>
  2458. <member name="M:log4net.Appender.AppenderCollection.Enumerator.Reset">
  2459. <summary>
  2460. Sets the enumerator to its initial position, before the first element in the collection.
  2461. </summary>
  2462. </member>
  2463. <member name="P:log4net.Appender.AppenderCollection.Enumerator.Current">
  2464. <summary>
  2465. Gets the current element in the collection.
  2466. </summary>
  2467. </member>
  2468. <member name="T:log4net.Appender.AppenderCollection.ReadOnlyAppenderCollection">
  2469. <exclude/>
  2470. </member>
  2471. <member name="T:log4net.Appender.AspNetTraceAppender">
  2472. <summary>
  2473. <para>
  2474. Appends log events to the ASP.NET <see cref="T:System.Web.TraceContext"/> system.
  2475. </para>
  2476. </summary>
  2477. <remarks>
  2478. <para>
  2479. Diagnostic information and tracing messages that you specify are appended to the output
  2480. of the page that is sent to the requesting browser. Optionally, you can view this information
  2481. from a separate trace viewer (Trace.axd) that displays trace information for every page in a
  2482. given application.
  2483. </para>
  2484. <para>
  2485. Trace statements are processed and displayed only when tracing is enabled. You can control
  2486. whether tracing is displayed to a page, to the trace viewer, or both.
  2487. </para>
  2488. <para>
  2489. The logging event is passed to the <see cref="M:TraceContext.Write(string)"/> or
  2490. <see cref="M:TraceContext.Warn(string)"/> method depending on the level of the logging event.
  2491. The event's logger name is the default value for the category parameter of the Write/Warn method.
  2492. </para>
  2493. </remarks>
  2494. <author>Nicko Cadell</author>
  2495. <author>Gert Driesen</author>
  2496. <author>Ron Grabowski</author>
  2497. </member>
  2498. <member name="M:log4net.Appender.AspNetTraceAppender.#ctor">
  2499. <summary>
  2500. Initializes a new instance of the <see cref="T:log4net.Appender.AspNetTraceAppender"/> class.
  2501. </summary>
  2502. <remarks>
  2503. <para>
  2504. Default constructor.
  2505. </para>
  2506. </remarks>
  2507. </member>
  2508. <member name="M:log4net.Appender.AspNetTraceAppender.Append(log4net.Core.LoggingEvent)">
  2509. <summary>
  2510. Write the logging event to the ASP.NET trace
  2511. </summary>
  2512. <param name="loggingEvent">the event to log</param>
  2513. <remarks>
  2514. <para>
  2515. Write the logging event to the ASP.NET trace
  2516. <c>HttpContext.Current.Trace</c>
  2517. (<see cref="T:System.Web.TraceContext"/>).
  2518. </para>
  2519. </remarks>
  2520. </member>
  2521. <member name="F:log4net.Appender.AspNetTraceAppender.m_category">
  2522. <summary>
  2523. Defaults to %logger
  2524. </summary>
  2525. </member>
  2526. <member name="P:log4net.Appender.AspNetTraceAppender.RequiresLayout">
  2527. <summary>
  2528. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  2529. </summary>
  2530. <value><c>true</c></value>
  2531. <remarks>
  2532. <para>
  2533. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  2534. </para>
  2535. </remarks>
  2536. </member>
  2537. <member name="P:log4net.Appender.AspNetTraceAppender.Category">
  2538. <summary>
  2539. The category parameter sent to the Trace method.
  2540. </summary>
  2541. <remarks>
  2542. <para>
  2543. Defaults to %logger which will use the logger name of the current
  2544. <see cref="T:log4net.Core.LoggingEvent"/> as the category parameter.
  2545. </para>
  2546. <para>
  2547. </para>
  2548. </remarks>
  2549. </member>
  2550. <member name="T:log4net.Appender.BufferingForwardingAppender">
  2551. <summary>
  2552. Buffers events and then forwards them to attached appenders.
  2553. </summary>
  2554. <remarks>
  2555. <para>
  2556. The events are buffered in this appender until conditions are
  2557. met to allow the appender to deliver the events to the attached
  2558. appenders. See <see cref="T:log4net.Appender.BufferingAppenderSkeleton"/> for the
  2559. conditions that cause the buffer to be sent.
  2560. </para>
  2561. <para>The forwarding appender can be used to specify different
  2562. thresholds and filters for the same appender at different locations
  2563. within the hierarchy.
  2564. </para>
  2565. </remarks>
  2566. <author>Nicko Cadell</author>
  2567. <author>Gert Driesen</author>
  2568. </member>
  2569. <member name="T:log4net.Core.IAppenderAttachable">
  2570. <summary>
  2571. Interface for attaching appenders to objects.
  2572. </summary>
  2573. <remarks>
  2574. <para>
  2575. Interface for attaching, removing and retrieving appenders.
  2576. </para>
  2577. </remarks>
  2578. <author>Nicko Cadell</author>
  2579. <author>Gert Driesen</author>
  2580. </member>
  2581. <member name="M:log4net.Core.IAppenderAttachable.AddAppender(log4net.Appender.IAppender)">
  2582. <summary>
  2583. Attaches an appender.
  2584. </summary>
  2585. <param name="appender">The appender to add.</param>
  2586. <remarks>
  2587. <para>
  2588. Add the specified appender. The implementation may
  2589. choose to allow or deny duplicate appenders.
  2590. </para>
  2591. </remarks>
  2592. </member>
  2593. <member name="M:log4net.Core.IAppenderAttachable.GetAppender(System.String)">
  2594. <summary>
  2595. Gets an attached appender with the specified name.
  2596. </summary>
  2597. <param name="name">The name of the appender to get.</param>
  2598. <returns>
  2599. The appender with the name specified, or <c>null</c> if no appender with the
  2600. specified name is found.
  2601. </returns>
  2602. <remarks>
  2603. <para>
  2604. Returns an attached appender with the <paramref name="name"/> specified.
  2605. If no appender with the specified name is found <c>null</c> will be
  2606. returned.
  2607. </para>
  2608. </remarks>
  2609. </member>
  2610. <member name="M:log4net.Core.IAppenderAttachable.RemoveAllAppenders">
  2611. <summary>
  2612. Removes all attached appenders.
  2613. </summary>
  2614. <remarks>
  2615. <para>
  2616. Removes and closes all attached appenders
  2617. </para>
  2618. </remarks>
  2619. </member>
  2620. <member name="M:log4net.Core.IAppenderAttachable.RemoveAppender(log4net.Appender.IAppender)">
  2621. <summary>
  2622. Removes the specified appender from the list of attached appenders.
  2623. </summary>
  2624. <param name="appender">The appender to remove.</param>
  2625. <returns>The appender removed from the list</returns>
  2626. <remarks>
  2627. <para>
  2628. The appender removed is not closed.
  2629. If you are discarding the appender you must call
  2630. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  2631. </para>
  2632. </remarks>
  2633. </member>
  2634. <member name="M:log4net.Core.IAppenderAttachable.RemoveAppender(System.String)">
  2635. <summary>
  2636. Removes the appender with the specified name from the list of appenders.
  2637. </summary>
  2638. <param name="name">The name of the appender to remove.</param>
  2639. <returns>The appender removed from the list</returns>
  2640. <remarks>
  2641. <para>
  2642. The appender removed is not closed.
  2643. If you are discarding the appender you must call
  2644. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  2645. </para>
  2646. </remarks>
  2647. </member>
  2648. <member name="P:log4net.Core.IAppenderAttachable.Appenders">
  2649. <summary>
  2650. Gets all attached appenders.
  2651. </summary>
  2652. <value>
  2653. A collection of attached appenders.
  2654. </value>
  2655. <remarks>
  2656. <para>
  2657. Gets a collection of attached appenders.
  2658. If there are no attached appenders the
  2659. implementation should return an empty
  2660. collection rather than <c>null</c>.
  2661. </para>
  2662. </remarks>
  2663. </member>
  2664. <member name="M:log4net.Appender.BufferingForwardingAppender.#ctor">
  2665. <summary>
  2666. Initializes a new instance of the <see cref="T:log4net.Appender.BufferingForwardingAppender"/> class.
  2667. </summary>
  2668. <remarks>
  2669. <para>
  2670. Default constructor.
  2671. </para>
  2672. </remarks>
  2673. </member>
  2674. <member name="M:log4net.Appender.BufferingForwardingAppender.OnClose">
  2675. <summary>
  2676. Closes the appender and releases resources.
  2677. </summary>
  2678. <remarks>
  2679. <para>
  2680. Releases any resources allocated within the appender such as file handles,
  2681. network connections, etc.
  2682. </para>
  2683. <para>
  2684. It is a programming error to append to a closed appender.
  2685. </para>
  2686. </remarks>
  2687. </member>
  2688. <member name="M:log4net.Appender.BufferingForwardingAppender.SendBuffer(log4net.Core.LoggingEvent[])">
  2689. <summary>
  2690. Send the events.
  2691. </summary>
  2692. <param name="events">The events that need to be send.</param>
  2693. <remarks>
  2694. <para>
  2695. Forwards the events to the attached appenders.
  2696. </para>
  2697. </remarks>
  2698. </member>
  2699. <member name="M:log4net.Appender.BufferingForwardingAppender.AddAppender(log4net.Appender.IAppender)">
  2700. <summary>
  2701. Adds an <see cref="T:log4net.Appender.IAppender"/> to the list of appenders of this
  2702. instance.
  2703. </summary>
  2704. <param name="newAppender">The <see cref="T:log4net.Appender.IAppender"/> to add to this appender.</param>
  2705. <remarks>
  2706. <para>
  2707. If the specified <see cref="T:log4net.Appender.IAppender"/> is already in the list of
  2708. appenders, then it won't be added again.
  2709. </para>
  2710. </remarks>
  2711. </member>
  2712. <member name="M:log4net.Appender.BufferingForwardingAppender.GetAppender(System.String)">
  2713. <summary>
  2714. Looks for the appender with the specified name.
  2715. </summary>
  2716. <param name="name">The name of the appender to lookup.</param>
  2717. <returns>
  2718. The appender with the specified name, or <c>null</c>.
  2719. </returns>
  2720. <remarks>
  2721. <para>
  2722. Get the named appender attached to this buffering appender.
  2723. </para>
  2724. </remarks>
  2725. </member>
  2726. <member name="M:log4net.Appender.BufferingForwardingAppender.RemoveAllAppenders">
  2727. <summary>
  2728. Removes all previously added appenders from this appender.
  2729. </summary>
  2730. <remarks>
  2731. <para>
  2732. This is useful when re-reading configuration information.
  2733. </para>
  2734. </remarks>
  2735. </member>
  2736. <member name="M:log4net.Appender.BufferingForwardingAppender.RemoveAppender(log4net.Appender.IAppender)">
  2737. <summary>
  2738. Removes the specified appender from the list of appenders.
  2739. </summary>
  2740. <param name="appender">The appender to remove.</param>
  2741. <returns>The appender removed from the list</returns>
  2742. <remarks>
  2743. The appender removed is not closed.
  2744. If you are discarding the appender you must call
  2745. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  2746. </remarks>
  2747. </member>
  2748. <member name="M:log4net.Appender.BufferingForwardingAppender.RemoveAppender(System.String)">
  2749. <summary>
  2750. Removes the appender with the specified name from the list of appenders.
  2751. </summary>
  2752. <param name="name">The name of the appender to remove.</param>
  2753. <returns>The appender removed from the list</returns>
  2754. <remarks>
  2755. The appender removed is not closed.
  2756. If you are discarding the appender you must call
  2757. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  2758. </remarks>
  2759. </member>
  2760. <member name="F:log4net.Appender.BufferingForwardingAppender.m_appenderAttachedImpl">
  2761. <summary>
  2762. Implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
  2763. </summary>
  2764. </member>
  2765. <member name="P:log4net.Appender.BufferingForwardingAppender.Appenders">
  2766. <summary>
  2767. Gets the appenders contained in this appender as an
  2768. <see cref="T:System.Collections.ICollection"/>.
  2769. </summary>
  2770. <remarks>
  2771. If no appenders can be found, then an <see cref="T:log4net.Util.EmptyCollection"/>
  2772. is returned.
  2773. </remarks>
  2774. <returns>
  2775. A collection of the appenders in this appender.
  2776. </returns>
  2777. </member>
  2778. <member name="T:log4net.Appender.ColoredConsoleAppender">
  2779. <summary>
  2780. Appends logging events to the console.
  2781. </summary>
  2782. <remarks>
  2783. <para>
  2784. ColoredConsoleAppender appends log events to the standard output stream
  2785. or the error output stream using a layout specified by the
  2786. user. It also allows the color of a specific type of message to be set.
  2787. </para>
  2788. <para>
  2789. By default, all output is written to the console's standard output stream.
  2790. The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> property can be set to direct the output to the
  2791. error stream.
  2792. </para>
  2793. <para>
  2794. NOTE: This appender writes directly to the application's attached console
  2795. not to the <c>System.Console.Out</c> or <c>System.Console.Error</c> <c>TextWriter</c>.
  2796. The <c>System.Console.Out</c> and <c>System.Console.Error</c> streams can be
  2797. programmatically redirected (for example NUnit does this to capture program output).
  2798. This appender will ignore these redirections because it needs to use Win32
  2799. API calls to colorize the output. To respect these redirections the <see cref="T:log4net.Appender.ConsoleAppender"/>
  2800. must be used.
  2801. </para>
  2802. <para>
  2803. When configuring the colored console appender, mapping should be
  2804. specified to map a logging level to a color. For example:
  2805. </para>
  2806. <code lang="XML" escaped="true">
  2807. <mapping>
  2808. <level value="ERROR"/>
  2809. <foreColor value="White"/>
  2810. <backColor value="Red, HighIntensity"/>
  2811. </mapping>
  2812. <mapping>
  2813. <level value="DEBUG"/>
  2814. <backColor value="Green"/>
  2815. </mapping>
  2816. </code>
  2817. <para>
  2818. The Level is the standard log4net logging level and ForeColor and BackColor can be any
  2819. combination of the following values:
  2820. <list type="bullet">
  2821. <item><term>Blue</term><description></description></item>
  2822. <item><term>Green</term><description></description></item>
  2823. <item><term>Red</term><description></description></item>
  2824. <item><term>White</term><description></description></item>
  2825. <item><term>Yellow</term><description></description></item>
  2826. <item><term>Purple</term><description></description></item>
  2827. <item><term>Cyan</term><description></description></item>
  2828. <item><term>HighIntensity</term><description></description></item>
  2829. </list>
  2830. </para>
  2831. </remarks>
  2832. <author>Rick Hobbs</author>
  2833. <author>Nicko Cadell</author>
  2834. </member>
  2835. <member name="F:log4net.Appender.ColoredConsoleAppender.ConsoleOut">
  2836. <summary>
  2837. The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console
  2838. standard output stream.
  2839. </summary>
  2840. <remarks>
  2841. <para>
  2842. The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console
  2843. standard output stream.
  2844. </para>
  2845. </remarks>
  2846. </member>
  2847. <member name="F:log4net.Appender.ColoredConsoleAppender.ConsoleError">
  2848. <summary>
  2849. The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console
  2850. standard error output stream.
  2851. </summary>
  2852. <remarks>
  2853. <para>
  2854. The <see cref="P:log4net.Appender.ColoredConsoleAppender.Target"/> to use when writing to the Console
  2855. standard error output stream.
  2856. </para>
  2857. </remarks>
  2858. </member>
  2859. <member name="M:log4net.Appender.ColoredConsoleAppender.#ctor">
  2860. <summary>
  2861. Initializes a new instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class.
  2862. </summary>
  2863. <remarks>
  2864. The instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class is set up to write
  2865. to the standard output stream.
  2866. </remarks>
  2867. </member>
  2868. <member name="M:log4net.Appender.ColoredConsoleAppender.#ctor(log4net.Layout.ILayout)">
  2869. <summary>
  2870. Initializes a new instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class
  2871. with the specified layout.
  2872. </summary>
  2873. <param name="layout">the layout to use for this appender</param>
  2874. <remarks>
  2875. The instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class is set up to write
  2876. to the standard output stream.
  2877. </remarks>
  2878. </member>
  2879. <member name="M:log4net.Appender.ColoredConsoleAppender.#ctor(log4net.Layout.ILayout,System.Boolean)">
  2880. <summary>
  2881. Initializes a new instance of the <see cref="T:log4net.Appender.ColoredConsoleAppender"/> class
  2882. with the specified layout.
  2883. </summary>
  2884. <param name="layout">the layout to use for this appender</param>
  2885. <param name="writeToErrorStream">flag set to <c>true</c> to write to the console error stream</param>
  2886. <remarks>
  2887. When <paramref name="writeToErrorStream"/> is set to <c>true</c>, output is written to
  2888. the standard error output stream. Otherwise, output is written to the standard
  2889. output stream.
  2890. </remarks>
  2891. </member>
  2892. <member name="M:log4net.Appender.ColoredConsoleAppender.AddMapping(log4net.Appender.ColoredConsoleAppender.LevelColors)">
  2893. <summary>
  2894. Add a mapping of level to color - done by the config file
  2895. </summary>
  2896. <param name="mapping">The mapping to add</param>
  2897. <remarks>
  2898. <para>
  2899. Add a <see cref="T:log4net.Appender.ColoredConsoleAppender.LevelColors"/> mapping to this appender.
  2900. Each mapping defines the foreground and background colors
  2901. for a level.
  2902. </para>
  2903. </remarks>
  2904. </member>
  2905. <member name="M:log4net.Appender.ColoredConsoleAppender.Append(log4net.Core.LoggingEvent)">
  2906. <summary>
  2907. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
  2908. </summary>
  2909. <param name="loggingEvent">The event to log.</param>
  2910. <remarks>
  2911. <para>
  2912. Writes the event to the console.
  2913. </para>
  2914. <para>
  2915. The format of the output will depend on the appender's layout.
  2916. </para>
  2917. </remarks>
  2918. </member>
  2919. <member name="M:log4net.Appender.ColoredConsoleAppender.ActivateOptions">
  2920. <summary>
  2921. Initialize the options for this appender
  2922. </summary>
  2923. <remarks>
  2924. <para>
  2925. Initialize the level to color mappings set on this appender.
  2926. </para>
  2927. </remarks>
  2928. </member>
  2929. <member name="F:log4net.Appender.ColoredConsoleAppender.m_writeToErrorStream">
  2930. <summary>
  2931. Flag to write output to the error stream rather than the standard output stream
  2932. </summary>
  2933. </member>
  2934. <member name="F:log4net.Appender.ColoredConsoleAppender.m_levelMapping">
  2935. <summary>
  2936. Mapping from level object to color value
  2937. </summary>
  2938. </member>
  2939. <member name="F:log4net.Appender.ColoredConsoleAppender.m_consoleOutputWriter">
  2940. <summary>
  2941. The console output stream writer to write to
  2942. </summary>
  2943. <remarks>
  2944. <para>
  2945. This writer is not thread safe.
  2946. </para>
  2947. </remarks>
  2948. </member>
  2949. <member name="P:log4net.Appender.ColoredConsoleAppender.Target">
  2950. <summary>
  2951. Target is the value of the console output stream.
  2952. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  2953. </summary>
  2954. <value>
  2955. Target is the value of the console output stream.
  2956. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  2957. </value>
  2958. <remarks>
  2959. <para>
  2960. Target is the value of the console output stream.
  2961. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  2962. </para>
  2963. </remarks>
  2964. </member>
  2965. <member name="P:log4net.Appender.ColoredConsoleAppender.RequiresLayout">
  2966. <summary>
  2967. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  2968. </summary>
  2969. <value><c>true</c></value>
  2970. <remarks>
  2971. <para>
  2972. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  2973. </para>
  2974. </remarks>
  2975. </member>
  2976. <member name="T:log4net.Appender.ColoredConsoleAppender.Colors">
  2977. <summary>
  2978. The enum of possible color values for use with the color mapping method
  2979. </summary>
  2980. <remarks>
  2981. <para>
  2982. The following flags can be combined together to
  2983. form the colors.
  2984. </para>
  2985. </remarks>
  2986. <seealso cref="T:log4net.Appender.ColoredConsoleAppender"/>
  2987. </member>
  2988. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Blue">
  2989. <summary>
  2990. color is blue
  2991. </summary>
  2992. </member>
  2993. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Green">
  2994. <summary>
  2995. color is green
  2996. </summary>
  2997. </member>
  2998. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Red">
  2999. <summary>
  3000. color is red
  3001. </summary>
  3002. </member>
  3003. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.White">
  3004. <summary>
  3005. color is white
  3006. </summary>
  3007. </member>
  3008. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Yellow">
  3009. <summary>
  3010. color is yellow
  3011. </summary>
  3012. </member>
  3013. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Purple">
  3014. <summary>
  3015. color is purple
  3016. </summary>
  3017. </member>
  3018. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.Cyan">
  3019. <summary>
  3020. color is cyan
  3021. </summary>
  3022. </member>
  3023. <member name="F:log4net.Appender.ColoredConsoleAppender.Colors.HighIntensity">
  3024. <summary>
  3025. color is intensified
  3026. </summary>
  3027. </member>
  3028. <member name="T:log4net.Appender.ColoredConsoleAppender.LevelColors">
  3029. <summary>
  3030. A class to act as a mapping between the level that a logging call is made at and
  3031. the color it should be displayed as.
  3032. </summary>
  3033. <remarks>
  3034. <para>
  3035. Defines the mapping between a level and the color it should be displayed in.
  3036. </para>
  3037. </remarks>
  3038. </member>
  3039. <member name="M:log4net.Appender.ColoredConsoleAppender.LevelColors.ActivateOptions">
  3040. <summary>
  3041. Initialize the options for the object
  3042. </summary>
  3043. <remarks>
  3044. <para>
  3045. Combine the <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor"/> and <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor"/> together.
  3046. </para>
  3047. </remarks>
  3048. </member>
  3049. <member name="P:log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor">
  3050. <summary>
  3051. The mapped foreground color for the specified level
  3052. </summary>
  3053. <remarks>
  3054. <para>
  3055. Required property.
  3056. The mapped foreground color for the specified level.
  3057. </para>
  3058. </remarks>
  3059. </member>
  3060. <member name="P:log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor">
  3061. <summary>
  3062. The mapped background color for the specified level
  3063. </summary>
  3064. <remarks>
  3065. <para>
  3066. Required property.
  3067. The mapped background color for the specified level.
  3068. </para>
  3069. </remarks>
  3070. </member>
  3071. <member name="P:log4net.Appender.ColoredConsoleAppender.LevelColors.CombinedColor">
  3072. <summary>
  3073. The combined <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.ForeColor"/> and <see cref="P:log4net.Appender.ColoredConsoleAppender.LevelColors.BackColor"/> suitable for
  3074. setting the console color.
  3075. </summary>
  3076. </member>
  3077. <member name="T:log4net.Appender.ConsoleAppender">
  3078. <summary>
  3079. Appends logging events to the console.
  3080. </summary>
  3081. <remarks>
  3082. <para>
  3083. ConsoleAppender appends log events to the standard output stream
  3084. or the error output stream using a layout specified by the
  3085. user.
  3086. </para>
  3087. <para>
  3088. By default, all output is written to the console's standard output stream.
  3089. The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> property can be set to direct the output to the
  3090. error stream.
  3091. </para>
  3092. <para>
  3093. NOTE: This appender writes each message to the <c>System.Console.Out</c> or
  3094. <c>System.Console.Error</c> that is set at the time the event is appended.
  3095. Therefore it is possible to programmatically redirect the output of this appender
  3096. (for example NUnit does this to capture program output). While this is the desired
  3097. behavior of this appender it may have security implications in your application.
  3098. </para>
  3099. </remarks>
  3100. <author>Nicko Cadell</author>
  3101. <author>Gert Driesen</author>
  3102. </member>
  3103. <member name="F:log4net.Appender.ConsoleAppender.ConsoleOut">
  3104. <summary>
  3105. The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console
  3106. standard output stream.
  3107. </summary>
  3108. <remarks>
  3109. <para>
  3110. The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console
  3111. standard output stream.
  3112. </para>
  3113. </remarks>
  3114. </member>
  3115. <member name="F:log4net.Appender.ConsoleAppender.ConsoleError">
  3116. <summary>
  3117. The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console
  3118. standard error output stream.
  3119. </summary>
  3120. <remarks>
  3121. <para>
  3122. The <see cref="P:log4net.Appender.ConsoleAppender.Target"/> to use when writing to the Console
  3123. standard error output stream.
  3124. </para>
  3125. </remarks>
  3126. </member>
  3127. <member name="M:log4net.Appender.ConsoleAppender.#ctor">
  3128. <summary>
  3129. Initializes a new instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class.
  3130. </summary>
  3131. <remarks>
  3132. The instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class is set up to write
  3133. to the standard output stream.
  3134. </remarks>
  3135. </member>
  3136. <member name="M:log4net.Appender.ConsoleAppender.#ctor(log4net.Layout.ILayout)">
  3137. <summary>
  3138. Initializes a new instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class
  3139. with the specified layout.
  3140. </summary>
  3141. <param name="layout">the layout to use for this appender</param>
  3142. <remarks>
  3143. The instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class is set up to write
  3144. to the standard output stream.
  3145. </remarks>
  3146. </member>
  3147. <member name="M:log4net.Appender.ConsoleAppender.#ctor(log4net.Layout.ILayout,System.Boolean)">
  3148. <summary>
  3149. Initializes a new instance of the <see cref="T:log4net.Appender.ConsoleAppender"/> class
  3150. with the specified layout.
  3151. </summary>
  3152. <param name="layout">the layout to use for this appender</param>
  3153. <param name="writeToErrorStream">flag set to <c>true</c> to write to the console error stream</param>
  3154. <remarks>
  3155. When <paramref name="writeToErrorStream"/> is set to <c>true</c>, output is written to
  3156. the standard error output stream. Otherwise, output is written to the standard
  3157. output stream.
  3158. </remarks>
  3159. </member>
  3160. <member name="M:log4net.Appender.ConsoleAppender.Append(log4net.Core.LoggingEvent)">
  3161. <summary>
  3162. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  3163. </summary>
  3164. <param name="loggingEvent">The event to log.</param>
  3165. <remarks>
  3166. <para>
  3167. Writes the event to the console.
  3168. </para>
  3169. <para>
  3170. The format of the output will depend on the appender's layout.
  3171. </para>
  3172. </remarks>
  3173. </member>
  3174. <member name="P:log4net.Appender.ConsoleAppender.Target">
  3175. <summary>
  3176. Target is the value of the console output stream.
  3177. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  3178. </summary>
  3179. <value>
  3180. Target is the value of the console output stream.
  3181. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  3182. </value>
  3183. <remarks>
  3184. <para>
  3185. Target is the value of the console output stream.
  3186. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  3187. </para>
  3188. </remarks>
  3189. </member>
  3190. <member name="P:log4net.Appender.ConsoleAppender.RequiresLayout">
  3191. <summary>
  3192. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3193. </summary>
  3194. <value><c>true</c></value>
  3195. <remarks>
  3196. <para>
  3197. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3198. </para>
  3199. </remarks>
  3200. </member>
  3201. <member name="T:log4net.Appender.DebugAppender">
  3202. <summary>
  3203. Appends log events to the <see cref="T:System.Diagnostics.Debug"/> system.
  3204. </summary>
  3205. <remarks>
  3206. <para>
  3207. The application configuration file can be used to control what listeners
  3208. are actually used. See the MSDN documentation for the
  3209. <see cref="T:System.Diagnostics.Debug"/> class for details on configuring the
  3210. debug system.
  3211. </para>
  3212. <para>
  3213. Events are written using the <see cref="M:System.Diagnostics.Debug.Write(string,string)"/>
  3214. method. The event's logger name is passed as the value for the category name to the Write method.
  3215. </para>
  3216. </remarks>
  3217. <author>Nicko Cadell</author>
  3218. </member>
  3219. <member name="M:log4net.Appender.DebugAppender.#ctor">
  3220. <summary>
  3221. Initializes a new instance of the <see cref="T:log4net.Appender.DebugAppender"/>.
  3222. </summary>
  3223. <remarks>
  3224. <para>
  3225. Default constructor.
  3226. </para>
  3227. </remarks>
  3228. </member>
  3229. <member name="M:log4net.Appender.DebugAppender.#ctor(log4net.Layout.ILayout)">
  3230. <summary>
  3231. Initializes a new instance of the <see cref="T:log4net.Appender.DebugAppender"/>
  3232. with a specified layout.
  3233. </summary>
  3234. <param name="layout">The layout to use with this appender.</param>
  3235. <remarks>
  3236. <para>
  3237. Obsolete constructor.
  3238. </para>
  3239. </remarks>
  3240. </member>
  3241. <member name="M:log4net.Appender.DebugAppender.Append(log4net.Core.LoggingEvent)">
  3242. <summary>
  3243. Writes the logging event to the <see cref="T:System.Diagnostics.Debug"/> system.
  3244. </summary>
  3245. <param name="loggingEvent">The event to log.</param>
  3246. <remarks>
  3247. <para>
  3248. Writes the logging event to the <see cref="T:System.Diagnostics.Debug"/> system.
  3249. If <see cref="P:log4net.Appender.DebugAppender.ImmediateFlush"/> is <c>true</c> then the <see cref="M:System.Diagnostics.Debug.Flush"/>
  3250. is called.
  3251. </para>
  3252. </remarks>
  3253. </member>
  3254. <member name="F:log4net.Appender.DebugAppender.m_immediateFlush">
  3255. <summary>
  3256. Immediate flush means that the underlying writer or output stream
  3257. will be flushed at the end of each append operation.
  3258. </summary>
  3259. <remarks>
  3260. <para>
  3261. Immediate flush is slower but ensures that each append request is
  3262. actually written. If <see cref="P:log4net.Appender.DebugAppender.ImmediateFlush"/> is set to
  3263. <c>false</c>, then there is a good chance that the last few
  3264. logs events are not actually written to persistent media if and
  3265. when the application crashes.
  3266. </para>
  3267. <para>
  3268. The default value is <c>true</c>.</para>
  3269. </remarks>
  3270. </member>
  3271. <member name="P:log4net.Appender.DebugAppender.ImmediateFlush">
  3272. <summary>
  3273. Gets or sets a value that indicates whether the appender will
  3274. flush at the end of each write.
  3275. </summary>
  3276. <remarks>
  3277. <para>The default behavior is to flush at the end of each
  3278. write. If the option is set to<c>false</c>, then the underlying
  3279. stream can defer writing to physical medium to a later time.
  3280. </para>
  3281. <para>
  3282. Avoiding the flush operation at the end of each append results
  3283. in a performance gain of 10 to 20 percent. However, there is safety
  3284. trade-off involved in skipping flushing. Indeed, when flushing is
  3285. skipped, then it is likely that the last few log events will not
  3286. be recorded on disk when the application exits. This is a high
  3287. price to pay even for a 20% performance gain.
  3288. </para>
  3289. </remarks>
  3290. </member>
  3291. <member name="P:log4net.Appender.DebugAppender.RequiresLayout">
  3292. <summary>
  3293. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3294. </summary>
  3295. <value><c>true</c></value>
  3296. <remarks>
  3297. <para>
  3298. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3299. </para>
  3300. </remarks>
  3301. </member>
  3302. <member name="T:log4net.Appender.EventLogAppender">
  3303. <summary>
  3304. Writes events to the system event log.
  3305. </summary>
  3306. <remarks>
  3307. <para>
  3308. The appender will fail if you try to write using an event source that doesn't exist unless it is running with local administrator privileges.
  3309. See also http://logging.apache.org/log4net/release/faq.html#trouble-EventLog
  3310. </para>
  3311. <para>
  3312. The <c>EventID</c> of the event log entry can be
  3313. set using the <c>EventID</c> property (<see cref="P:log4net.Core.LoggingEvent.Properties"/>)
  3314. on the <see cref="T:log4net.Core.LoggingEvent"/>.
  3315. </para>
  3316. <para>
  3317. The <c>Category</c> of the event log entry can be
  3318. set using the <c>Category</c> property (<see cref="P:log4net.Core.LoggingEvent.Properties"/>)
  3319. on the <see cref="T:log4net.Core.LoggingEvent"/>.
  3320. </para>
  3321. <para>
  3322. There is a limit of 32K characters for an event log message
  3323. </para>
  3324. <para>
  3325. When configuring the EventLogAppender a mapping can be
  3326. specified to map a logging level to an event log entry type. For example:
  3327. </para>
  3328. <code lang="XML">
  3329. &lt;mapping&gt;
  3330. &lt;level value="ERROR" /&gt;
  3331. &lt;eventLogEntryType value="Error" /&gt;
  3332. &lt;/mapping&gt;
  3333. &lt;mapping&gt;
  3334. &lt;level value="DEBUG" /&gt;
  3335. &lt;eventLogEntryType value="Information" /&gt;
  3336. &lt;/mapping&gt;
  3337. </code>
  3338. <para>
  3339. The Level is the standard log4net logging level and eventLogEntryType can be any value
  3340. from the <see cref="T:System.Diagnostics.EventLogEntryType"/> enum, i.e.:
  3341. <list type="bullet">
  3342. <item><term>Error</term><description>an error event</description></item>
  3343. <item><term>Warning</term><description>a warning event</description></item>
  3344. <item><term>Information</term><description>an informational event</description></item>
  3345. </list>
  3346. </para>
  3347. </remarks>
  3348. <author>Aspi Havewala</author>
  3349. <author>Douglas de la Torre</author>
  3350. <author>Nicko Cadell</author>
  3351. <author>Gert Driesen</author>
  3352. <author>Thomas Voss</author>
  3353. </member>
  3354. <member name="M:log4net.Appender.EventLogAppender.#ctor">
  3355. <summary>
  3356. Initializes a new instance of the <see cref="T:log4net.Appender.EventLogAppender"/> class.
  3357. </summary>
  3358. <remarks>
  3359. <para>
  3360. Default constructor.
  3361. </para>
  3362. </remarks>
  3363. </member>
  3364. <member name="M:log4net.Appender.EventLogAppender.#ctor(log4net.Layout.ILayout)">
  3365. <summary>
  3366. Initializes a new instance of the <see cref="T:log4net.Appender.EventLogAppender"/> class
  3367. with the specified <see cref="T:log4net.Layout.ILayout"/>.
  3368. </summary>
  3369. <param name="layout">The <see cref="T:log4net.Layout.ILayout"/> to use with this appender.</param>
  3370. <remarks>
  3371. <para>
  3372. Obsolete constructor.
  3373. </para>
  3374. </remarks>
  3375. </member>
  3376. <member name="M:log4net.Appender.EventLogAppender.AddMapping(log4net.Appender.EventLogAppender.Level2EventLogEntryType)">
  3377. <summary>
  3378. Add a mapping of level to <see cref="T:System.Diagnostics.EventLogEntryType"/> - done by the config file
  3379. </summary>
  3380. <param name="mapping">The mapping to add</param>
  3381. <remarks>
  3382. <para>
  3383. Add a <see cref="T:log4net.Appender.EventLogAppender.Level2EventLogEntryType"/> mapping to this appender.
  3384. Each mapping defines the event log entry type for a level.
  3385. </para>
  3386. </remarks>
  3387. </member>
  3388. <member name="M:log4net.Appender.EventLogAppender.ActivateOptions">
  3389. <summary>
  3390. Initialize the appender based on the options set
  3391. </summary>
  3392. <remarks>
  3393. <para>
  3394. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  3395. activation scheme. The <see cref="M:log4net.Appender.EventLogAppender.ActivateOptions"/> method must
  3396. be called on this object after the configuration properties have
  3397. been set. Until <see cref="M:log4net.Appender.EventLogAppender.ActivateOptions"/> is called this
  3398. object is in an undefined state and must not be used.
  3399. </para>
  3400. <para>
  3401. If any of the configuration properties are modified then
  3402. <see cref="M:log4net.Appender.EventLogAppender.ActivateOptions"/> must be called again.
  3403. </para>
  3404. </remarks>
  3405. </member>
  3406. <member name="M:log4net.Appender.EventLogAppender.CreateEventSource(System.String,System.String,System.String)">
  3407. <summary>
  3408. Create an event log source
  3409. </summary>
  3410. <remarks>
  3411. Uses different API calls under NET_2_0
  3412. </remarks>
  3413. </member>
  3414. <member name="M:log4net.Appender.EventLogAppender.Append(log4net.Core.LoggingEvent)">
  3415. <summary>
  3416. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/>
  3417. method.
  3418. </summary>
  3419. <param name="loggingEvent">the event to log</param>
  3420. <remarks>
  3421. <para>Writes the event to the system event log using the
  3422. <see cref="P:log4net.Appender.EventLogAppender.ApplicationName"/>.</para>
  3423. <para>If the event has an <c>EventID</c> property (see <see cref="P:log4net.Core.LoggingEvent.Properties"/>)
  3424. set then this integer will be used as the event log event id.</para>
  3425. <para>
  3426. There is a limit of 32K characters for an event log message
  3427. </para>
  3428. </remarks>
  3429. </member>
  3430. <member name="M:log4net.Appender.EventLogAppender.GetEntryType(log4net.Core.Level)">
  3431. <summary>
  3432. Get the equivalent <see cref="T:System.Diagnostics.EventLogEntryType"/> for a <see cref="T:log4net.Core.Level"/> <paramref name="level"/>
  3433. </summary>
  3434. <param name="level">the Level to convert to an EventLogEntryType</param>
  3435. <returns>The equivalent <see cref="T:System.Diagnostics.EventLogEntryType"/> for a <see cref="T:log4net.Core.Level"/> <paramref name="level"/></returns>
  3436. <remarks>
  3437. Because there are fewer applicable <see cref="T:System.Diagnostics.EventLogEntryType"/>
  3438. values to use in logging levels than there are in the
  3439. <see cref="T:log4net.Core.Level"/> this is a one way mapping. There is
  3440. a loss of information during the conversion.
  3441. </remarks>
  3442. </member>
  3443. <member name="F:log4net.Appender.EventLogAppender.m_logName">
  3444. <summary>
  3445. The log name is the section in the event logs where the messages
  3446. are stored.
  3447. </summary>
  3448. </member>
  3449. <member name="F:log4net.Appender.EventLogAppender.m_applicationName">
  3450. <summary>
  3451. Name of the application to use when logging. This appears in the
  3452. application column of the event log named by <see cref="F:log4net.Appender.EventLogAppender.m_logName"/>.
  3453. </summary>
  3454. </member>
  3455. <member name="F:log4net.Appender.EventLogAppender.m_machineName">
  3456. <summary>
  3457. The name of the machine which holds the event log. This is
  3458. currently only allowed to be '.' i.e. the current machine.
  3459. </summary>
  3460. </member>
  3461. <member name="F:log4net.Appender.EventLogAppender.m_levelMapping">
  3462. <summary>
  3463. Mapping from level object to EventLogEntryType
  3464. </summary>
  3465. </member>
  3466. <member name="F:log4net.Appender.EventLogAppender.m_securityContext">
  3467. <summary>
  3468. The security context to use for privileged calls
  3469. </summary>
  3470. </member>
  3471. <member name="F:log4net.Appender.EventLogAppender.m_eventId">
  3472. <summary>
  3473. The event ID to use unless one is explicitly specified via the <c>LoggingEvent</c>'s properties.
  3474. </summary>
  3475. </member>
  3476. <member name="F:log4net.Appender.EventLogAppender.m_category">
  3477. <summary>
  3478. The event category to use unless one is explicitly specified via the <c>LoggingEvent</c>'s properties.
  3479. </summary>
  3480. </member>
  3481. <member name="F:log4net.Appender.EventLogAppender.declaringType">
  3482. <summary>
  3483. The fully qualified type of the EventLogAppender class.
  3484. </summary>
  3485. <remarks>
  3486. Used by the internal logger to record the Type of the
  3487. log message.
  3488. </remarks>
  3489. </member>
  3490. <member name="F:log4net.Appender.EventLogAppender.MAX_EVENTLOG_MESSAGE_SIZE_DEFAULT">
  3491. <summary>
  3492. The maximum size supported by default.
  3493. </summary>
  3494. <remarks>
  3495. http://msdn.microsoft.com/en-us/library/xzwc042w(v=vs.100).aspx
  3496. The 32766 documented max size is two bytes shy of 32K (I'm assuming 32766
  3497. may leave space for a two byte null terminator of #0#0). The 32766 max
  3498. length is what the .NET 4.0 source code checks for, but this is WRONG!
  3499. Strings with a length > 31839 on Windows Vista or higher can CORRUPT
  3500. the event log! See: System.Diagnostics.EventLogInternal.InternalWriteEvent()
  3501. for the use of the 32766 max size.
  3502. </remarks>
  3503. </member>
  3504. <member name="F:log4net.Appender.EventLogAppender.MAX_EVENTLOG_MESSAGE_SIZE_VISTA_OR_NEWER">
  3505. <summary>
  3506. The maximum size supported by a windows operating system that is vista
  3507. or newer.
  3508. </summary>
  3509. <remarks>
  3510. See ReportEvent API:
  3511. http://msdn.microsoft.com/en-us/library/aa363679(VS.85).aspx
  3512. ReportEvent's lpStrings parameter:
  3513. "A pointer to a buffer containing an array of
  3514. null-terminated strings that are merged into the message before Event Viewer
  3515. displays the string to the user. This parameter must be a valid pointer
  3516. (or NULL), even if wNumStrings is zero. Each string is limited to 31,839 characters."
  3517. Going beyond the size of 31839 will (at some point) corrupt the event log on Windows
  3518. Vista or higher! It may succeed for a while...but you will eventually run into the
  3519. error: "System.ComponentModel.Win32Exception : A device attached to the system is
  3520. not functioning", and the event log will then be corrupt (I was able to corrupt
  3521. an event log using a length of 31877 on Windows 7).
  3522. The max size for Windows Vista or higher is documented here:
  3523. http://msdn.microsoft.com/en-us/library/xzwc042w(v=vs.100).aspx.
  3524. Going over this size may succeed a few times but the buffer will overrun and
  3525. eventually corrupt the log (based on testing).
  3526. The maxEventMsgSize size is based on the max buffer size of the lpStrings parameter of the ReportEvent API.
  3527. The documented max size for EventLog.WriteEntry for Windows Vista and higher is 31839, but I'm leaving room for a
  3528. terminator of #0#0, as we cannot see the source of ReportEvent (though we could use an API monitor to examine the
  3529. buffer, given enough time).
  3530. </remarks>
  3531. </member>
  3532. <member name="F:log4net.Appender.EventLogAppender.MAX_EVENTLOG_MESSAGE_SIZE">
  3533. <summary>
  3534. The maximum size that the operating system supports for
  3535. a event log message.
  3536. </summary>
  3537. <remarks>
  3538. Used to determine the maximum string length that can be written
  3539. to the operating system event log and eventually truncate a string
  3540. that exceeds the limits.
  3541. </remarks>
  3542. </member>
  3543. <member name="M:log4net.Appender.EventLogAppender.GetMaxEventLogMessageSize">
  3544. <summary>
  3545. This method determines the maximum event log message size allowed for
  3546. the current environment.
  3547. </summary>
  3548. <returns></returns>
  3549. </member>
  3550. <member name="P:log4net.Appender.EventLogAppender.LogName">
  3551. <summary>
  3552. The name of the log where messages will be stored.
  3553. </summary>
  3554. <value>
  3555. The string name of the log where messages will be stored.
  3556. </value>
  3557. <remarks>
  3558. <para>This is the name of the log as it appears in the Event Viewer
  3559. tree. The default value is to log into the <c>Application</c>
  3560. log, this is where most applications write their events. However
  3561. if you need a separate log for your application (or applications)
  3562. then you should set the <see cref="P:log4net.Appender.EventLogAppender.LogName"/> appropriately.</para>
  3563. <para>This should not be used to distinguish your event log messages
  3564. from those of other applications, the <see cref="P:log4net.Appender.EventLogAppender.ApplicationName"/>
  3565. property should be used to distinguish events. This property should be
  3566. used to group together events into a single log.
  3567. </para>
  3568. </remarks>
  3569. </member>
  3570. <member name="P:log4net.Appender.EventLogAppender.ApplicationName">
  3571. <summary>
  3572. Property used to set the Application name. This appears in the
  3573. event logs when logging.
  3574. </summary>
  3575. <value>
  3576. The string used to distinguish events from different sources.
  3577. </value>
  3578. <remarks>
  3579. Sets the event log source property.
  3580. </remarks>
  3581. </member>
  3582. <member name="P:log4net.Appender.EventLogAppender.MachineName">
  3583. <summary>
  3584. This property is used to return the name of the computer to use
  3585. when accessing the event logs. Currently, this is the current
  3586. computer, denoted by a dot "."
  3587. </summary>
  3588. <value>
  3589. The string name of the machine holding the event log that
  3590. will be logged into.
  3591. </value>
  3592. <remarks>
  3593. This property cannot be changed. It is currently set to '.'
  3594. i.e. the local machine. This may be changed in future.
  3595. </remarks>
  3596. </member>
  3597. <member name="P:log4net.Appender.EventLogAppender.SecurityContext">
  3598. <summary>
  3599. Gets or sets the <see cref="P:log4net.Appender.EventLogAppender.SecurityContext"/> used to write to the EventLog.
  3600. </summary>
  3601. <value>
  3602. The <see cref="P:log4net.Appender.EventLogAppender.SecurityContext"/> used to write to the EventLog.
  3603. </value>
  3604. <remarks>
  3605. <para>
  3606. The system security context used to write to the EventLog.
  3607. </para>
  3608. <para>
  3609. Unless a <see cref="P:log4net.Appender.EventLogAppender.SecurityContext"/> specified here for this appender
  3610. the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
  3611. security context to use. The default behavior is to use the security context
  3612. of the current thread.
  3613. </para>
  3614. </remarks>
  3615. </member>
  3616. <member name="P:log4net.Appender.EventLogAppender.EventId">
  3617. <summary>
  3618. Gets or sets the <c>EventId</c> to use unless one is explicitly specified via the <c>LoggingEvent</c>'s properties.
  3619. </summary>
  3620. <remarks>
  3621. <para>
  3622. The <c>EventID</c> of the event log entry will normally be
  3623. set using the <c>EventID</c> property (<see cref="P:log4net.Core.LoggingEvent.Properties"/>)
  3624. on the <see cref="T:log4net.Core.LoggingEvent"/>.
  3625. This property provides the fallback value which defaults to 0.
  3626. </para>
  3627. </remarks>
  3628. </member>
  3629. <member name="P:log4net.Appender.EventLogAppender.Category">
  3630. <summary>
  3631. Gets or sets the <c>Category</c> to use unless one is explicitly specified via the <c>LoggingEvent</c>'s properties.
  3632. </summary>
  3633. <remarks>
  3634. <para>
  3635. The <c>Category</c> of the event log entry will normally be
  3636. set using the <c>Category</c> property (<see cref="P:log4net.Core.LoggingEvent.Properties"/>)
  3637. on the <see cref="T:log4net.Core.LoggingEvent"/>.
  3638. This property provides the fallback value which defaults to 0.
  3639. </para>
  3640. </remarks>
  3641. </member>
  3642. <member name="P:log4net.Appender.EventLogAppender.RequiresLayout">
  3643. <summary>
  3644. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3645. </summary>
  3646. <value><c>true</c></value>
  3647. <remarks>
  3648. <para>
  3649. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3650. </para>
  3651. </remarks>
  3652. </member>
  3653. <member name="T:log4net.Appender.EventLogAppender.Level2EventLogEntryType">
  3654. <summary>
  3655. A class to act as a mapping between the level that a logging call is made at and
  3656. the color it should be displayed as.
  3657. </summary>
  3658. <remarks>
  3659. <para>
  3660. Defines the mapping between a level and its event log entry type.
  3661. </para>
  3662. </remarks>
  3663. </member>
  3664. <member name="P:log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType">
  3665. <summary>
  3666. The <see cref="P:log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType"/> for this entry
  3667. </summary>
  3668. <remarks>
  3669. <para>
  3670. Required property.
  3671. The <see cref="P:log4net.Appender.EventLogAppender.Level2EventLogEntryType.EventLogEntryType"/> for this entry
  3672. </para>
  3673. </remarks>
  3674. </member>
  3675. <member name="T:log4net.Appender.FileAppender">
  3676. <summary>
  3677. Appends logging events to a file.
  3678. </summary>
  3679. <remarks>
  3680. <para>
  3681. Logging events are sent to the file specified by
  3682. the <see cref="P:log4net.Appender.FileAppender.File"/> property.
  3683. </para>
  3684. <para>
  3685. The file can be opened in either append or overwrite mode
  3686. by specifying the <see cref="P:log4net.Appender.FileAppender.AppendToFile"/> property.
  3687. If the file path is relative it is taken as relative from
  3688. the application base directory. The file encoding can be
  3689. specified by setting the <see cref="P:log4net.Appender.FileAppender.Encoding"/> property.
  3690. </para>
  3691. <para>
  3692. The layout's <see cref="P:log4net.Layout.ILayout.Header"/> and <see cref="P:log4net.Layout.ILayout.Footer"/>
  3693. values will be written each time the file is opened and closed
  3694. respectively. If the <see cref="P:log4net.Appender.FileAppender.AppendToFile"/> property is <see langword="true"/>
  3695. then the file may contain multiple copies of the header and footer.
  3696. </para>
  3697. <para>
  3698. This appender will first try to open the file for writing when <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/>
  3699. is called. This will typically be during configuration.
  3700. If the file cannot be opened for writing the appender will attempt
  3701. to open the file again each time a message is logged to the appender.
  3702. If the file cannot be opened for writing when a message is logged then
  3703. the message will be discarded by this appender.
  3704. </para>
  3705. <para>
  3706. The <see cref="T:log4net.Appender.FileAppender"/> supports pluggable file locking models via
  3707. the <see cref="P:log4net.Appender.FileAppender.LockingModel"/> property.
  3708. The default behavior, implemented by <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/>
  3709. is to obtain an exclusive write lock on the file until this appender is closed.
  3710. The alternative models only hold a
  3711. write lock while the appender is writing a logging event (<see cref="T:log4net.Appender.FileAppender.MinimalLock"/>)
  3712. or synchronize by using a named system wide Mutex (<see cref="T:log4net.Appender.FileAppender.InterProcessLock"/>).
  3713. </para>
  3714. <para>
  3715. All locking strategies have issues and you should seriously consider using a different strategy that
  3716. avoids having multiple processes logging to the same file.
  3717. </para>
  3718. </remarks>
  3719. <author>Nicko Cadell</author>
  3720. <author>Gert Driesen</author>
  3721. <author>Rodrigo B. de Oliveira</author>
  3722. <author>Douglas de la Torre</author>
  3723. <author>Niall Daley</author>
  3724. </member>
  3725. <member name="T:log4net.Appender.TextWriterAppender">
  3726. <summary>
  3727. Sends logging events to a <see cref="T:System.IO.TextWriter"/>.
  3728. </summary>
  3729. <remarks>
  3730. <para>
  3731. An Appender that writes to a <see cref="T:System.IO.TextWriter"/>.
  3732. </para>
  3733. <para>
  3734. This appender may be used stand alone if initialized with an appropriate
  3735. writer, however it is typically used as a base class for an appender that
  3736. can open a <see cref="T:System.IO.TextWriter"/> to write to.
  3737. </para>
  3738. </remarks>
  3739. <author>Nicko Cadell</author>
  3740. <author>Gert Driesen</author>
  3741. <author>Douglas de la Torre</author>
  3742. </member>
  3743. <member name="M:log4net.Appender.TextWriterAppender.#ctor">
  3744. <summary>
  3745. Initializes a new instance of the <see cref="T:log4net.Appender.TextWriterAppender"/> class.
  3746. </summary>
  3747. <remarks>
  3748. <para>
  3749. Default constructor.
  3750. </para>
  3751. </remarks>
  3752. </member>
  3753. <member name="M:log4net.Appender.TextWriterAppender.#ctor(log4net.Layout.ILayout,System.IO.Stream)">
  3754. <summary>
  3755. Initializes a new instance of the <see cref="T:log4net.Appender.TextWriterAppender"/> class and
  3756. sets the output destination to a new <see cref="T:System.IO.StreamWriter"/> initialized
  3757. with the specified <see cref="T:System.IO.Stream"/>.
  3758. </summary>
  3759. <param name="layout">The layout to use with this appender.</param>
  3760. <param name="os">The <see cref="T:System.IO.Stream"/> to output to.</param>
  3761. <remarks>
  3762. <para>
  3763. Obsolete constructor.
  3764. </para>
  3765. </remarks>
  3766. </member>
  3767. <member name="M:log4net.Appender.TextWriterAppender.#ctor(log4net.Layout.ILayout,System.IO.TextWriter)">
  3768. <summary>
  3769. Initializes a new instance of the <see cref="T:log4net.Appender.TextWriterAppender"/> class and sets
  3770. the output destination to the specified <see cref="T:System.IO.StreamWriter"/>.
  3771. </summary>
  3772. <param name="layout">The layout to use with this appender</param>
  3773. <param name="writer">The <see cref="T:System.IO.TextWriter"/> to output to</param>
  3774. <remarks>
  3775. The <see cref="T:System.IO.TextWriter"/> must have been previously opened.
  3776. </remarks>
  3777. <remarks>
  3778. <para>
  3779. Obsolete constructor.
  3780. </para>
  3781. </remarks>
  3782. </member>
  3783. <member name="M:log4net.Appender.TextWriterAppender.PreAppendCheck">
  3784. <summary>
  3785. This method determines if there is a sense in attempting to append.
  3786. </summary>
  3787. <remarks>
  3788. <para>
  3789. This method checks if an output target has been set and if a
  3790. layout has been set.
  3791. </para>
  3792. </remarks>
  3793. <returns><c>false</c> if any of the preconditions fail.</returns>
  3794. </member>
  3795. <member name="M:log4net.Appender.TextWriterAppender.Append(log4net.Core.LoggingEvent)">
  3796. <summary>
  3797. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/>
  3798. method.
  3799. </summary>
  3800. <param name="loggingEvent">The event to log.</param>
  3801. <remarks>
  3802. <para>
  3803. Writes a log statement to the output stream if the output stream exists
  3804. and is writable.
  3805. </para>
  3806. <para>
  3807. The format of the output will depend on the appender's layout.
  3808. </para>
  3809. </remarks>
  3810. </member>
  3811. <member name="M:log4net.Appender.TextWriterAppender.Append(log4net.Core.LoggingEvent[])">
  3812. <summary>
  3813. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent[])"/>
  3814. method.
  3815. </summary>
  3816. <param name="loggingEvents">The array of events to log.</param>
  3817. <remarks>
  3818. <para>
  3819. This method writes all the bulk logged events to the output writer
  3820. before flushing the stream.
  3821. </para>
  3822. </remarks>
  3823. </member>
  3824. <member name="M:log4net.Appender.TextWriterAppender.OnClose">
  3825. <summary>
  3826. Close this appender instance. The underlying stream or writer is also closed.
  3827. </summary>
  3828. <remarks>
  3829. Closed appenders cannot be reused.
  3830. </remarks>
  3831. </member>
  3832. <member name="M:log4net.Appender.TextWriterAppender.WriteFooterAndCloseWriter">
  3833. <summary>
  3834. Writes the footer and closes the underlying <see cref="T:System.IO.TextWriter"/>.
  3835. </summary>
  3836. <remarks>
  3837. <para>
  3838. Writes the footer and closes the underlying <see cref="T:System.IO.TextWriter"/>.
  3839. </para>
  3840. </remarks>
  3841. </member>
  3842. <member name="M:log4net.Appender.TextWriterAppender.CloseWriter">
  3843. <summary>
  3844. Closes the underlying <see cref="T:System.IO.TextWriter"/>.
  3845. </summary>
  3846. <remarks>
  3847. <para>
  3848. Closes the underlying <see cref="T:System.IO.TextWriter"/>.
  3849. </para>
  3850. </remarks>
  3851. </member>
  3852. <member name="M:log4net.Appender.TextWriterAppender.Reset">
  3853. <summary>
  3854. Clears internal references to the underlying <see cref="T:System.IO.TextWriter"/>
  3855. and other variables.
  3856. </summary>
  3857. <remarks>
  3858. <para>
  3859. Subclasses can override this method for an alternate closing behavior.
  3860. </para>
  3861. </remarks>
  3862. </member>
  3863. <member name="M:log4net.Appender.TextWriterAppender.WriteFooter">
  3864. <summary>
  3865. Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
  3866. </summary>
  3867. <remarks>
  3868. <para>
  3869. Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
  3870. </para>
  3871. </remarks>
  3872. </member>
  3873. <member name="M:log4net.Appender.TextWriterAppender.WriteHeader">
  3874. <summary>
  3875. Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
  3876. </summary>
  3877. <remarks>
  3878. <para>
  3879. Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
  3880. </para>
  3881. </remarks>
  3882. </member>
  3883. <member name="M:log4net.Appender.TextWriterAppender.PrepareWriter">
  3884. <summary>
  3885. Called to allow a subclass to lazily initialize the writer
  3886. </summary>
  3887. <remarks>
  3888. <para>
  3889. This method is called when an event is logged and the <see cref="P:log4net.Appender.TextWriterAppender.Writer"/> or
  3890. <see cref="P:log4net.Appender.TextWriterAppender.QuietWriter"/> have not been set. This allows a subclass to
  3891. attempt to initialize the writer multiple times.
  3892. </para>
  3893. </remarks>
  3894. </member>
  3895. <member name="F:log4net.Appender.TextWriterAppender.m_qtw">
  3896. <summary>
  3897. This is the <see cref="T:log4net.Util.QuietTextWriter"/> where logging events
  3898. will be written to.
  3899. </summary>
  3900. </member>
  3901. <member name="F:log4net.Appender.TextWriterAppender.m_immediateFlush">
  3902. <summary>
  3903. Immediate flush means that the underlying <see cref="T:System.IO.TextWriter"/>
  3904. or output stream will be flushed at the end of each append operation.
  3905. </summary>
  3906. <remarks>
  3907. <para>
  3908. Immediate flush is slower but ensures that each append request is
  3909. actually written. If <see cref="P:log4net.Appender.TextWriterAppender.ImmediateFlush"/> is set to
  3910. <c>false</c>, then there is a good chance that the last few
  3911. logging events are not actually persisted if and when the application
  3912. crashes.
  3913. </para>
  3914. <para>
  3915. The default value is <c>true</c>.
  3916. </para>
  3917. </remarks>
  3918. </member>
  3919. <member name="F:log4net.Appender.TextWriterAppender.declaringType">
  3920. <summary>
  3921. The fully qualified type of the TextWriterAppender class.
  3922. </summary>
  3923. <remarks>
  3924. Used by the internal logger to record the Type of the
  3925. log message.
  3926. </remarks>
  3927. </member>
  3928. <member name="P:log4net.Appender.TextWriterAppender.ImmediateFlush">
  3929. <summary>
  3930. Gets or set whether the appender will flush at the end
  3931. of each append operation.
  3932. </summary>
  3933. <value>
  3934. <para>
  3935. The default behavior is to flush at the end of each
  3936. append operation.
  3937. </para>
  3938. <para>
  3939. If this option is set to <c>false</c>, then the underlying
  3940. stream can defer persisting the logging event to a later
  3941. time.
  3942. </para>
  3943. </value>
  3944. <remarks>
  3945. Avoiding the flush operation at the end of each append results in
  3946. a performance gain of 10 to 20 percent. However, there is safety
  3947. trade-off involved in skipping flushing. Indeed, when flushing is
  3948. skipped, then it is likely that the last few log events will not
  3949. be recorded on disk when the application exits. This is a high
  3950. price to pay even for a 20% performance gain.
  3951. </remarks>
  3952. </member>
  3953. <member name="P:log4net.Appender.TextWriterAppender.Writer">
  3954. <summary>
  3955. Sets the <see cref="T:System.IO.TextWriter"/> where the log output will go.
  3956. </summary>
  3957. <remarks>
  3958. <para>
  3959. The specified <see cref="T:System.IO.TextWriter"/> must be open and writable.
  3960. </para>
  3961. <para>
  3962. The <see cref="T:System.IO.TextWriter"/> will be closed when the appender
  3963. instance is closed.
  3964. </para>
  3965. <para>
  3966. <b>Note:</b> Logging to an unopened <see cref="T:System.IO.TextWriter"/> will fail.
  3967. </para>
  3968. </remarks>
  3969. </member>
  3970. <member name="P:log4net.Appender.TextWriterAppender.ErrorHandler">
  3971. <summary>
  3972. Gets or set the <see cref="T:log4net.Core.IErrorHandler"/> and the underlying
  3973. <see cref="T:log4net.Util.QuietTextWriter"/>, if any, for this appender.
  3974. </summary>
  3975. <value>
  3976. The <see cref="T:log4net.Core.IErrorHandler"/> for this appender.
  3977. </value>
  3978. </member>
  3979. <member name="P:log4net.Appender.TextWriterAppender.RequiresLayout">
  3980. <summary>
  3981. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3982. </summary>
  3983. <value><c>true</c></value>
  3984. <remarks>
  3985. <para>
  3986. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  3987. </para>
  3988. </remarks>
  3989. </member>
  3990. <member name="P:log4net.Appender.TextWriterAppender.QuietWriter">
  3991. <summary>
  3992. Gets or sets the <see cref="T:log4net.Util.QuietTextWriter"/> where logging events
  3993. will be written to.
  3994. </summary>
  3995. <value>
  3996. The <see cref="T:log4net.Util.QuietTextWriter"/> where logging events are written.
  3997. </value>
  3998. <remarks>
  3999. <para>
  4000. This is the <see cref="T:log4net.Util.QuietTextWriter"/> where logging events
  4001. will be written to.
  4002. </para>
  4003. </remarks>
  4004. </member>
  4005. <member name="M:log4net.Appender.FileAppender.#ctor">
  4006. <summary>
  4007. Default constructor
  4008. </summary>
  4009. <remarks>
  4010. <para>
  4011. Default constructor
  4012. </para>
  4013. </remarks>
  4014. </member>
  4015. <member name="M:log4net.Appender.FileAppender.#ctor(log4net.Layout.ILayout,System.String,System.Boolean)">
  4016. <summary>
  4017. Construct a new appender using the layout, file and append mode.
  4018. </summary>
  4019. <param name="layout">the layout to use with this appender</param>
  4020. <param name="filename">the full path to the file to write to</param>
  4021. <param name="append">flag to indicate if the file should be appended to</param>
  4022. <remarks>
  4023. <para>
  4024. Obsolete constructor.
  4025. </para>
  4026. </remarks>
  4027. </member>
  4028. <member name="M:log4net.Appender.FileAppender.#ctor(log4net.Layout.ILayout,System.String)">
  4029. <summary>
  4030. Construct a new appender using the layout and file specified.
  4031. The file will be appended to.
  4032. </summary>
  4033. <param name="layout">the layout to use with this appender</param>
  4034. <param name="filename">the full path to the file to write to</param>
  4035. <remarks>
  4036. <para>
  4037. Obsolete constructor.
  4038. </para>
  4039. </remarks>
  4040. </member>
  4041. <member name="M:log4net.Appender.FileAppender.ActivateOptions">
  4042. <summary>
  4043. Activate the options on the file appender.
  4044. </summary>
  4045. <remarks>
  4046. <para>
  4047. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  4048. activation scheme. The <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/> method must
  4049. be called on this object after the configuration properties have
  4050. been set. Until <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/> is called this
  4051. object is in an undefined state and must not be used.
  4052. </para>
  4053. <para>
  4054. If any of the configuration properties are modified then
  4055. <see cref="M:log4net.Appender.FileAppender.ActivateOptions"/> must be called again.
  4056. </para>
  4057. <para>
  4058. This will cause the file to be opened.
  4059. </para>
  4060. </remarks>
  4061. </member>
  4062. <member name="M:log4net.Appender.FileAppender.Reset">
  4063. <summary>
  4064. Closes any previously opened file and calls the parent's <see cref="M:log4net.Appender.TextWriterAppender.Reset"/>.
  4065. </summary>
  4066. <remarks>
  4067. <para>
  4068. Resets the filename and the file stream.
  4069. </para>
  4070. </remarks>
  4071. </member>
  4072. <member name="M:log4net.Appender.FileAppender.PrepareWriter">
  4073. <summary>
  4074. Called to initialize the file writer
  4075. </summary>
  4076. <remarks>
  4077. <para>
  4078. Will be called for each logged message until the file is
  4079. successfully opened.
  4080. </para>
  4081. </remarks>
  4082. </member>
  4083. <member name="M:log4net.Appender.FileAppender.Append(log4net.Core.LoggingEvent)">
  4084. <summary>
  4085. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/>
  4086. method.
  4087. </summary>
  4088. <param name="loggingEvent">The event to log.</param>
  4089. <remarks>
  4090. <para>
  4091. Writes a log statement to the output stream if the output stream exists
  4092. and is writable.
  4093. </para>
  4094. <para>
  4095. The format of the output will depend on the appender's layout.
  4096. </para>
  4097. </remarks>
  4098. </member>
  4099. <member name="M:log4net.Appender.FileAppender.Append(log4net.Core.LoggingEvent[])">
  4100. <summary>
  4101. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent[])"/>
  4102. method.
  4103. </summary>
  4104. <param name="loggingEvents">The array of events to log.</param>
  4105. <remarks>
  4106. <para>
  4107. Acquires the output file locks once before writing all the events to
  4108. the stream.
  4109. </para>
  4110. </remarks>
  4111. </member>
  4112. <member name="M:log4net.Appender.FileAppender.WriteFooter">
  4113. <summary>
  4114. Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
  4115. </summary>
  4116. <remarks>
  4117. <para>
  4118. Writes a footer as produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Footer"/> property.
  4119. </para>
  4120. </remarks>
  4121. </member>
  4122. <member name="M:log4net.Appender.FileAppender.WriteHeader">
  4123. <summary>
  4124. Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
  4125. </summary>
  4126. <remarks>
  4127. <para>
  4128. Writes a header produced by the embedded layout's <see cref="P:log4net.Layout.ILayout.Header"/> property.
  4129. </para>
  4130. </remarks>
  4131. </member>
  4132. <member name="M:log4net.Appender.FileAppender.CloseWriter">
  4133. <summary>
  4134. Closes the underlying <see cref="T:System.IO.TextWriter"/>.
  4135. </summary>
  4136. <remarks>
  4137. <para>
  4138. Closes the underlying <see cref="T:System.IO.TextWriter"/>.
  4139. </para>
  4140. </remarks>
  4141. </member>
  4142. <member name="M:log4net.Appender.FileAppender.CloseFile">
  4143. <summary>
  4144. Closes the previously opened file.
  4145. </summary>
  4146. <remarks>
  4147. <para>
  4148. Writes the <see cref="P:log4net.Layout.ILayout.Footer"/> to the file and then
  4149. closes the file.
  4150. </para>
  4151. </remarks>
  4152. </member>
  4153. <member name="M:log4net.Appender.FileAppender.SafeOpenFile(System.String,System.Boolean)">
  4154. <summary>
  4155. Sets and <i>opens</i> the file where the log output will go. The specified file must be writable.
  4156. </summary>
  4157. <param name="fileName">The path to the log file. Must be a fully qualified path.</param>
  4158. <param name="append">If true will append to fileName. Otherwise will truncate fileName</param>
  4159. <remarks>
  4160. <para>
  4161. Calls <see cref="M:log4net.Appender.FileAppender.OpenFile(System.String,System.Boolean)"/> but guarantees not to throw an exception.
  4162. Errors are passed to the <see cref="P:log4net.Appender.TextWriterAppender.ErrorHandler"/>.
  4163. </para>
  4164. </remarks>
  4165. </member>
  4166. <member name="M:log4net.Appender.FileAppender.OpenFile(System.String,System.Boolean)">
  4167. <summary>
  4168. Sets and <i>opens</i> the file where the log output will go. The specified file must be writable.
  4169. </summary>
  4170. <param name="fileName">The path to the log file. Must be a fully qualified path.</param>
  4171. <param name="append">If true will append to fileName. Otherwise will truncate fileName</param>
  4172. <remarks>
  4173. <para>
  4174. If there was already an opened file, then the previous file
  4175. is closed first.
  4176. </para>
  4177. <para>
  4178. This method will ensure that the directory structure
  4179. for the <paramref name="fileName"/> specified exists.
  4180. </para>
  4181. </remarks>
  4182. </member>
  4183. <member name="M:log4net.Appender.FileAppender.SetQWForFiles(System.IO.Stream)">
  4184. <summary>
  4185. Sets the quiet writer used for file output
  4186. </summary>
  4187. <param name="fileStream">the file stream that has been opened for writing</param>
  4188. <remarks>
  4189. <para>
  4190. This implementation of <see cref="M:SetQWForFiles(Stream)"/> creates a <see cref="T:System.IO.StreamWriter"/>
  4191. over the <paramref name="fileStream"/> and passes it to the
  4192. <see cref="M:SetQWForFiles(TextWriter)"/> method.
  4193. </para>
  4194. <para>
  4195. This method can be overridden by sub classes that want to wrap the
  4196. <see cref="T:System.IO.Stream"/> in some way, for example to encrypt the output
  4197. data using a <c>System.Security.Cryptography.CryptoStream</c>.
  4198. </para>
  4199. </remarks>
  4200. </member>
  4201. <member name="M:log4net.Appender.FileAppender.SetQWForFiles(System.IO.TextWriter)">
  4202. <summary>
  4203. Sets the quiet writer being used.
  4204. </summary>
  4205. <param name="writer">the writer over the file stream that has been opened for writing</param>
  4206. <remarks>
  4207. <para>
  4208. This method can be overridden by sub classes that want to
  4209. wrap the <see cref="T:System.IO.TextWriter"/> in some way.
  4210. </para>
  4211. </remarks>
  4212. </member>
  4213. <member name="M:log4net.Appender.FileAppender.ConvertToFullPath(System.String)">
  4214. <summary>
  4215. Convert a path into a fully qualified path.
  4216. </summary>
  4217. <param name="path">The path to convert.</param>
  4218. <returns>The fully qualified path.</returns>
  4219. <remarks>
  4220. <para>
  4221. Converts the path specified to a fully
  4222. qualified path. If the path is relative it is
  4223. taken as relative from the application base
  4224. directory.
  4225. </para>
  4226. </remarks>
  4227. </member>
  4228. <member name="F:log4net.Appender.FileAppender.m_appendToFile">
  4229. <summary>
  4230. Flag to indicate if we should append to the file
  4231. or overwrite the file. The default is to append.
  4232. </summary>
  4233. </member>
  4234. <member name="F:log4net.Appender.FileAppender.m_fileName">
  4235. <summary>
  4236. The name of the log file.
  4237. </summary>
  4238. </member>
  4239. <member name="F:log4net.Appender.FileAppender.m_encoding">
  4240. <summary>
  4241. The encoding to use for the file stream.
  4242. </summary>
  4243. </member>
  4244. <member name="F:log4net.Appender.FileAppender.m_securityContext">
  4245. <summary>
  4246. The security context to use for privileged calls
  4247. </summary>
  4248. </member>
  4249. <member name="F:log4net.Appender.FileAppender.m_stream">
  4250. <summary>
  4251. The stream to log to. Has added locking semantics
  4252. </summary>
  4253. </member>
  4254. <member name="F:log4net.Appender.FileAppender.m_lockingModel">
  4255. <summary>
  4256. The locking model to use
  4257. </summary>
  4258. </member>
  4259. <member name="F:log4net.Appender.FileAppender.declaringType">
  4260. <summary>
  4261. The fully qualified type of the FileAppender class.
  4262. </summary>
  4263. <remarks>
  4264. Used by the internal logger to record the Type of the
  4265. log message.
  4266. </remarks>
  4267. </member>
  4268. <member name="P:log4net.Appender.FileAppender.File">
  4269. <summary>
  4270. Gets or sets the path to the file that logging will be written to.
  4271. </summary>
  4272. <value>
  4273. The path to the file that logging will be written to.
  4274. </value>
  4275. <remarks>
  4276. <para>
  4277. If the path is relative it is taken as relative from
  4278. the application base directory.
  4279. </para>
  4280. </remarks>
  4281. </member>
  4282. <member name="P:log4net.Appender.FileAppender.AppendToFile">
  4283. <summary>
  4284. Gets or sets a flag that indicates whether the file should be
  4285. appended to or overwritten.
  4286. </summary>
  4287. <value>
  4288. Indicates whether the file should be appended to or overwritten.
  4289. </value>
  4290. <remarks>
  4291. <para>
  4292. If the value is set to false then the file will be overwritten, if
  4293. it is set to true then the file will be appended to.
  4294. </para>
  4295. The default value is true.
  4296. </remarks>
  4297. </member>
  4298. <member name="P:log4net.Appender.FileAppender.Encoding">
  4299. <summary>
  4300. Gets or sets <see cref="P:log4net.Appender.FileAppender.Encoding"/> used to write to the file.
  4301. </summary>
  4302. <value>
  4303. The <see cref="P:log4net.Appender.FileAppender.Encoding"/> used to write to the file.
  4304. </value>
  4305. <remarks>
  4306. <para>
  4307. The default encoding set is <see cref="P:System.Text.Encoding.Default"/>
  4308. which is the encoding for the system's current ANSI code page.
  4309. </para>
  4310. </remarks>
  4311. </member>
  4312. <member name="P:log4net.Appender.FileAppender.SecurityContext">
  4313. <summary>
  4314. Gets or sets the <see cref="P:log4net.Appender.FileAppender.SecurityContext"/> used to write to the file.
  4315. </summary>
  4316. <value>
  4317. The <see cref="P:log4net.Appender.FileAppender.SecurityContext"/> used to write to the file.
  4318. </value>
  4319. <remarks>
  4320. <para>
  4321. Unless a <see cref="P:log4net.Appender.FileAppender.SecurityContext"/> specified here for this appender
  4322. the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
  4323. security context to use. The default behavior is to use the security context
  4324. of the current thread.
  4325. </para>
  4326. </remarks>
  4327. </member>
  4328. <member name="P:log4net.Appender.FileAppender.LockingModel">
  4329. <summary>
  4330. Gets or sets the <see cref="P:log4net.Appender.FileAppender.LockingModel"/> used to handle locking of the file.
  4331. </summary>
  4332. <value>
  4333. The <see cref="P:log4net.Appender.FileAppender.LockingModel"/> used to lock the file.
  4334. </value>
  4335. <remarks>
  4336. <para>
  4337. Gets or sets the <see cref="P:log4net.Appender.FileAppender.LockingModel"/> used to handle locking of the file.
  4338. </para>
  4339. <para>
  4340. There are three built in locking models, <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/>, <see cref="T:log4net.Appender.FileAppender.MinimalLock"/> and <see cref="T:log4net.Appender.FileAppender.InterProcessLock"/> .
  4341. The first locks the file from the start of logging to the end, the
  4342. second locks only for the minimal amount of time when logging each message
  4343. and the last synchronizes processes using a named system wide Mutex.
  4344. </para>
  4345. <para>
  4346. The default locking model is the <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/>.
  4347. </para>
  4348. </remarks>
  4349. </member>
  4350. <member name="T:log4net.Appender.FileAppender.LockingStream">
  4351. <summary>
  4352. Write only <see cref="T:System.IO.Stream"/> that uses the <see cref="T:log4net.Appender.FileAppender.LockingModelBase"/>
  4353. to manage access to an underlying resource.
  4354. </summary>
  4355. </member>
  4356. <member name="M:log4net.Appender.FileAppender.LockingStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)">
  4357. <summary>
  4358. True asynchronous writes are not supported, the implementation forces a synchronous write.
  4359. </summary>
  4360. </member>
  4361. <member name="T:log4net.Core.LogException">
  4362. <summary>
  4363. Exception base type for log4net.
  4364. </summary>
  4365. <remarks>
  4366. <para>
  4367. This type extends <see cref="T:System.ApplicationException"/>. It
  4368. does not add any new functionality but does differentiate the
  4369. type of exception being thrown.
  4370. </para>
  4371. </remarks>
  4372. <author>Nicko Cadell</author>
  4373. <author>Gert Driesen</author>
  4374. </member>
  4375. <member name="M:log4net.Core.LogException.#ctor">
  4376. <summary>
  4377. Constructor
  4378. </summary>
  4379. <remarks>
  4380. <para>
  4381. Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class.
  4382. </para>
  4383. </remarks>
  4384. </member>
  4385. <member name="M:log4net.Core.LogException.#ctor(System.String)">
  4386. <summary>
  4387. Constructor
  4388. </summary>
  4389. <param name="message">A message to include with the exception.</param>
  4390. <remarks>
  4391. <para>
  4392. Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class with
  4393. the specified message.
  4394. </para>
  4395. </remarks>
  4396. </member>
  4397. <member name="M:log4net.Core.LogException.#ctor(System.String,System.Exception)">
  4398. <summary>
  4399. Constructor
  4400. </summary>
  4401. <param name="message">A message to include with the exception.</param>
  4402. <param name="innerException">A nested exception to include.</param>
  4403. <remarks>
  4404. <para>
  4405. Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class
  4406. with the specified message and inner exception.
  4407. </para>
  4408. </remarks>
  4409. </member>
  4410. <member name="M:log4net.Core.LogException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  4411. <summary>
  4412. Serialization constructor
  4413. </summary>
  4414. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
  4415. <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  4416. <remarks>
  4417. <para>
  4418. Initializes a new instance of the <see cref="T:log4net.Core.LogException"/> class
  4419. with serialized data.
  4420. </para>
  4421. </remarks>
  4422. </member>
  4423. <member name="T:log4net.Appender.FileAppender.LockingModelBase">
  4424. <summary>
  4425. Locking model base class
  4426. </summary>
  4427. <remarks>
  4428. <para>
  4429. Base class for the locking models available to the <see cref="T:log4net.Appender.FileAppender"/> derived loggers.
  4430. </para>
  4431. </remarks>
  4432. </member>
  4433. <member name="M:log4net.Appender.FileAppender.LockingModelBase.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
  4434. <summary>
  4435. Open the output file
  4436. </summary>
  4437. <param name="filename">The filename to use</param>
  4438. <param name="append">Whether to append to the file, or overwrite</param>
  4439. <param name="encoding">The encoding to use</param>
  4440. <remarks>
  4441. <para>
  4442. Open the file specified and prepare for logging.
  4443. No writes will be made until <see cref="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock"/> is called.
  4444. Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock"/>,
  4445. <see cref="M:log4net.Appender.FileAppender.LockingModelBase.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.LockingModelBase.CloseFile"/>.
  4446. </para>
  4447. </remarks>
  4448. </member>
  4449. <member name="M:log4net.Appender.FileAppender.LockingModelBase.CloseFile">
  4450. <summary>
  4451. Close the file
  4452. </summary>
  4453. <remarks>
  4454. <para>
  4455. Close the file. No further writes will be made.
  4456. </para>
  4457. </remarks>
  4458. </member>
  4459. <member name="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock">
  4460. <summary>
  4461. Acquire the lock on the file
  4462. </summary>
  4463. <returns>A stream that is ready to be written to.</returns>
  4464. <remarks>
  4465. <para>
  4466. Acquire the lock on the file in preparation for writing to it.
  4467. Return a stream pointing to the file. <see cref="M:log4net.Appender.FileAppender.LockingModelBase.ReleaseLock"/>
  4468. must be called to release the lock on the output file.
  4469. </para>
  4470. </remarks>
  4471. </member>
  4472. <member name="M:log4net.Appender.FileAppender.LockingModelBase.ReleaseLock">
  4473. <summary>
  4474. Release the lock on the file
  4475. </summary>
  4476. <remarks>
  4477. <para>
  4478. Release the lock on the file. No further writes will be made to the
  4479. stream until <see cref="M:log4net.Appender.FileAppender.LockingModelBase.AcquireLock"/> is called again.
  4480. </para>
  4481. </remarks>
  4482. </member>
  4483. <member name="M:log4net.Appender.FileAppender.LockingModelBase.CreateStream(System.String,System.Boolean,System.IO.FileShare)">
  4484. <summary>
  4485. Helper method that creates a FileStream under CurrentAppender's SecurityContext.
  4486. </summary>
  4487. <remarks>
  4488. <para>
  4489. Typically called during OpenFile or AcquireLock.
  4490. </para>
  4491. <para>
  4492. If the directory portion of the <paramref name="filename"/> does not exist, it is created
  4493. via Directory.CreateDirecctory.
  4494. </para>
  4495. </remarks>
  4496. <param name="filename"></param>
  4497. <param name="append"></param>
  4498. <param name="fileShare"></param>
  4499. <returns></returns>
  4500. </member>
  4501. <member name="M:log4net.Appender.FileAppender.LockingModelBase.CloseStream(System.IO.Stream)">
  4502. <summary>
  4503. Helper method to close <paramref name="stream"/> under CurrentAppender's SecurityContext.
  4504. </summary>
  4505. <remarks>
  4506. Does not set <paramref name="stream"/> to null.
  4507. </remarks>
  4508. <param name="stream"></param>
  4509. </member>
  4510. <member name="P:log4net.Appender.FileAppender.LockingModelBase.CurrentAppender">
  4511. <summary>
  4512. Gets or sets the <see cref="T:log4net.Appender.FileAppender"/> for this LockingModel
  4513. </summary>
  4514. <value>
  4515. The <see cref="T:log4net.Appender.FileAppender"/> for this LockingModel
  4516. </value>
  4517. <remarks>
  4518. <para>
  4519. The file appender this locking model is attached to and working on
  4520. behalf of.
  4521. </para>
  4522. <para>
  4523. The file appender is used to locate the security context and the error handler to use.
  4524. </para>
  4525. <para>
  4526. The value of this property will be set before <see cref="M:log4net.Appender.FileAppender.LockingModelBase.OpenFile(System.String,System.Boolean,System.Text.Encoding)"/> is
  4527. called.
  4528. </para>
  4529. </remarks>
  4530. </member>
  4531. <member name="T:log4net.Appender.FileAppender.ExclusiveLock">
  4532. <summary>
  4533. Hold an exclusive lock on the output file
  4534. </summary>
  4535. <remarks>
  4536. <para>
  4537. Open the file once for writing and hold it open until <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.CloseFile"/> is called.
  4538. Maintains an exclusive lock on the file during this time.
  4539. </para>
  4540. </remarks>
  4541. </member>
  4542. <member name="M:log4net.Appender.FileAppender.ExclusiveLock.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
  4543. <summary>
  4544. Open the file specified and prepare for logging.
  4545. </summary>
  4546. <param name="filename">The filename to use</param>
  4547. <param name="append">Whether to append to the file, or overwrite</param>
  4548. <param name="encoding">The encoding to use</param>
  4549. <remarks>
  4550. <para>
  4551. Open the file specified and prepare for logging.
  4552. No writes will be made until <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.AcquireLock"/> is called.
  4553. Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.AcquireLock"/>,
  4554. <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.ExclusiveLock.CloseFile"/>.
  4555. </para>
  4556. </remarks>
  4557. </member>
  4558. <member name="M:log4net.Appender.FileAppender.ExclusiveLock.CloseFile">
  4559. <summary>
  4560. Close the file
  4561. </summary>
  4562. <remarks>
  4563. <para>
  4564. Close the file. No further writes will be made.
  4565. </para>
  4566. </remarks>
  4567. </member>
  4568. <member name="M:log4net.Appender.FileAppender.ExclusiveLock.AcquireLock">
  4569. <summary>
  4570. Acquire the lock on the file
  4571. </summary>
  4572. <returns>A stream that is ready to be written to.</returns>
  4573. <remarks>
  4574. <para>
  4575. Does nothing. The lock is already taken
  4576. </para>
  4577. </remarks>
  4578. </member>
  4579. <member name="M:log4net.Appender.FileAppender.ExclusiveLock.ReleaseLock">
  4580. <summary>
  4581. Release the lock on the file
  4582. </summary>
  4583. <remarks>
  4584. <para>
  4585. Does nothing. The lock will be released when the file is closed.
  4586. </para>
  4587. </remarks>
  4588. </member>
  4589. <member name="T:log4net.Appender.FileAppender.MinimalLock">
  4590. <summary>
  4591. Acquires the file lock for each write
  4592. </summary>
  4593. <remarks>
  4594. <para>
  4595. Opens the file once for each <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/>/<see cref="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock"/> cycle,
  4596. thus holding the lock for the minimal amount of time. This method of locking
  4597. is considerably slower than <see cref="T:log4net.Appender.FileAppender.ExclusiveLock"/> but allows
  4598. other processes to move/delete the log file whilst logging continues.
  4599. </para>
  4600. </remarks>
  4601. </member>
  4602. <member name="M:log4net.Appender.FileAppender.MinimalLock.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
  4603. <summary>
  4604. Prepares to open the file when the first message is logged.
  4605. </summary>
  4606. <param name="filename">The filename to use</param>
  4607. <param name="append">Whether to append to the file, or overwrite</param>
  4608. <param name="encoding">The encoding to use</param>
  4609. <remarks>
  4610. <para>
  4611. Open the file specified and prepare for logging.
  4612. No writes will be made until <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/> is called.
  4613. Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/>,
  4614. <see cref="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.MinimalLock.CloseFile"/>.
  4615. </para>
  4616. </remarks>
  4617. </member>
  4618. <member name="M:log4net.Appender.FileAppender.MinimalLock.CloseFile">
  4619. <summary>
  4620. Close the file
  4621. </summary>
  4622. <remarks>
  4623. <para>
  4624. Close the file. No further writes will be made.
  4625. </para>
  4626. </remarks>
  4627. </member>
  4628. <member name="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock">
  4629. <summary>
  4630. Acquire the lock on the file
  4631. </summary>
  4632. <returns>A stream that is ready to be written to.</returns>
  4633. <remarks>
  4634. <para>
  4635. Acquire the lock on the file in preparation for writing to it.
  4636. Return a stream pointing to the file. <see cref="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock"/>
  4637. must be called to release the lock on the output file.
  4638. </para>
  4639. </remarks>
  4640. </member>
  4641. <member name="M:log4net.Appender.FileAppender.MinimalLock.ReleaseLock">
  4642. <summary>
  4643. Release the lock on the file
  4644. </summary>
  4645. <remarks>
  4646. <para>
  4647. Release the lock on the file. No further writes will be made to the
  4648. stream until <see cref="M:log4net.Appender.FileAppender.MinimalLock.AcquireLock"/> is called again.
  4649. </para>
  4650. </remarks>
  4651. </member>
  4652. <member name="T:log4net.Appender.FileAppender.InterProcessLock">
  4653. <summary>
  4654. Provides cross-process file locking.
  4655. </summary>
  4656. <author>Ron Grabowski</author>
  4657. <author>Steve Wranovsky</author>
  4658. </member>
  4659. <member name="M:log4net.Appender.FileAppender.InterProcessLock.OpenFile(System.String,System.Boolean,System.Text.Encoding)">
  4660. <summary>
  4661. Open the file specified and prepare for logging.
  4662. </summary>
  4663. <param name="filename">The filename to use</param>
  4664. <param name="append">Whether to append to the file, or overwrite</param>
  4665. <param name="encoding">The encoding to use</param>
  4666. <remarks>
  4667. <para>
  4668. Open the file specified and prepare for logging.
  4669. No writes will be made until <see cref="M:log4net.Appender.FileAppender.InterProcessLock.AcquireLock"/> is called.
  4670. Must be called before any calls to <see cref="M:log4net.Appender.FileAppender.InterProcessLock.AcquireLock"/>,
  4671. -<see cref="M:log4net.Appender.FileAppender.InterProcessLock.ReleaseLock"/> and <see cref="M:log4net.Appender.FileAppender.InterProcessLock.CloseFile"/>.
  4672. </para>
  4673. </remarks>
  4674. </member>
  4675. <member name="M:log4net.Appender.FileAppender.InterProcessLock.CloseFile">
  4676. <summary>
  4677. Close the file
  4678. </summary>
  4679. <remarks>
  4680. <para>
  4681. Close the file. No further writes will be made.
  4682. </para>
  4683. </remarks>
  4684. </member>
  4685. <member name="M:log4net.Appender.FileAppender.InterProcessLock.AcquireLock">
  4686. <summary>
  4687. Acquire the lock on the file
  4688. </summary>
  4689. <returns>A stream that is ready to be written to.</returns>
  4690. <remarks>
  4691. <para>
  4692. Does nothing. The lock is already taken
  4693. </para>
  4694. </remarks>
  4695. </member>
  4696. <member name="M:log4net.Appender.FileAppender.InterProcessLock.ReleaseLock">
  4697. <summary>
  4698. </summary>
  4699. </member>
  4700. <member name="T:log4net.Appender.ForwardingAppender">
  4701. <summary>
  4702. This appender forwards logging events to attached appenders.
  4703. </summary>
  4704. <remarks>
  4705. <para>
  4706. The forwarding appender can be used to specify different thresholds
  4707. and filters for the same appender at different locations within the hierarchy.
  4708. </para>
  4709. </remarks>
  4710. <author>Nicko Cadell</author>
  4711. <author>Gert Driesen</author>
  4712. </member>
  4713. <member name="M:log4net.Appender.ForwardingAppender.#ctor">
  4714. <summary>
  4715. Initializes a new instance of the <see cref="T:log4net.Appender.ForwardingAppender"/> class.
  4716. </summary>
  4717. <remarks>
  4718. <para>
  4719. Default constructor.
  4720. </para>
  4721. </remarks>
  4722. </member>
  4723. <member name="M:log4net.Appender.ForwardingAppender.OnClose">
  4724. <summary>
  4725. Closes the appender and releases resources.
  4726. </summary>
  4727. <remarks>
  4728. <para>
  4729. Releases any resources allocated within the appender such as file handles,
  4730. network connections, etc.
  4731. </para>
  4732. <para>
  4733. It is a programming error to append to a closed appender.
  4734. </para>
  4735. </remarks>
  4736. </member>
  4737. <member name="M:log4net.Appender.ForwardingAppender.Append(log4net.Core.LoggingEvent)">
  4738. <summary>
  4739. Forward the logging event to the attached appenders
  4740. </summary>
  4741. <param name="loggingEvent">The event to log.</param>
  4742. <remarks>
  4743. <para>
  4744. Delivers the logging event to all the attached appenders.
  4745. </para>
  4746. </remarks>
  4747. </member>
  4748. <member name="M:log4net.Appender.ForwardingAppender.Append(log4net.Core.LoggingEvent[])">
  4749. <summary>
  4750. Forward the logging events to the attached appenders
  4751. </summary>
  4752. <param name="loggingEvents">The array of events to log.</param>
  4753. <remarks>
  4754. <para>
  4755. Delivers the logging events to all the attached appenders.
  4756. </para>
  4757. </remarks>
  4758. </member>
  4759. <member name="M:log4net.Appender.ForwardingAppender.AddAppender(log4net.Appender.IAppender)">
  4760. <summary>
  4761. Adds an <see cref="T:log4net.Appender.IAppender"/> to the list of appenders of this
  4762. instance.
  4763. </summary>
  4764. <param name="newAppender">The <see cref="T:log4net.Appender.IAppender"/> to add to this appender.</param>
  4765. <remarks>
  4766. <para>
  4767. If the specified <see cref="T:log4net.Appender.IAppender"/> is already in the list of
  4768. appenders, then it won't be added again.
  4769. </para>
  4770. </remarks>
  4771. </member>
  4772. <member name="M:log4net.Appender.ForwardingAppender.GetAppender(System.String)">
  4773. <summary>
  4774. Looks for the appender with the specified name.
  4775. </summary>
  4776. <param name="name">The name of the appender to lookup.</param>
  4777. <returns>
  4778. The appender with the specified name, or <c>null</c>.
  4779. </returns>
  4780. <remarks>
  4781. <para>
  4782. Get the named appender attached to this appender.
  4783. </para>
  4784. </remarks>
  4785. </member>
  4786. <member name="M:log4net.Appender.ForwardingAppender.RemoveAllAppenders">
  4787. <summary>
  4788. Removes all previously added appenders from this appender.
  4789. </summary>
  4790. <remarks>
  4791. <para>
  4792. This is useful when re-reading configuration information.
  4793. </para>
  4794. </remarks>
  4795. </member>
  4796. <member name="M:log4net.Appender.ForwardingAppender.RemoveAppender(log4net.Appender.IAppender)">
  4797. <summary>
  4798. Removes the specified appender from the list of appenders.
  4799. </summary>
  4800. <param name="appender">The appender to remove.</param>
  4801. <returns>The appender removed from the list</returns>
  4802. <remarks>
  4803. The appender removed is not closed.
  4804. If you are discarding the appender you must call
  4805. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  4806. </remarks>
  4807. </member>
  4808. <member name="M:log4net.Appender.ForwardingAppender.RemoveAppender(System.String)">
  4809. <summary>
  4810. Removes the appender with the specified name from the list of appenders.
  4811. </summary>
  4812. <param name="name">The name of the appender to remove.</param>
  4813. <returns>The appender removed from the list</returns>
  4814. <remarks>
  4815. The appender removed is not closed.
  4816. If you are discarding the appender you must call
  4817. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  4818. </remarks>
  4819. </member>
  4820. <member name="F:log4net.Appender.ForwardingAppender.m_appenderAttachedImpl">
  4821. <summary>
  4822. Implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
  4823. </summary>
  4824. </member>
  4825. <member name="P:log4net.Appender.ForwardingAppender.Appenders">
  4826. <summary>
  4827. Gets the appenders contained in this appender as an
  4828. <see cref="T:System.Collections.ICollection"/>.
  4829. </summary>
  4830. <remarks>
  4831. If no appenders can be found, then an <see cref="T:log4net.Util.EmptyCollection"/>
  4832. is returned.
  4833. </remarks>
  4834. <returns>
  4835. A collection of the appenders in this appender.
  4836. </returns>
  4837. </member>
  4838. <member name="T:log4net.Appender.LocalSyslogAppender">
  4839. <summary>
  4840. Logs events to a local syslog service.
  4841. </summary>
  4842. <remarks>
  4843. <note>
  4844. This appender uses the POSIX libc library functions <c>openlog</c>, <c>syslog</c>, and <c>closelog</c>.
  4845. If these functions are not available on the local system then this appender will not work!
  4846. </note>
  4847. <para>
  4848. The functions <c>openlog</c>, <c>syslog</c>, and <c>closelog</c> are specified in SUSv2 and
  4849. POSIX 1003.1-2001 standards. These are used to log messages to the local syslog service.
  4850. </para>
  4851. <para>
  4852. This appender talks to a local syslog service. If you need to log to a remote syslog
  4853. daemon and you cannot configure your local syslog service to do this you may be
  4854. able to use the <see cref="T:log4net.Appender.RemoteSyslogAppender"/> to log via UDP.
  4855. </para>
  4856. <para>
  4857. Syslog messages must have a facility and and a severity. The severity
  4858. is derived from the Level of the logging event.
  4859. The facility must be chosen from the set of defined syslog
  4860. <see cref="T:log4net.Appender.LocalSyslogAppender.SyslogFacility"/> values. The facilities list is predefined
  4861. and cannot be extended.
  4862. </para>
  4863. <para>
  4864. An identifier is specified with each log message. This can be specified
  4865. by setting the <see cref="P:log4net.Appender.LocalSyslogAppender.Identity"/> property. The identity (also know
  4866. as the tag) must not contain white space. The default value for the
  4867. identity is the application name (from <see cref="P:log4net.Util.SystemInfo.ApplicationFriendlyName"/>).
  4868. </para>
  4869. </remarks>
  4870. <author>Rob Lyon</author>
  4871. <author>Nicko Cadell</author>
  4872. </member>
  4873. <member name="M:log4net.Appender.LocalSyslogAppender.#ctor">
  4874. <summary>
  4875. Initializes a new instance of the <see cref="T:log4net.Appender.LocalSyslogAppender"/> class.
  4876. </summary>
  4877. <remarks>
  4878. This instance of the <see cref="T:log4net.Appender.LocalSyslogAppender"/> class is set up to write
  4879. to a local syslog service.
  4880. </remarks>
  4881. </member>
  4882. <member name="M:log4net.Appender.LocalSyslogAppender.AddMapping(log4net.Appender.LocalSyslogAppender.LevelSeverity)">
  4883. <summary>
  4884. Add a mapping of level to severity
  4885. </summary>
  4886. <param name="mapping">The mapping to add</param>
  4887. <remarks>
  4888. <para>
  4889. Adds a <see cref="T:log4net.Appender.LocalSyslogAppender.LevelSeverity"/> to this appender.
  4890. </para>
  4891. </remarks>
  4892. </member>
  4893. <member name="M:log4net.Appender.LocalSyslogAppender.ActivateOptions">
  4894. <summary>
  4895. Initialize the appender based on the options set.
  4896. </summary>
  4897. <remarks>
  4898. <para>
  4899. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  4900. activation scheme. The <see cref="M:log4net.Appender.LocalSyslogAppender.ActivateOptions"/> method must
  4901. be called on this object after the configuration properties have
  4902. been set. Until <see cref="M:log4net.Appender.LocalSyslogAppender.ActivateOptions"/> is called this
  4903. object is in an undefined state and must not be used.
  4904. </para>
  4905. <para>
  4906. If any of the configuration properties are modified then
  4907. <see cref="M:log4net.Appender.LocalSyslogAppender.ActivateOptions"/> must be called again.
  4908. </para>
  4909. </remarks>
  4910. </member>
  4911. <member name="M:log4net.Appender.LocalSyslogAppender.Append(log4net.Core.LoggingEvent)">
  4912. <summary>
  4913. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  4914. </summary>
  4915. <param name="loggingEvent">The event to log.</param>
  4916. <remarks>
  4917. <para>
  4918. Writes the event to a remote syslog daemon.
  4919. </para>
  4920. <para>
  4921. The format of the output will depend on the appender's layout.
  4922. </para>
  4923. </remarks>
  4924. </member>
  4925. <member name="M:log4net.Appender.LocalSyslogAppender.OnClose">
  4926. <summary>
  4927. Close the syslog when the appender is closed
  4928. </summary>
  4929. <remarks>
  4930. <para>
  4931. Close the syslog when the appender is closed
  4932. </para>
  4933. </remarks>
  4934. </member>
  4935. <member name="M:log4net.Appender.LocalSyslogAppender.GetSeverity(log4net.Core.Level)">
  4936. <summary>
  4937. Translates a log4net level to a syslog severity.
  4938. </summary>
  4939. <param name="level">A log4net level.</param>
  4940. <returns>A syslog severity.</returns>
  4941. <remarks>
  4942. <para>
  4943. Translates a log4net level to a syslog severity.
  4944. </para>
  4945. </remarks>
  4946. </member>
  4947. <member name="M:log4net.Appender.LocalSyslogAppender.GeneratePriority(log4net.Appender.LocalSyslogAppender.SyslogFacility,log4net.Appender.LocalSyslogAppender.SyslogSeverity)">
  4948. <summary>
  4949. Generate a syslog priority.
  4950. </summary>
  4951. <param name="facility">The syslog facility.</param>
  4952. <param name="severity">The syslog severity.</param>
  4953. <returns>A syslog priority.</returns>
  4954. </member>
  4955. <member name="F:log4net.Appender.LocalSyslogAppender.m_facility">
  4956. <summary>
  4957. The facility. The default facility is <see cref="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.User"/>.
  4958. </summary>
  4959. </member>
  4960. <member name="F:log4net.Appender.LocalSyslogAppender.m_identity">
  4961. <summary>
  4962. The message identity
  4963. </summary>
  4964. </member>
  4965. <member name="F:log4net.Appender.LocalSyslogAppender.m_handleToIdentity">
  4966. <summary>
  4967. Marshaled handle to the identity string. We have to hold on to the
  4968. string as the <c>openlog</c> and <c>syslog</c> APIs just hold the
  4969. pointer to the ident and dereference it for each log message.
  4970. </summary>
  4971. </member>
  4972. <member name="F:log4net.Appender.LocalSyslogAppender.m_levelMapping">
  4973. <summary>
  4974. Mapping from level object to syslog severity
  4975. </summary>
  4976. </member>
  4977. <member name="M:log4net.Appender.LocalSyslogAppender.openlog(System.IntPtr,System.Int32,log4net.Appender.LocalSyslogAppender.SyslogFacility)">
  4978. <summary>
  4979. Open connection to system logger.
  4980. </summary>
  4981. </member>
  4982. <member name="M:log4net.Appender.LocalSyslogAppender.syslog(System.Int32,System.String,System.String)">
  4983. <summary>
  4984. Generate a log message.
  4985. </summary>
  4986. <remarks>
  4987. <para>
  4988. The libc syslog method takes a format string and a variable argument list similar
  4989. to the classic printf function. As this type of vararg list is not supported
  4990. by C# we need to specify the arguments explicitly. Here we have specified the
  4991. format string with a single message argument. The caller must set the format
  4992. string to <c>"%s"</c>.
  4993. </para>
  4994. </remarks>
  4995. </member>
  4996. <member name="M:log4net.Appender.LocalSyslogAppender.closelog">
  4997. <summary>
  4998. Close descriptor used to write to system logger.
  4999. </summary>
  5000. </member>
  5001. <member name="P:log4net.Appender.LocalSyslogAppender.Identity">
  5002. <summary>
  5003. Message identity
  5004. </summary>
  5005. <remarks>
  5006. <para>
  5007. An identifier is specified with each log message. This can be specified
  5008. by setting the <see cref="P:log4net.Appender.LocalSyslogAppender.Identity"/> property. The identity (also know
  5009. as the tag) must not contain white space. The default value for the
  5010. identity is the application name (from <see cref="P:log4net.Util.SystemInfo.ApplicationFriendlyName"/>).
  5011. </para>
  5012. </remarks>
  5013. </member>
  5014. <member name="P:log4net.Appender.LocalSyslogAppender.Facility">
  5015. <summary>
  5016. Syslog facility
  5017. </summary>
  5018. <remarks>
  5019. Set to one of the <see cref="T:log4net.Appender.LocalSyslogAppender.SyslogFacility"/> values. The list of
  5020. facilities is predefined and cannot be extended. The default value
  5021. is <see cref="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.User"/>.
  5022. </remarks>
  5023. </member>
  5024. <member name="P:log4net.Appender.LocalSyslogAppender.RequiresLayout">
  5025. <summary>
  5026. This appender requires a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> to be set.
  5027. </summary>
  5028. <value><c>true</c></value>
  5029. <remarks>
  5030. <para>
  5031. This appender requires a <see cref="P:log4net.Appender.AppenderSkeleton.Layout"/> to be set.
  5032. </para>
  5033. </remarks>
  5034. </member>
  5035. <member name="T:log4net.Appender.LocalSyslogAppender.SyslogSeverity">
  5036. <summary>
  5037. syslog severities
  5038. </summary>
  5039. <remarks>
  5040. <para>
  5041. The log4net Level maps to a syslog severity using the
  5042. <see cref="M:log4net.Appender.LocalSyslogAppender.AddMapping(log4net.Appender.LocalSyslogAppender.LevelSeverity)"/> method and the <see cref="T:log4net.Appender.LocalSyslogAppender.LevelSeverity"/>
  5043. class. The severity is set on <see cref="P:log4net.Appender.LocalSyslogAppender.LevelSeverity.Severity"/>.
  5044. </para>
  5045. </remarks>
  5046. </member>
  5047. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Emergency">
  5048. <summary>
  5049. system is unusable
  5050. </summary>
  5051. </member>
  5052. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Alert">
  5053. <summary>
  5054. action must be taken immediately
  5055. </summary>
  5056. </member>
  5057. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Critical">
  5058. <summary>
  5059. critical conditions
  5060. </summary>
  5061. </member>
  5062. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Error">
  5063. <summary>
  5064. error conditions
  5065. </summary>
  5066. </member>
  5067. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Warning">
  5068. <summary>
  5069. warning conditions
  5070. </summary>
  5071. </member>
  5072. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Notice">
  5073. <summary>
  5074. normal but significant condition
  5075. </summary>
  5076. </member>
  5077. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Informational">
  5078. <summary>
  5079. informational
  5080. </summary>
  5081. </member>
  5082. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogSeverity.Debug">
  5083. <summary>
  5084. debug-level messages
  5085. </summary>
  5086. </member>
  5087. <member name="T:log4net.Appender.LocalSyslogAppender.SyslogFacility">
  5088. <summary>
  5089. syslog facilities
  5090. </summary>
  5091. <remarks>
  5092. <para>
  5093. The syslog facility defines which subsystem the logging comes from.
  5094. This is set on the <see cref="P:log4net.Appender.LocalSyslogAppender.Facility"/> property.
  5095. </para>
  5096. </remarks>
  5097. </member>
  5098. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Kernel">
  5099. <summary>
  5100. kernel messages
  5101. </summary>
  5102. </member>
  5103. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.User">
  5104. <summary>
  5105. random user-level messages
  5106. </summary>
  5107. </member>
  5108. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Mail">
  5109. <summary>
  5110. mail system
  5111. </summary>
  5112. </member>
  5113. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Daemons">
  5114. <summary>
  5115. system daemons
  5116. </summary>
  5117. </member>
  5118. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Authorization">
  5119. <summary>
  5120. security/authorization messages
  5121. </summary>
  5122. </member>
  5123. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Syslog">
  5124. <summary>
  5125. messages generated internally by syslogd
  5126. </summary>
  5127. </member>
  5128. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Printer">
  5129. <summary>
  5130. line printer subsystem
  5131. </summary>
  5132. </member>
  5133. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.News">
  5134. <summary>
  5135. network news subsystem
  5136. </summary>
  5137. </member>
  5138. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Uucp">
  5139. <summary>
  5140. UUCP subsystem
  5141. </summary>
  5142. </member>
  5143. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Clock">
  5144. <summary>
  5145. clock (cron/at) daemon
  5146. </summary>
  5147. </member>
  5148. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Authorization2">
  5149. <summary>
  5150. security/authorization messages (private)
  5151. </summary>
  5152. </member>
  5153. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Ftp">
  5154. <summary>
  5155. ftp daemon
  5156. </summary>
  5157. </member>
  5158. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Ntp">
  5159. <summary>
  5160. NTP subsystem
  5161. </summary>
  5162. </member>
  5163. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Audit">
  5164. <summary>
  5165. log audit
  5166. </summary>
  5167. </member>
  5168. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Alert">
  5169. <summary>
  5170. log alert
  5171. </summary>
  5172. </member>
  5173. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Clock2">
  5174. <summary>
  5175. clock daemon
  5176. </summary>
  5177. </member>
  5178. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local0">
  5179. <summary>
  5180. reserved for local use
  5181. </summary>
  5182. </member>
  5183. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local1">
  5184. <summary>
  5185. reserved for local use
  5186. </summary>
  5187. </member>
  5188. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local2">
  5189. <summary>
  5190. reserved for local use
  5191. </summary>
  5192. </member>
  5193. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local3">
  5194. <summary>
  5195. reserved for local use
  5196. </summary>
  5197. </member>
  5198. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local4">
  5199. <summary>
  5200. reserved for local use
  5201. </summary>
  5202. </member>
  5203. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local5">
  5204. <summary>
  5205. reserved for local use
  5206. </summary>
  5207. </member>
  5208. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local6">
  5209. <summary>
  5210. reserved for local use
  5211. </summary>
  5212. </member>
  5213. <member name="F:log4net.Appender.LocalSyslogAppender.SyslogFacility.Local7">
  5214. <summary>
  5215. reserved for local use
  5216. </summary>
  5217. </member>
  5218. <member name="T:log4net.Appender.LocalSyslogAppender.LevelSeverity">
  5219. <summary>
  5220. A class to act as a mapping between the level that a logging call is made at and
  5221. the syslog severity that is should be logged at.
  5222. </summary>
  5223. <remarks>
  5224. <para>
  5225. A class to act as a mapping between the level that a logging call is made at and
  5226. the syslog severity that is should be logged at.
  5227. </para>
  5228. </remarks>
  5229. </member>
  5230. <member name="P:log4net.Appender.LocalSyslogAppender.LevelSeverity.Severity">
  5231. <summary>
  5232. The mapped syslog severity for the specified level
  5233. </summary>
  5234. <remarks>
  5235. <para>
  5236. Required property.
  5237. The mapped syslog severity for the specified level
  5238. </para>
  5239. </remarks>
  5240. </member>
  5241. <member name="T:log4net.Appender.ManagedColoredConsoleAppender">
  5242. <summary>
  5243. Appends colorful logging events to the console, using the .NET 2
  5244. built-in capabilities.
  5245. </summary>
  5246. <remarks>
  5247. <para>
  5248. ManagedColoredConsoleAppender appends log events to the standard output stream
  5249. or the error output stream using a layout specified by the
  5250. user. It also allows the color of a specific type of message to be set.
  5251. </para>
  5252. <para>
  5253. By default, all output is written to the console's standard output stream.
  5254. The <see cref="P:log4net.Appender.ManagedColoredConsoleAppender.Target"/> property can be set to direct the output to the
  5255. error stream.
  5256. </para>
  5257. <para>
  5258. When configuring the colored console appender, mappings should be
  5259. specified to map logging levels to colors. For example:
  5260. </para>
  5261. <code lang="XML" escaped="true">
  5262. <mapping>
  5263. <level value="ERROR"/>
  5264. <foreColor value="DarkRed"/>
  5265. <backColor value="White"/>
  5266. </mapping>
  5267. <mapping>
  5268. <level value="WARN"/>
  5269. <foreColor value="Yellow"/>
  5270. </mapping>
  5271. <mapping>
  5272. <level value="INFO"/>
  5273. <foreColor value="White"/>
  5274. </mapping>
  5275. <mapping>
  5276. <level value="DEBUG"/>
  5277. <foreColor value="Blue"/>
  5278. </mapping>
  5279. </code>
  5280. <para>
  5281. The Level is the standard log4net logging level while
  5282. ForeColor and BackColor are the values of <see cref="T:System.ConsoleColor"/>
  5283. enumeration.
  5284. </para>
  5285. <para>
  5286. Based on the ColoredConsoleAppender
  5287. </para>
  5288. </remarks>
  5289. <author>Rick Hobbs</author>
  5290. <author>Nicko Cadell</author>
  5291. <author>Pavlos Touboulidis</author>
  5292. </member>
  5293. <member name="F:log4net.Appender.ManagedColoredConsoleAppender.ConsoleOut">
  5294. <summary>
  5295. The <see cref="P:log4net.Appender.ManagedColoredConsoleAppender.Target"/> to use when writing to the Console
  5296. standard output stream.
  5297. </summary>
  5298. <remarks>
  5299. <para>
  5300. The <see cref="P:log4net.Appender.ManagedColoredConsoleAppender.Target"/> to use when writing to the Console
  5301. standard output stream.
  5302. </para>
  5303. </remarks>
  5304. </member>
  5305. <member name="F:log4net.Appender.ManagedColoredConsoleAppender.ConsoleError">
  5306. <summary>
  5307. The <see cref="P:log4net.Appender.ManagedColoredConsoleAppender.Target"/> to use when writing to the Console
  5308. standard error output stream.
  5309. </summary>
  5310. <remarks>
  5311. <para>
  5312. The <see cref="P:log4net.Appender.ManagedColoredConsoleAppender.Target"/> to use when writing to the Console
  5313. standard error output stream.
  5314. </para>
  5315. </remarks>
  5316. </member>
  5317. <member name="M:log4net.Appender.ManagedColoredConsoleAppender.#ctor">
  5318. <summary>
  5319. Initializes a new instance of the <see cref="T:log4net.Appender.ManagedColoredConsoleAppender"/> class.
  5320. </summary>
  5321. <remarks>
  5322. The instance of the <see cref="T:log4net.Appender.ManagedColoredConsoleAppender"/> class is set up to write
  5323. to the standard output stream.
  5324. </remarks>
  5325. </member>
  5326. <member name="M:log4net.Appender.ManagedColoredConsoleAppender.AddMapping(log4net.Appender.ManagedColoredConsoleAppender.LevelColors)">
  5327. <summary>
  5328. Add a mapping of level to color - done by the config file
  5329. </summary>
  5330. <param name="mapping">The mapping to add</param>
  5331. <remarks>
  5332. <para>
  5333. Add a <see cref="T:log4net.Appender.ManagedColoredConsoleAppender.LevelColors"/> mapping to this appender.
  5334. Each mapping defines the foreground and background colors
  5335. for a level.
  5336. </para>
  5337. </remarks>
  5338. </member>
  5339. <member name="M:log4net.Appender.ManagedColoredConsoleAppender.Append(log4net.Core.LoggingEvent)">
  5340. <summary>
  5341. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)"/> method.
  5342. </summary>
  5343. <param name="loggingEvent">The event to log.</param>
  5344. <remarks>
  5345. <para>
  5346. Writes the event to the console.
  5347. </para>
  5348. <para>
  5349. The format of the output will depend on the appender's layout.
  5350. </para>
  5351. </remarks>
  5352. </member>
  5353. <member name="M:log4net.Appender.ManagedColoredConsoleAppender.ActivateOptions">
  5354. <summary>
  5355. Initialize the options for this appender
  5356. </summary>
  5357. <remarks>
  5358. <para>
  5359. Initialize the level to color mappings set on this appender.
  5360. </para>
  5361. </remarks>
  5362. </member>
  5363. <member name="F:log4net.Appender.ManagedColoredConsoleAppender.m_writeToErrorStream">
  5364. <summary>
  5365. Flag to write output to the error stream rather than the standard output stream
  5366. </summary>
  5367. </member>
  5368. <member name="F:log4net.Appender.ManagedColoredConsoleAppender.m_levelMapping">
  5369. <summary>
  5370. Mapping from level object to color value
  5371. </summary>
  5372. </member>
  5373. <member name="P:log4net.Appender.ManagedColoredConsoleAppender.Target">
  5374. <summary>
  5375. Target is the value of the console output stream.
  5376. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  5377. </summary>
  5378. <value>
  5379. Target is the value of the console output stream.
  5380. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  5381. </value>
  5382. <remarks>
  5383. <para>
  5384. Target is the value of the console output stream.
  5385. This is either <c>"Console.Out"</c> or <c>"Console.Error"</c>.
  5386. </para>
  5387. </remarks>
  5388. </member>
  5389. <member name="P:log4net.Appender.ManagedColoredConsoleAppender.RequiresLayout">
  5390. <summary>
  5391. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  5392. </summary>
  5393. <value><c>true</c></value>
  5394. <remarks>
  5395. <para>
  5396. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  5397. </para>
  5398. </remarks>
  5399. </member>
  5400. <member name="T:log4net.Appender.ManagedColoredConsoleAppender.LevelColors">
  5401. <summary>
  5402. A class to act as a mapping between the level that a logging call is made at and
  5403. the color it should be displayed as.
  5404. </summary>
  5405. <remarks>
  5406. <para>
  5407. Defines the mapping between a level and the color it should be displayed in.
  5408. </para>
  5409. </remarks>
  5410. </member>
  5411. <member name="P:log4net.Appender.ManagedColoredConsoleAppender.LevelColors.ForeColor">
  5412. <summary>
  5413. The mapped foreground color for the specified level
  5414. </summary>
  5415. <remarks>
  5416. <para>
  5417. Required property.
  5418. The mapped foreground color for the specified level.
  5419. </para>
  5420. </remarks>
  5421. </member>
  5422. <member name="P:log4net.Appender.ManagedColoredConsoleAppender.LevelColors.BackColor">
  5423. <summary>
  5424. The mapped background color for the specified level
  5425. </summary>
  5426. <remarks>
  5427. <para>
  5428. Required property.
  5429. The mapped background color for the specified level.
  5430. </para>
  5431. </remarks>
  5432. </member>
  5433. <member name="T:log4net.Appender.MemoryAppender">
  5434. <summary>
  5435. Stores logging events in an array.
  5436. </summary>
  5437. <remarks>
  5438. <para>
  5439. The memory appender stores all the logging events
  5440. that are appended in an in-memory array.
  5441. </para>
  5442. <para>
  5443. Use the <see cref="M:log4net.Appender.MemoryAppender.GetEvents"/> method to get
  5444. the current list of events that have been appended.
  5445. </para>
  5446. <para>
  5447. Use the <see cref="M:Clear()"/> method to clear the
  5448. current list of events.
  5449. </para>
  5450. </remarks>
  5451. <author>Julian Biddle</author>
  5452. <author>Nicko Cadell</author>
  5453. <author>Gert Driesen</author>
  5454. </member>
  5455. <member name="M:log4net.Appender.MemoryAppender.#ctor">
  5456. <summary>
  5457. Initializes a new instance of the <see cref="T:log4net.Appender.MemoryAppender"/> class.
  5458. </summary>
  5459. <remarks>
  5460. <para>
  5461. Default constructor.
  5462. </para>
  5463. </remarks>
  5464. </member>
  5465. <member name="M:log4net.Appender.MemoryAppender.GetEvents">
  5466. <summary>
  5467. Gets the events that have been logged.
  5468. </summary>
  5469. <returns>The events that have been logged</returns>
  5470. <remarks>
  5471. <para>
  5472. Gets the events that have been logged.
  5473. </para>
  5474. </remarks>
  5475. </member>
  5476. <member name="M:log4net.Appender.MemoryAppender.Append(log4net.Core.LoggingEvent)">
  5477. <summary>
  5478. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  5479. </summary>
  5480. <param name="loggingEvent">the event to log</param>
  5481. <remarks>
  5482. <para>Stores the <paramref name="loggingEvent"/> in the events list.</para>
  5483. </remarks>
  5484. </member>
  5485. <member name="M:log4net.Appender.MemoryAppender.Clear">
  5486. <summary>
  5487. Clear the list of events
  5488. </summary>
  5489. <remarks>
  5490. Clear the list of events
  5491. </remarks>
  5492. </member>
  5493. <member name="F:log4net.Appender.MemoryAppender.m_eventsList">
  5494. <summary>
  5495. The list of events that have been appended.
  5496. </summary>
  5497. </member>
  5498. <member name="F:log4net.Appender.MemoryAppender.m_fixFlags">
  5499. <summary>
  5500. Value indicating which fields in the event should be fixed
  5501. </summary>
  5502. <remarks>
  5503. By default all fields are fixed
  5504. </remarks>
  5505. </member>
  5506. <member name="P:log4net.Appender.MemoryAppender.OnlyFixPartialEventData">
  5507. <summary>
  5508. Gets or sets a value indicating whether only part of the logging event
  5509. data should be fixed.
  5510. </summary>
  5511. <value>
  5512. <c>true</c> if the appender should only fix part of the logging event
  5513. data, otherwise <c>false</c>. The default is <c>false</c>.
  5514. </value>
  5515. <remarks>
  5516. <para>
  5517. Setting this property to <c>true</c> will cause only part of the event
  5518. data to be fixed and stored in the appender, hereby improving performance.
  5519. </para>
  5520. <para>
  5521. See <see cref="M:LoggingEvent.FixVolatileData(bool)"/> for more information.
  5522. </para>
  5523. </remarks>
  5524. </member>
  5525. <member name="P:log4net.Appender.MemoryAppender.Fix">
  5526. <summary>
  5527. Gets or sets the fields that will be fixed in the event
  5528. </summary>
  5529. <remarks>
  5530. <para>
  5531. The logging event needs to have certain thread specific values
  5532. captured before it can be buffered. See <see cref="P:log4net.Core.LoggingEvent.Fix"/>
  5533. for details.
  5534. </para>
  5535. </remarks>
  5536. </member>
  5537. <member name="T:log4net.Appender.NetSendAppender">
  5538. <summary>
  5539. Logs entries by sending network messages using the
  5540. <see cref="M:log4net.Appender.NetSendAppender.NetMessageBufferSend(System.String,System.String,System.String,System.String,System.Int32)"/> native function.
  5541. </summary>
  5542. <remarks>
  5543. <para>
  5544. You can send messages only to names that are active
  5545. on the network. If you send the message to a user name,
  5546. that user must be logged on and running the Messenger
  5547. service to receive the message.
  5548. </para>
  5549. <para>
  5550. The receiver will get a top most window displaying the
  5551. messages one at a time, therefore this appender should
  5552. not be used to deliver a high volume of messages.
  5553. </para>
  5554. <para>
  5555. The following table lists some possible uses for this appender :
  5556. </para>
  5557. <para>
  5558. <list type="table">
  5559. <listheader>
  5560. <term>Action</term>
  5561. <description>Property Value(s)</description>
  5562. </listheader>
  5563. <item>
  5564. <term>Send a message to a user account on the local machine</term>
  5565. <description>
  5566. <para>
  5567. <see cref="P:log4net.Appender.NetSendAppender.Server"/> = &lt;name of the local machine&gt;
  5568. </para>
  5569. <para>
  5570. <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> = &lt;user name&gt;
  5571. </para>
  5572. </description>
  5573. </item>
  5574. <item>
  5575. <term>Send a message to a user account on a remote machine</term>
  5576. <description>
  5577. <para>
  5578. <see cref="P:log4net.Appender.NetSendAppender.Server"/> = &lt;name of the remote machine&gt;
  5579. </para>
  5580. <para>
  5581. <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> = &lt;user name&gt;
  5582. </para>
  5583. </description>
  5584. </item>
  5585. <item>
  5586. <term>Send a message to a domain user account</term>
  5587. <description>
  5588. <para>
  5589. <see cref="P:log4net.Appender.NetSendAppender.Server"/> = &lt;name of a domain controller | uninitialized&gt;
  5590. </para>
  5591. <para>
  5592. <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> = &lt;user name&gt;
  5593. </para>
  5594. </description>
  5595. </item>
  5596. <item>
  5597. <term>Send a message to all the names in a workgroup or domain</term>
  5598. <description>
  5599. <para>
  5600. <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> = &lt;workgroup name | domain name&gt;*
  5601. </para>
  5602. </description>
  5603. </item>
  5604. <item>
  5605. <term>Send a message from the local machine to a remote machine</term>
  5606. <description>
  5607. <para>
  5608. <see cref="P:log4net.Appender.NetSendAppender.Server"/> = &lt;name of the local machine | uninitialized&gt;
  5609. </para>
  5610. <para>
  5611. <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> = &lt;name of the remote machine&gt;
  5612. </para>
  5613. </description>
  5614. </item>
  5615. </list>
  5616. </para>
  5617. <para>
  5618. <b>Note :</b> security restrictions apply for sending
  5619. network messages, see <see cref="M:log4net.Appender.NetSendAppender.NetMessageBufferSend(System.String,System.String,System.String,System.String,System.Int32)"/>
  5620. for more information.
  5621. </para>
  5622. </remarks>
  5623. <example>
  5624. <para>
  5625. An example configuration section to log information
  5626. using this appender from the local machine, named
  5627. LOCAL_PC, to machine OPERATOR_PC :
  5628. </para>
  5629. <code lang="XML" escaped="true">
  5630. <appender name="NetSendAppender_Operator" type="log4net.Appender.NetSendAppender">
  5631. <server value="LOCAL_PC"/>
  5632. <recipient value="OPERATOR_PC"/>
  5633. <layout type="log4net.Layout.PatternLayout" value="%-5p %c [%x] - %m%n"/>
  5634. </appender>
  5635. </code>
  5636. </example>
  5637. <author>Nicko Cadell</author>
  5638. <author>Gert Driesen</author>
  5639. </member>
  5640. <member name="F:log4net.Appender.NetSendAppender.m_server">
  5641. <summary>
  5642. The DNS or NetBIOS name of the server on which the function is to execute.
  5643. </summary>
  5644. </member>
  5645. <member name="F:log4net.Appender.NetSendAppender.m_sender">
  5646. <summary>
  5647. The sender of the network message.
  5648. </summary>
  5649. </member>
  5650. <member name="F:log4net.Appender.NetSendAppender.m_recipient">
  5651. <summary>
  5652. The message alias to which the message should be sent.
  5653. </summary>
  5654. </member>
  5655. <member name="F:log4net.Appender.NetSendAppender.m_securityContext">
  5656. <summary>
  5657. The security context to use for privileged calls
  5658. </summary>
  5659. </member>
  5660. <member name="M:log4net.Appender.NetSendAppender.#ctor">
  5661. <summary>
  5662. Initializes the appender.
  5663. </summary>
  5664. <remarks>
  5665. The default constructor initializes all fields to their default values.
  5666. </remarks>
  5667. </member>
  5668. <member name="M:log4net.Appender.NetSendAppender.ActivateOptions">
  5669. <summary>
  5670. Initialize the appender based on the options set.
  5671. </summary>
  5672. <remarks>
  5673. <para>
  5674. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  5675. activation scheme. The <see cref="M:log4net.Appender.NetSendAppender.ActivateOptions"/> method must
  5676. be called on this object after the configuration properties have
  5677. been set. Until <see cref="M:log4net.Appender.NetSendAppender.ActivateOptions"/> is called this
  5678. object is in an undefined state and must not be used.
  5679. </para>
  5680. <para>
  5681. If any of the configuration properties are modified then
  5682. <see cref="M:log4net.Appender.NetSendAppender.ActivateOptions"/> must be called again.
  5683. </para>
  5684. <para>
  5685. The appender will be ignored if no <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> was specified.
  5686. </para>
  5687. </remarks>
  5688. <exception cref="T:System.ArgumentNullException">The required property <see cref="P:log4net.Appender.NetSendAppender.Recipient"/> was not specified.</exception>
  5689. </member>
  5690. <member name="M:log4net.Appender.NetSendAppender.Append(log4net.Core.LoggingEvent)">
  5691. <summary>
  5692. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  5693. </summary>
  5694. <param name="loggingEvent">The event to log.</param>
  5695. <remarks>
  5696. <para>
  5697. Sends the event using a network message.
  5698. </para>
  5699. </remarks>
  5700. </member>
  5701. <member name="M:log4net.Appender.NetSendAppender.NetMessageBufferSend(System.String,System.String,System.String,System.String,System.Int32)">
  5702. <summary>
  5703. Sends a buffer of information to a registered message alias.
  5704. </summary>
  5705. <param name="serverName">The DNS or NetBIOS name of the server on which the function is to execute.</param>
  5706. <param name="msgName">The message alias to which the message buffer should be sent</param>
  5707. <param name="fromName">The originator of the message.</param>
  5708. <param name="buffer">The message text.</param>
  5709. <param name="bufferSize">The length, in bytes, of the message text.</param>
  5710. <remarks>
  5711. <para>
  5712. The following restrictions apply for sending network messages:
  5713. </para>
  5714. <para>
  5715. <list type="table">
  5716. <listheader>
  5717. <term>Platform</term>
  5718. <description>Requirements</description>
  5719. </listheader>
  5720. <item>
  5721. <term>Windows NT</term>
  5722. <description>
  5723. <para>
  5724. No special group membership is required to send a network message.
  5725. </para>
  5726. <para>
  5727. Admin, Accounts, Print, or Server Operator group membership is required to
  5728. successfully send a network message on a remote server.
  5729. </para>
  5730. </description>
  5731. </item>
  5732. <item>
  5733. <term>Windows 2000 or later</term>
  5734. <description>
  5735. <para>
  5736. If you send a message on a domain controller that is running Active Directory,
  5737. access is allowed or denied based on the access control list (ACL) for the securable
  5738. object. The default ACL permits only Domain Admins and Account Operators to send a network message.
  5739. </para>
  5740. <para>
  5741. On a member server or workstation, only Administrators and Server Operators can send a network message.
  5742. </para>
  5743. </description>
  5744. </item>
  5745. </list>
  5746. </para>
  5747. <para>
  5748. For more information see <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/security_requirements_for_the_network_management_functions.asp">Security Requirements for the Network Management Functions</a>.
  5749. </para>
  5750. </remarks>
  5751. <returns>
  5752. <para>
  5753. If the function succeeds, the return value is zero.
  5754. </para>
  5755. </returns>
  5756. </member>
  5757. <member name="P:log4net.Appender.NetSendAppender.Sender">
  5758. <summary>
  5759. Gets or sets the sender of the message.
  5760. </summary>
  5761. <value>
  5762. The sender of the message.
  5763. </value>
  5764. <remarks>
  5765. If this property is not specified, the message is sent from the local computer.
  5766. </remarks>
  5767. </member>
  5768. <member name="P:log4net.Appender.NetSendAppender.Recipient">
  5769. <summary>
  5770. Gets or sets the message alias to which the message should be sent.
  5771. </summary>
  5772. <value>
  5773. The recipient of the message.
  5774. </value>
  5775. <remarks>
  5776. This property should always be specified in order to send a message.
  5777. </remarks>
  5778. </member>
  5779. <member name="P:log4net.Appender.NetSendAppender.Server">
  5780. <summary>
  5781. Gets or sets the DNS or NetBIOS name of the remote server on which the function is to execute.
  5782. </summary>
  5783. <value>
  5784. DNS or NetBIOS name of the remote server on which the function is to execute.
  5785. </value>
  5786. <remarks>
  5787. <para>
  5788. For Windows NT 4.0 and earlier, the string should begin with \\.
  5789. </para>
  5790. <para>
  5791. If this property is not specified, the local computer is used.
  5792. </para>
  5793. </remarks>
  5794. </member>
  5795. <member name="P:log4net.Appender.NetSendAppender.SecurityContext">
  5796. <summary>
  5797. Gets or sets the <see cref="P:log4net.Appender.NetSendAppender.SecurityContext"/> used to call the NetSend method.
  5798. </summary>
  5799. <value>
  5800. The <see cref="P:log4net.Appender.NetSendAppender.SecurityContext"/> used to call the NetSend method.
  5801. </value>
  5802. <remarks>
  5803. <para>
  5804. Unless a <see cref="P:log4net.Appender.NetSendAppender.SecurityContext"/> specified here for this appender
  5805. the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
  5806. security context to use. The default behavior is to use the security context
  5807. of the current thread.
  5808. </para>
  5809. </remarks>
  5810. </member>
  5811. <member name="P:log4net.Appender.NetSendAppender.RequiresLayout">
  5812. <summary>
  5813. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  5814. </summary>
  5815. <value><c>true</c></value>
  5816. <remarks>
  5817. <para>
  5818. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  5819. </para>
  5820. </remarks>
  5821. </member>
  5822. <member name="T:log4net.Appender.OutputDebugStringAppender">
  5823. <summary>
  5824. Appends log events to the OutputDebugString system.
  5825. </summary>
  5826. <remarks>
  5827. <para>
  5828. OutputDebugStringAppender appends log events to the
  5829. OutputDebugString system.
  5830. </para>
  5831. <para>
  5832. The string is passed to the native <c>OutputDebugString</c>
  5833. function.
  5834. </para>
  5835. </remarks>
  5836. <author>Nicko Cadell</author>
  5837. <author>Gert Driesen</author>
  5838. </member>
  5839. <member name="M:log4net.Appender.OutputDebugStringAppender.#ctor">
  5840. <summary>
  5841. Initializes a new instance of the <see cref="T:log4net.Appender.OutputDebugStringAppender"/> class.
  5842. </summary>
  5843. <remarks>
  5844. <para>
  5845. Default constructor.
  5846. </para>
  5847. </remarks>
  5848. </member>
  5849. <member name="M:log4net.Appender.OutputDebugStringAppender.Append(log4net.Core.LoggingEvent)">
  5850. <summary>
  5851. Write the logging event to the output debug string API
  5852. </summary>
  5853. <param name="loggingEvent">the event to log</param>
  5854. <remarks>
  5855. <para>
  5856. Write the logging event to the output debug string API
  5857. </para>
  5858. </remarks>
  5859. </member>
  5860. <member name="M:log4net.Appender.OutputDebugStringAppender.OutputDebugString(System.String)">
  5861. <summary>
  5862. Stub for OutputDebugString native method
  5863. </summary>
  5864. <param name="message">the string to output</param>
  5865. <remarks>
  5866. <para>
  5867. Stub for OutputDebugString native method
  5868. </para>
  5869. </remarks>
  5870. </member>
  5871. <member name="P:log4net.Appender.OutputDebugStringAppender.RequiresLayout">
  5872. <summary>
  5873. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  5874. </summary>
  5875. <value><c>true</c></value>
  5876. <remarks>
  5877. <para>
  5878. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  5879. </para>
  5880. </remarks>
  5881. </member>
  5882. <member name="T:log4net.Appender.RemoteSyslogAppender">
  5883. <summary>
  5884. Logs events to a remote syslog daemon.
  5885. </summary>
  5886. <remarks>
  5887. <para>
  5888. The BSD syslog protocol is used to remotely log to
  5889. a syslog daemon. The syslogd listens for for messages
  5890. on UDP port 514.
  5891. </para>
  5892. <para>
  5893. The syslog UDP protocol is not authenticated. Most syslog daemons
  5894. do not accept remote log messages because of the security implications.
  5895. You may be able to use the LocalSyslogAppender to talk to a local
  5896. syslog service.
  5897. </para>
  5898. <para>
  5899. There is an RFC 3164 that claims to document the BSD Syslog Protocol.
  5900. This RFC can be seen here: http://www.faqs.org/rfcs/rfc3164.html.
  5901. This appender generates what the RFC calls an "Original Device Message",
  5902. i.e. does not include the TIMESTAMP or HOSTNAME fields. By observation
  5903. this format of message will be accepted by all current syslog daemon
  5904. implementations. The daemon will attach the current time and the source
  5905. hostname or IP address to any messages received.
  5906. </para>
  5907. <para>
  5908. Syslog messages must have a facility and and a severity. The severity
  5909. is derived from the Level of the logging event.
  5910. The facility must be chosen from the set of defined syslog
  5911. <see cref="T:log4net.Appender.RemoteSyslogAppender.SyslogFacility"/> values. The facilities list is predefined
  5912. and cannot be extended.
  5913. </para>
  5914. <para>
  5915. An identifier is specified with each log message. This can be specified
  5916. by setting the <see cref="P:log4net.Appender.RemoteSyslogAppender.Identity"/> property. The identity (also know
  5917. as the tag) must not contain white space. The default value for the
  5918. identity is the application name (from <see cref="P:log4net.Core.LoggingEvent.Domain"/>).
  5919. </para>
  5920. </remarks>
  5921. <author>Rob Lyon</author>
  5922. <author>Nicko Cadell</author>
  5923. </member>
  5924. <member name="T:log4net.Appender.UdpAppender">
  5925. <summary>
  5926. Sends logging events as connectionless UDP datagrams to a remote host or a
  5927. multicast group using an <see cref="T:System.Net.Sockets.UdpClient"/>.
  5928. </summary>
  5929. <remarks>
  5930. <para>
  5931. UDP guarantees neither that messages arrive, nor that they arrive in the correct order.
  5932. </para>
  5933. <para>
  5934. To view the logging results, a custom application can be developed that listens for logging
  5935. events.
  5936. </para>
  5937. <para>
  5938. When decoding events send via this appender remember to use the same encoding
  5939. to decode the events as was used to send the events. See the <see cref="P:log4net.Appender.UdpAppender.Encoding"/>
  5940. property to specify the encoding to use.
  5941. </para>
  5942. </remarks>
  5943. <example>
  5944. This example shows how to log receive logging events that are sent
  5945. on IP address 244.0.0.1 and port 8080 to the console. The event is
  5946. encoded in the packet as a unicode string and it is decoded as such.
  5947. <code lang="C#">
  5948. IPEndPoint remoteEndPoint = new IPEndPoint(IPAddress.Any, 0);
  5949. UdpClient udpClient;
  5950. byte[] buffer;
  5951. string loggingEvent;
  5952. try
  5953. {
  5954. udpClient = new UdpClient(8080);
  5955. while(true)
  5956. {
  5957. buffer = udpClient.Receive(ref remoteEndPoint);
  5958. loggingEvent = System.Text.Encoding.Unicode.GetString(buffer);
  5959. Console.WriteLine(loggingEvent);
  5960. }
  5961. }
  5962. catch(Exception e)
  5963. {
  5964. Console.WriteLine(e.ToString());
  5965. }
  5966. </code>
  5967. <code lang="Visual Basic">
  5968. Dim remoteEndPoint as IPEndPoint
  5969. Dim udpClient as UdpClient
  5970. Dim buffer as Byte()
  5971. Dim loggingEvent as String
  5972. Try
  5973. remoteEndPoint = new IPEndPoint(IPAddress.Any, 0)
  5974. udpClient = new UdpClient(8080)
  5975. While True
  5976. buffer = udpClient.Receive(ByRef remoteEndPoint)
  5977. loggingEvent = System.Text.Encoding.Unicode.GetString(buffer)
  5978. Console.WriteLine(loggingEvent)
  5979. Wend
  5980. Catch e As Exception
  5981. Console.WriteLine(e.ToString())
  5982. End Try
  5983. </code>
  5984. <para>
  5985. An example configuration section to log information using this appender to the
  5986. IP 224.0.0.1 on port 8080:
  5987. </para>
  5988. <code lang="XML" escaped="true">
  5989. <appender name="UdpAppender" type="log4net.Appender.UdpAppender">
  5990. <remoteAddress value="224.0.0.1"/>
  5991. <remotePort value="8080"/>
  5992. <layout type="log4net.Layout.PatternLayout" value="%-5level %logger [%ndc] - %message%newline"/>
  5993. </appender>
  5994. </code>
  5995. </example>
  5996. <author>Gert Driesen</author>
  5997. <author>Nicko Cadell</author>
  5998. </member>
  5999. <member name="M:log4net.Appender.UdpAppender.#ctor">
  6000. <summary>
  6001. Initializes a new instance of the <see cref="T:log4net.Appender.UdpAppender"/> class.
  6002. </summary>
  6003. <remarks>
  6004. The default constructor initializes all fields to their default values.
  6005. </remarks>
  6006. </member>
  6007. <member name="M:log4net.Appender.UdpAppender.ActivateOptions">
  6008. <summary>
  6009. Initialize the appender based on the options set.
  6010. </summary>
  6011. <remarks>
  6012. <para>
  6013. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  6014. activation scheme. The <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> method must
  6015. be called on this object after the configuration properties have
  6016. been set. Until <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> is called this
  6017. object is in an undefined state and must not be used.
  6018. </para>
  6019. <para>
  6020. If any of the configuration properties are modified then
  6021. <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> must be called again.
  6022. </para>
  6023. <para>
  6024. The appender will be ignored if no <see cref="P:log4net.Appender.UdpAppender.RemoteAddress"/> was specified or
  6025. an invalid remote or local TCP port number was specified.
  6026. </para>
  6027. </remarks>
  6028. <exception cref="T:System.ArgumentNullException">The required property <see cref="P:log4net.Appender.UdpAppender.RemoteAddress"/> was not specified.</exception>
  6029. <exception cref="T:System.ArgumentOutOfRangeException">The TCP port number assigned to <see cref="P:log4net.Appender.UdpAppender.LocalPort"/> or <see cref="P:log4net.Appender.UdpAppender.RemotePort"/> is less than <see cref="F:System.Net.IPEndPoint.MinPort"/> or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
  6030. </member>
  6031. <member name="M:log4net.Appender.UdpAppender.Append(log4net.Core.LoggingEvent)">
  6032. <summary>
  6033. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  6034. </summary>
  6035. <param name="loggingEvent">The event to log.</param>
  6036. <remarks>
  6037. <para>
  6038. Sends the event using an UDP datagram.
  6039. </para>
  6040. <para>
  6041. Exceptions are passed to the <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/>.
  6042. </para>
  6043. </remarks>
  6044. </member>
  6045. <member name="M:log4net.Appender.UdpAppender.OnClose">
  6046. <summary>
  6047. Closes the UDP connection and releases all resources associated with
  6048. this <see cref="T:log4net.Appender.UdpAppender"/> instance.
  6049. </summary>
  6050. <remarks>
  6051. <para>
  6052. Disables the underlying <see cref="T:System.Net.Sockets.UdpClient"/> and releases all managed
  6053. and unmanaged resources associated with the <see cref="T:log4net.Appender.UdpAppender"/>.
  6054. </para>
  6055. </remarks>
  6056. </member>
  6057. <member name="M:log4net.Appender.UdpAppender.InitializeClientConnection">
  6058. <summary>
  6059. Initializes the underlying <see cref="T:System.Net.Sockets.UdpClient"/> connection.
  6060. </summary>
  6061. <remarks>
  6062. <para>
  6063. The underlying <see cref="T:System.Net.Sockets.UdpClient"/> is initialized and binds to the
  6064. port number from which you intend to communicate.
  6065. </para>
  6066. <para>
  6067. Exceptions are passed to the <see cref="P:log4net.Appender.AppenderSkeleton.ErrorHandler"/>.
  6068. </para>
  6069. </remarks>
  6070. </member>
  6071. <member name="F:log4net.Appender.UdpAppender.m_remoteAddress">
  6072. <summary>
  6073. The IP address of the remote host or multicast group to which
  6074. the logging event will be sent.
  6075. </summary>
  6076. </member>
  6077. <member name="F:log4net.Appender.UdpAppender.m_remotePort">
  6078. <summary>
  6079. The TCP port number of the remote host or multicast group to
  6080. which the logging event will be sent.
  6081. </summary>
  6082. </member>
  6083. <member name="F:log4net.Appender.UdpAppender.m_remoteEndPoint">
  6084. <summary>
  6085. The cached remote endpoint to which the logging events will be sent.
  6086. </summary>
  6087. </member>
  6088. <member name="F:log4net.Appender.UdpAppender.m_localPort">
  6089. <summary>
  6090. The TCP port number from which the <see cref="T:System.Net.Sockets.UdpClient"/> will communicate.
  6091. </summary>
  6092. </member>
  6093. <member name="F:log4net.Appender.UdpAppender.m_client">
  6094. <summary>
  6095. The <see cref="T:System.Net.Sockets.UdpClient"/> instance that will be used for sending the
  6096. logging events.
  6097. </summary>
  6098. </member>
  6099. <member name="F:log4net.Appender.UdpAppender.m_encoding">
  6100. <summary>
  6101. The encoding to use for the packet.
  6102. </summary>
  6103. </member>
  6104. <member name="P:log4net.Appender.UdpAppender.RemoteAddress">
  6105. <summary>
  6106. Gets or sets the IP address of the remote host or multicast group to which
  6107. the underlying <see cref="T:System.Net.Sockets.UdpClient"/> should sent the logging event.
  6108. </summary>
  6109. <value>
  6110. The IP address of the remote host or multicast group to which the logging event
  6111. will be sent.
  6112. </value>
  6113. <remarks>
  6114. <para>
  6115. Multicast addresses are identified by IP class <b>D</b> addresses (in the range 224.0.0.0 to
  6116. 239.255.255.255). Multicast packets can pass across different networks through routers, so
  6117. it is possible to use multicasts in an Internet scenario as long as your network provider
  6118. supports multicasting.
  6119. </para>
  6120. <para>
  6121. Hosts that want to receive particular multicast messages must register their interest by joining
  6122. the multicast group. Multicast messages are not sent to networks where no host has joined
  6123. the multicast group. Class <b>D</b> IP addresses are used for multicast groups, to differentiate
  6124. them from normal host addresses, allowing nodes to easily detect if a message is of interest.
  6125. </para>
  6126. <para>
  6127. Static multicast addresses that are needed globally are assigned by IANA. A few examples are listed in the table below:
  6128. </para>
  6129. <para>
  6130. <list type="table">
  6131. <listheader>
  6132. <term>IP Address</term>
  6133. <description>Description</description>
  6134. </listheader>
  6135. <item>
  6136. <term>224.0.0.1</term>
  6137. <description>
  6138. <para>
  6139. Sends a message to all system on the subnet.
  6140. </para>
  6141. </description>
  6142. </item>
  6143. <item>
  6144. <term>224.0.0.2</term>
  6145. <description>
  6146. <para>
  6147. Sends a message to all routers on the subnet.
  6148. </para>
  6149. </description>
  6150. </item>
  6151. <item>
  6152. <term>224.0.0.12</term>
  6153. <description>
  6154. <para>
  6155. The DHCP server answers messages on the IP address 224.0.0.12, but only on a subnet.
  6156. </para>
  6157. </description>
  6158. </item>
  6159. </list>
  6160. </para>
  6161. <para>
  6162. A complete list of actually reserved multicast addresses and their owners in the ranges
  6163. defined by RFC 3171 can be found at the <A href="http://www.iana.org/assignments/multicast-addresses">IANA web site</A>.
  6164. </para>
  6165. <para>
  6166. The address range 239.0.0.0 to 239.255.255.255 is reserved for administrative scope-relative
  6167. addresses. These addresses can be reused with other local groups. Routers are typically
  6168. configured with filters to prevent multicast traffic in this range from flowing outside
  6169. of the local network.
  6170. </para>
  6171. </remarks>
  6172. </member>
  6173. <member name="P:log4net.Appender.UdpAppender.RemotePort">
  6174. <summary>
  6175. Gets or sets the TCP port number of the remote host or multicast group to which
  6176. the underlying <see cref="T:System.Net.Sockets.UdpClient"/> should sent the logging event.
  6177. </summary>
  6178. <value>
  6179. An integer value in the range <see cref="F:System.Net.IPEndPoint.MinPort"/> to <see cref="F:System.Net.IPEndPoint.MaxPort"/>
  6180. indicating the TCP port number of the remote host or multicast group to which the logging event
  6181. will be sent.
  6182. </value>
  6183. <remarks>
  6184. The underlying <see cref="T:System.Net.Sockets.UdpClient"/> will send messages to this TCP port number
  6185. on the remote host or multicast group.
  6186. </remarks>
  6187. <exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than <see cref="F:System.Net.IPEndPoint.MinPort"/> or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
  6188. </member>
  6189. <member name="P:log4net.Appender.UdpAppender.LocalPort">
  6190. <summary>
  6191. Gets or sets the TCP port number from which the underlying <see cref="T:System.Net.Sockets.UdpClient"/> will communicate.
  6192. </summary>
  6193. <value>
  6194. An integer value in the range <see cref="F:System.Net.IPEndPoint.MinPort"/> to <see cref="F:System.Net.IPEndPoint.MaxPort"/>
  6195. indicating the TCP port number from which the underlying <see cref="T:System.Net.Sockets.UdpClient"/> will communicate.
  6196. </value>
  6197. <remarks>
  6198. <para>
  6199. The underlying <see cref="T:System.Net.Sockets.UdpClient"/> will bind to this port for sending messages.
  6200. </para>
  6201. <para>
  6202. Setting the value to 0 (the default) will cause the udp client not to bind to
  6203. a local port.
  6204. </para>
  6205. </remarks>
  6206. <exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than <see cref="F:System.Net.IPEndPoint.MinPort"/> or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
  6207. </member>
  6208. <member name="P:log4net.Appender.UdpAppender.Encoding">
  6209. <summary>
  6210. Gets or sets <see cref="P:log4net.Appender.UdpAppender.Encoding"/> used to write the packets.
  6211. </summary>
  6212. <value>
  6213. The <see cref="P:log4net.Appender.UdpAppender.Encoding"/> used to write the packets.
  6214. </value>
  6215. <remarks>
  6216. <para>
  6217. The <see cref="P:log4net.Appender.UdpAppender.Encoding"/> used to write the packets.
  6218. </para>
  6219. </remarks>
  6220. </member>
  6221. <member name="P:log4net.Appender.UdpAppender.Client">
  6222. <summary>
  6223. Gets or sets the underlying <see cref="T:System.Net.Sockets.UdpClient"/>.
  6224. </summary>
  6225. <value>
  6226. The underlying <see cref="T:System.Net.Sockets.UdpClient"/>.
  6227. </value>
  6228. <remarks>
  6229. <see cref="T:log4net.Appender.UdpAppender"/> creates a <see cref="T:System.Net.Sockets.UdpClient"/> to send logging events
  6230. over a network. Classes deriving from <see cref="T:log4net.Appender.UdpAppender"/> can use this
  6231. property to get or set this <see cref="T:System.Net.Sockets.UdpClient"/>. Use the underlying <see cref="T:System.Net.Sockets.UdpClient"/>
  6232. returned from <see cref="P:log4net.Appender.UdpAppender.Client"/> if you require access beyond that which
  6233. <see cref="T:log4net.Appender.UdpAppender"/> provides.
  6234. </remarks>
  6235. </member>
  6236. <member name="P:log4net.Appender.UdpAppender.RemoteEndPoint">
  6237. <summary>
  6238. Gets or sets the cached remote endpoint to which the logging events should be sent.
  6239. </summary>
  6240. <value>
  6241. The cached remote endpoint to which the logging events will be sent.
  6242. </value>
  6243. <remarks>
  6244. The <see cref="M:log4net.Appender.UdpAppender.ActivateOptions"/> method will initialize the remote endpoint
  6245. with the values of the <see cref="P:log4net.Appender.UdpAppender.RemoteAddress"/> and <see cref="P:log4net.Appender.UdpAppender.RemotePort"/>
  6246. properties.
  6247. </remarks>
  6248. </member>
  6249. <member name="P:log4net.Appender.UdpAppender.RequiresLayout">
  6250. <summary>
  6251. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  6252. </summary>
  6253. <value><c>true</c></value>
  6254. <remarks>
  6255. <para>
  6256. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  6257. </para>
  6258. </remarks>
  6259. </member>
  6260. <member name="F:log4net.Appender.RemoteSyslogAppender.DefaultSyslogPort">
  6261. <summary>
  6262. Syslog port 514
  6263. </summary>
  6264. </member>
  6265. <member name="F:log4net.Appender.RemoteSyslogAppender.c_renderBufferSize">
  6266. <summary>
  6267. Initial buffer size
  6268. </summary>
  6269. </member>
  6270. <member name="F:log4net.Appender.RemoteSyslogAppender.c_renderBufferMaxCapacity">
  6271. <summary>
  6272. Maximum buffer size before it is recycled
  6273. </summary>
  6274. </member>
  6275. <member name="M:log4net.Appender.RemoteSyslogAppender.#ctor">
  6276. <summary>
  6277. Initializes a new instance of the <see cref="T:log4net.Appender.RemoteSyslogAppender"/> class.
  6278. </summary>
  6279. <remarks>
  6280. This instance of the <see cref="T:log4net.Appender.RemoteSyslogAppender"/> class is set up to write
  6281. to a remote syslog daemon.
  6282. </remarks>
  6283. </member>
  6284. <member name="M:log4net.Appender.RemoteSyslogAppender.AddMapping(log4net.Appender.RemoteSyslogAppender.LevelSeverity)">
  6285. <summary>
  6286. Add a mapping of level to severity
  6287. </summary>
  6288. <param name="mapping">The mapping to add</param>
  6289. <remarks>
  6290. <para>
  6291. Add a <see cref="T:log4net.Appender.RemoteSyslogAppender.LevelSeverity"/> mapping to this appender.
  6292. </para>
  6293. </remarks>
  6294. </member>
  6295. <member name="M:log4net.Appender.RemoteSyslogAppender.Append(log4net.Core.LoggingEvent)">
  6296. <summary>
  6297. This method is called by the <see cref="M:AppenderSkeleton.DoAppend(LoggingEvent)"/> method.
  6298. </summary>
  6299. <param name="loggingEvent">The event to log.</param>
  6300. <remarks>
  6301. <para>
  6302. Writes the event to a remote syslog daemon.
  6303. </para>
  6304. <para>
  6305. The format of the output will depend on the appender's layout.
  6306. </para>
  6307. </remarks>
  6308. </member>
  6309. <member name="M:log4net.Appender.RemoteSyslogAppender.ActivateOptions">
  6310. <summary>
  6311. Initialize the options for this appender
  6312. </summary>
  6313. <remarks>
  6314. <para>
  6315. Initialize the level to syslog severity mappings set on this appender.
  6316. </para>
  6317. </remarks>
  6318. </member>
  6319. <member name="M:log4net.Appender.RemoteSyslogAppender.GetSeverity(log4net.Core.Level)">
  6320. <summary>
  6321. Translates a log4net level to a syslog severity.
  6322. </summary>
  6323. <param name="level">A log4net level.</param>
  6324. <returns>A syslog severity.</returns>
  6325. <remarks>
  6326. <para>
  6327. Translates a log4net level to a syslog severity.
  6328. </para>
  6329. </remarks>
  6330. </member>
  6331. <member name="M:log4net.Appender.RemoteSyslogAppender.GeneratePriority(log4net.Appender.RemoteSyslogAppender.SyslogFacility,log4net.Appender.RemoteSyslogAppender.SyslogSeverity)">
  6332. <summary>
  6333. Generate a syslog priority.
  6334. </summary>
  6335. <param name="facility">The syslog facility.</param>
  6336. <param name="severity">The syslog severity.</param>
  6337. <returns>A syslog priority.</returns>
  6338. <remarks>
  6339. <para>
  6340. Generate a syslog priority.
  6341. </para>
  6342. </remarks>
  6343. </member>
  6344. <member name="F:log4net.Appender.RemoteSyslogAppender.m_facility">
  6345. <summary>
  6346. The facility. The default facility is <see cref="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.User"/>.
  6347. </summary>
  6348. </member>
  6349. <member name="F:log4net.Appender.RemoteSyslogAppender.m_identity">
  6350. <summary>
  6351. The message identity
  6352. </summary>
  6353. </member>
  6354. <member name="F:log4net.Appender.RemoteSyslogAppender.m_levelMapping">
  6355. <summary>
  6356. Mapping from level object to syslog severity
  6357. </summary>
  6358. </member>
  6359. <member name="P:log4net.Appender.RemoteSyslogAppender.Identity">
  6360. <summary>
  6361. Message identity
  6362. </summary>
  6363. <remarks>
  6364. <para>
  6365. An identifier is specified with each log message. This can be specified
  6366. by setting the <see cref="P:log4net.Appender.RemoteSyslogAppender.Identity"/> property. The identity (also know
  6367. as the tag) must not contain white space. The default value for the
  6368. identity is the application name (from <see cref="P:log4net.Core.LoggingEvent.Domain"/>).
  6369. </para>
  6370. </remarks>
  6371. </member>
  6372. <member name="P:log4net.Appender.RemoteSyslogAppender.Facility">
  6373. <summary>
  6374. Syslog facility
  6375. </summary>
  6376. <remarks>
  6377. Set to one of the <see cref="T:log4net.Appender.RemoteSyslogAppender.SyslogFacility"/> values. The list of
  6378. facilities is predefined and cannot be extended. The default value
  6379. is <see cref="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.User"/>.
  6380. </remarks>
  6381. </member>
  6382. <member name="T:log4net.Appender.RemoteSyslogAppender.SyslogSeverity">
  6383. <summary>
  6384. syslog severities
  6385. </summary>
  6386. <remarks>
  6387. <para>
  6388. The syslog severities.
  6389. </para>
  6390. </remarks>
  6391. </member>
  6392. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Emergency">
  6393. <summary>
  6394. system is unusable
  6395. </summary>
  6396. </member>
  6397. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Alert">
  6398. <summary>
  6399. action must be taken immediately
  6400. </summary>
  6401. </member>
  6402. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Critical">
  6403. <summary>
  6404. critical conditions
  6405. </summary>
  6406. </member>
  6407. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Error">
  6408. <summary>
  6409. error conditions
  6410. </summary>
  6411. </member>
  6412. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Warning">
  6413. <summary>
  6414. warning conditions
  6415. </summary>
  6416. </member>
  6417. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Notice">
  6418. <summary>
  6419. normal but significant condition
  6420. </summary>
  6421. </member>
  6422. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Informational">
  6423. <summary>
  6424. informational
  6425. </summary>
  6426. </member>
  6427. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogSeverity.Debug">
  6428. <summary>
  6429. debug-level messages
  6430. </summary>
  6431. </member>
  6432. <member name="T:log4net.Appender.RemoteSyslogAppender.SyslogFacility">
  6433. <summary>
  6434. syslog facilities
  6435. </summary>
  6436. <remarks>
  6437. <para>
  6438. The syslog facilities
  6439. </para>
  6440. </remarks>
  6441. </member>
  6442. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Kernel">
  6443. <summary>
  6444. kernel messages
  6445. </summary>
  6446. </member>
  6447. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.User">
  6448. <summary>
  6449. random user-level messages
  6450. </summary>
  6451. </member>
  6452. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Mail">
  6453. <summary>
  6454. mail system
  6455. </summary>
  6456. </member>
  6457. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Daemons">
  6458. <summary>
  6459. system daemons
  6460. </summary>
  6461. </member>
  6462. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Authorization">
  6463. <summary>
  6464. security/authorization messages
  6465. </summary>
  6466. </member>
  6467. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Syslog">
  6468. <summary>
  6469. messages generated internally by syslogd
  6470. </summary>
  6471. </member>
  6472. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Printer">
  6473. <summary>
  6474. line printer subsystem
  6475. </summary>
  6476. </member>
  6477. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.News">
  6478. <summary>
  6479. network news subsystem
  6480. </summary>
  6481. </member>
  6482. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Uucp">
  6483. <summary>
  6484. UUCP subsystem
  6485. </summary>
  6486. </member>
  6487. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Clock">
  6488. <summary>
  6489. clock (cron/at) daemon
  6490. </summary>
  6491. </member>
  6492. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Authorization2">
  6493. <summary>
  6494. security/authorization messages (private)
  6495. </summary>
  6496. </member>
  6497. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Ftp">
  6498. <summary>
  6499. ftp daemon
  6500. </summary>
  6501. </member>
  6502. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Ntp">
  6503. <summary>
  6504. NTP subsystem
  6505. </summary>
  6506. </member>
  6507. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Audit">
  6508. <summary>
  6509. log audit
  6510. </summary>
  6511. </member>
  6512. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Alert">
  6513. <summary>
  6514. log alert
  6515. </summary>
  6516. </member>
  6517. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Clock2">
  6518. <summary>
  6519. clock daemon
  6520. </summary>
  6521. </member>
  6522. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local0">
  6523. <summary>
  6524. reserved for local use
  6525. </summary>
  6526. </member>
  6527. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local1">
  6528. <summary>
  6529. reserved for local use
  6530. </summary>
  6531. </member>
  6532. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local2">
  6533. <summary>
  6534. reserved for local use
  6535. </summary>
  6536. </member>
  6537. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local3">
  6538. <summary>
  6539. reserved for local use
  6540. </summary>
  6541. </member>
  6542. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local4">
  6543. <summary>
  6544. reserved for local use
  6545. </summary>
  6546. </member>
  6547. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local5">
  6548. <summary>
  6549. reserved for local use
  6550. </summary>
  6551. </member>
  6552. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local6">
  6553. <summary>
  6554. reserved for local use
  6555. </summary>
  6556. </member>
  6557. <member name="F:log4net.Appender.RemoteSyslogAppender.SyslogFacility.Local7">
  6558. <summary>
  6559. reserved for local use
  6560. </summary>
  6561. </member>
  6562. <member name="T:log4net.Appender.RemoteSyslogAppender.LevelSeverity">
  6563. <summary>
  6564. A class to act as a mapping between the level that a logging call is made at and
  6565. the syslog severity that is should be logged at.
  6566. </summary>
  6567. <remarks>
  6568. <para>
  6569. A class to act as a mapping between the level that a logging call is made at and
  6570. the syslog severity that is should be logged at.
  6571. </para>
  6572. </remarks>
  6573. </member>
  6574. <member name="P:log4net.Appender.RemoteSyslogAppender.LevelSeverity.Severity">
  6575. <summary>
  6576. The mapped syslog severity for the specified level
  6577. </summary>
  6578. <remarks>
  6579. <para>
  6580. Required property.
  6581. The mapped syslog severity for the specified level
  6582. </para>
  6583. </remarks>
  6584. </member>
  6585. <member name="T:log4net.Appender.RemotingAppender">
  6586. <summary>
  6587. Delivers logging events to a remote logging sink.
  6588. </summary>
  6589. <remarks>
  6590. <para>
  6591. This Appender is designed to deliver events to a remote sink.
  6592. That is any object that implements the <see cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
  6593. interface. It delivers the events using .NET remoting. The
  6594. object to deliver events to is specified by setting the
  6595. appenders <see cref="P:log4net.Appender.RemotingAppender.Sink"/> property.</para>
  6596. <para>
  6597. The RemotingAppender buffers events before sending them. This allows it to
  6598. make more efficient use of the remoting infrastructure.</para>
  6599. <para>
  6600. Once the buffer is full the events are still not sent immediately.
  6601. They are scheduled to be sent using a pool thread. The effect is that
  6602. the send occurs asynchronously. This is very important for a
  6603. number of non obvious reasons. The remoting infrastructure will
  6604. flow thread local variables (stored in the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>),
  6605. if they are marked as <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>, across the
  6606. remoting boundary. If the server is not contactable then
  6607. the remoting infrastructure will clear the <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>
  6608. objects from the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>. To prevent a logging failure from
  6609. having side effects on the calling application the remoting call must be made
  6610. from a separate thread to the one used by the application. A <see cref="T:System.Threading.ThreadPool"/>
  6611. thread is used for this. If no <see cref="T:System.Threading.ThreadPool"/> thread is available then
  6612. the events will block in the thread pool manager until a thread is available.</para>
  6613. <para>
  6614. Because the events are sent asynchronously using pool threads it is possible to close
  6615. this appender before all the queued events have been sent.
  6616. When closing the appender attempts to wait until all the queued events have been sent, but
  6617. this will timeout after 30 seconds regardless.</para>
  6618. <para>
  6619. If this appender is being closed because the <see cref="E:System.AppDomain.ProcessExit"/>
  6620. event has fired it may not be possible to send all the queued events. During process
  6621. exit the runtime limits the time that a <see cref="E:System.AppDomain.ProcessExit"/>
  6622. event handler is allowed to run for. If the runtime terminates the threads before
  6623. the queued events have been sent then they will be lost. To ensure that all events
  6624. are sent the appender must be closed before the application exits. See
  6625. <see cref="M:log4net.Core.LoggerManager.Shutdown"/> for details on how to shutdown
  6626. log4net programmatically.</para>
  6627. </remarks>
  6628. <seealso cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
  6629. <author>Nicko Cadell</author>
  6630. <author>Gert Driesen</author>
  6631. <author>Daniel Cazzulino</author>
  6632. </member>
  6633. <member name="M:log4net.Appender.RemotingAppender.#ctor">
  6634. <summary>
  6635. Initializes a new instance of the <see cref="T:log4net.Appender.RemotingAppender"/> class.
  6636. </summary>
  6637. <remarks>
  6638. <para>
  6639. Default constructor.
  6640. </para>
  6641. </remarks>
  6642. </member>
  6643. <member name="M:log4net.Appender.RemotingAppender.ActivateOptions">
  6644. <summary>
  6645. Initialize the appender based on the options set
  6646. </summary>
  6647. <remarks>
  6648. <para>
  6649. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  6650. activation scheme. The <see cref="M:log4net.Appender.RemotingAppender.ActivateOptions"/> method must
  6651. be called on this object after the configuration properties have
  6652. been set. Until <see cref="M:log4net.Appender.RemotingAppender.ActivateOptions"/> is called this
  6653. object is in an undefined state and must not be used.
  6654. </para>
  6655. <para>
  6656. If any of the configuration properties are modified then
  6657. <see cref="M:log4net.Appender.RemotingAppender.ActivateOptions"/> must be called again.
  6658. </para>
  6659. </remarks>
  6660. </member>
  6661. <member name="M:log4net.Appender.RemotingAppender.SendBuffer(log4net.Core.LoggingEvent[])">
  6662. <summary>
  6663. Send the contents of the buffer to the remote sink.
  6664. </summary>
  6665. <remarks>
  6666. The events are not sent immediately. They are scheduled to be sent
  6667. using a pool thread. The effect is that the send occurs asynchronously.
  6668. This is very important for a number of non obvious reasons. The remoting
  6669. infrastructure will flow thread local variables (stored in the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>),
  6670. if they are marked as <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>, across the
  6671. remoting boundary. If the server is not contactable then
  6672. the remoting infrastructure will clear the <see cref="T:System.Runtime.Remoting.Messaging.ILogicalThreadAffinative"/>
  6673. objects from the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/>. To prevent a logging failure from
  6674. having side effects on the calling application the remoting call must be made
  6675. from a separate thread to the one used by the application. A <see cref="T:System.Threading.ThreadPool"/>
  6676. thread is used for this. If no <see cref="T:System.Threading.ThreadPool"/> thread is available then
  6677. the events will block in the thread pool manager until a thread is available.
  6678. </remarks>
  6679. <param name="events">The events to send.</param>
  6680. </member>
  6681. <member name="M:log4net.Appender.RemotingAppender.OnClose">
  6682. <summary>
  6683. Override base class close.
  6684. </summary>
  6685. <remarks>
  6686. <para>
  6687. This method waits while there are queued work items. The events are
  6688. sent asynchronously using <see cref="T:System.Threading.ThreadPool"/> work items. These items
  6689. will be sent once a thread pool thread is available to send them, therefore
  6690. it is possible to close the appender before all the queued events have been
  6691. sent.</para>
  6692. <para>
  6693. This method attempts to wait until all the queued events have been sent, but this
  6694. method will timeout after 30 seconds regardless.</para>
  6695. <para>
  6696. If the appender is being closed because the <see cref="E:System.AppDomain.ProcessExit"/>
  6697. event has fired it may not be possible to send all the queued events. During process
  6698. exit the runtime limits the time that a <see cref="E:System.AppDomain.ProcessExit"/>
  6699. event handler is allowed to run for.</para>
  6700. </remarks>
  6701. </member>
  6702. <member name="M:log4net.Appender.RemotingAppender.BeginAsyncSend">
  6703. <summary>
  6704. A work item is being queued into the thread pool
  6705. </summary>
  6706. </member>
  6707. <member name="M:log4net.Appender.RemotingAppender.EndAsyncSend">
  6708. <summary>
  6709. A work item from the thread pool has completed
  6710. </summary>
  6711. </member>
  6712. <member name="M:log4net.Appender.RemotingAppender.SendBufferCallback(System.Object)">
  6713. <summary>
  6714. Send the contents of the buffer to the remote sink.
  6715. </summary>
  6716. <remarks>
  6717. This method is designed to be used with the <see cref="T:System.Threading.ThreadPool"/>.
  6718. This method expects to be passed an array of <see cref="T:log4net.Core.LoggingEvent"/>
  6719. objects in the state param.
  6720. </remarks>
  6721. <param name="state">the logging events to send</param>
  6722. </member>
  6723. <member name="F:log4net.Appender.RemotingAppender.m_sinkUrl">
  6724. <summary>
  6725. The URL of the remote sink.
  6726. </summary>
  6727. </member>
  6728. <member name="F:log4net.Appender.RemotingAppender.m_sinkObj">
  6729. <summary>
  6730. The local proxy (.NET remoting) for the remote logging sink.
  6731. </summary>
  6732. </member>
  6733. <member name="F:log4net.Appender.RemotingAppender.m_queuedCallbackCount">
  6734. <summary>
  6735. The number of queued callbacks currently waiting or executing
  6736. </summary>
  6737. </member>
  6738. <member name="F:log4net.Appender.RemotingAppender.m_workQueueEmptyEvent">
  6739. <summary>
  6740. Event used to signal when there are no queued work items
  6741. </summary>
  6742. <remarks>
  6743. This event is set when there are no queued work items. In this
  6744. state it is safe to close the appender.
  6745. </remarks>
  6746. </member>
  6747. <member name="P:log4net.Appender.RemotingAppender.Sink">
  6748. <summary>
  6749. Gets or sets the URL of the well-known object that will accept
  6750. the logging events.
  6751. </summary>
  6752. <value>
  6753. The well-known URL of the remote sink.
  6754. </value>
  6755. <remarks>
  6756. <para>
  6757. The URL of the remoting sink that will accept logging events.
  6758. The sink must implement the <see cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
  6759. interface.
  6760. </para>
  6761. </remarks>
  6762. </member>
  6763. <member name="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink">
  6764. <summary>
  6765. Interface used to deliver <see cref="T:log4net.Core.LoggingEvent"/> objects to a remote sink.
  6766. </summary>
  6767. <remarks>
  6768. This interface must be implemented by a remoting sink
  6769. if the <see cref="T:log4net.Appender.RemotingAppender"/> is to be used
  6770. to deliver logging events to the sink.
  6771. </remarks>
  6772. </member>
  6773. <member name="M:log4net.Appender.RemotingAppender.IRemoteLoggingSink.LogEvents(log4net.Core.LoggingEvent[])">
  6774. <summary>
  6775. Delivers logging events to the remote sink
  6776. </summary>
  6777. <param name="events">Array of events to log.</param>
  6778. <remarks>
  6779. <para>
  6780. Delivers logging events to the remote sink
  6781. </para>
  6782. </remarks>
  6783. </member>
  6784. <member name="T:log4net.Appender.RollingFileAppender">
  6785. <summary>
  6786. Appender that rolls log files based on size or date or both.
  6787. </summary>
  6788. <remarks>
  6789. <para>
  6790. RollingFileAppender can roll log files based on size or date or both
  6791. depending on the setting of the <see cref="P:log4net.Appender.RollingFileAppender.RollingStyle"/> property.
  6792. When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Size"/> the log file will be rolled
  6793. once its size exceeds the <see cref="P:log4net.Appender.RollingFileAppender.MaximumFileSize"/>.
  6794. When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Date"/> the log file will be rolled
  6795. once the date boundary specified in the <see cref="P:log4net.Appender.RollingFileAppender.DatePattern"/> property
  6796. is crossed.
  6797. When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Composite"/> the log file will be
  6798. rolled once the date boundary specified in the <see cref="P:log4net.Appender.RollingFileAppender.DatePattern"/> property
  6799. is crossed, but within a date boundary the file will also be rolled
  6800. once its size exceeds the <see cref="P:log4net.Appender.RollingFileAppender.MaximumFileSize"/>.
  6801. When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Once"/> the log file will be rolled when
  6802. the appender is configured. This effectively means that the log file can be
  6803. rolled once per program execution.
  6804. </para>
  6805. <para>
  6806. A of few additional optional features have been added:
  6807. <list type="bullet">
  6808. <item>Attach date pattern for current log file <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/></item>
  6809. <item>Backup number increments for newer files <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/></item>
  6810. <item>Infinite number of backups by file size <see cref="P:log4net.Appender.RollingFileAppender.MaxSizeRollBackups"/></item>
  6811. </list>
  6812. </para>
  6813. <note>
  6814. <para>
  6815. For large or infinite numbers of backup files a <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/>
  6816. greater than zero is highly recommended, otherwise all the backup files need
  6817. to be renamed each time a new backup is created.
  6818. </para>
  6819. <para>
  6820. When Date/Time based rolling is used setting <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/>
  6821. to <see langword="true"/> will reduce the number of file renamings to few or none.
  6822. </para>
  6823. </note>
  6824. <note type="caution">
  6825. <para>
  6826. Changing <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/> or <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> without clearing
  6827. the log file directory of backup files will cause unexpected and unwanted side effects.
  6828. </para>
  6829. </note>
  6830. <para>
  6831. If Date/Time based rolling is enabled this appender will attempt to roll existing files
  6832. in the directory without a Date/Time tag based on the last write date of the base log file.
  6833. The appender only rolls the log file when a message is logged. If Date/Time based rolling
  6834. is enabled then the appender will not roll the log file at the Date/Time boundary but
  6835. at the point when the next message is logged after the boundary has been crossed.
  6836. </para>
  6837. <para>
  6838. The <see cref="T:log4net.Appender.RollingFileAppender"/> extends the <see cref="T:log4net.Appender.FileAppender"/> and
  6839. has the same behavior when opening the log file.
  6840. The appender will first try to open the file for writing when <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/>
  6841. is called. This will typically be during configuration.
  6842. If the file cannot be opened for writing the appender will attempt
  6843. to open the file again each time a message is logged to the appender.
  6844. If the file cannot be opened for writing when a message is logged then
  6845. the message will be discarded by this appender.
  6846. </para>
  6847. <para>
  6848. When rolling a backup file necessitates deleting an older backup file the
  6849. file to be deleted is moved to a temporary name before being deleted.
  6850. </para>
  6851. <note type="caution">
  6852. <para>
  6853. A maximum number of backup files when rolling on date/time boundaries is not supported.
  6854. </para>
  6855. </note>
  6856. </remarks>
  6857. <author>Nicko Cadell</author>
  6858. <author>Gert Driesen</author>
  6859. <author>Aspi Havewala</author>
  6860. <author>Douglas de la Torre</author>
  6861. <author>Edward Smit</author>
  6862. </member>
  6863. <member name="M:log4net.Appender.RollingFileAppender.#ctor">
  6864. <summary>
  6865. Initializes a new instance of the <see cref="T:log4net.Appender.RollingFileAppender"/> class.
  6866. </summary>
  6867. <remarks>
  6868. <para>
  6869. Default constructor.
  6870. </para>
  6871. </remarks>
  6872. </member>
  6873. <member name="F:log4net.Appender.RollingFileAppender.declaringType">
  6874. <summary>
  6875. The fully qualified type of the RollingFileAppender class.
  6876. </summary>
  6877. <remarks>
  6878. Used by the internal logger to record the Type of the
  6879. log message.
  6880. </remarks>
  6881. </member>
  6882. <member name="M:log4net.Appender.RollingFileAppender.SetQWForFiles(System.IO.TextWriter)">
  6883. <summary>
  6884. Sets the quiet writer being used.
  6885. </summary>
  6886. <remarks>
  6887. This method can be overridden by sub classes.
  6888. </remarks>
  6889. <param name="writer">the writer to set</param>
  6890. </member>
  6891. <member name="M:log4net.Appender.RollingFileAppender.Append(log4net.Core.LoggingEvent)">
  6892. <summary>
  6893. Write out a logging event.
  6894. </summary>
  6895. <param name="loggingEvent">the event to write to file.</param>
  6896. <remarks>
  6897. <para>
  6898. Handles append time behavior for RollingFileAppender. This checks
  6899. if a roll over either by date (checked first) or time (checked second)
  6900. is need and then appends to the file last.
  6901. </para>
  6902. </remarks>
  6903. </member>
  6904. <member name="M:log4net.Appender.RollingFileAppender.Append(log4net.Core.LoggingEvent[])">
  6905. <summary>
  6906. Write out an array of logging events.
  6907. </summary>
  6908. <param name="loggingEvents">the events to write to file.</param>
  6909. <remarks>
  6910. <para>
  6911. Handles append time behavior for RollingFileAppender. This checks
  6912. if a roll over either by date (checked first) or time (checked second)
  6913. is need and then appends to the file last.
  6914. </para>
  6915. </remarks>
  6916. </member>
  6917. <member name="M:log4net.Appender.RollingFileAppender.AdjustFileBeforeAppend">
  6918. <summary>
  6919. Performs any required rolling before outputting the next event
  6920. </summary>
  6921. <remarks>
  6922. <para>
  6923. Handles append time behavior for RollingFileAppender. This checks
  6924. if a roll over either by date (checked first) or time (checked second)
  6925. is need and then appends to the file last.
  6926. </para>
  6927. </remarks>
  6928. </member>
  6929. <member name="M:log4net.Appender.RollingFileAppender.OpenFile(System.String,System.Boolean)">
  6930. <summary>
  6931. Creates and opens the file for logging. If <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/>
  6932. is false then the fully qualified name is determined and used.
  6933. </summary>
  6934. <param name="fileName">the name of the file to open</param>
  6935. <param name="append">true to append to existing file</param>
  6936. <remarks>
  6937. <para>This method will ensure that the directory structure
  6938. for the <paramref name="fileName"/> specified exists.</para>
  6939. </remarks>
  6940. </member>
  6941. <member name="M:log4net.Appender.RollingFileAppender.GetNextOutputFileName(System.String)">
  6942. <summary>
  6943. Get the current output file name
  6944. </summary>
  6945. <param name="fileName">the base file name</param>
  6946. <returns>the output file name</returns>
  6947. <remarks>
  6948. The output file name is based on the base fileName specified.
  6949. If <see cref="P:log4net.Appender.RollingFileAppender.StaticLogFileName"/> is set then the output
  6950. file name is the same as the base file passed in. Otherwise
  6951. the output file depends on the date pattern, on the count
  6952. direction or both.
  6953. </remarks>
  6954. </member>
  6955. <member name="M:log4net.Appender.RollingFileAppender.DetermineCurSizeRollBackups">
  6956. <summary>
  6957. Determines curSizeRollBackups (only within the current roll point)
  6958. </summary>
  6959. </member>
  6960. <member name="M:log4net.Appender.RollingFileAppender.GetWildcardPatternForFile(System.String)">
  6961. <summary>
  6962. Generates a wildcard pattern that can be used to find all files
  6963. that are similar to the base file name.
  6964. </summary>
  6965. <param name="baseFileName"></param>
  6966. <returns></returns>
  6967. </member>
  6968. <member name="M:log4net.Appender.RollingFileAppender.GetExistingFiles(System.String)">
  6969. <summary>
  6970. Builds a list of filenames for all files matching the base filename plus a file
  6971. pattern.
  6972. </summary>
  6973. <param name="baseFilePath"></param>
  6974. <returns></returns>
  6975. </member>
  6976. <member name="M:log4net.Appender.RollingFileAppender.RollOverIfDateBoundaryCrossing">
  6977. <summary>
  6978. Initiates a roll over if needed for crossing a date boundary since the last run.
  6979. </summary>
  6980. </member>
  6981. <member name="M:log4net.Appender.RollingFileAppender.ExistingInit">
  6982. <summary>
  6983. Initializes based on existing conditions at time of <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/>.
  6984. </summary>
  6985. <remarks>
  6986. <para>
  6987. Initializes based on existing conditions at time of <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/>.
  6988. The following is done
  6989. <list type="bullet">
  6990. <item>determine curSizeRollBackups (only within the current roll point)</item>
  6991. <item>initiates a roll over if needed for crossing a date boundary since the last run.</item>
  6992. </list>
  6993. </para>
  6994. </remarks>
  6995. </member>
  6996. <member name="M:log4net.Appender.RollingFileAppender.InitializeFromOneFile(System.String,System.String)">
  6997. <summary>
  6998. Does the work of bumping the 'current' file counter higher
  6999. to the highest count when an incremental file name is seen.
  7000. The highest count is either the first file (when count direction
  7001. is greater than 0) or the last file (when count direction less than 0).
  7002. In either case, we want to know the highest count that is present.
  7003. </summary>
  7004. <param name="baseFile"></param>
  7005. <param name="curFileName"></param>
  7006. </member>
  7007. <member name="M:log4net.Appender.RollingFileAppender.GetBackUpIndex(System.String)">
  7008. <summary>
  7009. Attempts to extract a number from the end of the file name that indicates
  7010. the number of the times the file has been rolled over.
  7011. </summary>
  7012. <remarks>
  7013. Certain date pattern extensions like yyyyMMdd will be parsed as valid backup indexes.
  7014. </remarks>
  7015. <param name="curFileName"></param>
  7016. <returns></returns>
  7017. </member>
  7018. <member name="M:log4net.Appender.RollingFileAppender.InitializeRollBackups(System.String,System.Collections.ArrayList)">
  7019. <summary>
  7020. Takes a list of files and a base file name, and looks for
  7021. 'incremented' versions of the base file. Bumps the max
  7022. count up to the highest count seen.
  7023. </summary>
  7024. <param name="baseFile"></param>
  7025. <param name="arrayFiles"></param>
  7026. </member>
  7027. <member name="M:log4net.Appender.RollingFileAppender.ComputeCheckPeriod(System.String)">
  7028. <summary>
  7029. Calculates the RollPoint for the datePattern supplied.
  7030. </summary>
  7031. <param name="datePattern">the date pattern to calculate the check period for</param>
  7032. <returns>The RollPoint that is most accurate for the date pattern supplied</returns>
  7033. <remarks>
  7034. Essentially the date pattern is examined to determine what the
  7035. most suitable roll point is. The roll point chosen is the roll point
  7036. with the smallest period that can be detected using the date pattern
  7037. supplied. i.e. if the date pattern only outputs the year, month, day
  7038. and hour then the smallest roll point that can be detected would be
  7039. and hourly roll point as minutes could not be detected.
  7040. </remarks>
  7041. </member>
  7042. <member name="M:log4net.Appender.RollingFileAppender.ActivateOptions">
  7043. <summary>
  7044. Initialize the appender based on the options set
  7045. </summary>
  7046. <remarks>
  7047. <para>
  7048. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  7049. activation scheme. The <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/> method must
  7050. be called on this object after the configuration properties have
  7051. been set. Until <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/> is called this
  7052. object is in an undefined state and must not be used.
  7053. </para>
  7054. <para>
  7055. If any of the configuration properties are modified then
  7056. <see cref="M:log4net.Appender.RollingFileAppender.ActivateOptions"/> must be called again.
  7057. </para>
  7058. <para>
  7059. Sets initial conditions including date/time roll over information, first check,
  7060. scheduledFilename, and calls <see cref="M:log4net.Appender.RollingFileAppender.ExistingInit"/> to initialize
  7061. the current number of backups.
  7062. </para>
  7063. </remarks>
  7064. </member>
  7065. <member name="M:log4net.Appender.RollingFileAppender.CombinePath(System.String,System.String)">
  7066. <summary>
  7067. </summary>
  7068. <param name="path1"></param>
  7069. <param name="path2">.1, .2, .3, etc.</param>
  7070. <returns></returns>
  7071. </member>
  7072. <member name="M:log4net.Appender.RollingFileAppender.RollOverTime(System.Boolean)">
  7073. <summary>
  7074. Rollover the file(s) to date/time tagged file(s).
  7075. </summary>
  7076. <param name="fileIsOpen">set to true if the file to be rolled is currently open</param>
  7077. <remarks>
  7078. <para>
  7079. Rollover the file(s) to date/time tagged file(s).
  7080. Resets curSizeRollBackups.
  7081. If fileIsOpen is set then the new file is opened (through SafeOpenFile).
  7082. </para>
  7083. </remarks>
  7084. </member>
  7085. <member name="M:log4net.Appender.RollingFileAppender.RollFile(System.String,System.String)">
  7086. <summary>
  7087. Renames file <paramref name="fromFile"/> to file <paramref name="toFile"/>.
  7088. </summary>
  7089. <param name="fromFile">Name of existing file to roll.</param>
  7090. <param name="toFile">New name for file.</param>
  7091. <remarks>
  7092. <para>
  7093. Renames file <paramref name="fromFile"/> to file <paramref name="toFile"/>. It
  7094. also checks for existence of target file and deletes if it does.
  7095. </para>
  7096. </remarks>
  7097. </member>
  7098. <member name="M:log4net.Appender.RollingFileAppender.FileExists(System.String)">
  7099. <summary>
  7100. Test if a file exists at a specified path
  7101. </summary>
  7102. <param name="path">the path to the file</param>
  7103. <returns>true if the file exists</returns>
  7104. <remarks>
  7105. <para>
  7106. Test if a file exists at a specified path
  7107. </para>
  7108. </remarks>
  7109. </member>
  7110. <member name="M:log4net.Appender.RollingFileAppender.DeleteFile(System.String)">
  7111. <summary>
  7112. Deletes the specified file if it exists.
  7113. </summary>
  7114. <param name="fileName">The file to delete.</param>
  7115. <remarks>
  7116. <para>
  7117. Delete a file if is exists.
  7118. The file is first moved to a new filename then deleted.
  7119. This allows the file to be removed even when it cannot
  7120. be deleted, but it still can be moved.
  7121. </para>
  7122. </remarks>
  7123. </member>
  7124. <member name="M:log4net.Appender.RollingFileAppender.RollOverSize">
  7125. <summary>
  7126. Implements file roll base on file size.
  7127. </summary>
  7128. <remarks>
  7129. <para>
  7130. If the maximum number of size based backups is reached
  7131. (<c>curSizeRollBackups == maxSizeRollBackups</c>) then the oldest
  7132. file is deleted -- its index determined by the sign of countDirection.
  7133. If <c>countDirection</c> &lt; 0, then files
  7134. {<c>File.1</c>, ..., <c>File.curSizeRollBackups -1</c>}
  7135. are renamed to {<c>File.2</c>, ...,
  7136. <c>File.curSizeRollBackups</c>}. Moreover, <c>File</c> is
  7137. renamed <c>File.1</c> and closed.
  7138. </para>
  7139. <para>
  7140. A new file is created to receive further log output.
  7141. </para>
  7142. <para>
  7143. If <c>maxSizeRollBackups</c> is equal to zero, then the
  7144. <c>File</c> is truncated with no backup files created.
  7145. </para>
  7146. <para>
  7147. If <c>maxSizeRollBackups</c> &lt; 0, then <c>File</c> is
  7148. renamed if needed and no files are deleted.
  7149. </para>
  7150. </remarks>
  7151. </member>
  7152. <member name="M:log4net.Appender.RollingFileAppender.RollOverRenameFiles(System.String)">
  7153. <summary>
  7154. Implements file roll.
  7155. </summary>
  7156. <param name="baseFileName">the base name to rename</param>
  7157. <remarks>
  7158. <para>
  7159. If the maximum number of size based backups is reached
  7160. (<c>curSizeRollBackups == maxSizeRollBackups</c>) then the oldest
  7161. file is deleted -- its index determined by the sign of countDirection.
  7162. If <c>countDirection</c> &lt; 0, then files
  7163. {<c>File.1</c>, ..., <c>File.curSizeRollBackups -1</c>}
  7164. are renamed to {<c>File.2</c>, ...,
  7165. <c>File.curSizeRollBackups</c>}.
  7166. </para>
  7167. <para>
  7168. If <c>maxSizeRollBackups</c> is equal to zero, then the
  7169. <c>File</c> is truncated with no backup files created.
  7170. </para>
  7171. <para>
  7172. If <c>maxSizeRollBackups</c> &lt; 0, then <c>File</c> is
  7173. renamed if needed and no files are deleted.
  7174. </para>
  7175. <para>
  7176. This is called by <see cref="M:log4net.Appender.RollingFileAppender.RollOverSize"/> to rename the files.
  7177. </para>
  7178. </remarks>
  7179. </member>
  7180. <member name="M:log4net.Appender.RollingFileAppender.NextCheckDate(System.DateTime,log4net.Appender.RollingFileAppender.RollPoint)">
  7181. <summary>
  7182. Get the start time of the next window for the current rollpoint
  7183. </summary>
  7184. <param name="currentDateTime">the current date</param>
  7185. <param name="rollPoint">the type of roll point we are working with</param>
  7186. <returns>the start time for the next roll point an interval after the currentDateTime date</returns>
  7187. <remarks>
  7188. <para>
  7189. Returns the date of the next roll point after the currentDateTime date passed to the method.
  7190. </para>
  7191. <para>
  7192. The basic strategy is to subtract the time parts that are less significant
  7193. than the rollpoint from the current time. This should roll the time back to
  7194. the start of the time window for the current rollpoint. Then we add 1 window
  7195. worth of time and get the start time of the next window for the rollpoint.
  7196. </para>
  7197. </remarks>
  7198. </member>
  7199. <member name="F:log4net.Appender.RollingFileAppender.m_dateTime">
  7200. <summary>
  7201. This object supplies the current date/time. Allows test code to plug in
  7202. a method to control this class when testing date/time based rolling. The default
  7203. implementation uses the underlying value of DateTime.Now.
  7204. </summary>
  7205. </member>
  7206. <member name="F:log4net.Appender.RollingFileAppender.m_datePattern">
  7207. <summary>
  7208. The date pattern. By default, the pattern is set to <c>".yyyy-MM-dd"</c>
  7209. meaning daily rollover.
  7210. </summary>
  7211. </member>
  7212. <member name="F:log4net.Appender.RollingFileAppender.m_scheduledFilename">
  7213. <summary>
  7214. The actual formatted filename that is currently being written to
  7215. or will be the file transferred to on roll over
  7216. (based on staticLogFileName).
  7217. </summary>
  7218. </member>
  7219. <member name="F:log4net.Appender.RollingFileAppender.m_nextCheck">
  7220. <summary>
  7221. The timestamp when we shall next recompute the filename.
  7222. </summary>
  7223. </member>
  7224. <member name="F:log4net.Appender.RollingFileAppender.m_now">
  7225. <summary>
  7226. Holds date of last roll over
  7227. </summary>
  7228. </member>
  7229. <member name="F:log4net.Appender.RollingFileAppender.m_rollPoint">
  7230. <summary>
  7231. The type of rolling done
  7232. </summary>
  7233. </member>
  7234. <member name="F:log4net.Appender.RollingFileAppender.m_maxFileSize">
  7235. <summary>
  7236. The default maximum file size is 10MB
  7237. </summary>
  7238. </member>
  7239. <member name="F:log4net.Appender.RollingFileAppender.m_maxSizeRollBackups">
  7240. <summary>
  7241. There is zero backup files by default
  7242. </summary>
  7243. </member>
  7244. <member name="F:log4net.Appender.RollingFileAppender.m_curSizeRollBackups">
  7245. <summary>
  7246. How many sized based backups have been made so far
  7247. </summary>
  7248. </member>
  7249. <member name="F:log4net.Appender.RollingFileAppender.m_countDirection">
  7250. <summary>
  7251. The rolling file count direction.
  7252. </summary>
  7253. </member>
  7254. <member name="F:log4net.Appender.RollingFileAppender.m_rollingStyle">
  7255. <summary>
  7256. The rolling mode used in this appender.
  7257. </summary>
  7258. </member>
  7259. <member name="F:log4net.Appender.RollingFileAppender.m_rollDate">
  7260. <summary>
  7261. Cache flag set if we are rolling by date.
  7262. </summary>
  7263. </member>
  7264. <member name="F:log4net.Appender.RollingFileAppender.m_rollSize">
  7265. <summary>
  7266. Cache flag set if we are rolling by size.
  7267. </summary>
  7268. </member>
  7269. <member name="F:log4net.Appender.RollingFileAppender.m_staticLogFileName">
  7270. <summary>
  7271. Value indicating whether to always log to the same file.
  7272. </summary>
  7273. </member>
  7274. <member name="F:log4net.Appender.RollingFileAppender.m_preserveLogFileNameExtension">
  7275. <summary>
  7276. Value indicating whether to preserve the file name extension when rolling.
  7277. </summary>
  7278. </member>
  7279. <member name="F:log4net.Appender.RollingFileAppender.m_baseFileName">
  7280. <summary>
  7281. FileName provided in configuration. Used for rolling properly
  7282. </summary>
  7283. </member>
  7284. <member name="F:log4net.Appender.RollingFileAppender.s_date1970">
  7285. <summary>
  7286. The 1st of January 1970 in UTC
  7287. </summary>
  7288. </member>
  7289. <member name="P:log4net.Appender.RollingFileAppender.DateTimeStrategy">
  7290. <summary>
  7291. Gets or sets the strategy for determining the current date and time. The default
  7292. implementation is to use LocalDateTime which internally calls through to DateTime.Now.
  7293. DateTime.UtcNow may be used on frameworks newer than .NET 1.0 by specifying
  7294. <see cref="T:log4net.Appender.RollingFileAppender.UniversalDateTime"/>.
  7295. </summary>
  7296. <value>
  7297. An implementation of the <see cref="T:log4net.Appender.RollingFileAppender.IDateTime"/> interface which returns the current date and time.
  7298. </value>
  7299. <remarks>
  7300. <para>
  7301. Gets or sets the <see cref="T:log4net.Appender.RollingFileAppender.IDateTime"/> used to return the current date and time.
  7302. </para>
  7303. <para>
  7304. There are two built strategies for determining the current date and time,
  7305. <see cref="T:log4net.Appender.RollingFileAppender.LocalDateTime"/>
  7306. and <see cref="T:log4net.Appender.RollingFileAppender.UniversalDateTime"/>.
  7307. </para>
  7308. <para>
  7309. The default strategy is <see cref="T:log4net.Appender.RollingFileAppender.LocalDateTime"/>.
  7310. </para>
  7311. </remarks>
  7312. </member>
  7313. <member name="P:log4net.Appender.RollingFileAppender.DatePattern">
  7314. <summary>
  7315. Gets or sets the date pattern to be used for generating file names
  7316. when rolling over on date.
  7317. </summary>
  7318. <value>
  7319. The date pattern to be used for generating file names when rolling
  7320. over on date.
  7321. </value>
  7322. <remarks>
  7323. <para>
  7324. Takes a string in the same format as expected by
  7325. <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/>.
  7326. </para>
  7327. <para>
  7328. This property determines the rollover schedule when rolling over
  7329. on date.
  7330. </para>
  7331. </remarks>
  7332. </member>
  7333. <member name="P:log4net.Appender.RollingFileAppender.MaxSizeRollBackups">
  7334. <summary>
  7335. Gets or sets the maximum number of backup files that are kept before
  7336. the oldest is erased.
  7337. </summary>
  7338. <value>
  7339. The maximum number of backup files that are kept before the oldest is
  7340. erased.
  7341. </value>
  7342. <remarks>
  7343. <para>
  7344. If set to zero, then there will be no backup files and the log file
  7345. will be truncated when it reaches <see cref="P:log4net.Appender.RollingFileAppender.MaxFileSize"/>.
  7346. </para>
  7347. <para>
  7348. If a negative number is supplied then no deletions will be made. Note
  7349. that this could result in very slow performance as a large number of
  7350. files are rolled over unless <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> is used.
  7351. </para>
  7352. <para>
  7353. The maximum applies to <b>each</b> time based group of files and
  7354. <b>not</b> the total.
  7355. </para>
  7356. </remarks>
  7357. </member>
  7358. <member name="P:log4net.Appender.RollingFileAppender.MaxFileSize">
  7359. <summary>
  7360. Gets or sets the maximum size that the output file is allowed to reach
  7361. before being rolled over to backup files.
  7362. </summary>
  7363. <value>
  7364. The maximum size in bytes that the output file is allowed to reach before being
  7365. rolled over to backup files.
  7366. </value>
  7367. <remarks>
  7368. <para>
  7369. This property is equivalent to <see cref="P:log4net.Appender.RollingFileAppender.MaximumFileSize"/> except
  7370. that it is required for differentiating the setter taking a
  7371. <see cref="T:System.Int64"/> argument from the setter taking a <see cref="T:System.String"/>
  7372. argument.
  7373. </para>
  7374. <para>
  7375. The default maximum file size is 10MB (10*1024*1024).
  7376. </para>
  7377. </remarks>
  7378. </member>
  7379. <member name="P:log4net.Appender.RollingFileAppender.MaximumFileSize">
  7380. <summary>
  7381. Gets or sets the maximum size that the output file is allowed to reach
  7382. before being rolled over to backup files.
  7383. </summary>
  7384. <value>
  7385. The maximum size that the output file is allowed to reach before being
  7386. rolled over to backup files.
  7387. </value>
  7388. <remarks>
  7389. <para>
  7390. This property allows you to specify the maximum size with the
  7391. suffixes "KB", "MB" or "GB" so that the size is interpreted being
  7392. expressed respectively in kilobytes, megabytes or gigabytes.
  7393. </para>
  7394. <para>
  7395. For example, the value "10KB" will be interpreted as 10240 bytes.
  7396. </para>
  7397. <para>
  7398. The default maximum file size is 10MB.
  7399. </para>
  7400. <para>
  7401. If you have the option to set the maximum file size programmatically
  7402. consider using the <see cref="P:log4net.Appender.RollingFileAppender.MaxFileSize"/> property instead as this
  7403. allows you to set the size in bytes as a <see cref="T:System.Int64"/>.
  7404. </para>
  7405. </remarks>
  7406. </member>
  7407. <member name="P:log4net.Appender.RollingFileAppender.CountDirection">
  7408. <summary>
  7409. Gets or sets the rolling file count direction.
  7410. </summary>
  7411. <value>
  7412. The rolling file count direction.
  7413. </value>
  7414. <remarks>
  7415. <para>
  7416. Indicates if the current file is the lowest numbered file or the
  7417. highest numbered file.
  7418. </para>
  7419. <para>
  7420. By default newer files have lower numbers (<see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> &lt; 0),
  7421. i.e. log.1 is most recent, log.5 is the 5th backup, etc...
  7422. </para>
  7423. <para>
  7424. <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> &gt;= 0 does the opposite i.e.
  7425. log.1 is the first backup made, log.5 is the 5th backup made, etc.
  7426. For infinite backups use <see cref="P:log4net.Appender.RollingFileAppender.CountDirection"/> &gt;= 0 to reduce
  7427. rollover costs.
  7428. </para>
  7429. <para>The default file count direction is -1.</para>
  7430. </remarks>
  7431. </member>
  7432. <member name="P:log4net.Appender.RollingFileAppender.RollingStyle">
  7433. <summary>
  7434. Gets or sets the rolling style.
  7435. </summary>
  7436. <value>The rolling style.</value>
  7437. <remarks>
  7438. <para>
  7439. The default rolling style is <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Composite"/>.
  7440. </para>
  7441. <para>
  7442. When set to <see cref="F:log4net.Appender.RollingFileAppender.RollingMode.Once"/> this appender's
  7443. <see cref="P:log4net.Appender.FileAppender.AppendToFile"/> property is set to <c>false</c>, otherwise
  7444. the appender would append to a single file rather than rolling
  7445. the file each time it is opened.
  7446. </para>
  7447. </remarks>
  7448. </member>
  7449. <member name="P:log4net.Appender.RollingFileAppender.PreserveLogFileNameExtension">
  7450. <summary>
  7451. Gets or sets a value indicating whether to preserve the file name extension when rolling.
  7452. </summary>
  7453. <value>
  7454. <c>true</c> if the file name extension should be preserved.
  7455. </value>
  7456. <remarks>
  7457. <para>
  7458. By default file.log is rolled to file.log.yyyy-MM-dd or file.log.curSizeRollBackup.
  7459. However, under Windows the new file name will loose any program associations as the
  7460. extension is changed. Optionally file.log can be renamed to file.yyyy-MM-dd.log or
  7461. file.curSizeRollBackup.log to maintain any program associations.
  7462. </para>
  7463. </remarks>
  7464. </member>
  7465. <member name="P:log4net.Appender.RollingFileAppender.StaticLogFileName">
  7466. <summary>
  7467. Gets or sets a value indicating whether to always log to
  7468. the same file.
  7469. </summary>
  7470. <value>
  7471. <c>true</c> if always should be logged to the same file, otherwise <c>false</c>.
  7472. </value>
  7473. <remarks>
  7474. <para>
  7475. By default file.log is always the current file. Optionally
  7476. file.log.yyyy-mm-dd for current formatted datePattern can by the currently
  7477. logging file (or file.log.curSizeRollBackup or even
  7478. file.log.yyyy-mm-dd.curSizeRollBackup).
  7479. </para>
  7480. <para>
  7481. This will make time based rollovers with a large number of backups
  7482. much faster as the appender it won't have to rename all the backups!
  7483. </para>
  7484. </remarks>
  7485. </member>
  7486. <member name="T:log4net.Appender.RollingFileAppender.RollingMode">
  7487. <summary>
  7488. Style of rolling to use
  7489. </summary>
  7490. <remarks>
  7491. <para>
  7492. Style of rolling to use
  7493. </para>
  7494. </remarks>
  7495. </member>
  7496. <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Once">
  7497. <summary>
  7498. Roll files once per program execution
  7499. </summary>
  7500. <remarks>
  7501. <para>
  7502. Roll files once per program execution.
  7503. Well really once each time this appender is
  7504. configured.
  7505. </para>
  7506. <para>
  7507. Setting this option also sets <c>AppendToFile</c> to
  7508. <c>false</c> on the <c>RollingFileAppender</c>, otherwise
  7509. this appender would just be a normal file appender.
  7510. </para>
  7511. </remarks>
  7512. </member>
  7513. <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Size">
  7514. <summary>
  7515. Roll files based only on the size of the file
  7516. </summary>
  7517. </member>
  7518. <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Date">
  7519. <summary>
  7520. Roll files based only on the date
  7521. </summary>
  7522. </member>
  7523. <member name="F:log4net.Appender.RollingFileAppender.RollingMode.Composite">
  7524. <summary>
  7525. Roll files based on both the size and date of the file
  7526. </summary>
  7527. </member>
  7528. <member name="T:log4net.Appender.RollingFileAppender.RollPoint">
  7529. <summary>
  7530. The code assumes that the following 'time' constants are in a increasing sequence.
  7531. </summary>
  7532. <remarks>
  7533. <para>
  7534. The code assumes that the following 'time' constants are in a increasing sequence.
  7535. </para>
  7536. </remarks>
  7537. </member>
  7538. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.InvalidRollPoint">
  7539. <summary>
  7540. Roll the log not based on the date
  7541. </summary>
  7542. </member>
  7543. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfMinute">
  7544. <summary>
  7545. Roll the log for each minute
  7546. </summary>
  7547. </member>
  7548. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfHour">
  7549. <summary>
  7550. Roll the log for each hour
  7551. </summary>
  7552. </member>
  7553. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.HalfDay">
  7554. <summary>
  7555. Roll the log twice a day (midday and midnight)
  7556. </summary>
  7557. </member>
  7558. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfDay">
  7559. <summary>
  7560. Roll the log each day (midnight)
  7561. </summary>
  7562. </member>
  7563. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfWeek">
  7564. <summary>
  7565. Roll the log each week
  7566. </summary>
  7567. </member>
  7568. <member name="F:log4net.Appender.RollingFileAppender.RollPoint.TopOfMonth">
  7569. <summary>
  7570. Roll the log each month
  7571. </summary>
  7572. </member>
  7573. <member name="T:log4net.Appender.RollingFileAppender.IDateTime">
  7574. <summary>
  7575. This interface is used to supply Date/Time information to the <see cref="T:log4net.Appender.RollingFileAppender"/>.
  7576. </summary>
  7577. <remarks>
  7578. This interface is used to supply Date/Time information to the <see cref="T:log4net.Appender.RollingFileAppender"/>.
  7579. Used primarily to allow test classes to plug themselves in so they can
  7580. supply test date/times.
  7581. </remarks>
  7582. </member>
  7583. <member name="P:log4net.Appender.RollingFileAppender.IDateTime.Now">
  7584. <summary>
  7585. Gets the <i>current</i> time.
  7586. </summary>
  7587. <value>The <i>current</i> time.</value>
  7588. <remarks>
  7589. <para>
  7590. Gets the <i>current</i> time.
  7591. </para>
  7592. </remarks>
  7593. </member>
  7594. <member name="T:log4net.Appender.RollingFileAppender.LocalDateTime">
  7595. <summary>
  7596. Default implementation of <see cref="T:log4net.Appender.RollingFileAppender.IDateTime"/> that returns the current time.
  7597. </summary>
  7598. </member>
  7599. <member name="P:log4net.Appender.RollingFileAppender.LocalDateTime.Now">
  7600. <summary>
  7601. Gets the <b>current</b> time.
  7602. </summary>
  7603. <value>The <b>current</b> time.</value>
  7604. <remarks>
  7605. <para>
  7606. Gets the <b>current</b> time.
  7607. </para>
  7608. </remarks>
  7609. </member>
  7610. <member name="T:log4net.Appender.RollingFileAppender.UniversalDateTime">
  7611. <summary>
  7612. Implementation of <see cref="T:log4net.Appender.RollingFileAppender.IDateTime"/> that returns the current time as the coordinated universal time (UTC).
  7613. </summary>
  7614. </member>
  7615. <member name="P:log4net.Appender.RollingFileAppender.UniversalDateTime.Now">
  7616. <summary>
  7617. Gets the <b>current</b> time.
  7618. </summary>
  7619. <value>The <b>current</b> time.</value>
  7620. <remarks>
  7621. <para>
  7622. Gets the <b>current</b> time.
  7623. </para>
  7624. </remarks>
  7625. </member>
  7626. <member name="T:log4net.Appender.SmtpAppender">
  7627. <summary>
  7628. Send an e-mail when a specific logging event occurs, typically on errors
  7629. or fatal errors.
  7630. </summary>
  7631. <remarks>
  7632. <para>
  7633. The number of logging events delivered in this e-mail depend on
  7634. the value of <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> option. The
  7635. <see cref="T:log4net.Appender.SmtpAppender"/> keeps only the last
  7636. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> logging events in its
  7637. cyclic buffer. This keeps memory requirements at a reasonable level while
  7638. still delivering useful application context.
  7639. </para>
  7640. <note type="caution">
  7641. Authentication and setting the server Port are only available on the MS .NET 1.1 runtime.
  7642. For these features to be enabled you need to ensure that you are using a version of
  7643. the log4net assembly that is built against the MS .NET 1.1 framework and that you are
  7644. running the your application on the MS .NET 1.1 runtime. On all other platforms only sending
  7645. unauthenticated messages to a server listening on port 25 (the default) is supported.
  7646. </note>
  7647. <para>
  7648. Authentication is supported by setting the <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> property to
  7649. either <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/> or <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm"/>.
  7650. If using <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/> authentication then the <see cref="P:log4net.Appender.SmtpAppender.Username"/>
  7651. and <see cref="P:log4net.Appender.SmtpAppender.Password"/> properties must also be set.
  7652. </para>
  7653. <para>
  7654. To set the SMTP server port use the <see cref="P:log4net.Appender.SmtpAppender.Port"/> property. The default port is 25.
  7655. </para>
  7656. </remarks>
  7657. <author>Nicko Cadell</author>
  7658. <author>Gert Driesen</author>
  7659. </member>
  7660. <member name="M:log4net.Appender.SmtpAppender.#ctor">
  7661. <summary>
  7662. Default constructor
  7663. </summary>
  7664. <remarks>
  7665. <para>
  7666. Default constructor
  7667. </para>
  7668. </remarks>
  7669. </member>
  7670. <member name="M:log4net.Appender.SmtpAppender.SendBuffer(log4net.Core.LoggingEvent[])">
  7671. <summary>
  7672. Sends the contents of the cyclic buffer as an e-mail message.
  7673. </summary>
  7674. <param name="events">The logging events to send.</param>
  7675. </member>
  7676. <member name="M:log4net.Appender.SmtpAppender.SendEmail(System.String)">
  7677. <summary>
  7678. Send the email message
  7679. </summary>
  7680. <param name="messageBody">the body text to include in the mail</param>
  7681. </member>
  7682. <member name="P:log4net.Appender.SmtpAppender.To">
  7683. <summary>
  7684. Gets or sets a comma- or semicolon-delimited list of recipient e-mail addresses (use semicolon on .NET 1.1 and comma for later versions).
  7685. </summary>
  7686. <value>
  7687. <para>
  7688. For .NET 1.1 (System.Web.Mail): A semicolon-delimited list of e-mail addresses.
  7689. </para>
  7690. <para>
  7691. For .NET 2.0 (System.Net.Mail): A comma-delimited list of e-mail addresses.
  7692. </para>
  7693. </value>
  7694. <remarks>
  7695. <para>
  7696. For .NET 1.1 (System.Web.Mail): A semicolon-delimited list of e-mail addresses.
  7697. </para>
  7698. <para>
  7699. For .NET 2.0 (System.Net.Mail): A comma-delimited list of e-mail addresses.
  7700. </para>
  7701. </remarks>
  7702. </member>
  7703. <member name="P:log4net.Appender.SmtpAppender.Cc">
  7704. <summary>
  7705. Gets or sets a comma- or semicolon-delimited list of recipient e-mail addresses
  7706. that will be carbon copied (use semicolon on .NET 1.1 and comma for later versions).
  7707. </summary>
  7708. <value>
  7709. <para>
  7710. For .NET 1.1 (System.Web.Mail): A semicolon-delimited list of e-mail addresses.
  7711. </para>
  7712. <para>
  7713. For .NET 2.0 (System.Net.Mail): A comma-delimited list of e-mail addresses.
  7714. </para>
  7715. </value>
  7716. <remarks>
  7717. <para>
  7718. For .NET 1.1 (System.Web.Mail): A semicolon-delimited list of e-mail addresses.
  7719. </para>
  7720. <para>
  7721. For .NET 2.0 (System.Net.Mail): A comma-delimited list of e-mail addresses.
  7722. </para>
  7723. </remarks>
  7724. </member>
  7725. <member name="P:log4net.Appender.SmtpAppender.Bcc">
  7726. <summary>
  7727. Gets or sets a semicolon-delimited list of recipient e-mail addresses
  7728. that will be blind carbon copied.
  7729. </summary>
  7730. <value>
  7731. A semicolon-delimited list of e-mail addresses.
  7732. </value>
  7733. <remarks>
  7734. <para>
  7735. A semicolon-delimited list of recipient e-mail addresses.
  7736. </para>
  7737. </remarks>
  7738. </member>
  7739. <member name="P:log4net.Appender.SmtpAppender.From">
  7740. <summary>
  7741. Gets or sets the e-mail address of the sender.
  7742. </summary>
  7743. <value>
  7744. The e-mail address of the sender.
  7745. </value>
  7746. <remarks>
  7747. <para>
  7748. The e-mail address of the sender.
  7749. </para>
  7750. </remarks>
  7751. </member>
  7752. <member name="P:log4net.Appender.SmtpAppender.Subject">
  7753. <summary>
  7754. Gets or sets the subject line of the e-mail message.
  7755. </summary>
  7756. <value>
  7757. The subject line of the e-mail message.
  7758. </value>
  7759. <remarks>
  7760. <para>
  7761. The subject line of the e-mail message.
  7762. </para>
  7763. </remarks>
  7764. </member>
  7765. <member name="P:log4net.Appender.SmtpAppender.SmtpHost">
  7766. <summary>
  7767. Gets or sets the name of the SMTP relay mail server to use to send
  7768. the e-mail messages.
  7769. </summary>
  7770. <value>
  7771. The name of the e-mail relay server. If SmtpServer is not set, the
  7772. name of the local SMTP server is used.
  7773. </value>
  7774. <remarks>
  7775. <para>
  7776. The name of the e-mail relay server. If SmtpServer is not set, the
  7777. name of the local SMTP server is used.
  7778. </para>
  7779. </remarks>
  7780. </member>
  7781. <member name="P:log4net.Appender.SmtpAppender.LocationInfo">
  7782. <summary>
  7783. Obsolete
  7784. </summary>
  7785. <remarks>
  7786. Use the BufferingAppenderSkeleton Fix methods instead
  7787. </remarks>
  7788. <remarks>
  7789. <para>
  7790. Obsolete property.
  7791. </para>
  7792. </remarks>
  7793. </member>
  7794. <member name="P:log4net.Appender.SmtpAppender.Authentication">
  7795. <summary>
  7796. The mode to use to authentication with the SMTP server
  7797. </summary>
  7798. <remarks>
  7799. <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
  7800. <para>
  7801. Valid Authentication mode values are: <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.None"/>,
  7802. <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/>, and <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm"/>.
  7803. The default value is <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.None"/>. When using
  7804. <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/> you must specify the <see cref="P:log4net.Appender.SmtpAppender.Username"/>
  7805. and <see cref="P:log4net.Appender.SmtpAppender.Password"/> to use to authenticate.
  7806. When using <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm"/> the Windows credentials for the current
  7807. thread, if impersonating, or the process will be used to authenticate.
  7808. </para>
  7809. </remarks>
  7810. </member>
  7811. <member name="P:log4net.Appender.SmtpAppender.Username">
  7812. <summary>
  7813. The username to use to authenticate with the SMTP server
  7814. </summary>
  7815. <remarks>
  7816. <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
  7817. <para>
  7818. A <see cref="P:log4net.Appender.SmtpAppender.Username"/> and <see cref="P:log4net.Appender.SmtpAppender.Password"/> must be specified when
  7819. <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> is set to <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/>,
  7820. otherwise the username will be ignored.
  7821. </para>
  7822. </remarks>
  7823. </member>
  7824. <member name="P:log4net.Appender.SmtpAppender.Password">
  7825. <summary>
  7826. The password to use to authenticate with the SMTP server
  7827. </summary>
  7828. <remarks>
  7829. <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
  7830. <para>
  7831. A <see cref="P:log4net.Appender.SmtpAppender.Username"/> and <see cref="P:log4net.Appender.SmtpAppender.Password"/> must be specified when
  7832. <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> is set to <see cref="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic"/>,
  7833. otherwise the password will be ignored.
  7834. </para>
  7835. </remarks>
  7836. </member>
  7837. <member name="P:log4net.Appender.SmtpAppender.Port">
  7838. <summary>
  7839. The port on which the SMTP server is listening
  7840. </summary>
  7841. <remarks>
  7842. <note type="caution">Server Port is only available on the MS .NET 1.1 runtime.</note>
  7843. <para>
  7844. The port on which the SMTP server is listening. The default
  7845. port is <c>25</c>. The Port can only be changed when running on
  7846. the MS .NET 1.1 runtime.
  7847. </para>
  7848. </remarks>
  7849. </member>
  7850. <member name="P:log4net.Appender.SmtpAppender.Priority">
  7851. <summary>
  7852. Gets or sets the priority of the e-mail message
  7853. </summary>
  7854. <value>
  7855. One of the <see cref="T:System.Net.Mail.MailPriority"/> values.
  7856. </value>
  7857. <remarks>
  7858. <para>
  7859. Sets the priority of the e-mails generated by this
  7860. appender. The default priority is <see cref="F:System.Net.Mail.MailPriority.Normal"/>.
  7861. </para>
  7862. <para>
  7863. If you are using this appender to report errors then
  7864. you may want to set the priority to <see cref="F:System.Net.Mail.MailPriority.High"/>.
  7865. </para>
  7866. </remarks>
  7867. </member>
  7868. <member name="P:log4net.Appender.SmtpAppender.EnableSsl">
  7869. <summary>
  7870. Enable or disable use of SSL when sending e-mail message
  7871. </summary>
  7872. <remarks>
  7873. This is available on MS .NET 2.0 runtime and higher
  7874. </remarks>
  7875. </member>
  7876. <member name="P:log4net.Appender.SmtpAppender.ReplyTo">
  7877. <summary>
  7878. Gets or sets the reply-to e-mail address.
  7879. </summary>
  7880. <remarks>
  7881. This is available on MS .NET 2.0 runtime and higher
  7882. </remarks>
  7883. </member>
  7884. <member name="P:log4net.Appender.SmtpAppender.SubjectEncoding">
  7885. <summary>
  7886. Gets or sets the subject encoding to be used.
  7887. </summary>
  7888. <remarks>
  7889. The default encoding is the operating system's current ANSI codepage.
  7890. </remarks>
  7891. </member>
  7892. <member name="P:log4net.Appender.SmtpAppender.BodyEncoding">
  7893. <summary>
  7894. Gets or sets the body encoding to be used.
  7895. </summary>
  7896. <remarks>
  7897. The default encoding is the operating system's current ANSI codepage.
  7898. </remarks>
  7899. </member>
  7900. <member name="P:log4net.Appender.SmtpAppender.RequiresLayout">
  7901. <summary>
  7902. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  7903. </summary>
  7904. <value><c>true</c></value>
  7905. <remarks>
  7906. <para>
  7907. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  7908. </para>
  7909. </remarks>
  7910. </member>
  7911. <member name="T:log4net.Appender.SmtpAppender.SmtpAuthentication">
  7912. <summary>
  7913. Values for the <see cref="P:log4net.Appender.SmtpAppender.Authentication"/> property.
  7914. </summary>
  7915. <remarks>
  7916. <para>
  7917. SMTP authentication modes.
  7918. </para>
  7919. </remarks>
  7920. </member>
  7921. <member name="F:log4net.Appender.SmtpAppender.SmtpAuthentication.None">
  7922. <summary>
  7923. No authentication
  7924. </summary>
  7925. </member>
  7926. <member name="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Basic">
  7927. <summary>
  7928. Basic authentication.
  7929. </summary>
  7930. <remarks>
  7931. Requires a username and password to be supplied
  7932. </remarks>
  7933. </member>
  7934. <member name="F:log4net.Appender.SmtpAppender.SmtpAuthentication.Ntlm">
  7935. <summary>
  7936. Integrated authentication
  7937. </summary>
  7938. <remarks>
  7939. Uses the Windows credentials from the current thread or process to authenticate.
  7940. </remarks>
  7941. </member>
  7942. <member name="T:log4net.Appender.SmtpPickupDirAppender">
  7943. <summary>
  7944. Send an email when a specific logging event occurs, typically on errors
  7945. or fatal errors. Rather than sending via smtp it writes a file into the
  7946. directory specified by <see cref="P:log4net.Appender.SmtpPickupDirAppender.PickupDir"/>. This allows services such
  7947. as the IIS SMTP agent to manage sending the messages.
  7948. </summary>
  7949. <remarks>
  7950. <para>
  7951. The configuration for this appender is identical to that of the <c>SMTPAppender</c>,
  7952. except that instead of specifying the <c>SMTPAppender.SMTPHost</c> you specify
  7953. <see cref="P:log4net.Appender.SmtpPickupDirAppender.PickupDir"/>.
  7954. </para>
  7955. <para>
  7956. The number of logging events delivered in this e-mail depend on
  7957. the value of <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> option. The
  7958. <see cref="T:log4net.Appender.SmtpPickupDirAppender"/> keeps only the last
  7959. <see cref="P:log4net.Appender.BufferingAppenderSkeleton.BufferSize"/> logging events in its
  7960. cyclic buffer. This keeps memory requirements at a reasonable level while
  7961. still delivering useful application context.
  7962. </para>
  7963. </remarks>
  7964. <author>Niall Daley</author>
  7965. <author>Nicko Cadell</author>
  7966. </member>
  7967. <member name="M:log4net.Appender.SmtpPickupDirAppender.#ctor">
  7968. <summary>
  7969. Default constructor
  7970. </summary>
  7971. <remarks>
  7972. <para>
  7973. Default constructor
  7974. </para>
  7975. </remarks>
  7976. </member>
  7977. <member name="M:log4net.Appender.SmtpPickupDirAppender.SendBuffer(log4net.Core.LoggingEvent[])">
  7978. <summary>
  7979. Sends the contents of the cyclic buffer as an e-mail message.
  7980. </summary>
  7981. <param name="events">The logging events to send.</param>
  7982. <remarks>
  7983. <para>
  7984. Sends the contents of the cyclic buffer as an e-mail message.
  7985. </para>
  7986. </remarks>
  7987. </member>
  7988. <member name="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions">
  7989. <summary>
  7990. Activate the options on this appender.
  7991. </summary>
  7992. <remarks>
  7993. <para>
  7994. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  7995. activation scheme. The <see cref="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions"/> method must
  7996. be called on this object after the configuration properties have
  7997. been set. Until <see cref="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions"/> is called this
  7998. object is in an undefined state and must not be used.
  7999. </para>
  8000. <para>
  8001. If any of the configuration properties are modified then
  8002. <see cref="M:log4net.Appender.SmtpPickupDirAppender.ActivateOptions"/> must be called again.
  8003. </para>
  8004. </remarks>
  8005. </member>
  8006. <member name="M:log4net.Appender.SmtpPickupDirAppender.ConvertToFullPath(System.String)">
  8007. <summary>
  8008. Convert a path into a fully qualified path.
  8009. </summary>
  8010. <param name="path">The path to convert.</param>
  8011. <returns>The fully qualified path.</returns>
  8012. <remarks>
  8013. <para>
  8014. Converts the path specified to a fully
  8015. qualified path. If the path is relative it is
  8016. taken as relative from the application base
  8017. directory.
  8018. </para>
  8019. </remarks>
  8020. </member>
  8021. <member name="F:log4net.Appender.SmtpPickupDirAppender.m_securityContext">
  8022. <summary>
  8023. The security context to use for privileged calls
  8024. </summary>
  8025. </member>
  8026. <member name="P:log4net.Appender.SmtpPickupDirAppender.To">
  8027. <summary>
  8028. Gets or sets a semicolon-delimited list of recipient e-mail addresses.
  8029. </summary>
  8030. <value>
  8031. A semicolon-delimited list of e-mail addresses.
  8032. </value>
  8033. <remarks>
  8034. <para>
  8035. A semicolon-delimited list of e-mail addresses.
  8036. </para>
  8037. </remarks>
  8038. </member>
  8039. <member name="P:log4net.Appender.SmtpPickupDirAppender.From">
  8040. <summary>
  8041. Gets or sets the e-mail address of the sender.
  8042. </summary>
  8043. <value>
  8044. The e-mail address of the sender.
  8045. </value>
  8046. <remarks>
  8047. <para>
  8048. The e-mail address of the sender.
  8049. </para>
  8050. </remarks>
  8051. </member>
  8052. <member name="P:log4net.Appender.SmtpPickupDirAppender.Subject">
  8053. <summary>
  8054. Gets or sets the subject line of the e-mail message.
  8055. </summary>
  8056. <value>
  8057. The subject line of the e-mail message.
  8058. </value>
  8059. <remarks>
  8060. <para>
  8061. The subject line of the e-mail message.
  8062. </para>
  8063. </remarks>
  8064. </member>
  8065. <member name="P:log4net.Appender.SmtpPickupDirAppender.PickupDir">
  8066. <summary>
  8067. Gets or sets the path to write the messages to.
  8068. </summary>
  8069. <remarks>
  8070. <para>
  8071. Gets or sets the path to write the messages to. This should be the same
  8072. as that used by the agent sending the messages.
  8073. </para>
  8074. </remarks>
  8075. </member>
  8076. <member name="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext">
  8077. <summary>
  8078. Gets or sets the <see cref="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext"/> used to write to the pickup directory.
  8079. </summary>
  8080. <value>
  8081. The <see cref="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext"/> used to write to the pickup directory.
  8082. </value>
  8083. <remarks>
  8084. <para>
  8085. Unless a <see cref="P:log4net.Appender.SmtpPickupDirAppender.SecurityContext"/> specified here for this appender
  8086. the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is queried for the
  8087. security context to use. The default behavior is to use the security context
  8088. of the current thread.
  8089. </para>
  8090. </remarks>
  8091. </member>
  8092. <member name="P:log4net.Appender.SmtpPickupDirAppender.RequiresLayout">
  8093. <summary>
  8094. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  8095. </summary>
  8096. <value><c>true</c></value>
  8097. <remarks>
  8098. <para>
  8099. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  8100. </para>
  8101. </remarks>
  8102. </member>
  8103. <member name="T:log4net.Appender.TelnetAppender">
  8104. <summary>
  8105. Appender that allows clients to connect via Telnet to receive log messages
  8106. </summary>
  8107. <remarks>
  8108. <para>
  8109. The TelnetAppender accepts socket connections and streams logging messages
  8110. back to the client.
  8111. The output is provided in a telnet-friendly way so that a log can be monitored
  8112. over a TCP/IP socket.
  8113. This allows simple remote monitoring of application logging.
  8114. </para>
  8115. <para>
  8116. The default <see cref="P:log4net.Appender.TelnetAppender.Port"/> is 23 (the telnet port).
  8117. </para>
  8118. </remarks>
  8119. <author>Keith Long</author>
  8120. <author>Nicko Cadell</author>
  8121. </member>
  8122. <member name="M:log4net.Appender.TelnetAppender.#ctor">
  8123. <summary>
  8124. Default constructor
  8125. </summary>
  8126. <remarks>
  8127. <para>
  8128. Default constructor
  8129. </para>
  8130. </remarks>
  8131. </member>
  8132. <member name="F:log4net.Appender.TelnetAppender.declaringType">
  8133. <summary>
  8134. The fully qualified type of the TelnetAppender class.
  8135. </summary>
  8136. <remarks>
  8137. Used by the internal logger to record the Type of the
  8138. log message.
  8139. </remarks>
  8140. </member>
  8141. <member name="M:log4net.Appender.TelnetAppender.OnClose">
  8142. <summary>
  8143. Overrides the parent method to close the socket handler
  8144. </summary>
  8145. <remarks>
  8146. <para>
  8147. Closes all the outstanding connections.
  8148. </para>
  8149. </remarks>
  8150. </member>
  8151. <member name="M:log4net.Appender.TelnetAppender.ActivateOptions">
  8152. <summary>
  8153. Initialize the appender based on the options set.
  8154. </summary>
  8155. <remarks>
  8156. <para>
  8157. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  8158. activation scheme. The <see cref="M:log4net.Appender.TelnetAppender.ActivateOptions"/> method must
  8159. be called on this object after the configuration properties have
  8160. been set. Until <see cref="M:log4net.Appender.TelnetAppender.ActivateOptions"/> is called this
  8161. object is in an undefined state and must not be used.
  8162. </para>
  8163. <para>
  8164. If any of the configuration properties are modified then
  8165. <see cref="M:log4net.Appender.TelnetAppender.ActivateOptions"/> must be called again.
  8166. </para>
  8167. <para>
  8168. Create the socket handler and wait for connections
  8169. </para>
  8170. </remarks>
  8171. </member>
  8172. <member name="M:log4net.Appender.TelnetAppender.Append(log4net.Core.LoggingEvent)">
  8173. <summary>
  8174. Writes the logging event to each connected client.
  8175. </summary>
  8176. <param name="loggingEvent">The event to log.</param>
  8177. <remarks>
  8178. <para>
  8179. Writes the logging event to each connected client.
  8180. </para>
  8181. </remarks>
  8182. </member>
  8183. <member name="P:log4net.Appender.TelnetAppender.Port">
  8184. <summary>
  8185. Gets or sets the TCP port number on which this <see cref="T:log4net.Appender.TelnetAppender"/> will listen for connections.
  8186. </summary>
  8187. <value>
  8188. An integer value in the range <see cref="F:System.Net.IPEndPoint.MinPort"/> to <see cref="F:System.Net.IPEndPoint.MaxPort"/>
  8189. indicating the TCP port number on which this <see cref="T:log4net.Appender.TelnetAppender"/> will listen for connections.
  8190. </value>
  8191. <remarks>
  8192. <para>
  8193. The default value is 23 (the telnet port).
  8194. </para>
  8195. </remarks>
  8196. <exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than <see cref="F:System.Net.IPEndPoint.MinPort"/>
  8197. or greater than <see cref="F:System.Net.IPEndPoint.MaxPort"/>.</exception>
  8198. </member>
  8199. <member name="P:log4net.Appender.TelnetAppender.RequiresLayout">
  8200. <summary>
  8201. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  8202. </summary>
  8203. <value><c>true</c></value>
  8204. <remarks>
  8205. <para>
  8206. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  8207. </para>
  8208. </remarks>
  8209. </member>
  8210. <member name="T:log4net.Appender.TelnetAppender.SocketHandler">
  8211. <summary>
  8212. Helper class to manage connected clients
  8213. </summary>
  8214. <remarks>
  8215. <para>
  8216. The SocketHandler class is used to accept connections from
  8217. clients. It is threaded so that clients can connect/disconnect
  8218. asynchronously.
  8219. </para>
  8220. </remarks>
  8221. </member>
  8222. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.#ctor(System.Int32)">
  8223. <summary>
  8224. Opens a new server port on <paramref ref="port"/>
  8225. </summary>
  8226. <param name="port">the local port to listen on for connections</param>
  8227. <remarks>
  8228. <para>
  8229. Creates a socket handler on the specified local server port.
  8230. </para>
  8231. </remarks>
  8232. </member>
  8233. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.Send(System.String)">
  8234. <summary>
  8235. Sends a string message to each of the connected clients
  8236. </summary>
  8237. <param name="message">the text to send</param>
  8238. <remarks>
  8239. <para>
  8240. Sends a string message to each of the connected clients
  8241. </para>
  8242. </remarks>
  8243. </member>
  8244. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.AddClient(log4net.Appender.TelnetAppender.SocketHandler.SocketClient)">
  8245. <summary>
  8246. Add a client to the internal clients list
  8247. </summary>
  8248. <param name="client">client to add</param>
  8249. </member>
  8250. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.RemoveClient(log4net.Appender.TelnetAppender.SocketHandler.SocketClient)">
  8251. <summary>
  8252. Remove a client from the internal clients list
  8253. </summary>
  8254. <param name="client">client to remove</param>
  8255. </member>
  8256. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.OnConnect(System.IAsyncResult)">
  8257. <summary>
  8258. Callback used to accept a connection on the server socket
  8259. </summary>
  8260. <param name="asyncResult">The result of the asynchronous operation</param>
  8261. <remarks>
  8262. <para>
  8263. On connection adds to the list of connections
  8264. if there are two many open connections you will be disconnected
  8265. </para>
  8266. </remarks>
  8267. </member>
  8268. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.Dispose">
  8269. <summary>
  8270. Close all network connections
  8271. </summary>
  8272. <remarks>
  8273. <para>
  8274. Make sure we close all network connections
  8275. </para>
  8276. </remarks>
  8277. </member>
  8278. <member name="P:log4net.Appender.TelnetAppender.SocketHandler.HasConnections">
  8279. <summary>
  8280. Test if this handler has active connections
  8281. </summary>
  8282. <value>
  8283. <c>true</c> if this handler has active connections
  8284. </value>
  8285. <remarks>
  8286. <para>
  8287. This property will be <c>true</c> while this handler has
  8288. active connections, that is at least one connection that
  8289. the handler will attempt to send a message to.
  8290. </para>
  8291. </remarks>
  8292. </member>
  8293. <member name="T:log4net.Appender.TelnetAppender.SocketHandler.SocketClient">
  8294. <summary>
  8295. Class that represents a client connected to this handler
  8296. </summary>
  8297. <remarks>
  8298. <para>
  8299. Class that represents a client connected to this handler
  8300. </para>
  8301. </remarks>
  8302. </member>
  8303. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.SocketClient.#ctor(System.Net.Sockets.Socket)">
  8304. <summary>
  8305. Create this <see cref="T:log4net.Appender.TelnetAppender.SocketHandler.SocketClient"/> for the specified <see cref="T:System.Net.Sockets.Socket"/>
  8306. </summary>
  8307. <param name="socket">the client's socket</param>
  8308. <remarks>
  8309. <para>
  8310. Opens a stream writer on the socket.
  8311. </para>
  8312. </remarks>
  8313. </member>
  8314. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.SocketClient.Send(System.String)">
  8315. <summary>
  8316. Write a string to the client
  8317. </summary>
  8318. <param name="message">string to send</param>
  8319. <remarks>
  8320. <para>
  8321. Write a string to the client
  8322. </para>
  8323. </remarks>
  8324. </member>
  8325. <member name="M:log4net.Appender.TelnetAppender.SocketHandler.SocketClient.Dispose">
  8326. <summary>
  8327. Cleanup the clients connection
  8328. </summary>
  8329. <remarks>
  8330. <para>
  8331. Close the socket connection.
  8332. </para>
  8333. </remarks>
  8334. </member>
  8335. <member name="T:log4net.Appender.TraceAppender">
  8336. <summary>
  8337. Appends log events to the <see cref="T:System.Diagnostics.Trace"/> system.
  8338. </summary>
  8339. <remarks>
  8340. <para>
  8341. The application configuration file can be used to control what listeners
  8342. are actually used. See the MSDN documentation for the
  8343. <see cref="T:System.Diagnostics.Trace"/> class for details on configuring the
  8344. trace system.
  8345. </para>
  8346. <para>
  8347. Events are written using the <c>System.Diagnostics.Trace.Write(string,string)</c>
  8348. method. The event's logger name is the default value for the category parameter
  8349. of the Write method.
  8350. </para>
  8351. <para>
  8352. <b>Compact Framework</b><br/>
  8353. The Compact Framework does not support the <see cref="T:System.Diagnostics.Trace"/>
  8354. class for any operation except <c>Assert</c>. When using the Compact Framework this
  8355. appender will write to the <see cref="T:System.Diagnostics.Debug"/> system rather than
  8356. the Trace system. This appender will therefore behave like the <see cref="T:log4net.Appender.DebugAppender"/>.
  8357. </para>
  8358. </remarks>
  8359. <author>Douglas de la Torre</author>
  8360. <author>Nicko Cadell</author>
  8361. <author>Gert Driesen</author>
  8362. <author>Ron Grabowski</author>
  8363. </member>
  8364. <member name="M:log4net.Appender.TraceAppender.#ctor">
  8365. <summary>
  8366. Initializes a new instance of the <see cref="T:log4net.Appender.TraceAppender"/>.
  8367. </summary>
  8368. <remarks>
  8369. <para>
  8370. Default constructor.
  8371. </para>
  8372. </remarks>
  8373. </member>
  8374. <member name="M:log4net.Appender.TraceAppender.#ctor(log4net.Layout.ILayout)">
  8375. <summary>
  8376. Initializes a new instance of the <see cref="T:log4net.Appender.TraceAppender"/>
  8377. with a specified layout.
  8378. </summary>
  8379. <param name="layout">The layout to use with this appender.</param>
  8380. <remarks>
  8381. <para>
  8382. Obsolete constructor.
  8383. </para>
  8384. </remarks>
  8385. </member>
  8386. <member name="M:log4net.Appender.TraceAppender.Append(log4net.Core.LoggingEvent)">
  8387. <summary>
  8388. Writes the logging event to the <see cref="T:System.Diagnostics.Trace"/> system.
  8389. </summary>
  8390. <param name="loggingEvent">The event to log.</param>
  8391. <remarks>
  8392. <para>
  8393. Writes the logging event to the <see cref="T:System.Diagnostics.Trace"/> system.
  8394. </para>
  8395. </remarks>
  8396. </member>
  8397. <member name="F:log4net.Appender.TraceAppender.m_immediateFlush">
  8398. <summary>
  8399. Immediate flush means that the underlying writer or output stream
  8400. will be flushed at the end of each append operation.
  8401. </summary>
  8402. <remarks>
  8403. <para>
  8404. Immediate flush is slower but ensures that each append request is
  8405. actually written. If <see cref="P:log4net.Appender.TraceAppender.ImmediateFlush"/> is set to
  8406. <c>false</c>, then there is a good chance that the last few
  8407. logs events are not actually written to persistent media if and
  8408. when the application crashes.
  8409. </para>
  8410. <para>
  8411. The default value is <c>true</c>.</para>
  8412. </remarks>
  8413. </member>
  8414. <member name="F:log4net.Appender.TraceAppender.m_category">
  8415. <summary>
  8416. Defaults to %logger
  8417. </summary>
  8418. </member>
  8419. <member name="P:log4net.Appender.TraceAppender.ImmediateFlush">
  8420. <summary>
  8421. Gets or sets a value that indicates whether the appender will
  8422. flush at the end of each write.
  8423. </summary>
  8424. <remarks>
  8425. <para>The default behavior is to flush at the end of each
  8426. write. If the option is set to<c>false</c>, then the underlying
  8427. stream can defer writing to physical medium to a later time.
  8428. </para>
  8429. <para>
  8430. Avoiding the flush operation at the end of each append results
  8431. in a performance gain of 10 to 20 percent. However, there is safety
  8432. trade-off involved in skipping flushing. Indeed, when flushing is
  8433. skipped, then it is likely that the last few log events will not
  8434. be recorded on disk when the application exits. This is a high
  8435. price to pay even for a 20% performance gain.
  8436. </para>
  8437. </remarks>
  8438. </member>
  8439. <member name="P:log4net.Appender.TraceAppender.Category">
  8440. <summary>
  8441. The category parameter sent to the Trace method.
  8442. </summary>
  8443. <remarks>
  8444. <para>
  8445. Defaults to %logger which will use the logger name of the current
  8446. <see cref="T:log4net.Core.LoggingEvent"/> as the category parameter.
  8447. </para>
  8448. <para>
  8449. </para>
  8450. </remarks>
  8451. </member>
  8452. <member name="P:log4net.Appender.TraceAppender.RequiresLayout">
  8453. <summary>
  8454. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  8455. </summary>
  8456. <value><c>true</c></value>
  8457. <remarks>
  8458. <para>
  8459. This appender requires a <see cref="N:log4net.Layout"/> to be set.
  8460. </para>
  8461. </remarks>
  8462. </member>
  8463. <member name="T:log4net.Config.AliasDomainAttribute">
  8464. <summary>
  8465. Assembly level attribute that specifies a domain to alias to this assembly's repository.
  8466. </summary>
  8467. <remarks>
  8468. <para>
  8469. <b>AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.</b>
  8470. </para>
  8471. <para>
  8472. An assembly's logger repository is defined by its <see cref="T:log4net.Config.DomainAttribute"/>,
  8473. however this can be overridden by an assembly loaded before the target assembly.
  8474. </para>
  8475. <para>
  8476. An assembly can alias another assembly's domain to its repository by
  8477. specifying this attribute with the name of the target domain.
  8478. </para>
  8479. <para>
  8480. This attribute can only be specified on the assembly and may be used
  8481. as many times as necessary to alias all the required domains.
  8482. </para>
  8483. </remarks>
  8484. <author>Nicko Cadell</author>
  8485. <author>Gert Driesen</author>
  8486. </member>
  8487. <member name="T:log4net.Config.AliasRepositoryAttribute">
  8488. <summary>
  8489. Assembly level attribute that specifies a repository to alias to this assembly's repository.
  8490. </summary>
  8491. <remarks>
  8492. <para>
  8493. An assembly's logger repository is defined by its <see cref="T:log4net.Config.RepositoryAttribute"/>,
  8494. however this can be overridden by an assembly loaded before the target assembly.
  8495. </para>
  8496. <para>
  8497. An assembly can alias another assembly's repository to its repository by
  8498. specifying this attribute with the name of the target repository.
  8499. </para>
  8500. <para>
  8501. This attribute can only be specified on the assembly and may be used
  8502. as many times as necessary to alias all the required repositories.
  8503. </para>
  8504. </remarks>
  8505. <author>Nicko Cadell</author>
  8506. <author>Gert Driesen</author>
  8507. </member>
  8508. <member name="M:log4net.Config.AliasRepositoryAttribute.#ctor(System.String)">
  8509. <summary>
  8510. Initializes a new instance of the <see cref="T:log4net.Config.AliasRepositoryAttribute"/> class with
  8511. the specified repository to alias to this assembly's repository.
  8512. </summary>
  8513. <param name="name">The repository to alias to this assemby's repository.</param>
  8514. <remarks>
  8515. <para>
  8516. Initializes a new instance of the <see cref="T:log4net.Config.AliasRepositoryAttribute"/> class with
  8517. the specified repository to alias to this assembly's repository.
  8518. </para>
  8519. </remarks>
  8520. </member>
  8521. <member name="P:log4net.Config.AliasRepositoryAttribute.Name">
  8522. <summary>
  8523. Gets or sets the repository to alias to this assemby's repository.
  8524. </summary>
  8525. <value>
  8526. The repository to alias to this assemby's repository.
  8527. </value>
  8528. <remarks>
  8529. <para>
  8530. The name of the repository to alias to this assemby's repository.
  8531. </para>
  8532. </remarks>
  8533. </member>
  8534. <member name="M:log4net.Config.AliasDomainAttribute.#ctor(System.String)">
  8535. <summary>
  8536. Initializes a new instance of the <see cref="T:log4net.Config.AliasDomainAttribute"/> class with
  8537. the specified domain to alias to this assembly's repository.
  8538. </summary>
  8539. <param name="name">The domain to alias to this assemby's repository.</param>
  8540. <remarks>
  8541. <para>
  8542. Obsolete. Use <see cref="T:log4net.Config.AliasRepositoryAttribute"/> instead of <see cref="T:log4net.Config.AliasDomainAttribute"/>.
  8543. </para>
  8544. </remarks>
  8545. </member>
  8546. <member name="T:log4net.Config.BasicConfigurator">
  8547. <summary>
  8548. Use this class to quickly configure a <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
  8549. </summary>
  8550. <remarks>
  8551. <para>
  8552. Allows very simple programmatic configuration of log4net.
  8553. </para>
  8554. <para>
  8555. Only one appender can be configured using this configurator.
  8556. The appender is set at the root of the hierarchy and all logging
  8557. events will be delivered to that appender.
  8558. </para>
  8559. <para>
  8560. Appenders can also implement the <see cref="T:log4net.Core.IOptionHandler"/> interface. Therefore
  8561. they would require that the <see cref="M:log4net.Core.IOptionHandler.ActivateOptions()"/> method
  8562. be called after the appenders properties have been configured.
  8563. </para>
  8564. </remarks>
  8565. <author>Nicko Cadell</author>
  8566. <author>Gert Driesen</author>
  8567. </member>
  8568. <member name="F:log4net.Config.BasicConfigurator.declaringType">
  8569. <summary>
  8570. The fully qualified type of the BasicConfigurator class.
  8571. </summary>
  8572. <remarks>
  8573. Used by the internal logger to record the Type of the
  8574. log message.
  8575. </remarks>
  8576. </member>
  8577. <member name="M:log4net.Config.BasicConfigurator.#ctor">
  8578. <summary>
  8579. Initializes a new instance of the <see cref="T:log4net.Config.BasicConfigurator"/> class.
  8580. </summary>
  8581. <remarks>
  8582. <para>
  8583. Uses a private access modifier to prevent instantiation of this class.
  8584. </para>
  8585. </remarks>
  8586. </member>
  8587. <member name="M:log4net.Config.BasicConfigurator.Configure">
  8588. <summary>
  8589. Initializes the log4net system with a default configuration.
  8590. </summary>
  8591. <remarks>
  8592. <para>
  8593. Initializes the log4net logging system using a <see cref="T:log4net.Appender.ConsoleAppender"/>
  8594. that will write to <c>Console.Out</c>. The log messages are
  8595. formatted using the <see cref="T:log4net.Layout.PatternLayout"/> layout object
  8596. with the <see cref="F:log4net.Layout.PatternLayout.DetailConversionPattern"/>
  8597. layout style.
  8598. </para>
  8599. </remarks>
  8600. </member>
  8601. <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Appender.IAppender)">
  8602. <summary>
  8603. Initializes the log4net system using the specified appender.
  8604. </summary>
  8605. <param name="appender">The appender to use to log all logging events.</param>
  8606. <remarks>
  8607. <para>
  8608. Initializes the log4net system using the specified appender.
  8609. </para>
  8610. </remarks>
  8611. </member>
  8612. <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Appender.IAppender[])">
  8613. <summary>
  8614. Initializes the log4net system using the specified appenders.
  8615. </summary>
  8616. <param name="appenders">The appenders to use to log all logging events.</param>
  8617. <remarks>
  8618. <para>
  8619. Initializes the log4net system using the specified appenders.
  8620. </para>
  8621. </remarks>
  8622. </member>
  8623. <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Repository.ILoggerRepository)">
  8624. <summary>
  8625. Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> with a default configuration.
  8626. </summary>
  8627. <param name="repository">The repository to configure.</param>
  8628. <remarks>
  8629. <para>
  8630. Initializes the specified repository using a <see cref="T:log4net.Appender.ConsoleAppender"/>
  8631. that will write to <c>Console.Out</c>. The log messages are
  8632. formatted using the <see cref="T:log4net.Layout.PatternLayout"/> layout object
  8633. with the <see cref="F:log4net.Layout.PatternLayout.DetailConversionPattern"/>
  8634. layout style.
  8635. </para>
  8636. </remarks>
  8637. </member>
  8638. <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Repository.ILoggerRepository,log4net.Appender.IAppender)">
  8639. <summary>
  8640. Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified appender.
  8641. </summary>
  8642. <param name="repository">The repository to configure.</param>
  8643. <param name="appender">The appender to use to log all logging events.</param>
  8644. <remarks>
  8645. <para>
  8646. Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified appender.
  8647. </para>
  8648. </remarks>
  8649. </member>
  8650. <member name="M:log4net.Config.BasicConfigurator.Configure(log4net.Repository.ILoggerRepository,log4net.Appender.IAppender[])">
  8651. <summary>
  8652. Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified appenders.
  8653. </summary>
  8654. <param name="repository">The repository to configure.</param>
  8655. <param name="appenders">The appenders to use to log all logging events.</param>
  8656. <remarks>
  8657. <para>
  8658. Initializes the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified appender.
  8659. </para>
  8660. </remarks>
  8661. </member>
  8662. <member name="T:log4net.Config.ConfiguratorAttribute">
  8663. <summary>
  8664. Base class for all log4net configuration attributes.
  8665. </summary>
  8666. <remarks>
  8667. This is an abstract class that must be extended by
  8668. specific configurators. This attribute allows the
  8669. configurator to be parameterized by an assembly level
  8670. attribute.
  8671. </remarks>
  8672. <author>Nicko Cadell</author>
  8673. <author>Gert Driesen</author>
  8674. </member>
  8675. <member name="M:log4net.Config.ConfiguratorAttribute.#ctor(System.Int32)">
  8676. <summary>
  8677. Constructor used by subclasses.
  8678. </summary>
  8679. <param name="priority">the ordering priority for this configurator</param>
  8680. <remarks>
  8681. <para>
  8682. The <paramref name="priority"/> is used to order the configurator
  8683. attributes before they are invoked. Higher priority configurators are executed
  8684. before lower priority ones.
  8685. </para>
  8686. </remarks>
  8687. </member>
  8688. <member name="M:log4net.Config.ConfiguratorAttribute.Configure(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  8689. <summary>
  8690. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
  8691. </summary>
  8692. <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
  8693. <param name="targetRepository">The repository to configure.</param>
  8694. <remarks>
  8695. <para>
  8696. Abstract method implemented by a subclass. When this method is called
  8697. the subclass should configure the <paramref name="targetRepository"/>.
  8698. </para>
  8699. </remarks>
  8700. </member>
  8701. <member name="M:log4net.Config.ConfiguratorAttribute.CompareTo(System.Object)">
  8702. <summary>
  8703. Compare this instance to another ConfiguratorAttribute
  8704. </summary>
  8705. <param name="obj">the object to compare to</param>
  8706. <returns>see <see cref="M:System.IComparable.CompareTo(System.Object)"/></returns>
  8707. <remarks>
  8708. <para>
  8709. Compares the priorities of the two <see cref="T:log4net.Config.ConfiguratorAttribute"/> instances.
  8710. Sorts by priority in descending order. Objects with the same priority are
  8711. randomly ordered.
  8712. </para>
  8713. </remarks>
  8714. </member>
  8715. <member name="T:log4net.Config.DomainAttribute">
  8716. <summary>
  8717. Assembly level attribute that specifies the logging domain for the assembly.
  8718. </summary>
  8719. <remarks>
  8720. <para>
  8721. <b>DomainAttribute is obsolete. Use RepositoryAttribute instead of DomainAttribute.</b>
  8722. </para>
  8723. <para>
  8724. Assemblies are mapped to logging domains. Each domain has its own
  8725. logging repository. This attribute specified on the assembly controls
  8726. the configuration of the domain. The <see cref="P:log4net.Config.RepositoryAttribute.Name"/> property specifies the name
  8727. of the domain that this assembly is a part of. The <see cref="P:log4net.Config.RepositoryAttribute.RepositoryType"/>
  8728. specifies the type of the repository objects to create for the domain. If
  8729. this attribute is not specified and a <see cref="P:log4net.Config.RepositoryAttribute.Name"/> is not specified
  8730. then the assembly will be part of the default shared logging domain.
  8731. </para>
  8732. <para>
  8733. This attribute can only be specified on the assembly and may only be used
  8734. once per assembly.
  8735. </para>
  8736. </remarks>
  8737. <author>Nicko Cadell</author>
  8738. <author>Gert Driesen</author>
  8739. </member>
  8740. <member name="T:log4net.Config.RepositoryAttribute">
  8741. <summary>
  8742. Assembly level attribute that specifies the logging repository for the assembly.
  8743. </summary>
  8744. <remarks>
  8745. <para>
  8746. Assemblies are mapped to logging repository. This attribute specified
  8747. on the assembly controls
  8748. the configuration of the repository. The <see cref="P:log4net.Config.RepositoryAttribute.Name"/> property specifies the name
  8749. of the repository that this assembly is a part of. The <see cref="P:log4net.Config.RepositoryAttribute.RepositoryType"/>
  8750. specifies the type of the <see cref="T:log4net.Repository.ILoggerRepository"/> object
  8751. to create for the assembly. If this attribute is not specified or a <see cref="P:log4net.Config.RepositoryAttribute.Name"/>
  8752. is not specified then the assembly will be part of the default shared logging repository.
  8753. </para>
  8754. <para>
  8755. This attribute can only be specified on the assembly and may only be used
  8756. once per assembly.
  8757. </para>
  8758. </remarks>
  8759. <author>Nicko Cadell</author>
  8760. <author>Gert Driesen</author>
  8761. </member>
  8762. <member name="M:log4net.Config.RepositoryAttribute.#ctor">
  8763. <summary>
  8764. Initializes a new instance of the <see cref="T:log4net.Config.RepositoryAttribute"/> class.
  8765. </summary>
  8766. <remarks>
  8767. <para>
  8768. Default constructor.
  8769. </para>
  8770. </remarks>
  8771. </member>
  8772. <member name="M:log4net.Config.RepositoryAttribute.#ctor(System.String)">
  8773. <summary>
  8774. Initialize a new instance of the <see cref="T:log4net.Config.RepositoryAttribute"/> class
  8775. with the name of the repository.
  8776. </summary>
  8777. <param name="name">The name of the repository.</param>
  8778. <remarks>
  8779. <para>
  8780. Initialize the attribute with the name for the assembly's repository.
  8781. </para>
  8782. </remarks>
  8783. </member>
  8784. <member name="P:log4net.Config.RepositoryAttribute.Name">
  8785. <summary>
  8786. Gets or sets the name of the logging repository.
  8787. </summary>
  8788. <value>
  8789. The string name to use as the name of the repository associated with this
  8790. assembly.
  8791. </value>
  8792. <remarks>
  8793. <para>
  8794. This value does not have to be unique. Several assemblies can share the
  8795. same repository. They will share the logging configuration of the repository.
  8796. </para>
  8797. </remarks>
  8798. </member>
  8799. <member name="P:log4net.Config.RepositoryAttribute.RepositoryType">
  8800. <summary>
  8801. Gets or sets the type of repository to create for this assembly.
  8802. </summary>
  8803. <value>
  8804. The type of repository to create for this assembly.
  8805. </value>
  8806. <remarks>
  8807. <para>
  8808. The type of the repository to create for the assembly.
  8809. The type must implement the <see cref="T:log4net.Repository.ILoggerRepository"/>
  8810. interface.
  8811. </para>
  8812. <para>
  8813. This will be the type of repository created when
  8814. the repository is created. If multiple assemblies reference the
  8815. same repository then the repository is only created once using the
  8816. <see cref="P:log4net.Config.RepositoryAttribute.RepositoryType"/> of the first assembly to call into the
  8817. repository.
  8818. </para>
  8819. </remarks>
  8820. </member>
  8821. <member name="M:log4net.Config.DomainAttribute.#ctor">
  8822. <summary>
  8823. Initializes a new instance of the <see cref="T:log4net.Config.DomainAttribute"/> class.
  8824. </summary>
  8825. <remarks>
  8826. <para>
  8827. Obsolete. Use RepositoryAttribute instead of DomainAttribute.
  8828. </para>
  8829. </remarks>
  8830. </member>
  8831. <member name="M:log4net.Config.DomainAttribute.#ctor(System.String)">
  8832. <summary>
  8833. Initialize a new instance of the <see cref="T:log4net.Config.DomainAttribute"/> class
  8834. with the name of the domain.
  8835. </summary>
  8836. <param name="name">The name of the domain.</param>
  8837. <remarks>
  8838. <para>
  8839. Obsolete. Use RepositoryAttribute instead of DomainAttribute.
  8840. </para>
  8841. </remarks>
  8842. </member>
  8843. <member name="T:log4net.Config.DOMConfigurator">
  8844. <summary>
  8845. Use this class to initialize the log4net environment using an Xml tree.
  8846. </summary>
  8847. <remarks>
  8848. <para>
  8849. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8850. </para>
  8851. <para>
  8852. Configures a <see cref="T:log4net.Repository.ILoggerRepository"/> using an Xml tree.
  8853. </para>
  8854. </remarks>
  8855. <author>Nicko Cadell</author>
  8856. <author>Gert Driesen</author>
  8857. </member>
  8858. <member name="M:log4net.Config.DOMConfigurator.#ctor">
  8859. <summary>
  8860. Private constructor
  8861. </summary>
  8862. </member>
  8863. <member name="M:log4net.Config.DOMConfigurator.Configure">
  8864. <summary>
  8865. Automatically configures the log4net system based on the
  8866. application's configuration settings.
  8867. </summary>
  8868. <remarks>
  8869. <para>
  8870. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8871. </para>
  8872. Each application has a configuration file. This has the
  8873. same name as the application with '.config' appended.
  8874. This file is XML and calling this function prompts the
  8875. configurator to look in that file for a section called
  8876. <c>log4net</c> that contains the configuration data.
  8877. </remarks>
  8878. </member>
  8879. <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository)">
  8880. <summary>
  8881. Automatically configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using settings
  8882. stored in the application's configuration file.
  8883. </summary>
  8884. <remarks>
  8885. <para>
  8886. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8887. </para>
  8888. Each application has a configuration file. This has the
  8889. same name as the application with '.config' appended.
  8890. This file is XML and calling this function prompts the
  8891. configurator to look in that file for a section called
  8892. <c>log4net</c> that contains the configuration data.
  8893. </remarks>
  8894. <param name="repository">The repository to configure.</param>
  8895. </member>
  8896. <member name="M:log4net.Config.DOMConfigurator.Configure(System.Xml.XmlElement)">
  8897. <summary>
  8898. Configures log4net using a <c>log4net</c> element
  8899. </summary>
  8900. <remarks>
  8901. <para>
  8902. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8903. </para>
  8904. Loads the log4net configuration from the XML element
  8905. supplied as <paramref name="element"/>.
  8906. </remarks>
  8907. <param name="element">The element to parse.</param>
  8908. </member>
  8909. <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)">
  8910. <summary>
  8911. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified XML
  8912. element.
  8913. </summary>
  8914. <remarks>
  8915. <para>
  8916. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8917. </para>
  8918. Loads the log4net configuration from the XML element
  8919. supplied as <paramref name="element"/>.
  8920. </remarks>
  8921. <param name="repository">The repository to configure.</param>
  8922. <param name="element">The element to parse.</param>
  8923. </member>
  8924. <member name="M:log4net.Config.DOMConfigurator.Configure(System.IO.FileInfo)">
  8925. <summary>
  8926. Configures log4net using the specified configuration file.
  8927. </summary>
  8928. <param name="configFile">The XML file to load the configuration from.</param>
  8929. <remarks>
  8930. <para>
  8931. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8932. </para>
  8933. <para>
  8934. The configuration file must be valid XML. It must contain
  8935. at least one element called <c>log4net</c> that holds
  8936. the log4net configuration data.
  8937. </para>
  8938. <para>
  8939. The log4net configuration file can possible be specified in the application's
  8940. configuration file (either <c>MyAppName.exe.config</c> for a
  8941. normal application on <c>Web.config</c> for an ASP.NET application).
  8942. </para>
  8943. <example>
  8944. The following example configures log4net using a configuration file, of which the
  8945. location is stored in the application's configuration file :
  8946. </example>
  8947. <code lang="C#">
  8948. using log4net.Config;
  8949. using System.IO;
  8950. using System.Configuration;
  8951. ...
  8952. DOMConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
  8953. </code>
  8954. <para>
  8955. In the <c>.config</c> file, the path to the log4net can be specified like this :
  8956. </para>
  8957. <code lang="XML" escaped="true">
  8958. <configuration>
  8959. <appSettings>
  8960. <add key="log4net-config-file" value="log.config"/>
  8961. </appSettings>
  8962. </configuration>
  8963. </code>
  8964. </remarks>
  8965. </member>
  8966. <member name="M:log4net.Config.DOMConfigurator.Configure(System.IO.Stream)">
  8967. <summary>
  8968. Configures log4net using the specified configuration file.
  8969. </summary>
  8970. <param name="configStream">A stream to load the XML configuration from.</param>
  8971. <remarks>
  8972. <para>
  8973. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8974. </para>
  8975. <para>
  8976. The configuration data must be valid XML. It must contain
  8977. at least one element called <c>log4net</c> that holds
  8978. the log4net configuration data.
  8979. </para>
  8980. <para>
  8981. Note that this method will NOT close the stream parameter.
  8982. </para>
  8983. </remarks>
  8984. </member>
  8985. <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
  8986. <summary>
  8987. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
  8988. file.
  8989. </summary>
  8990. <param name="repository">The repository to configure.</param>
  8991. <param name="configFile">The XML file to load the configuration from.</param>
  8992. <remarks>
  8993. <para>
  8994. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  8995. </para>
  8996. <para>
  8997. The configuration file must be valid XML. It must contain
  8998. at least one element called <c>log4net</c> that holds
  8999. the configuration data.
  9000. </para>
  9001. <para>
  9002. The log4net configuration file can possible be specified in the application's
  9003. configuration file (either <c>MyAppName.exe.config</c> for a
  9004. normal application on <c>Web.config</c> for an ASP.NET application).
  9005. </para>
  9006. <example>
  9007. The following example configures log4net using a configuration file, of which the
  9008. location is stored in the application's configuration file :
  9009. </example>
  9010. <code lang="C#">
  9011. using log4net.Config;
  9012. using System.IO;
  9013. using System.Configuration;
  9014. ...
  9015. DOMConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
  9016. </code>
  9017. <para>
  9018. In the <c>.config</c> file, the path to the log4net can be specified like this :
  9019. </para>
  9020. <code lang="XML" escaped="true">
  9021. <configuration>
  9022. <appSettings>
  9023. <add key="log4net-config-file" value="log.config"/>
  9024. </appSettings>
  9025. </configuration>
  9026. </code>
  9027. </remarks>
  9028. </member>
  9029. <member name="M:log4net.Config.DOMConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.Stream)">
  9030. <summary>
  9031. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
  9032. file.
  9033. </summary>
  9034. <param name="repository">The repository to configure.</param>
  9035. <param name="configStream">The stream to load the XML configuration from.</param>
  9036. <remarks>
  9037. <para>
  9038. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  9039. </para>
  9040. <para>
  9041. The configuration data must be valid XML. It must contain
  9042. at least one element called <c>log4net</c> that holds
  9043. the configuration data.
  9044. </para>
  9045. <para>
  9046. Note that this method will NOT close the stream parameter.
  9047. </para>
  9048. </remarks>
  9049. </member>
  9050. <member name="M:log4net.Config.DOMConfigurator.ConfigureAndWatch(System.IO.FileInfo)">
  9051. <summary>
  9052. Configures log4net using the file specified, monitors the file for changes
  9053. and reloads the configuration if a change is detected.
  9054. </summary>
  9055. <param name="configFile">The XML file to load the configuration from.</param>
  9056. <remarks>
  9057. <para>
  9058. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  9059. </para>
  9060. <para>
  9061. The configuration file must be valid XML. It must contain
  9062. at least one element called <c>log4net</c> that holds
  9063. the configuration data.
  9064. </para>
  9065. <para>
  9066. The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
  9067. and depends on the behavior of that class.
  9068. </para>
  9069. <para>
  9070. For more information on how to configure log4net using
  9071. a separate configuration file, see <see cref="M:Configure(FileInfo)"/>.
  9072. </para>
  9073. </remarks>
  9074. <seealso cref="M:Configure(FileInfo)"/>
  9075. </member>
  9076. <member name="M:log4net.Config.DOMConfigurator.ConfigureAndWatch(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
  9077. <summary>
  9078. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the file specified,
  9079. monitors the file for changes and reloads the configuration if a change
  9080. is detected.
  9081. </summary>
  9082. <param name="repository">The repository to configure.</param>
  9083. <param name="configFile">The XML file to load the configuration from.</param>
  9084. <remarks>
  9085. <para>
  9086. <b>DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.</b>
  9087. </para>
  9088. <para>
  9089. The configuration file must be valid XML. It must contain
  9090. at least one element called <c>log4net</c> that holds
  9091. the configuration data.
  9092. </para>
  9093. <para>
  9094. The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
  9095. and depends on the behavior of that class.
  9096. </para>
  9097. <para>
  9098. For more information on how to configure log4net using
  9099. a separate configuration file, see <see cref="M:Configure(FileInfo)"/>.
  9100. </para>
  9101. </remarks>
  9102. <seealso cref="M:Configure(FileInfo)"/>
  9103. </member>
  9104. <member name="T:log4net.Config.DOMConfiguratorAttribute">
  9105. <summary>
  9106. Assembly level attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>.
  9107. </summary>
  9108. <remarks>
  9109. <para>
  9110. <b>AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.</b>
  9111. </para>
  9112. <para>
  9113. This attribute may only be used at the assembly scope and can only
  9114. be used once per assembly.
  9115. </para>
  9116. <para>
  9117. Use this attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>
  9118. without calling one of the <see cref="M:XmlConfigurator.Configure()"/>
  9119. methods.
  9120. </para>
  9121. </remarks>
  9122. <author>Nicko Cadell</author>
  9123. <author>Gert Driesen</author>
  9124. </member>
  9125. <member name="T:log4net.Config.XmlConfiguratorAttribute">
  9126. <summary>
  9127. Assembly level attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>.
  9128. </summary>
  9129. <remarks>
  9130. <para>
  9131. This attribute may only be used at the assembly scope and can only
  9132. be used once per assembly.
  9133. </para>
  9134. <para>
  9135. Use this attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>
  9136. without calling one of the <see cref="M:XmlConfigurator.Configure()"/>
  9137. methods.
  9138. </para>
  9139. <para>
  9140. If neither of the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> or <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/>
  9141. properties are set the configuration is loaded from the application's .config file.
  9142. If set the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> property takes priority over the
  9143. <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> property. The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> property
  9144. specifies a path to a file to load the config from. The path is relative to the
  9145. application's base directory; <see cref="P:System.AppDomain.BaseDirectory"/>.
  9146. The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> property is used as a postfix to the assembly file name.
  9147. The config file must be located in the application's base directory; <see cref="P:System.AppDomain.BaseDirectory"/>.
  9148. For example in a console application setting the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> to
  9149. <c>config</c> has the same effect as not specifying the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> or
  9150. <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> properties.
  9151. </para>
  9152. <para>
  9153. The <see cref="P:log4net.Config.XmlConfiguratorAttribute.Watch"/> property can be set to cause the <see cref="T:log4net.Config.XmlConfigurator"/>
  9154. to watch the configuration file for changes.
  9155. </para>
  9156. <note>
  9157. <para>
  9158. Log4net will only look for assembly level configuration attributes once.
  9159. When using the log4net assembly level attributes to control the configuration
  9160. of log4net you must ensure that the first call to any of the
  9161. <see cref="T:log4net.Core.LoggerManager"/> methods is made from the assembly with the configuration
  9162. attributes.
  9163. </para>
  9164. <para>
  9165. If you cannot guarantee the order in which log4net calls will be made from
  9166. different assemblies you must use programmatic configuration instead, i.e.
  9167. call the <see cref="M:XmlConfigurator.Configure()"/> method directly.
  9168. </para>
  9169. </note>
  9170. </remarks>
  9171. <author>Nicko Cadell</author>
  9172. <author>Gert Driesen</author>
  9173. </member>
  9174. <member name="M:log4net.Config.XmlConfiguratorAttribute.#ctor">
  9175. <summary>
  9176. Default constructor
  9177. </summary>
  9178. <remarks>
  9179. <para>
  9180. Default constructor
  9181. </para>
  9182. </remarks>
  9183. </member>
  9184. <member name="M:log4net.Config.XmlConfiguratorAttribute.Configure(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  9185. <summary>
  9186. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
  9187. </summary>
  9188. <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
  9189. <param name="targetRepository">The repository to configure.</param>
  9190. <remarks>
  9191. <para>
  9192. Configure the repository using the <see cref="T:log4net.Config.XmlConfigurator"/>.
  9193. The <paramref name="targetRepository"/> specified must extend the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>
  9194. class otherwise the <see cref="T:log4net.Config.XmlConfigurator"/> will not be able to
  9195. configure it.
  9196. </para>
  9197. </remarks>
  9198. <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="targetRepository"/> does not extend <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.</exception>
  9199. </member>
  9200. <member name="M:log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  9201. <summary>
  9202. Attempt to load configuration from the local file system
  9203. </summary>
  9204. <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
  9205. <param name="targetRepository">The repository to configure.</param>
  9206. </member>
  9207. <member name="M:log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
  9208. <summary>
  9209. Configure the specified repository using a <see cref="T:System.IO.FileInfo"/>
  9210. </summary>
  9211. <param name="targetRepository">The repository to configure.</param>
  9212. <param name="configFile">the FileInfo pointing to the config file</param>
  9213. </member>
  9214. <member name="M:log4net.Config.XmlConfiguratorAttribute.ConfigureFromUri(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  9215. <summary>
  9216. Attempt to load configuration from a URI
  9217. </summary>
  9218. <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
  9219. <param name="targetRepository">The repository to configure.</param>
  9220. </member>
  9221. <member name="F:log4net.Config.XmlConfiguratorAttribute.declaringType">
  9222. <summary>
  9223. The fully qualified type of the XmlConfiguratorAttribute class.
  9224. </summary>
  9225. <remarks>
  9226. Used by the internal logger to record the Type of the
  9227. log message.
  9228. </remarks>
  9229. </member>
  9230. <member name="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile">
  9231. <summary>
  9232. Gets or sets the filename of the configuration file.
  9233. </summary>
  9234. <value>
  9235. The filename of the configuration file.
  9236. </value>
  9237. <remarks>
  9238. <para>
  9239. If specified, this is the name of the configuration file to use with
  9240. the <see cref="T:log4net.Config.XmlConfigurator"/>. This file path is relative to the
  9241. <b>application base</b> directory (<see cref="P:System.AppDomain.BaseDirectory"/>).
  9242. </para>
  9243. <para>
  9244. The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> takes priority over the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/>.
  9245. </para>
  9246. </remarks>
  9247. </member>
  9248. <member name="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension">
  9249. <summary>
  9250. Gets or sets the extension of the configuration file.
  9251. </summary>
  9252. <value>
  9253. The extension of the configuration file.
  9254. </value>
  9255. <remarks>
  9256. <para>
  9257. If specified this is the extension for the configuration file.
  9258. The path to the config file is built by using the <b>application
  9259. base</b> directory (<see cref="P:System.AppDomain.BaseDirectory"/>),
  9260. the <b>assembly file name</b> and the config file extension.
  9261. </para>
  9262. <para>
  9263. If the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/> is set to <c>MyExt</c> then
  9264. possible config file names would be: <c>MyConsoleApp.exe.MyExt</c> or
  9265. <c>MyClassLibrary.dll.MyExt</c>.
  9266. </para>
  9267. <para>
  9268. The <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFile"/> takes priority over the <see cref="P:log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension"/>.
  9269. </para>
  9270. </remarks>
  9271. </member>
  9272. <member name="P:log4net.Config.XmlConfiguratorAttribute.Watch">
  9273. <summary>
  9274. Gets or sets a value indicating whether to watch the configuration file.
  9275. </summary>
  9276. <value>
  9277. <c>true</c> if the configuration should be watched, <c>false</c> otherwise.
  9278. </value>
  9279. <remarks>
  9280. <para>
  9281. If this flag is specified and set to <c>true</c> then the framework
  9282. will watch the configuration file and will reload the config each time
  9283. the file is modified.
  9284. </para>
  9285. <para>
  9286. The config file can only be watched if it is loaded from local disk.
  9287. In a No-Touch (Smart Client) deployment where the application is downloaded
  9288. from a web server the config file may not reside on the local disk
  9289. and therefore it may not be able to watch it.
  9290. </para>
  9291. <note>
  9292. Watching configuration is not supported on the SSCLI.
  9293. </note>
  9294. </remarks>
  9295. </member>
  9296. <member name="T:log4net.Config.Log4NetConfigurationSectionHandler">
  9297. <summary>
  9298. Class to register for the log4net section of the configuration file
  9299. </summary>
  9300. <remarks>
  9301. The log4net section of the configuration file needs to have a section
  9302. handler registered. This is the section handler used. It simply returns
  9303. the XML element that is the root of the section.
  9304. </remarks>
  9305. <example>
  9306. Example of registering the log4net section handler :
  9307. <code lang="XML" escaped="true">
  9308. <configuration>
  9309. <configSections>
  9310. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  9311. </configSections>
  9312. <log4net>
  9313. log4net configuration XML goes here
  9314. </log4net>
  9315. </configuration>
  9316. </code>
  9317. </example>
  9318. <author>Nicko Cadell</author>
  9319. <author>Gert Driesen</author>
  9320. </member>
  9321. <member name="M:log4net.Config.Log4NetConfigurationSectionHandler.#ctor">
  9322. <summary>
  9323. Initializes a new instance of the <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> class.
  9324. </summary>
  9325. <remarks>
  9326. <para>
  9327. Default constructor.
  9328. </para>
  9329. </remarks>
  9330. </member>
  9331. <member name="M:log4net.Config.Log4NetConfigurationSectionHandler.Create(System.Object,System.Object,System.Xml.XmlNode)">
  9332. <summary>
  9333. Parses the configuration section.
  9334. </summary>
  9335. <param name="parent">The configuration settings in a corresponding parent configuration section.</param>
  9336. <param name="configContext">The configuration context when called from the ASP.NET configuration system. Otherwise, this parameter is reserved and is a null reference.</param>
  9337. <param name="section">The <see cref="T:System.Xml.XmlNode"/> for the log4net section.</param>
  9338. <returns>The <see cref="T:System.Xml.XmlNode"/> for the log4net section.</returns>
  9339. <remarks>
  9340. <para>
  9341. Returns the <see cref="T:System.Xml.XmlNode"/> containing the configuration data,
  9342. </para>
  9343. </remarks>
  9344. </member>
  9345. <member name="T:log4net.Config.PluginAttribute">
  9346. <summary>
  9347. Assembly level attribute that specifies a plugin to attach to
  9348. the repository.
  9349. </summary>
  9350. <remarks>
  9351. <para>
  9352. Specifies the type of a plugin to create and attach to the
  9353. assembly's repository. The plugin type must implement the
  9354. <see cref="T:log4net.Plugin.IPlugin"/> interface.
  9355. </para>
  9356. </remarks>
  9357. <author>Nicko Cadell</author>
  9358. <author>Gert Driesen</author>
  9359. </member>
  9360. <member name="T:log4net.Plugin.IPluginFactory">
  9361. <summary>
  9362. Interface used to create plugins.
  9363. </summary>
  9364. <remarks>
  9365. <para>
  9366. Interface used to create a plugin.
  9367. </para>
  9368. </remarks>
  9369. <author>Nicko Cadell</author>
  9370. <author>Gert Driesen</author>
  9371. </member>
  9372. <member name="M:log4net.Plugin.IPluginFactory.CreatePlugin">
  9373. <summary>
  9374. Creates the plugin object.
  9375. </summary>
  9376. <returns>the new plugin instance</returns>
  9377. <remarks>
  9378. <para>
  9379. Create and return a new plugin instance.
  9380. </para>
  9381. </remarks>
  9382. </member>
  9383. <member name="M:log4net.Config.PluginAttribute.#ctor(System.String)">
  9384. <summary>
  9385. Initializes a new instance of the <see cref="T:log4net.Config.PluginAttribute"/> class
  9386. with the specified type.
  9387. </summary>
  9388. <param name="typeName">The type name of plugin to create.</param>
  9389. <remarks>
  9390. <para>
  9391. Create the attribute with the plugin type specified.
  9392. </para>
  9393. <para>
  9394. Where possible use the constructor that takes a <see cref="T:System.Type"/>.
  9395. </para>
  9396. </remarks>
  9397. </member>
  9398. <member name="M:log4net.Config.PluginAttribute.#ctor(System.Type)">
  9399. <summary>
  9400. Initializes a new instance of the <see cref="T:log4net.Config.PluginAttribute"/> class
  9401. with the specified type.
  9402. </summary>
  9403. <param name="type">The type of plugin to create.</param>
  9404. <remarks>
  9405. <para>
  9406. Create the attribute with the plugin type specified.
  9407. </para>
  9408. </remarks>
  9409. </member>
  9410. <member name="M:log4net.Config.PluginAttribute.CreatePlugin">
  9411. <summary>
  9412. Creates the plugin object defined by this attribute.
  9413. </summary>
  9414. <remarks>
  9415. <para>
  9416. Creates the instance of the <see cref="T:log4net.Plugin.IPlugin"/> object as
  9417. specified by this attribute.
  9418. </para>
  9419. </remarks>
  9420. <returns>The plugin object.</returns>
  9421. </member>
  9422. <member name="M:log4net.Config.PluginAttribute.ToString">
  9423. <summary>
  9424. Returns a representation of the properties of this object.
  9425. </summary>
  9426. <remarks>
  9427. <para>
  9428. Overrides base class <see cref="M:Object.ToString()" /> method to
  9429. return a representation of the properties of this object.
  9430. </para>
  9431. </remarks>
  9432. <returns>A representation of the properties of this object</returns>
  9433. </member>
  9434. <member name="P:log4net.Config.PluginAttribute.Type">
  9435. <summary>
  9436. Gets or sets the type for the plugin.
  9437. </summary>
  9438. <value>
  9439. The type for the plugin.
  9440. </value>
  9441. <remarks>
  9442. <para>
  9443. The type for the plugin.
  9444. </para>
  9445. </remarks>
  9446. </member>
  9447. <member name="P:log4net.Config.PluginAttribute.TypeName">
  9448. <summary>
  9449. Gets or sets the type name for the plugin.
  9450. </summary>
  9451. <value>
  9452. The type name for the plugin.
  9453. </value>
  9454. <remarks>
  9455. <para>
  9456. The type name for the plugin.
  9457. </para>
  9458. <para>
  9459. Where possible use the <see cref="P:log4net.Config.PluginAttribute.Type"/> property instead.
  9460. </para>
  9461. </remarks>
  9462. </member>
  9463. <member name="T:log4net.Config.SecurityContextProviderAttribute">
  9464. <summary>
  9465. Assembly level attribute to configure the <see cref="T:log4net.Core.SecurityContextProvider"/>.
  9466. </summary>
  9467. <remarks>
  9468. <para>
  9469. This attribute may only be used at the assembly scope and can only
  9470. be used once per assembly.
  9471. </para>
  9472. <para>
  9473. Use this attribute to configure the <see cref="T:log4net.Config.XmlConfigurator"/>
  9474. without calling one of the <see cref="M:XmlConfigurator.Configure()"/>
  9475. methods.
  9476. </para>
  9477. </remarks>
  9478. <author>Nicko Cadell</author>
  9479. </member>
  9480. <member name="M:log4net.Config.SecurityContextProviderAttribute.#ctor(System.Type)">
  9481. <summary>
  9482. Construct provider attribute with type specified
  9483. </summary>
  9484. <param name="providerType">the type of the provider to use</param>
  9485. <remarks>
  9486. <para>
  9487. The provider specified must subclass the <see cref="T:log4net.Core.SecurityContextProvider"/>
  9488. class.
  9489. </para>
  9490. </remarks>
  9491. </member>
  9492. <member name="M:log4net.Config.SecurityContextProviderAttribute.Configure(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  9493. <summary>
  9494. Configures the SecurityContextProvider
  9495. </summary>
  9496. <param name="sourceAssembly">The assembly that this attribute was defined on.</param>
  9497. <param name="targetRepository">The repository to configure.</param>
  9498. <remarks>
  9499. <para>
  9500. Creates a provider instance from the <see cref="P:log4net.Config.SecurityContextProviderAttribute.ProviderType"/> specified.
  9501. Sets this as the default security context provider <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/>.
  9502. </para>
  9503. </remarks>
  9504. </member>
  9505. <member name="F:log4net.Config.SecurityContextProviderAttribute.declaringType">
  9506. <summary>
  9507. The fully qualified type of the SecurityContextProviderAttribute class.
  9508. </summary>
  9509. <remarks>
  9510. Used by the internal logger to record the Type of the
  9511. log message.
  9512. </remarks>
  9513. </member>
  9514. <member name="P:log4net.Config.SecurityContextProviderAttribute.ProviderType">
  9515. <summary>
  9516. Gets or sets the type of the provider to use.
  9517. </summary>
  9518. <value>
  9519. the type of the provider to use.
  9520. </value>
  9521. <remarks>
  9522. <para>
  9523. The provider specified must subclass the <see cref="T:log4net.Core.SecurityContextProvider"/>
  9524. class.
  9525. </para>
  9526. </remarks>
  9527. </member>
  9528. <member name="T:log4net.Config.XmlConfigurator">
  9529. <summary>
  9530. Use this class to initialize the log4net environment using an Xml tree.
  9531. </summary>
  9532. <remarks>
  9533. <para>
  9534. Configures a <see cref="T:log4net.Repository.ILoggerRepository"/> using an Xml tree.
  9535. </para>
  9536. </remarks>
  9537. <author>Nicko Cadell</author>
  9538. <author>Gert Driesen</author>
  9539. </member>
  9540. <member name="M:log4net.Config.XmlConfigurator.#ctor">
  9541. <summary>
  9542. Private constructor
  9543. </summary>
  9544. </member>
  9545. <member name="M:log4net.Config.XmlConfigurator.Configure">
  9546. <summary>
  9547. Automatically configures the log4net system based on the
  9548. application's configuration settings.
  9549. </summary>
  9550. <remarks>
  9551. <para>
  9552. Each application has a configuration file. This has the
  9553. same name as the application with '.config' appended.
  9554. This file is XML and calling this function prompts the
  9555. configurator to look in that file for a section called
  9556. <c>log4net</c> that contains the configuration data.
  9557. </para>
  9558. <para>
  9559. To use this method to configure log4net you must specify
  9560. the <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> section
  9561. handler for the <c>log4net</c> configuration section. See the
  9562. <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> for an example.
  9563. </para>
  9564. </remarks>
  9565. <seealso cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/>
  9566. </member>
  9567. <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository)">
  9568. <summary>
  9569. Automatically configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using settings
  9570. stored in the application's configuration file.
  9571. </summary>
  9572. <remarks>
  9573. <para>
  9574. Each application has a configuration file. This has the
  9575. same name as the application with '.config' appended.
  9576. This file is XML and calling this function prompts the
  9577. configurator to look in that file for a section called
  9578. <c>log4net</c> that contains the configuration data.
  9579. </para>
  9580. <para>
  9581. To use this method to configure log4net you must specify
  9582. the <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> section
  9583. handler for the <c>log4net</c> configuration section. See the
  9584. <see cref="T:log4net.Config.Log4NetConfigurationSectionHandler"/> for an example.
  9585. </para>
  9586. </remarks>
  9587. <param name="repository">The repository to configure.</param>
  9588. </member>
  9589. <member name="M:log4net.Config.XmlConfigurator.Configure(System.Xml.XmlElement)">
  9590. <summary>
  9591. Configures log4net using a <c>log4net</c> element
  9592. </summary>
  9593. <remarks>
  9594. <para>
  9595. Loads the log4net configuration from the XML element
  9596. supplied as <paramref name="element"/>.
  9597. </para>
  9598. </remarks>
  9599. <param name="element">The element to parse.</param>
  9600. </member>
  9601. <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)">
  9602. <summary>
  9603. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified XML
  9604. element.
  9605. </summary>
  9606. <remarks>
  9607. Loads the log4net configuration from the XML element
  9608. supplied as <paramref name="element"/>.
  9609. </remarks>
  9610. <param name="repository">The repository to configure.</param>
  9611. <param name="element">The element to parse.</param>
  9612. </member>
  9613. <member name="M:log4net.Config.XmlConfigurator.Configure(System.IO.FileInfo)">
  9614. <summary>
  9615. Configures log4net using the specified configuration file.
  9616. </summary>
  9617. <param name="configFile">The XML file to load the configuration from.</param>
  9618. <remarks>
  9619. <para>
  9620. The configuration file must be valid XML. It must contain
  9621. at least one element called <c>log4net</c> that holds
  9622. the log4net configuration data.
  9623. </para>
  9624. <para>
  9625. The log4net configuration file can possible be specified in the application's
  9626. configuration file (either <c>MyAppName.exe.config</c> for a
  9627. normal application on <c>Web.config</c> for an ASP.NET application).
  9628. </para>
  9629. <para>
  9630. The first element matching <c>&lt;configuration&gt;</c> will be read as the
  9631. configuration. If this file is also a .NET .config file then you must specify
  9632. a configuration section for the <c>log4net</c> element otherwise .NET will
  9633. complain. Set the type for the section handler to <see cref="T:System.Configuration.IgnoreSectionHandler"/>, for example:
  9634. <code lang="XML" escaped="true">
  9635. <configSections>
  9636. <section name="log4net" type="System.Configuration.IgnoreSectionHandler"/>
  9637. </configSections>
  9638. </code>
  9639. </para>
  9640. <example>
  9641. The following example configures log4net using a configuration file, of which the
  9642. location is stored in the application's configuration file :
  9643. </example>
  9644. <code lang="C#">
  9645. using log4net.Config;
  9646. using System.IO;
  9647. using System.Configuration;
  9648. ...
  9649. XmlConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
  9650. </code>
  9651. <para>
  9652. In the <c>.config</c> file, the path to the log4net can be specified like this :
  9653. </para>
  9654. <code lang="XML" escaped="true">
  9655. <configuration>
  9656. <appSettings>
  9657. <add key="log4net-config-file" value="log.config"/>
  9658. </appSettings>
  9659. </configuration>
  9660. </code>
  9661. </remarks>
  9662. </member>
  9663. <member name="M:log4net.Config.XmlConfigurator.Configure(System.Uri)">
  9664. <summary>
  9665. Configures log4net using the specified configuration URI.
  9666. </summary>
  9667. <param name="configUri">A URI to load the XML configuration from.</param>
  9668. <remarks>
  9669. <para>
  9670. The configuration data must be valid XML. It must contain
  9671. at least one element called <c>log4net</c> that holds
  9672. the log4net configuration data.
  9673. </para>
  9674. <para>
  9675. The <see cref="T:System.Net.WebRequest"/> must support the URI scheme specified.
  9676. </para>
  9677. </remarks>
  9678. </member>
  9679. <member name="M:log4net.Config.XmlConfigurator.Configure(System.IO.Stream)">
  9680. <summary>
  9681. Configures log4net using the specified configuration data stream.
  9682. </summary>
  9683. <param name="configStream">A stream to load the XML configuration from.</param>
  9684. <remarks>
  9685. <para>
  9686. The configuration data must be valid XML. It must contain
  9687. at least one element called <c>log4net</c> that holds
  9688. the log4net configuration data.
  9689. </para>
  9690. <para>
  9691. Note that this method will NOT close the stream parameter.
  9692. </para>
  9693. </remarks>
  9694. </member>
  9695. <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
  9696. <summary>
  9697. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
  9698. file.
  9699. </summary>
  9700. <param name="repository">The repository to configure.</param>
  9701. <param name="configFile">The XML file to load the configuration from.</param>
  9702. <remarks>
  9703. <para>
  9704. The configuration file must be valid XML. It must contain
  9705. at least one element called <c>log4net</c> that holds
  9706. the configuration data.
  9707. </para>
  9708. <para>
  9709. The log4net configuration file can possible be specified in the application's
  9710. configuration file (either <c>MyAppName.exe.config</c> for a
  9711. normal application on <c>Web.config</c> for an ASP.NET application).
  9712. </para>
  9713. <para>
  9714. The first element matching <c>&lt;configuration&gt;</c> will be read as the
  9715. configuration. If this file is also a .NET .config file then you must specify
  9716. a configuration section for the <c>log4net</c> element otherwise .NET will
  9717. complain. Set the type for the section handler to <see cref="T:System.Configuration.IgnoreSectionHandler"/>, for example:
  9718. <code lang="XML" escaped="true">
  9719. <configSections>
  9720. <section name="log4net" type="System.Configuration.IgnoreSectionHandler"/>
  9721. </configSections>
  9722. </code>
  9723. </para>
  9724. <example>
  9725. The following example configures log4net using a configuration file, of which the
  9726. location is stored in the application's configuration file :
  9727. </example>
  9728. <code lang="C#">
  9729. using log4net.Config;
  9730. using System.IO;
  9731. using System.Configuration;
  9732. ...
  9733. XmlConfigurator.Configure(new FileInfo(ConfigurationSettings.AppSettings["log4net-config-file"]));
  9734. </code>
  9735. <para>
  9736. In the <c>.config</c> file, the path to the log4net can be specified like this :
  9737. </para>
  9738. <code lang="XML" escaped="true">
  9739. <configuration>
  9740. <appSettings>
  9741. <add key="log4net-config-file" value="log.config"/>
  9742. </appSettings>
  9743. </configuration>
  9744. </code>
  9745. </remarks>
  9746. </member>
  9747. <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Uri)">
  9748. <summary>
  9749. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
  9750. URI.
  9751. </summary>
  9752. <param name="repository">The repository to configure.</param>
  9753. <param name="configUri">A URI to load the XML configuration from.</param>
  9754. <remarks>
  9755. <para>
  9756. The configuration data must be valid XML. It must contain
  9757. at least one element called <c>log4net</c> that holds
  9758. the configuration data.
  9759. </para>
  9760. <para>
  9761. The <see cref="T:System.Net.WebRequest"/> must support the URI scheme specified.
  9762. </para>
  9763. </remarks>
  9764. </member>
  9765. <member name="M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.IO.Stream)">
  9766. <summary>
  9767. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the specified configuration
  9768. file.
  9769. </summary>
  9770. <param name="repository">The repository to configure.</param>
  9771. <param name="configStream">The stream to load the XML configuration from.</param>
  9772. <remarks>
  9773. <para>
  9774. The configuration data must be valid XML. It must contain
  9775. at least one element called <c>log4net</c> that holds
  9776. the configuration data.
  9777. </para>
  9778. <para>
  9779. Note that this method will NOT close the stream parameter.
  9780. </para>
  9781. </remarks>
  9782. </member>
  9783. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatch(System.IO.FileInfo)">
  9784. <summary>
  9785. Configures log4net using the file specified, monitors the file for changes
  9786. and reloads the configuration if a change is detected.
  9787. </summary>
  9788. <param name="configFile">The XML file to load the configuration from.</param>
  9789. <remarks>
  9790. <para>
  9791. The configuration file must be valid XML. It must contain
  9792. at least one element called <c>log4net</c> that holds
  9793. the configuration data.
  9794. </para>
  9795. <para>
  9796. The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
  9797. and depends on the behavior of that class.
  9798. </para>
  9799. <para>
  9800. For more information on how to configure log4net using
  9801. a separate configuration file, see <see cref="M:Configure(FileInfo)"/>.
  9802. </para>
  9803. </remarks>
  9804. <seealso cref="M:Configure(FileInfo)"/>
  9805. </member>
  9806. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatch(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
  9807. <summary>
  9808. Configures the <see cref="T:log4net.Repository.ILoggerRepository"/> using the file specified,
  9809. monitors the file for changes and reloads the configuration if a change
  9810. is detected.
  9811. </summary>
  9812. <param name="repository">The repository to configure.</param>
  9813. <param name="configFile">The XML file to load the configuration from.</param>
  9814. <remarks>
  9815. <para>
  9816. The configuration file must be valid XML. It must contain
  9817. at least one element called <c>log4net</c> that holds
  9818. the configuration data.
  9819. </para>
  9820. <para>
  9821. The configuration file will be monitored using a <see cref="T:System.IO.FileSystemWatcher"/>
  9822. and depends on the behavior of that class.
  9823. </para>
  9824. <para>
  9825. For more information on how to configure log4net using
  9826. a separate configuration file, see <see cref="M:Configure(FileInfo)"/>.
  9827. </para>
  9828. </remarks>
  9829. <seealso cref="M:Configure(FileInfo)"/>
  9830. </member>
  9831. <member name="M:log4net.Config.XmlConfigurator.InternalConfigureFromXml(log4net.Repository.ILoggerRepository,System.Xml.XmlElement)">
  9832. <summary>
  9833. Configures the specified repository using a <c>log4net</c> element.
  9834. </summary>
  9835. <param name="repository">The hierarchy to configure.</param>
  9836. <param name="element">The element to parse.</param>
  9837. <remarks>
  9838. <para>
  9839. Loads the log4net configuration from the XML element
  9840. supplied as <paramref name="element"/>.
  9841. </para>
  9842. <para>
  9843. This method is ultimately called by one of the Configure methods
  9844. to load the configuration from an <see cref="T:System.Xml.XmlElement"/>.
  9845. </para>
  9846. </remarks>
  9847. </member>
  9848. <member name="F:log4net.Config.XmlConfigurator.m_repositoryName2ConfigAndWatchHandler">
  9849. <summary>
  9850. Maps repository names to ConfigAndWatchHandler instances to allow a particular
  9851. ConfigAndWatchHandler to dispose of its FileSystemWatcher when a repository is
  9852. reconfigured.
  9853. </summary>
  9854. </member>
  9855. <member name="F:log4net.Config.XmlConfigurator.declaringType">
  9856. <summary>
  9857. The fully qualified type of the XmlConfigurator class.
  9858. </summary>
  9859. <remarks>
  9860. Used by the internal logger to record the Type of the
  9861. log message.
  9862. </remarks>
  9863. </member>
  9864. <member name="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler">
  9865. <summary>
  9866. Class used to watch config files.
  9867. </summary>
  9868. <remarks>
  9869. <para>
  9870. Uses the <see cref="T:System.IO.FileSystemWatcher"/> to monitor
  9871. changes to a specified file. Because multiple change notifications
  9872. may be raised when the file is modified, a timer is used to
  9873. compress the notifications into a single event. The timer
  9874. waits for <see cref="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.TimeoutMillis"/> time before delivering
  9875. the event notification. If any further <see cref="T:System.IO.FileSystemWatcher"/>
  9876. change notifications arrive while the timer is waiting it
  9877. is reset and waits again for <see cref="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.TimeoutMillis"/> to
  9878. elapse.
  9879. </para>
  9880. </remarks>
  9881. </member>
  9882. <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.TimeoutMillis">
  9883. <summary>
  9884. The default amount of time to wait after receiving notification
  9885. before reloading the config file.
  9886. </summary>
  9887. </member>
  9888. <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_configFile">
  9889. <summary>
  9890. Holds the FileInfo used to configure the XmlConfigurator
  9891. </summary>
  9892. </member>
  9893. <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_repository">
  9894. <summary>
  9895. Holds the repository being configured.
  9896. </summary>
  9897. </member>
  9898. <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_timer">
  9899. <summary>
  9900. The timer used to compress the notification events.
  9901. </summary>
  9902. </member>
  9903. <member name="F:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.m_watcher">
  9904. <summary>
  9905. Watches file for changes. This object should be disposed when no longer
  9906. needed to free system handles on the watched resources.
  9907. </summary>
  9908. </member>
  9909. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.#ctor(log4net.Repository.ILoggerRepository,System.IO.FileInfo)">
  9910. <summary>
  9911. Initializes a new instance of the <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/> class to
  9912. watch a specified config file used to configure a repository.
  9913. </summary>
  9914. <param name="repository">The repository to configure.</param>
  9915. <param name="configFile">The configuration file to watch.</param>
  9916. <remarks>
  9917. <para>
  9918. Initializes a new instance of the <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/> class.
  9919. </para>
  9920. </remarks>
  9921. </member>
  9922. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.ConfigureAndWatchHandler_OnChanged(System.Object,System.IO.FileSystemEventArgs)">
  9923. <summary>
  9924. Event handler used by <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/>.
  9925. </summary>
  9926. <param name="source">The <see cref="T:System.IO.FileSystemWatcher"/> firing the event.</param>
  9927. <param name="e">The argument indicates the file that caused the event to be fired.</param>
  9928. <remarks>
  9929. <para>
  9930. This handler reloads the configuration from the file when the event is fired.
  9931. </para>
  9932. </remarks>
  9933. </member>
  9934. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.ConfigureAndWatchHandler_OnRenamed(System.Object,System.IO.RenamedEventArgs)">
  9935. <summary>
  9936. Event handler used by <see cref="T:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler"/>.
  9937. </summary>
  9938. <param name="source">The <see cref="T:System.IO.FileSystemWatcher"/> firing the event.</param>
  9939. <param name="e">The argument indicates the file that caused the event to be fired.</param>
  9940. <remarks>
  9941. <para>
  9942. This handler reloads the configuration from the file when the event is fired.
  9943. </para>
  9944. </remarks>
  9945. </member>
  9946. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.OnWatchedFileChange(System.Object)">
  9947. <summary>
  9948. Called by the timer when the configuration has been updated.
  9949. </summary>
  9950. <param name="state">null</param>
  9951. </member>
  9952. <member name="M:log4net.Config.XmlConfigurator.ConfigureAndWatchHandler.Dispose">
  9953. <summary>
  9954. Release the handles held by the watcher and timer.
  9955. </summary>
  9956. </member>
  9957. <member name="T:log4net.Core.CompactRepositorySelector">
  9958. <summary>
  9959. The implementation of the <see cref="T:log4net.Core.IRepositorySelector"/> interface suitable
  9960. for use with the compact framework
  9961. </summary>
  9962. <remarks>
  9963. <para>
  9964. This <see cref="T:log4net.Core.IRepositorySelector"/> implementation is a simple
  9965. mapping between repository name and <see cref="T:log4net.Repository.ILoggerRepository"/>
  9966. object.
  9967. </para>
  9968. <para>
  9969. The .NET Compact Framework 1.0 does not support retrieving assembly
  9970. level attributes therefore unlike the <c>DefaultRepositorySelector</c>
  9971. this selector does not examine the calling assembly for attributes.
  9972. </para>
  9973. </remarks>
  9974. <author>Nicko Cadell</author>
  9975. </member>
  9976. <member name="T:log4net.Core.IRepositorySelector">
  9977. <summary>
  9978. Interface used by the <see cref="T:log4net.LogManager"/> to select the <see cref="T:log4net.Repository.ILoggerRepository"/>.
  9979. </summary>
  9980. <remarks>
  9981. <para>
  9982. The <see cref="T:log4net.LogManager"/> uses a <see cref="T:log4net.Core.IRepositorySelector"/>
  9983. to specify the policy for selecting the correct <see cref="T:log4net.Repository.ILoggerRepository"/>
  9984. to return to the caller.
  9985. </para>
  9986. </remarks>
  9987. <author>Nicko Cadell</author>
  9988. <author>Gert Driesen</author>
  9989. </member>
  9990. <member name="M:log4net.Core.IRepositorySelector.GetRepository(System.Reflection.Assembly)">
  9991. <summary>
  9992. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
  9993. </summary>
  9994. <param name="assembly">The assembly to use to lookup to the <see cref="T:log4net.Repository.ILoggerRepository"/></param>
  9995. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> for the assembly.</returns>
  9996. <remarks>
  9997. <para>
  9998. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
  9999. </para>
  10000. <para>
  10001. How the association between <see cref="T:System.Reflection.Assembly"/> and <see cref="T:log4net.Repository.ILoggerRepository"/>
  10002. is made is not defined. The implementation may choose any method for
  10003. this association. The results of this method must be repeatable, i.e.
  10004. when called again with the same arguments the result must be the
  10005. save value.
  10006. </para>
  10007. </remarks>
  10008. </member>
  10009. <member name="M:log4net.Core.IRepositorySelector.GetRepository(System.String)">
  10010. <summary>
  10011. Gets the named <see cref="T:log4net.Repository.ILoggerRepository"/>.
  10012. </summary>
  10013. <param name="repositoryName">The name to use to lookup to the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10014. <returns>The named <see cref="T:log4net.Repository.ILoggerRepository"/></returns>
  10015. <remarks>
  10016. Lookup a named <see cref="T:log4net.Repository.ILoggerRepository"/>. This is the repository created by
  10017. calling <see cref="M:CreateRepository(string,Type)"/>.
  10018. </remarks>
  10019. </member>
  10020. <member name="M:log4net.Core.IRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)">
  10021. <summary>
  10022. Creates a new repository for the assembly specified.
  10023. </summary>
  10024. <param name="assembly">The assembly to use to create the domain to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10025. <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10026. <returns>The repository created.</returns>
  10027. <remarks>
  10028. <para>
  10029. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the domain
  10030. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  10031. same assembly specified will return the same repository instance.
  10032. </para>
  10033. <para>
  10034. How the association between <see cref="T:System.Reflection.Assembly"/> and <see cref="T:log4net.Repository.ILoggerRepository"/>
  10035. is made is not defined. The implementation may choose any method for
  10036. this association.
  10037. </para>
  10038. </remarks>
  10039. </member>
  10040. <member name="M:log4net.Core.IRepositorySelector.CreateRepository(System.String,System.Type)">
  10041. <summary>
  10042. Creates a new repository with the name specified.
  10043. </summary>
  10044. <param name="repositoryName">The name to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10045. <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10046. <returns>The repository created.</returns>
  10047. <remarks>
  10048. <para>
  10049. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the name
  10050. specified such that a call to <see cref="M:GetRepository(string)"/> with the
  10051. same name will return the same repository instance.
  10052. </para>
  10053. </remarks>
  10054. </member>
  10055. <member name="M:log4net.Core.IRepositorySelector.ExistsRepository(System.String)">
  10056. <summary>
  10057. Test if a named repository exists
  10058. </summary>
  10059. <param name="repositoryName">the named repository to check</param>
  10060. <returns><c>true</c> if the repository exists</returns>
  10061. <remarks>
  10062. <para>
  10063. Test if a named repository exists. Use <see cref="M:CreateRepository(Assembly, Type)"/>
  10064. to create a new repository and <see cref="M:GetRepository(Assembly)"/> to retrieve
  10065. a repository.
  10066. </para>
  10067. </remarks>
  10068. </member>
  10069. <member name="M:log4net.Core.IRepositorySelector.GetAllRepositories">
  10070. <summary>
  10071. Gets an array of all currently defined repositories.
  10072. </summary>
  10073. <returns>
  10074. An array of the <see cref="T:log4net.Repository.ILoggerRepository"/> instances created by
  10075. this <see cref="T:log4net.Core.IRepositorySelector"/>.</returns>
  10076. <remarks>
  10077. <para>
  10078. Gets an array of all of the repositories created by this selector.
  10079. </para>
  10080. </remarks>
  10081. </member>
  10082. <member name="E:log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent">
  10083. <summary>
  10084. Event to notify that a logger repository has been created.
  10085. </summary>
  10086. <value>
  10087. Event to notify that a logger repository has been created.
  10088. </value>
  10089. <remarks>
  10090. <para>
  10091. Event raised when a new repository is created.
  10092. The event source will be this selector. The event args will
  10093. be a <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> which
  10094. holds the newly created <see cref="T:log4net.Repository.ILoggerRepository"/>.
  10095. </para>
  10096. </remarks>
  10097. </member>
  10098. <member name="M:log4net.Core.CompactRepositorySelector.#ctor(System.Type)">
  10099. <summary>
  10100. Create a new repository selector
  10101. </summary>
  10102. <param name="defaultRepositoryType">the type of the repositories to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/></param>
  10103. <remarks>
  10104. <para>
  10105. Create an new compact repository selector.
  10106. The default type for repositories must be specified,
  10107. an appropriate value would be <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
  10108. </para>
  10109. </remarks>
  10110. <exception cref="T:System.ArgumentNullException">throw if <paramref name="defaultRepositoryType"/> is null</exception>
  10111. <exception cref="T:System.ArgumentOutOfRangeException">throw if <paramref name="defaultRepositoryType"/> does not implement <see cref="T:log4net.Repository.ILoggerRepository"/></exception>
  10112. </member>
  10113. <member name="M:log4net.Core.CompactRepositorySelector.GetRepository(System.Reflection.Assembly)">
  10114. <summary>
  10115. Get the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly
  10116. </summary>
  10117. <param name="assembly">not used</param>
  10118. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/></returns>
  10119. <remarks>
  10120. <para>
  10121. The <paramref name="assembly"/> argument is not used. This selector does not create a
  10122. separate repository for each assembly.
  10123. </para>
  10124. <para>
  10125. As a named repository is not specified the default repository is
  10126. returned. The default repository is named <c>log4net-default-repository</c>.
  10127. </para>
  10128. </remarks>
  10129. </member>
  10130. <member name="M:log4net.Core.CompactRepositorySelector.GetRepository(System.String)">
  10131. <summary>
  10132. Get the named <see cref="T:log4net.Repository.ILoggerRepository"/>
  10133. </summary>
  10134. <param name="repositoryName">the name of the repository to lookup</param>
  10135. <returns>The named <see cref="T:log4net.Repository.ILoggerRepository"/></returns>
  10136. <remarks>
  10137. <para>
  10138. Get the named <see cref="T:log4net.Repository.ILoggerRepository"/>. The default
  10139. repository is <c>log4net-default-repository</c>. Other repositories
  10140. must be created using the <see cref="M:CreateRepository(string, Type)"/>.
  10141. If the named repository does not exist an exception is thrown.
  10142. </para>
  10143. </remarks>
  10144. <exception cref="T:System.ArgumentNullException">throw if <paramref name="repositoryName"/> is null</exception>
  10145. <exception cref="T:log4net.Core.LogException">throw if the <paramref name="repositoryName"/> does not exist</exception>
  10146. </member>
  10147. <member name="M:log4net.Core.CompactRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)">
  10148. <summary>
  10149. Create a new repository for the assembly specified
  10150. </summary>
  10151. <param name="assembly">not used</param>
  10152. <param name="repositoryType">the type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/></param>
  10153. <returns>the repository created</returns>
  10154. <remarks>
  10155. <para>
  10156. The <paramref name="assembly"/> argument is not used. This selector does not create a
  10157. separate repository for each assembly.
  10158. </para>
  10159. <para>
  10160. If the <paramref name="repositoryType"/> is <c>null</c> then the
  10161. default repository type specified to the constructor is used.
  10162. </para>
  10163. <para>
  10164. As a named repository is not specified the default repository is
  10165. returned. The default repository is named <c>log4net-default-repository</c>.
  10166. </para>
  10167. </remarks>
  10168. </member>
  10169. <member name="M:log4net.Core.CompactRepositorySelector.CreateRepository(System.String,System.Type)">
  10170. <summary>
  10171. Create a new repository for the repository specified
  10172. </summary>
  10173. <param name="repositoryName">the repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/></param>
  10174. <param name="repositoryType">the type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.
  10175. If this param is null then the default repository type is used.</param>
  10176. <returns>the repository created</returns>
  10177. <remarks>
  10178. <para>
  10179. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  10180. specified such that a call to <see cref="M:GetRepository(string)"/> with the
  10181. same repository specified will return the same repository instance.
  10182. </para>
  10183. <para>
  10184. If the named repository already exists an exception will be thrown.
  10185. </para>
  10186. <para>
  10187. If <paramref name="repositoryType"/> is <c>null</c> then the default
  10188. repository type specified to the constructor is used.
  10189. </para>
  10190. </remarks>
  10191. <exception cref="T:System.ArgumentNullException">throw if <paramref name="repositoryName"/> is null</exception>
  10192. <exception cref="T:log4net.Core.LogException">throw if the <paramref name="repositoryName"/> already exists</exception>
  10193. </member>
  10194. <member name="M:log4net.Core.CompactRepositorySelector.ExistsRepository(System.String)">
  10195. <summary>
  10196. Test if a named repository exists
  10197. </summary>
  10198. <param name="repositoryName">the named repository to check</param>
  10199. <returns><c>true</c> if the repository exists</returns>
  10200. <remarks>
  10201. <para>
  10202. Test if a named repository exists. Use <see cref="M:CreateRepository(string, Type)"/>
  10203. to create a new repository and <see cref="M:GetRepository(string)"/> to retrieve
  10204. a repository.
  10205. </para>
  10206. </remarks>
  10207. </member>
  10208. <member name="M:log4net.Core.CompactRepositorySelector.GetAllRepositories">
  10209. <summary>
  10210. Gets a list of <see cref="T:log4net.Repository.ILoggerRepository"/> objects
  10211. </summary>
  10212. <returns>an array of all known <see cref="T:log4net.Repository.ILoggerRepository"/> objects</returns>
  10213. <remarks>
  10214. <para>
  10215. Gets an array of all of the repositories created by this selector.
  10216. </para>
  10217. </remarks>
  10218. </member>
  10219. <member name="F:log4net.Core.CompactRepositorySelector.declaringType">
  10220. <summary>
  10221. The fully qualified type of the CompactRepositorySelector class.
  10222. </summary>
  10223. <remarks>
  10224. Used by the internal logger to record the Type of the
  10225. log message.
  10226. </remarks>
  10227. </member>
  10228. <member name="M:log4net.Core.CompactRepositorySelector.OnLoggerRepositoryCreatedEvent(log4net.Repository.ILoggerRepository)">
  10229. <summary>
  10230. Notify the registered listeners that the repository has been created
  10231. </summary>
  10232. <param name="repository">The repository that has been created</param>
  10233. <remarks>
  10234. <para>
  10235. Raises the <event cref="E:log4net.Core.CompactRepositorySelector.LoggerRepositoryCreatedEvent">LoggerRepositoryCreatedEvent</event>
  10236. event.
  10237. </para>
  10238. </remarks>
  10239. </member>
  10240. <member name="E:log4net.Core.CompactRepositorySelector.LoggerRepositoryCreatedEvent">
  10241. <summary>
  10242. Event to notify that a logger repository has been created.
  10243. </summary>
  10244. <value>
  10245. Event to notify that a logger repository has been created.
  10246. </value>
  10247. <remarks>
  10248. <para>
  10249. Event raised when a new repository is created.
  10250. The event source will be this selector. The event args will
  10251. be a <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> which
  10252. holds the newly created <see cref="T:log4net.Repository.ILoggerRepository"/>.
  10253. </para>
  10254. </remarks>
  10255. </member>
  10256. <member name="T:log4net.Core.DefaultRepositorySelector">
  10257. <summary>
  10258. The default implementation of the <see cref="T:log4net.Core.IRepositorySelector"/> interface.
  10259. </summary>
  10260. <remarks>
  10261. <para>
  10262. Uses attributes defined on the calling assembly to determine how to
  10263. configure the hierarchy for the repository.
  10264. </para>
  10265. </remarks>
  10266. <author>Nicko Cadell</author>
  10267. <author>Gert Driesen</author>
  10268. </member>
  10269. <member name="M:log4net.Core.DefaultRepositorySelector.#ctor(System.Type)">
  10270. <summary>
  10271. Creates a new repository selector.
  10272. </summary>
  10273. <param name="defaultRepositoryType">The type of the repositories to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/></param>
  10274. <remarks>
  10275. <para>
  10276. Create an new repository selector.
  10277. The default type for repositories must be specified,
  10278. an appropriate value would be <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
  10279. </para>
  10280. </remarks>
  10281. <exception cref="T:System.ArgumentNullException"><paramref name="defaultRepositoryType"/> is <see langword="null"/>.</exception>
  10282. <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="defaultRepositoryType"/> does not implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</exception>
  10283. </member>
  10284. <member name="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.Reflection.Assembly)">
  10285. <summary>
  10286. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified assembly.
  10287. </summary>
  10288. <param name="repositoryAssembly">The assembly use to lookup the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10289. <remarks>
  10290. <para>
  10291. The type of the <see cref="T:log4net.Repository.ILoggerRepository"/> created and the repository
  10292. to create can be overridden by specifying the <see cref="T:log4net.Config.RepositoryAttribute"/>
  10293. attribute on the <paramref name="repositoryAssembly"/>.
  10294. </para>
  10295. <para>
  10296. The default values are to use the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>
  10297. implementation of the <see cref="T:log4net.Repository.ILoggerRepository"/> interface and to use the
  10298. <see cref="P:System.Reflection.AssemblyName.Name"/> as the name of the repository.
  10299. </para>
  10300. <para>
  10301. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be automatically configured using
  10302. any <see cref="T:log4net.Config.ConfiguratorAttribute"/> attributes defined on
  10303. the <paramref name="repositoryAssembly"/>.
  10304. </para>
  10305. </remarks>
  10306. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> for the assembly</returns>
  10307. <exception cref="T:System.ArgumentNullException"><paramref name="repositoryAssembly"/> is <see langword="null"/>.</exception>
  10308. </member>
  10309. <member name="M:log4net.Core.DefaultRepositorySelector.GetRepository(System.String)">
  10310. <summary>
  10311. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified repository.
  10312. </summary>
  10313. <param name="repositoryName">The repository to use to lookup the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10314. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> for the specified repository.</returns>
  10315. <remarks>
  10316. <para>
  10317. Returns the named repository. If <paramref name="repositoryName"/> is <c>null</c>
  10318. a <see cref="T:System.ArgumentNullException"/> is thrown. If the repository
  10319. does not exist a <see cref="T:log4net.Core.LogException"/> is thrown.
  10320. </para>
  10321. <para>
  10322. Use <see cref="M:CreateRepository(string, Type)"/> to create a repository.
  10323. </para>
  10324. </remarks>
  10325. <exception cref="T:System.ArgumentNullException"><paramref name="repositoryName"/> is <see langword="null"/>.</exception>
  10326. <exception cref="T:log4net.Core.LogException"><paramref name="repositoryName"/> does not exist.</exception>
  10327. </member>
  10328. <member name="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type)">
  10329. <summary>
  10330. Create a new repository for the assembly specified
  10331. </summary>
  10332. <param name="repositoryAssembly">the assembly to use to create the repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10333. <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10334. <returns>The repository created.</returns>
  10335. <remarks>
  10336. <para>
  10337. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  10338. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  10339. same assembly specified will return the same repository instance.
  10340. </para>
  10341. <para>
  10342. The type of the <see cref="T:log4net.Repository.ILoggerRepository"/> created and
  10343. the repository to create can be overridden by specifying the
  10344. <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
  10345. <paramref name="repositoryAssembly"/>. The default values are to use the
  10346. <paramref name="repositoryType"/> implementation of the
  10347. <see cref="T:log4net.Repository.ILoggerRepository"/> interface and to use the
  10348. <see cref="P:System.Reflection.AssemblyName.Name"/> as the name of the repository.
  10349. </para>
  10350. <para>
  10351. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be automatically
  10352. configured using any <see cref="T:log4net.Config.ConfiguratorAttribute"/>
  10353. attributes defined on the <paramref name="repositoryAssembly"/>.
  10354. </para>
  10355. <para>
  10356. If a repository for the <paramref name="repositoryAssembly"/> already exists
  10357. that repository will be returned. An error will not be raised and that
  10358. repository may be of a different type to that specified in <paramref name="repositoryType"/>.
  10359. Also the <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
  10360. assembly may be used to override the repository type specified in
  10361. <paramref name="repositoryType"/>.
  10362. </para>
  10363. </remarks>
  10364. <exception cref="T:System.ArgumentNullException"><paramref name="repositoryAssembly"/> is <see langword="null"/>.</exception>
  10365. </member>
  10366. <member name="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.Reflection.Assembly,System.Type,System.String,System.Boolean)">
  10367. <summary>
  10368. Creates a new repository for the assembly specified.
  10369. </summary>
  10370. <param name="repositoryAssembly">the assembly to use to create the repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10371. <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10372. <param name="repositoryName">The name to assign to the created repository</param>
  10373. <param name="readAssemblyAttributes">Set to <c>true</c> to read and apply the assembly attributes</param>
  10374. <returns>The repository created.</returns>
  10375. <remarks>
  10376. <para>
  10377. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  10378. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  10379. same assembly specified will return the same repository instance.
  10380. </para>
  10381. <para>
  10382. The type of the <see cref="T:log4net.Repository.ILoggerRepository"/> created and
  10383. the repository to create can be overridden by specifying the
  10384. <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
  10385. <paramref name="repositoryAssembly"/>. The default values are to use the
  10386. <paramref name="repositoryType"/> implementation of the
  10387. <see cref="T:log4net.Repository.ILoggerRepository"/> interface and to use the
  10388. <see cref="P:System.Reflection.AssemblyName.Name"/> as the name of the repository.
  10389. </para>
  10390. <para>
  10391. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be automatically
  10392. configured using any <see cref="T:log4net.Config.ConfiguratorAttribute"/>
  10393. attributes defined on the <paramref name="repositoryAssembly"/>.
  10394. </para>
  10395. <para>
  10396. If a repository for the <paramref name="repositoryAssembly"/> already exists
  10397. that repository will be returned. An error will not be raised and that
  10398. repository may be of a different type to that specified in <paramref name="repositoryType"/>.
  10399. Also the <see cref="T:log4net.Config.RepositoryAttribute"/> attribute on the
  10400. assembly may be used to override the repository type specified in
  10401. <paramref name="repositoryType"/>.
  10402. </para>
  10403. </remarks>
  10404. <exception cref="T:System.ArgumentNullException"><paramref name="repositoryAssembly"/> is <see langword="null"/>.</exception>
  10405. </member>
  10406. <member name="M:log4net.Core.DefaultRepositorySelector.CreateRepository(System.String,System.Type)">
  10407. <summary>
  10408. Creates a new repository for the specified repository.
  10409. </summary>
  10410. <param name="repositoryName">The repository to associate with the <see cref="T:log4net.Repository.ILoggerRepository"/>.</param>
  10411. <param name="repositoryType">The type of repository to create, must implement <see cref="T:log4net.Repository.ILoggerRepository"/>.
  10412. If this param is <see langword="null"/> then the default repository type is used.</param>
  10413. <returns>The new repository.</returns>
  10414. <remarks>
  10415. <para>
  10416. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  10417. specified such that a call to <see cref="M:GetRepository(string)"/> with the
  10418. same repository specified will return the same repository instance.
  10419. </para>
  10420. </remarks>
  10421. <exception cref="T:System.ArgumentNullException"><paramref name="repositoryName"/> is <see langword="null"/>.</exception>
  10422. <exception cref="T:log4net.Core.LogException"><paramref name="repositoryName"/> already exists.</exception>
  10423. </member>
  10424. <member name="M:log4net.Core.DefaultRepositorySelector.ExistsRepository(System.String)">
  10425. <summary>
  10426. Test if a named repository exists
  10427. </summary>
  10428. <param name="repositoryName">the named repository to check</param>
  10429. <returns><c>true</c> if the repository exists</returns>
  10430. <remarks>
  10431. <para>
  10432. Test if a named repository exists. Use <see cref="M:CreateRepository(string, Type)"/>
  10433. to create a new repository and <see cref="M:GetRepository(string)"/> to retrieve
  10434. a repository.
  10435. </para>
  10436. </remarks>
  10437. </member>
  10438. <member name="M:log4net.Core.DefaultRepositorySelector.GetAllRepositories">
  10439. <summary>
  10440. Gets a list of <see cref="T:log4net.Repository.ILoggerRepository"/> objects
  10441. </summary>
  10442. <returns>an array of all known <see cref="T:log4net.Repository.ILoggerRepository"/> objects</returns>
  10443. <remarks>
  10444. <para>
  10445. Gets an array of all of the repositories created by this selector.
  10446. </para>
  10447. </remarks>
  10448. </member>
  10449. <member name="M:log4net.Core.DefaultRepositorySelector.AliasRepository(System.String,log4net.Repository.ILoggerRepository)">
  10450. <summary>
  10451. Aliases a repository to an existing repository.
  10452. </summary>
  10453. <param name="repositoryAlias">The repository to alias.</param>
  10454. <param name="repositoryTarget">The repository that the repository is aliased to.</param>
  10455. <remarks>
  10456. <para>
  10457. The repository specified will be aliased to the repository when created.
  10458. The repository must not already exist.
  10459. </para>
  10460. <para>
  10461. When the repository is created it must utilize the same repository type as
  10462. the repository it is aliased to, otherwise the aliasing will fail.
  10463. </para>
  10464. </remarks>
  10465. <exception cref="T:System.ArgumentNullException">
  10466. <para><paramref name="repositoryAlias"/> is <see langword="null"/>.</para>
  10467. <para>-or-</para>
  10468. <para><paramref name="repositoryTarget"/> is <see langword="null"/>.</para>
  10469. </exception>
  10470. </member>
  10471. <member name="M:log4net.Core.DefaultRepositorySelector.OnLoggerRepositoryCreatedEvent(log4net.Repository.ILoggerRepository)">
  10472. <summary>
  10473. Notifies the registered listeners that the repository has been created.
  10474. </summary>
  10475. <param name="repository">The repository that has been created.</param>
  10476. <remarks>
  10477. <para>
  10478. Raises the <see cref="E:log4net.Core.DefaultRepositorySelector.LoggerRepositoryCreatedEvent"/> event.
  10479. </para>
  10480. </remarks>
  10481. </member>
  10482. <member name="M:log4net.Core.DefaultRepositorySelector.GetInfoForAssembly(System.Reflection.Assembly,System.String@,System.Type@)">
  10483. <summary>
  10484. Gets the repository name and repository type for the specified assembly.
  10485. </summary>
  10486. <param name="assembly">The assembly that has a <see cref="T:log4net.Config.RepositoryAttribute"/>.</param>
  10487. <param name="repositoryName">in/out param to hold the repository name to use for the assembly, caller should set this to the default value before calling.</param>
  10488. <param name="repositoryType">in/out param to hold the type of the repository to create for the assembly, caller should set this to the default value before calling.</param>
  10489. <exception cref="T:System.ArgumentNullException"><paramref name="assembly"/> is <see langword="null"/>.</exception>
  10490. </member>
  10491. <member name="M:log4net.Core.DefaultRepositorySelector.ConfigureRepository(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  10492. <summary>
  10493. Configures the repository using information from the assembly.
  10494. </summary>
  10495. <param name="assembly">The assembly containing <see cref="T:log4net.Config.ConfiguratorAttribute"/>
  10496. attributes which define the configuration for the repository.</param>
  10497. <param name="repository">The repository to configure.</param>
  10498. <exception cref="T:System.ArgumentNullException">
  10499. <para><paramref name="assembly"/> is <see langword="null"/>.</para>
  10500. <para>-or-</para>
  10501. <para><paramref name="repository"/> is <see langword="null"/>.</para>
  10502. </exception>
  10503. </member>
  10504. <member name="M:log4net.Core.DefaultRepositorySelector.LoadPlugins(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  10505. <summary>
  10506. Loads the attribute defined plugins on the assembly.
  10507. </summary>
  10508. <param name="assembly">The assembly that contains the attributes.</param>
  10509. <param name="repository">The repository to add the plugins to.</param>
  10510. <exception cref="T:System.ArgumentNullException">
  10511. <para><paramref name="assembly"/> is <see langword="null"/>.</para>
  10512. <para>-or-</para>
  10513. <para><paramref name="repository"/> is <see langword="null"/>.</para>
  10514. </exception>
  10515. </member>
  10516. <member name="M:log4net.Core.DefaultRepositorySelector.LoadAliases(System.Reflection.Assembly,log4net.Repository.ILoggerRepository)">
  10517. <summary>
  10518. Loads the attribute defined aliases on the assembly.
  10519. </summary>
  10520. <param name="assembly">The assembly that contains the attributes.</param>
  10521. <param name="repository">The repository to alias to.</param>
  10522. <exception cref="T:System.ArgumentNullException">
  10523. <para><paramref name="assembly"/> is <see langword="null"/>.</para>
  10524. <para>-or-</para>
  10525. <para><paramref name="repository"/> is <see langword="null"/>.</para>
  10526. </exception>
  10527. </member>
  10528. <member name="F:log4net.Core.DefaultRepositorySelector.declaringType">
  10529. <summary>
  10530. The fully qualified type of the DefaultRepositorySelector class.
  10531. </summary>
  10532. <remarks>
  10533. Used by the internal logger to record the Type of the
  10534. log message.
  10535. </remarks>
  10536. </member>
  10537. <member name="E:log4net.Core.DefaultRepositorySelector.LoggerRepositoryCreatedEvent">
  10538. <summary>
  10539. Event to notify that a logger repository has been created.
  10540. </summary>
  10541. <value>
  10542. Event to notify that a logger repository has been created.
  10543. </value>
  10544. <remarks>
  10545. <para>
  10546. Event raised when a new repository is created.
  10547. The event source will be this selector. The event args will
  10548. be a <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> which
  10549. holds the newly created <see cref="T:log4net.Repository.ILoggerRepository"/>.
  10550. </para>
  10551. </remarks>
  10552. </member>
  10553. <member name="T:log4net.Core.ErrorCode">
  10554. <summary>
  10555. Defined error codes that can be passed to the <see cref="M:IErrorHandler.Error(string, Exception, ErrorCode)"/> method.
  10556. </summary>
  10557. <remarks>
  10558. <para>
  10559. Values passed to the <see cref="M:IErrorHandler.Error(string, Exception, ErrorCode)"/> method.
  10560. </para>
  10561. </remarks>
  10562. <author>Nicko Cadell</author>
  10563. </member>
  10564. <member name="F:log4net.Core.ErrorCode.GenericFailure">
  10565. <summary>
  10566. A general error
  10567. </summary>
  10568. </member>
  10569. <member name="F:log4net.Core.ErrorCode.WriteFailure">
  10570. <summary>
  10571. Error while writing output
  10572. </summary>
  10573. </member>
  10574. <member name="F:log4net.Core.ErrorCode.FlushFailure">
  10575. <summary>
  10576. Failed to flush file
  10577. </summary>
  10578. </member>
  10579. <member name="F:log4net.Core.ErrorCode.CloseFailure">
  10580. <summary>
  10581. Failed to close file
  10582. </summary>
  10583. </member>
  10584. <member name="F:log4net.Core.ErrorCode.FileOpenFailure">
  10585. <summary>
  10586. Unable to open output file
  10587. </summary>
  10588. </member>
  10589. <member name="F:log4net.Core.ErrorCode.MissingLayout">
  10590. <summary>
  10591. No layout specified
  10592. </summary>
  10593. </member>
  10594. <member name="F:log4net.Core.ErrorCode.AddressParseFailure">
  10595. <summary>
  10596. Failed to parse address
  10597. </summary>
  10598. </member>
  10599. <member name="T:log4net.Core.ExceptionEvaluator">
  10600. <summary>
  10601. An evaluator that triggers on an Exception type
  10602. </summary>
  10603. <remarks>
  10604. <para>
  10605. This evaluator will trigger if the type of the Exception
  10606. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  10607. is equal to a Type in <see cref="P:log4net.Core.ExceptionEvaluator.ExceptionType"/>. ///
  10608. </para>
  10609. </remarks>
  10610. <author>Drew Schaeffer</author>
  10611. </member>
  10612. <member name="T:log4net.Core.ITriggeringEventEvaluator">
  10613. <summary>
  10614. Test if an <see cref="T:log4net.Core.LoggingEvent"/> triggers an action
  10615. </summary>
  10616. <remarks>
  10617. <para>
  10618. Implementations of this interface allow certain appenders to decide
  10619. when to perform an appender specific action.
  10620. </para>
  10621. <para>
  10622. The action or behavior triggered is defined by the implementation.
  10623. </para>
  10624. </remarks>
  10625. <author>Nicko Cadell</author>
  10626. </member>
  10627. <member name="M:log4net.Core.ITriggeringEventEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)">
  10628. <summary>
  10629. Test if this event triggers the action
  10630. </summary>
  10631. <param name="loggingEvent">The event to check</param>
  10632. <returns><c>true</c> if this event triggers the action, otherwise <c>false</c></returns>
  10633. <remarks>
  10634. <para>
  10635. Return <c>true</c> if this event triggers the action
  10636. </para>
  10637. </remarks>
  10638. </member>
  10639. <member name="F:log4net.Core.ExceptionEvaluator.m_type">
  10640. <summary>
  10641. The type that causes the trigger to fire.
  10642. </summary>
  10643. </member>
  10644. <member name="F:log4net.Core.ExceptionEvaluator.m_triggerOnSubclass">
  10645. <summary>
  10646. Causes subclasses of <see cref="P:log4net.Core.ExceptionEvaluator.ExceptionType"/> to cause the trigger to fire.
  10647. </summary>
  10648. </member>
  10649. <member name="M:log4net.Core.ExceptionEvaluator.#ctor">
  10650. <summary>
  10651. Default ctor to allow dynamic creation through a configurator.
  10652. </summary>
  10653. </member>
  10654. <member name="M:log4net.Core.ExceptionEvaluator.#ctor(System.Type,System.Boolean)">
  10655. <summary>
  10656. Constructs an evaluator and initializes to trigger on <paramref name="exType"/>
  10657. </summary>
  10658. <param name="exType">the type that triggers this evaluator.</param>
  10659. <param name="triggerOnSubClass">If true, this evaluator will trigger on subclasses of <see cref="P:log4net.Core.ExceptionEvaluator.ExceptionType"/>.</param>
  10660. </member>
  10661. <member name="M:log4net.Core.ExceptionEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)">
  10662. <summary>
  10663. Is this <paramref name="loggingEvent"/> the triggering event?
  10664. </summary>
  10665. <param name="loggingEvent">The event to check</param>
  10666. <returns>This method returns <c>true</c>, if the logging event Exception
  10667. Type is <see cref="P:log4net.Core.ExceptionEvaluator.ExceptionType"/>.
  10668. Otherwise it returns <c>false</c></returns>
  10669. <remarks>
  10670. <para>
  10671. This evaluator will trigger if the Exception Type of the event
  10672. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  10673. is <see cref="P:log4net.Core.ExceptionEvaluator.ExceptionType"/>.
  10674. </para>
  10675. </remarks>
  10676. </member>
  10677. <member name="P:log4net.Core.ExceptionEvaluator.ExceptionType">
  10678. <summary>
  10679. The type that triggers this evaluator.
  10680. </summary>
  10681. </member>
  10682. <member name="P:log4net.Core.ExceptionEvaluator.TriggerOnSubclass">
  10683. <summary>
  10684. If true, this evaluator will trigger on subclasses of <see cref="P:log4net.Core.ExceptionEvaluator.ExceptionType"/>.
  10685. </summary>
  10686. </member>
  10687. <member name="T:log4net.Core.IErrorHandler">
  10688. <summary>
  10689. Appenders may delegate their error handling to an <see cref="T:log4net.Core.IErrorHandler"/>.
  10690. </summary>
  10691. <remarks>
  10692. <para>
  10693. Error handling is a particularly tedious to get right because by
  10694. definition errors are hard to predict and to reproduce.
  10695. </para>
  10696. </remarks>
  10697. <author>Nicko Cadell</author>
  10698. <author>Gert Driesen</author>
  10699. </member>
  10700. <member name="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)">
  10701. <summary>
  10702. Handles the error and information about the error condition is passed as
  10703. a parameter.
  10704. </summary>
  10705. <param name="message">The message associated with the error.</param>
  10706. <param name="e">The <see cref="T:System.Exception"/> that was thrown when the error occurred.</param>
  10707. <param name="errorCode">The error code associated with the error.</param>
  10708. <remarks>
  10709. <para>
  10710. Handles the error and information about the error condition is passed as
  10711. a parameter.
  10712. </para>
  10713. </remarks>
  10714. </member>
  10715. <member name="M:log4net.Core.IErrorHandler.Error(System.String,System.Exception)">
  10716. <summary>
  10717. Prints the error message passed as a parameter.
  10718. </summary>
  10719. <param name="message">The message associated with the error.</param>
  10720. <param name="e">The <see cref="T:System.Exception"/> that was thrown when the error occurred.</param>
  10721. <remarks>
  10722. <para>
  10723. See <see cref="M:Error(string,Exception,ErrorCode)"/>.
  10724. </para>
  10725. </remarks>
  10726. </member>
  10727. <member name="M:log4net.Core.IErrorHandler.Error(System.String)">
  10728. <summary>
  10729. Prints the error message passed as a parameter.
  10730. </summary>
  10731. <param name="message">The message associated with the error.</param>
  10732. <remarks>
  10733. <para>
  10734. See <see cref="M:Error(string,Exception,ErrorCode)"/>.
  10735. </para>
  10736. </remarks>
  10737. </member>
  10738. <member name="T:log4net.Core.IFixingRequired">
  10739. <summary>
  10740. Interface for objects that require fixing.
  10741. </summary>
  10742. <remarks>
  10743. <para>
  10744. Interface that indicates that the object requires fixing before it
  10745. can be taken outside the context of the appender's
  10746. <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method.
  10747. </para>
  10748. <para>
  10749. When objects that implement this interface are stored
  10750. in the context properties maps <see cref="T:log4net.GlobalContext"/>
  10751. <see cref="P:log4net.GlobalContext.Properties"/> and <see cref="T:log4net.ThreadContext"/>
  10752. <see cref="P:log4net.ThreadContext.Properties"/> are fixed
  10753. (see <see cref="P:log4net.Core.LoggingEvent.Fix"/>) the <see cref="M:log4net.Core.IFixingRequired.GetFixedObject"/>
  10754. method will be called.
  10755. </para>
  10756. </remarks>
  10757. <author>Nicko Cadell</author>
  10758. </member>
  10759. <member name="M:log4net.Core.IFixingRequired.GetFixedObject">
  10760. <summary>
  10761. Get a portable version of this object
  10762. </summary>
  10763. <returns>the portable instance of this object</returns>
  10764. <remarks>
  10765. <para>
  10766. Get a portable instance object that represents the current
  10767. state of this object. The portable object can be stored
  10768. and logged from any thread with identical results.
  10769. </para>
  10770. </remarks>
  10771. </member>
  10772. <member name="T:log4net.Core.ILogger">
  10773. <summary>
  10774. Interface that all loggers implement
  10775. </summary>
  10776. <remarks>
  10777. <para>
  10778. This interface supports logging events and testing if a level
  10779. is enabled for logging.
  10780. </para>
  10781. <para>
  10782. These methods will not throw exceptions. Note to implementor, ensure
  10783. that the implementation of these methods cannot allow an exception
  10784. to be thrown to the caller.
  10785. </para>
  10786. </remarks>
  10787. <author>Nicko Cadell</author>
  10788. <author>Gert Driesen</author>
  10789. </member>
  10790. <member name="M:log4net.Core.ILogger.Log(System.Type,log4net.Core.Level,System.Object,System.Exception)">
  10791. <summary>
  10792. This generic form is intended to be used by wrappers.
  10793. </summary>
  10794. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  10795. the stack boundary into the logging system for this call.</param>
  10796. <param name="level">The level of the message to be logged.</param>
  10797. <param name="message">The message object to log.</param>
  10798. <param name="exception">the exception to log, including its stack trace. Pass <c>null</c> to not log an exception.</param>
  10799. <remarks>
  10800. <para>
  10801. Generates a logging event for the specified <paramref name="level"/> using
  10802. the <paramref name="message"/> and <paramref name="exception"/>.
  10803. </para>
  10804. </remarks>
  10805. </member>
  10806. <member name="M:log4net.Core.ILogger.Log(log4net.Core.LoggingEvent)">
  10807. <summary>
  10808. This is the most generic printing method that is intended to be used
  10809. by wrappers.
  10810. </summary>
  10811. <param name="logEvent">The event being logged.</param>
  10812. <remarks>
  10813. <para>
  10814. Logs the specified logging event through this logger.
  10815. </para>
  10816. </remarks>
  10817. </member>
  10818. <member name="M:log4net.Core.ILogger.IsEnabledFor(log4net.Core.Level)">
  10819. <summary>
  10820. Checks if this logger is enabled for a given <see cref="T:log4net.Core.Level"/> passed as parameter.
  10821. </summary>
  10822. <param name="level">The level to check.</param>
  10823. <returns>
  10824. <c>true</c> if this logger is enabled for <c>level</c>, otherwise <c>false</c>.
  10825. </returns>
  10826. <remarks>
  10827. <para>
  10828. Test if this logger is going to log events of the specified <paramref name="level"/>.
  10829. </para>
  10830. </remarks>
  10831. </member>
  10832. <member name="P:log4net.Core.ILogger.Name">
  10833. <summary>
  10834. Gets the name of the logger.
  10835. </summary>
  10836. <value>
  10837. The name of the logger.
  10838. </value>
  10839. <remarks>
  10840. <para>
  10841. The name of this logger
  10842. </para>
  10843. </remarks>
  10844. </member>
  10845. <member name="P:log4net.Core.ILogger.Repository">
  10846. <summary>
  10847. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this
  10848. <c>Logger</c> instance is attached to.
  10849. </summary>
  10850. <value>
  10851. The <see cref="T:log4net.Repository.ILoggerRepository"/> that this logger belongs to.
  10852. </value>
  10853. <remarks>
  10854. <para>
  10855. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this
  10856. <c>Logger</c> instance is attached to.
  10857. </para>
  10858. </remarks>
  10859. </member>
  10860. <member name="T:log4net.Core.ILoggerWrapper">
  10861. <summary>
  10862. Base interface for all wrappers
  10863. </summary>
  10864. <remarks>
  10865. <para>
  10866. Base interface for all wrappers.
  10867. </para>
  10868. <para>
  10869. All wrappers must implement this interface.
  10870. </para>
  10871. </remarks>
  10872. <author>Nicko Cadell</author>
  10873. </member>
  10874. <member name="P:log4net.Core.ILoggerWrapper.Logger">
  10875. <summary>
  10876. Get the implementation behind this wrapper object.
  10877. </summary>
  10878. <value>
  10879. The <see cref="T:log4net.Core.ILogger"/> object that in implementing this object.
  10880. </value>
  10881. <remarks>
  10882. <para>
  10883. The <see cref="T:log4net.Core.ILogger"/> object that in implementing this
  10884. object. The <c>Logger</c> object may not
  10885. be the same object as this object because of logger decorators.
  10886. This gets the actual underlying objects that is used to process
  10887. the log events.
  10888. </para>
  10889. </remarks>
  10890. </member>
  10891. <member name="T:log4net.Core.LoggerRepositoryCreationEventHandler">
  10892. <summary>
  10893. Delegate used to handle logger repository creation event notifications
  10894. </summary>
  10895. <param name="sender">The <see cref="T:log4net.Core.IRepositorySelector"/> which created the repository.</param>
  10896. <param name="e">The <see cref="T:log4net.Core.LoggerRepositoryCreationEventArgs"/> event args
  10897. that holds the <see cref="T:log4net.Repository.ILoggerRepository"/> instance that has been created.</param>
  10898. <remarks>
  10899. <para>
  10900. Delegate used to handle logger repository creation event notifications.
  10901. </para>
  10902. </remarks>
  10903. </member>
  10904. <member name="T:log4net.Core.LoggerRepositoryCreationEventArgs">
  10905. <summary>
  10906. Provides data for the <see cref="E:log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent"/> event.
  10907. </summary>
  10908. <remarks>
  10909. <para>
  10910. A <see cref="E:log4net.Core.IRepositorySelector.LoggerRepositoryCreatedEvent"/>
  10911. event is raised every time a <see cref="T:log4net.Repository.ILoggerRepository"/> is created.
  10912. </para>
  10913. </remarks>
  10914. </member>
  10915. <member name="F:log4net.Core.LoggerRepositoryCreationEventArgs.m_repository">
  10916. <summary>
  10917. The <see cref="T:log4net.Repository.ILoggerRepository"/> created
  10918. </summary>
  10919. </member>
  10920. <member name="M:log4net.Core.LoggerRepositoryCreationEventArgs.#ctor(log4net.Repository.ILoggerRepository)">
  10921. <summary>
  10922. Construct instance using <see cref="T:log4net.Repository.ILoggerRepository"/> specified
  10923. </summary>
  10924. <param name="repository">the <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created</param>
  10925. <remarks>
  10926. <para>
  10927. Construct instance using <see cref="T:log4net.Repository.ILoggerRepository"/> specified
  10928. </para>
  10929. </remarks>
  10930. </member>
  10931. <member name="P:log4net.Core.LoggerRepositoryCreationEventArgs.LoggerRepository">
  10932. <summary>
  10933. The <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created
  10934. </summary>
  10935. <value>
  10936. The <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created
  10937. </value>
  10938. <remarks>
  10939. <para>
  10940. The <see cref="T:log4net.Repository.ILoggerRepository"/> that has been created
  10941. </para>
  10942. </remarks>
  10943. </member>
  10944. <member name="T:log4net.Core.Level">
  10945. <summary>
  10946. Defines the default set of levels recognized by the system.
  10947. </summary>
  10948. <remarks>
  10949. <para>
  10950. Each <see cref="T:log4net.Core.LoggingEvent"/> has an associated <see cref="T:log4net.Core.Level"/>.
  10951. </para>
  10952. <para>
  10953. Levels have a numeric <see cref="P:log4net.Core.Level.Value"/> that defines the relative
  10954. ordering between levels. Two Levels with the same <see cref="P:log4net.Core.Level.Value"/>
  10955. are deemed to be equivalent.
  10956. </para>
  10957. <para>
  10958. The levels that are recognized by log4net are set for each <see cref="T:log4net.Repository.ILoggerRepository"/>
  10959. and each repository can have different levels defined. The levels are stored
  10960. in the <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/> on the repository. Levels are
  10961. looked up by name from the <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>.
  10962. </para>
  10963. <para>
  10964. When logging at level INFO the actual level used is not <see cref="F:log4net.Core.Level.Info"/> but
  10965. the value of <c>LoggerRepository.LevelMap["INFO"]</c>. The default value for this is
  10966. <see cref="F:log4net.Core.Level.Info"/>, but this can be changed by reconfiguring the level map.
  10967. </para>
  10968. <para>
  10969. Each level has a <see cref="P:log4net.Core.Level.DisplayName"/> in addition to its <see cref="P:log4net.Core.Level.Name"/>. The
  10970. <see cref="P:log4net.Core.Level.DisplayName"/> is the string that is written into the output log. By default
  10971. the display name is the same as the level name, but this can be used to alias levels
  10972. or to localize the log output.
  10973. </para>
  10974. <para>
  10975. Some of the predefined levels recognized by the system are:
  10976. </para>
  10977. <list type="bullet">
  10978. <item>
  10979. <description><see cref="F:log4net.Core.Level.Off"/>.</description>
  10980. </item>
  10981. <item>
  10982. <description><see cref="F:log4net.Core.Level.Fatal"/>.</description>
  10983. </item>
  10984. <item>
  10985. <description><see cref="F:log4net.Core.Level.Error"/>.</description>
  10986. </item>
  10987. <item>
  10988. <description><see cref="F:log4net.Core.Level.Warn"/>.</description>
  10989. </item>
  10990. <item>
  10991. <description><see cref="F:log4net.Core.Level.Info"/>.</description>
  10992. </item>
  10993. <item>
  10994. <description><see cref="F:log4net.Core.Level.Debug"/>.</description>
  10995. </item>
  10996. <item>
  10997. <description><see cref="F:log4net.Core.Level.All"/>.</description>
  10998. </item>
  10999. </list>
  11000. </remarks>
  11001. <author>Nicko Cadell</author>
  11002. <author>Gert Driesen</author>
  11003. </member>
  11004. <member name="M:log4net.Core.Level.#ctor(System.Int32,System.String,System.String)">
  11005. <summary>
  11006. Constructor
  11007. </summary>
  11008. <param name="level">Integer value for this level, higher values represent more severe levels.</param>
  11009. <param name="levelName">The string name of this level.</param>
  11010. <param name="displayName">The display name for this level. This may be localized or otherwise different from the name</param>
  11011. <remarks>
  11012. <para>
  11013. Initializes a new instance of the <see cref="T:log4net.Core.Level"/> class with
  11014. the specified level name and value.
  11015. </para>
  11016. </remarks>
  11017. </member>
  11018. <member name="M:log4net.Core.Level.#ctor(System.Int32,System.String)">
  11019. <summary>
  11020. Constructor
  11021. </summary>
  11022. <param name="level">Integer value for this level, higher values represent more severe levels.</param>
  11023. <param name="levelName">The string name of this level.</param>
  11024. <remarks>
  11025. <para>
  11026. Initializes a new instance of the <see cref="T:log4net.Core.Level"/> class with
  11027. the specified level name and value.
  11028. </para>
  11029. </remarks>
  11030. </member>
  11031. <member name="M:log4net.Core.Level.ToString">
  11032. <summary>
  11033. Returns the <see cref="T:System.String"/> representation of the current
  11034. <see cref="T:log4net.Core.Level"/>.
  11035. </summary>
  11036. <returns>
  11037. A <see cref="T:System.String"/> representation of the current <see cref="T:log4net.Core.Level"/>.
  11038. </returns>
  11039. <remarks>
  11040. <para>
  11041. Returns the level <see cref="P:log4net.Core.Level.Name"/>.
  11042. </para>
  11043. </remarks>
  11044. </member>
  11045. <member name="M:log4net.Core.Level.Equals(System.Object)">
  11046. <summary>
  11047. Compares levels.
  11048. </summary>
  11049. <param name="o">The object to compare against.</param>
  11050. <returns><c>true</c> if the objects are equal.</returns>
  11051. <remarks>
  11052. <para>
  11053. Compares the levels of <see cref="T:log4net.Core.Level"/> instances, and
  11054. defers to base class if the target object is not a <see cref="T:log4net.Core.Level"/>
  11055. instance.
  11056. </para>
  11057. </remarks>
  11058. </member>
  11059. <member name="M:log4net.Core.Level.GetHashCode">
  11060. <summary>
  11061. Returns a hash code
  11062. </summary>
  11063. <returns>A hash code for the current <see cref="T:log4net.Core.Level"/>.</returns>
  11064. <remarks>
  11065. <para>
  11066. Returns a hash code suitable for use in hashing algorithms and data
  11067. structures like a hash table.
  11068. </para>
  11069. <para>
  11070. Returns the hash code of the level <see cref="P:log4net.Core.Level.Value"/>.
  11071. </para>
  11072. </remarks>
  11073. </member>
  11074. <member name="M:log4net.Core.Level.CompareTo(System.Object)">
  11075. <summary>
  11076. Compares this instance to a specified object and returns an
  11077. indication of their relative values.
  11078. </summary>
  11079. <param name="r">A <see cref="T:log4net.Core.Level"/> instance or <see langword="null"/> to compare with this instance.</param>
  11080. <returns>
  11081. A 32-bit signed integer that indicates the relative order of the
  11082. values compared. The return value has these meanings:
  11083. <list type="table">
  11084. <listheader>
  11085. <term>Value</term>
  11086. <description>Meaning</description>
  11087. </listheader>
  11088. <item>
  11089. <term>Less than zero</term>
  11090. <description>This instance is less than <paramref name="r"/>.</description>
  11091. </item>
  11092. <item>
  11093. <term>Zero</term>
  11094. <description>This instance is equal to <paramref name="r"/>.</description>
  11095. </item>
  11096. <item>
  11097. <term>Greater than zero</term>
  11098. <description>
  11099. <para>This instance is greater than <paramref name="r"/>.</para>
  11100. <para>-or-</para>
  11101. <para><paramref name="r"/> is <see langword="null"/>.</para>
  11102. </description>
  11103. </item>
  11104. </list>
  11105. </returns>
  11106. <remarks>
  11107. <para>
  11108. <paramref name="r"/> must be an instance of <see cref="T:log4net.Core.Level"/>
  11109. or <see langword="null"/>; otherwise, an exception is thrown.
  11110. </para>
  11111. </remarks>
  11112. <exception cref="T:System.ArgumentException"><paramref name="r"/> is not a <see cref="T:log4net.Core.Level"/>.</exception>
  11113. </member>
  11114. <member name="M:log4net.Core.Level.op_GreaterThan(log4net.Core.Level,log4net.Core.Level)">
  11115. <summary>
  11116. Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/>
  11117. is greater than another specified <see cref="T:log4net.Core.Level"/>.
  11118. </summary>
  11119. <param name="l">A <see cref="T:log4net.Core.Level"/></param>
  11120. <param name="r">A <see cref="T:log4net.Core.Level"/></param>
  11121. <returns>
  11122. <c>true</c> if <paramref name="l"/> is greater than
  11123. <paramref name="r"/>; otherwise, <c>false</c>.
  11124. </returns>
  11125. <remarks>
  11126. <para>
  11127. Compares two levels.
  11128. </para>
  11129. </remarks>
  11130. </member>
  11131. <member name="M:log4net.Core.Level.op_LessThan(log4net.Core.Level,log4net.Core.Level)">
  11132. <summary>
  11133. Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/>
  11134. is less than another specified <see cref="T:log4net.Core.Level"/>.
  11135. </summary>
  11136. <param name="l">A <see cref="T:log4net.Core.Level"/></param>
  11137. <param name="r">A <see cref="T:log4net.Core.Level"/></param>
  11138. <returns>
  11139. <c>true</c> if <paramref name="l"/> is less than
  11140. <paramref name="r"/>; otherwise, <c>false</c>.
  11141. </returns>
  11142. <remarks>
  11143. <para>
  11144. Compares two levels.
  11145. </para>
  11146. </remarks>
  11147. </member>
  11148. <member name="M:log4net.Core.Level.op_GreaterThanOrEqual(log4net.Core.Level,log4net.Core.Level)">
  11149. <summary>
  11150. Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/>
  11151. is greater than or equal to another specified <see cref="T:log4net.Core.Level"/>.
  11152. </summary>
  11153. <param name="l">A <see cref="T:log4net.Core.Level"/></param>
  11154. <param name="r">A <see cref="T:log4net.Core.Level"/></param>
  11155. <returns>
  11156. <c>true</c> if <paramref name="l"/> is greater than or equal to
  11157. <paramref name="r"/>; otherwise, <c>false</c>.
  11158. </returns>
  11159. <remarks>
  11160. <para>
  11161. Compares two levels.
  11162. </para>
  11163. </remarks>
  11164. </member>
  11165. <member name="M:log4net.Core.Level.op_LessThanOrEqual(log4net.Core.Level,log4net.Core.Level)">
  11166. <summary>
  11167. Returns a value indicating whether a specified <see cref="T:log4net.Core.Level"/>
  11168. is less than or equal to another specified <see cref="T:log4net.Core.Level"/>.
  11169. </summary>
  11170. <param name="l">A <see cref="T:log4net.Core.Level"/></param>
  11171. <param name="r">A <see cref="T:log4net.Core.Level"/></param>
  11172. <returns>
  11173. <c>true</c> if <paramref name="l"/> is less than or equal to
  11174. <paramref name="r"/>; otherwise, <c>false</c>.
  11175. </returns>
  11176. <remarks>
  11177. <para>
  11178. Compares two levels.
  11179. </para>
  11180. </remarks>
  11181. </member>
  11182. <member name="M:log4net.Core.Level.op_Equality(log4net.Core.Level,log4net.Core.Level)">
  11183. <summary>
  11184. Returns a value indicating whether two specified <see cref="T:log4net.Core.Level"/>
  11185. objects have the same value.
  11186. </summary>
  11187. <param name="l">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
  11188. <param name="r">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
  11189. <returns>
  11190. <c>true</c> if the value of <paramref name="l"/> is the same as the
  11191. value of <paramref name="r"/>; otherwise, <c>false</c>.
  11192. </returns>
  11193. <remarks>
  11194. <para>
  11195. Compares two levels.
  11196. </para>
  11197. </remarks>
  11198. </member>
  11199. <member name="M:log4net.Core.Level.op_Inequality(log4net.Core.Level,log4net.Core.Level)">
  11200. <summary>
  11201. Returns a value indicating whether two specified <see cref="T:log4net.Core.Level"/>
  11202. objects have different values.
  11203. </summary>
  11204. <param name="l">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
  11205. <param name="r">A <see cref="T:log4net.Core.Level"/> or <see langword="null"/>.</param>
  11206. <returns>
  11207. <c>true</c> if the value of <paramref name="l"/> is different from
  11208. the value of <paramref name="r"/>; otherwise, <c>false</c>.
  11209. </returns>
  11210. <remarks>
  11211. <para>
  11212. Compares two levels.
  11213. </para>
  11214. </remarks>
  11215. </member>
  11216. <member name="M:log4net.Core.Level.Compare(log4net.Core.Level,log4net.Core.Level)">
  11217. <summary>
  11218. Compares two specified <see cref="T:log4net.Core.Level"/> instances.
  11219. </summary>
  11220. <param name="l">The first <see cref="T:log4net.Core.Level"/> to compare.</param>
  11221. <param name="r">The second <see cref="T:log4net.Core.Level"/> to compare.</param>
  11222. <returns>
  11223. A 32-bit signed integer that indicates the relative order of the
  11224. two values compared. The return value has these meanings:
  11225. <list type="table">
  11226. <listheader>
  11227. <term>Value</term>
  11228. <description>Meaning</description>
  11229. </listheader>
  11230. <item>
  11231. <term>Less than zero</term>
  11232. <description><paramref name="l"/> is less than <paramref name="r"/>.</description>
  11233. </item>
  11234. <item>
  11235. <term>Zero</term>
  11236. <description><paramref name="l"/> is equal to <paramref name="r"/>.</description>
  11237. </item>
  11238. <item>
  11239. <term>Greater than zero</term>
  11240. <description><paramref name="l"/> is greater than <paramref name="r"/>.</description>
  11241. </item>
  11242. </list>
  11243. </returns>
  11244. <remarks>
  11245. <para>
  11246. Compares two levels.
  11247. </para>
  11248. </remarks>
  11249. </member>
  11250. <member name="F:log4net.Core.Level.Off">
  11251. <summary>
  11252. The <see cref="F:log4net.Core.Level.Off"/> level designates a higher level than all the rest.
  11253. </summary>
  11254. </member>
  11255. <member name="F:log4net.Core.Level.Log4Net_Debug">
  11256. <summary>
  11257. The <see cref="F:log4net.Core.Level.Emergency"/> level designates very severe error events.
  11258. System unusable, emergencies.
  11259. </summary>
  11260. </member>
  11261. <member name="F:log4net.Core.Level.Emergency">
  11262. <summary>
  11263. The <see cref="F:log4net.Core.Level.Emergency"/> level designates very severe error events.
  11264. System unusable, emergencies.
  11265. </summary>
  11266. </member>
  11267. <member name="F:log4net.Core.Level.Fatal">
  11268. <summary>
  11269. The <see cref="F:log4net.Core.Level.Fatal"/> level designates very severe error events
  11270. that will presumably lead the application to abort.
  11271. </summary>
  11272. </member>
  11273. <member name="F:log4net.Core.Level.Alert">
  11274. <summary>
  11275. The <see cref="F:log4net.Core.Level.Alert"/> level designates very severe error events.
  11276. Take immediate action, alerts.
  11277. </summary>
  11278. </member>
  11279. <member name="F:log4net.Core.Level.Critical">
  11280. <summary>
  11281. The <see cref="F:log4net.Core.Level.Critical"/> level designates very severe error events.
  11282. Critical condition, critical.
  11283. </summary>
  11284. </member>
  11285. <member name="F:log4net.Core.Level.Severe">
  11286. <summary>
  11287. The <see cref="F:log4net.Core.Level.Severe"/> level designates very severe error events.
  11288. </summary>
  11289. </member>
  11290. <member name="F:log4net.Core.Level.Error">
  11291. <summary>
  11292. The <see cref="F:log4net.Core.Level.Error"/> level designates error events that might
  11293. still allow the application to continue running.
  11294. </summary>
  11295. </member>
  11296. <member name="F:log4net.Core.Level.Warn">
  11297. <summary>
  11298. The <see cref="F:log4net.Core.Level.Warn"/> level designates potentially harmful
  11299. situations.
  11300. </summary>
  11301. </member>
  11302. <member name="F:log4net.Core.Level.Notice">
  11303. <summary>
  11304. The <see cref="F:log4net.Core.Level.Notice"/> level designates informational messages
  11305. that highlight the progress of the application at the highest level.
  11306. </summary>
  11307. </member>
  11308. <member name="F:log4net.Core.Level.Info">
  11309. <summary>
  11310. The <see cref="F:log4net.Core.Level.Info"/> level designates informational messages that
  11311. highlight the progress of the application at coarse-grained level.
  11312. </summary>
  11313. </member>
  11314. <member name="F:log4net.Core.Level.Debug">
  11315. <summary>
  11316. The <see cref="F:log4net.Core.Level.Debug"/> level designates fine-grained informational
  11317. events that are most useful to debug an application.
  11318. </summary>
  11319. </member>
  11320. <member name="F:log4net.Core.Level.Fine">
  11321. <summary>
  11322. The <see cref="F:log4net.Core.Level.Fine"/> level designates fine-grained informational
  11323. events that are most useful to debug an application.
  11324. </summary>
  11325. </member>
  11326. <member name="F:log4net.Core.Level.Trace">
  11327. <summary>
  11328. The <see cref="F:log4net.Core.Level.Trace"/> level designates fine-grained informational
  11329. events that are most useful to debug an application.
  11330. </summary>
  11331. </member>
  11332. <member name="F:log4net.Core.Level.Finer">
  11333. <summary>
  11334. The <see cref="F:log4net.Core.Level.Finer"/> level designates fine-grained informational
  11335. events that are most useful to debug an application.
  11336. </summary>
  11337. </member>
  11338. <member name="F:log4net.Core.Level.Verbose">
  11339. <summary>
  11340. The <see cref="F:log4net.Core.Level.Verbose"/> level designates fine-grained informational
  11341. events that are most useful to debug an application.
  11342. </summary>
  11343. </member>
  11344. <member name="F:log4net.Core.Level.Finest">
  11345. <summary>
  11346. The <see cref="F:log4net.Core.Level.Finest"/> level designates fine-grained informational
  11347. events that are most useful to debug an application.
  11348. </summary>
  11349. </member>
  11350. <member name="F:log4net.Core.Level.All">
  11351. <summary>
  11352. The <see cref="F:log4net.Core.Level.All"/> level designates the lowest level possible.
  11353. </summary>
  11354. </member>
  11355. <member name="P:log4net.Core.Level.Name">
  11356. <summary>
  11357. Gets the name of this level.
  11358. </summary>
  11359. <value>
  11360. The name of this level.
  11361. </value>
  11362. <remarks>
  11363. <para>
  11364. Gets the name of this level.
  11365. </para>
  11366. </remarks>
  11367. </member>
  11368. <member name="P:log4net.Core.Level.Value">
  11369. <summary>
  11370. Gets the value of this level.
  11371. </summary>
  11372. <value>
  11373. The value of this level.
  11374. </value>
  11375. <remarks>
  11376. <para>
  11377. Gets the value of this level.
  11378. </para>
  11379. </remarks>
  11380. </member>
  11381. <member name="P:log4net.Core.Level.DisplayName">
  11382. <summary>
  11383. Gets the display name of this level.
  11384. </summary>
  11385. <value>
  11386. The display name of this level.
  11387. </value>
  11388. <remarks>
  11389. <para>
  11390. Gets the display name of this level.
  11391. </para>
  11392. </remarks>
  11393. </member>
  11394. <member name="T:log4net.Core.LevelCollection">
  11395. <summary>
  11396. A strongly-typed collection of <see cref="T:log4net.Core.Level"/> objects.
  11397. </summary>
  11398. <author>Nicko Cadell</author>
  11399. </member>
  11400. <member name="M:log4net.Core.LevelCollection.ReadOnly(log4net.Core.LevelCollection)">
  11401. <summary>
  11402. Creates a read-only wrapper for a <c>LevelCollection</c> instance.
  11403. </summary>
  11404. <param name="list">list to create a readonly wrapper arround</param>
  11405. <returns>
  11406. A <c>LevelCollection</c> wrapper that is read-only.
  11407. </returns>
  11408. </member>
  11409. <member name="M:log4net.Core.LevelCollection.#ctor">
  11410. <summary>
  11411. Initializes a new instance of the <c>LevelCollection</c> class
  11412. that is empty and has the default initial capacity.
  11413. </summary>
  11414. </member>
  11415. <member name="M:log4net.Core.LevelCollection.#ctor(System.Int32)">
  11416. <summary>
  11417. Initializes a new instance of the <c>LevelCollection</c> class
  11418. that has the specified initial capacity.
  11419. </summary>
  11420. <param name="capacity">
  11421. The number of elements that the new <c>LevelCollection</c> is initially capable of storing.
  11422. </param>
  11423. </member>
  11424. <member name="M:log4net.Core.LevelCollection.#ctor(log4net.Core.LevelCollection)">
  11425. <summary>
  11426. Initializes a new instance of the <c>LevelCollection</c> class
  11427. that contains elements copied from the specified <c>LevelCollection</c>.
  11428. </summary>
  11429. <param name="c">The <c>LevelCollection</c> whose elements are copied to the new collection.</param>
  11430. </member>
  11431. <member name="M:log4net.Core.LevelCollection.#ctor(log4net.Core.Level[])">
  11432. <summary>
  11433. Initializes a new instance of the <c>LevelCollection</c> class
  11434. that contains elements copied from the specified <see cref="T:log4net.Core.Level"/> array.
  11435. </summary>
  11436. <param name="a">The <see cref="T:log4net.Core.Level"/> array whose elements are copied to the new list.</param>
  11437. </member>
  11438. <member name="M:log4net.Core.LevelCollection.#ctor(System.Collections.ICollection)">
  11439. <summary>
  11440. Initializes a new instance of the <c>LevelCollection</c> class
  11441. that contains elements copied from the specified <see cref="T:log4net.Core.Level"/> collection.
  11442. </summary>
  11443. <param name="col">The <see cref="T:log4net.Core.Level"/> collection whose elements are copied to the new list.</param>
  11444. </member>
  11445. <member name="M:log4net.Core.LevelCollection.#ctor(log4net.Core.LevelCollection.Tag)">
  11446. <summary>
  11447. Allow subclasses to avoid our default constructors
  11448. </summary>
  11449. <param name="tag"></param>
  11450. </member>
  11451. <member name="M:log4net.Core.LevelCollection.CopyTo(log4net.Core.Level[])">
  11452. <summary>
  11453. Copies the entire <c>LevelCollection</c> to a one-dimensional
  11454. <see cref="T:log4net.Core.Level"/> array.
  11455. </summary>
  11456. <param name="array">The one-dimensional <see cref="T:log4net.Core.Level"/> array to copy to.</param>
  11457. </member>
  11458. <member name="M:log4net.Core.LevelCollection.CopyTo(log4net.Core.Level[],System.Int32)">
  11459. <summary>
  11460. Copies the entire <c>LevelCollection</c> to a one-dimensional
  11461. <see cref="T:log4net.Core.Level"/> array, starting at the specified index of the target array.
  11462. </summary>
  11463. <param name="array">The one-dimensional <see cref="T:log4net.Core.Level"/> array to copy to.</param>
  11464. <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param>
  11465. </member>
  11466. <member name="M:log4net.Core.LevelCollection.Add(log4net.Core.Level)">
  11467. <summary>
  11468. Adds a <see cref="T:log4net.Core.Level"/> to the end of the <c>LevelCollection</c>.
  11469. </summary>
  11470. <param name="item">The <see cref="T:log4net.Core.Level"/> to be added to the end of the <c>LevelCollection</c>.</param>
  11471. <returns>The index at which the value has been added.</returns>
  11472. </member>
  11473. <member name="M:log4net.Core.LevelCollection.Clear">
  11474. <summary>
  11475. Removes all elements from the <c>LevelCollection</c>.
  11476. </summary>
  11477. </member>
  11478. <member name="M:log4net.Core.LevelCollection.Clone">
  11479. <summary>
  11480. Creates a shallow copy of the <see cref="T:log4net.Core.LevelCollection"/>.
  11481. </summary>
  11482. <returns>A new <see cref="T:log4net.Core.LevelCollection"/> with a shallow copy of the collection data.</returns>
  11483. </member>
  11484. <member name="M:log4net.Core.LevelCollection.Contains(log4net.Core.Level)">
  11485. <summary>
  11486. Determines whether a given <see cref="T:log4net.Core.Level"/> is in the <c>LevelCollection</c>.
  11487. </summary>
  11488. <param name="item">The <see cref="T:log4net.Core.Level"/> to check for.</param>
  11489. <returns><c>true</c> if <paramref name="item"/> is found in the <c>LevelCollection</c>; otherwise, <c>false</c>.</returns>
  11490. </member>
  11491. <member name="M:log4net.Core.LevelCollection.IndexOf(log4net.Core.Level)">
  11492. <summary>
  11493. Returns the zero-based index of the first occurrence of a <see cref="T:log4net.Core.Level"/>
  11494. in the <c>LevelCollection</c>.
  11495. </summary>
  11496. <param name="item">The <see cref="T:log4net.Core.Level"/> to locate in the <c>LevelCollection</c>.</param>
  11497. <returns>
  11498. The zero-based index of the first occurrence of <paramref name="item"/>
  11499. in the entire <c>LevelCollection</c>, if found; otherwise, -1.
  11500. </returns>
  11501. </member>
  11502. <member name="M:log4net.Core.LevelCollection.Insert(System.Int32,log4net.Core.Level)">
  11503. <summary>
  11504. Inserts an element into the <c>LevelCollection</c> at the specified index.
  11505. </summary>
  11506. <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
  11507. <param name="item">The <see cref="T:log4net.Core.Level"/> to insert.</param>
  11508. <exception cref="T:System.ArgumentOutOfRangeException">
  11509. <para><paramref name="index"/> is less than zero</para>
  11510. <para>-or-</para>
  11511. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
  11512. </exception>
  11513. </member>
  11514. <member name="M:log4net.Core.LevelCollection.Remove(log4net.Core.Level)">
  11515. <summary>
  11516. Removes the first occurrence of a specific <see cref="T:log4net.Core.Level"/> from the <c>LevelCollection</c>.
  11517. </summary>
  11518. <param name="item">The <see cref="T:log4net.Core.Level"/> to remove from the <c>LevelCollection</c>.</param>
  11519. <exception cref="T:System.ArgumentException">
  11520. The specified <see cref="T:log4net.Core.Level"/> was not found in the <c>LevelCollection</c>.
  11521. </exception>
  11522. </member>
  11523. <member name="M:log4net.Core.LevelCollection.RemoveAt(System.Int32)">
  11524. <summary>
  11525. Removes the element at the specified index of the <c>LevelCollection</c>.
  11526. </summary>
  11527. <param name="index">The zero-based index of the element to remove.</param>
  11528. <exception cref="T:System.ArgumentOutOfRangeException">
  11529. <para><paramref name="index"/> is less than zero</para>
  11530. <para>-or-</para>
  11531. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
  11532. </exception>
  11533. </member>
  11534. <member name="M:log4net.Core.LevelCollection.GetEnumerator">
  11535. <summary>
  11536. Returns an enumerator that can iterate through the <c>LevelCollection</c>.
  11537. </summary>
  11538. <returns>An <see cref="T:log4net.Core.LevelCollection.Enumerator"/> for the entire <c>LevelCollection</c>.</returns>
  11539. </member>
  11540. <member name="M:log4net.Core.LevelCollection.AddRange(log4net.Core.LevelCollection)">
  11541. <summary>
  11542. Adds the elements of another <c>LevelCollection</c> to the current <c>LevelCollection</c>.
  11543. </summary>
  11544. <param name="x">The <c>LevelCollection</c> whose elements should be added to the end of the current <c>LevelCollection</c>.</param>
  11545. <returns>The new <see cref="P:log4net.Core.LevelCollection.Count"/> of the <c>LevelCollection</c>.</returns>
  11546. </member>
  11547. <member name="M:log4net.Core.LevelCollection.AddRange(log4net.Core.Level[])">
  11548. <summary>
  11549. Adds the elements of a <see cref="T:log4net.Core.Level"/> array to the current <c>LevelCollection</c>.
  11550. </summary>
  11551. <param name="x">The <see cref="T:log4net.Core.Level"/> array whose elements should be added to the end of the <c>LevelCollection</c>.</param>
  11552. <returns>The new <see cref="P:log4net.Core.LevelCollection.Count"/> of the <c>LevelCollection</c>.</returns>
  11553. </member>
  11554. <member name="M:log4net.Core.LevelCollection.AddRange(System.Collections.ICollection)">
  11555. <summary>
  11556. Adds the elements of a <see cref="T:log4net.Core.Level"/> collection to the current <c>LevelCollection</c>.
  11557. </summary>
  11558. <param name="col">The <see cref="T:log4net.Core.Level"/> collection whose elements should be added to the end of the <c>LevelCollection</c>.</param>
  11559. <returns>The new <see cref="P:log4net.Core.LevelCollection.Count"/> of the <c>LevelCollection</c>.</returns>
  11560. </member>
  11561. <member name="M:log4net.Core.LevelCollection.TrimToSize">
  11562. <summary>
  11563. Sets the capacity to the actual number of elements.
  11564. </summary>
  11565. </member>
  11566. <member name="M:log4net.Core.LevelCollection.ValidateIndex(System.Int32)">
  11567. <exception cref="T:System.ArgumentOutOfRangeException">
  11568. <para><paramref name="i"/> is less than zero</para>
  11569. <para>-or-</para>
  11570. <para><paramref name="i"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
  11571. </exception>
  11572. </member>
  11573. <member name="M:log4net.Core.LevelCollection.ValidateIndex(System.Int32,System.Boolean)">
  11574. <exception cref="T:System.ArgumentOutOfRangeException">
  11575. <para><paramref name="i"/> is less than zero</para>
  11576. <para>-or-</para>
  11577. <para><paramref name="i"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
  11578. </exception>
  11579. </member>
  11580. <member name="P:log4net.Core.LevelCollection.Count">
  11581. <summary>
  11582. Gets the number of elements actually contained in the <c>LevelCollection</c>.
  11583. </summary>
  11584. </member>
  11585. <member name="P:log4net.Core.LevelCollection.IsSynchronized">
  11586. <summary>
  11587. Gets a value indicating whether access to the collection is synchronized (thread-safe).
  11588. </summary>
  11589. <value>true if access to the ICollection is synchronized (thread-safe); otherwise, false.</value>
  11590. </member>
  11591. <member name="P:log4net.Core.LevelCollection.SyncRoot">
  11592. <summary>
  11593. Gets an object that can be used to synchronize access to the collection.
  11594. </summary>
  11595. </member>
  11596. <member name="P:log4net.Core.LevelCollection.Item(System.Int32)">
  11597. <summary>
  11598. Gets or sets the <see cref="T:log4net.Core.Level"/> at the specified index.
  11599. </summary>
  11600. <param name="index">The zero-based index of the element to get or set.</param>
  11601. <exception cref="T:System.ArgumentOutOfRangeException">
  11602. <para><paramref name="index"/> is less than zero</para>
  11603. <para>-or-</para>
  11604. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Core.LevelCollection.Count"/>.</para>
  11605. </exception>
  11606. </member>
  11607. <member name="P:log4net.Core.LevelCollection.IsFixedSize">
  11608. <summary>
  11609. Gets a value indicating whether the collection has a fixed size.
  11610. </summary>
  11611. <value>true if the collection has a fixed size; otherwise, false. The default is false</value>
  11612. </member>
  11613. <member name="P:log4net.Core.LevelCollection.IsReadOnly">
  11614. <summary>
  11615. Gets a value indicating whether the IList is read-only.
  11616. </summary>
  11617. <value>true if the collection is read-only; otherwise, false. The default is false</value>
  11618. </member>
  11619. <member name="P:log4net.Core.LevelCollection.Capacity">
  11620. <summary>
  11621. Gets or sets the number of elements the <c>LevelCollection</c> can contain.
  11622. </summary>
  11623. </member>
  11624. <member name="T:log4net.Core.LevelCollection.ILevelCollectionEnumerator">
  11625. <summary>
  11626. Supports type-safe iteration over a <see cref="T:log4net.Core.LevelCollection"/>.
  11627. </summary>
  11628. </member>
  11629. <member name="M:log4net.Core.LevelCollection.ILevelCollectionEnumerator.MoveNext">
  11630. <summary>
  11631. Advances the enumerator to the next element in the collection.
  11632. </summary>
  11633. <returns>
  11634. <c>true</c> if the enumerator was successfully advanced to the next element;
  11635. <c>false</c> if the enumerator has passed the end of the collection.
  11636. </returns>
  11637. <exception cref="T:System.InvalidOperationException">
  11638. The collection was modified after the enumerator was created.
  11639. </exception>
  11640. </member>
  11641. <member name="M:log4net.Core.LevelCollection.ILevelCollectionEnumerator.Reset">
  11642. <summary>
  11643. Sets the enumerator to its initial position, before the first element in the collection.
  11644. </summary>
  11645. </member>
  11646. <member name="P:log4net.Core.LevelCollection.ILevelCollectionEnumerator.Current">
  11647. <summary>
  11648. Gets the current element in the collection.
  11649. </summary>
  11650. </member>
  11651. <member name="T:log4net.Core.LevelCollection.Tag">
  11652. <summary>
  11653. Type visible only to our subclasses
  11654. Used to access protected constructor
  11655. </summary>
  11656. </member>
  11657. <member name="F:log4net.Core.LevelCollection.Tag.Default">
  11658. <summary>
  11659. A value
  11660. </summary>
  11661. </member>
  11662. <member name="T:log4net.Core.LevelCollection.Enumerator">
  11663. <summary>
  11664. Supports simple iteration over a <see cref="T:log4net.Core.LevelCollection"/>.
  11665. </summary>
  11666. </member>
  11667. <member name="M:log4net.Core.LevelCollection.Enumerator.#ctor(log4net.Core.LevelCollection)">
  11668. <summary>
  11669. Initializes a new instance of the <c>Enumerator</c> class.
  11670. </summary>
  11671. <param name="tc"></param>
  11672. </member>
  11673. <member name="M:log4net.Core.LevelCollection.Enumerator.MoveNext">
  11674. <summary>
  11675. Advances the enumerator to the next element in the collection.
  11676. </summary>
  11677. <returns>
  11678. <c>true</c> if the enumerator was successfully advanced to the next element;
  11679. <c>false</c> if the enumerator has passed the end of the collection.
  11680. </returns>
  11681. <exception cref="T:System.InvalidOperationException">
  11682. The collection was modified after the enumerator was created.
  11683. </exception>
  11684. </member>
  11685. <member name="M:log4net.Core.LevelCollection.Enumerator.Reset">
  11686. <summary>
  11687. Sets the enumerator to its initial position, before the first element in the collection.
  11688. </summary>
  11689. </member>
  11690. <member name="P:log4net.Core.LevelCollection.Enumerator.Current">
  11691. <summary>
  11692. Gets the current element in the collection.
  11693. </summary>
  11694. </member>
  11695. <member name="T:log4net.Core.LevelEvaluator">
  11696. <summary>
  11697. An evaluator that triggers at a threshold level
  11698. </summary>
  11699. <remarks>
  11700. <para>
  11701. This evaluator will trigger if the level of the event
  11702. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  11703. is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
  11704. level.
  11705. </para>
  11706. </remarks>
  11707. <author>Nicko Cadell</author>
  11708. </member>
  11709. <member name="F:log4net.Core.LevelEvaluator.m_threshold">
  11710. <summary>
  11711. The threshold for triggering
  11712. </summary>
  11713. </member>
  11714. <member name="M:log4net.Core.LevelEvaluator.#ctor">
  11715. <summary>
  11716. Create a new evaluator using the <see cref="F:log4net.Core.Level.Off"/> threshold.
  11717. </summary>
  11718. <remarks>
  11719. <para>
  11720. Create a new evaluator using the <see cref="F:log4net.Core.Level.Off"/> threshold.
  11721. </para>
  11722. <para>
  11723. This evaluator will trigger if the level of the event
  11724. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  11725. is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
  11726. level.
  11727. </para>
  11728. </remarks>
  11729. </member>
  11730. <member name="M:log4net.Core.LevelEvaluator.#ctor(log4net.Core.Level)">
  11731. <summary>
  11732. Create a new evaluator using the specified <see cref="T:log4net.Core.Level"/> threshold.
  11733. </summary>
  11734. <param name="threshold">the threshold to trigger at</param>
  11735. <remarks>
  11736. <para>
  11737. Create a new evaluator using the specified <see cref="T:log4net.Core.Level"/> threshold.
  11738. </para>
  11739. <para>
  11740. This evaluator will trigger if the level of the event
  11741. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  11742. is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
  11743. level.
  11744. </para>
  11745. </remarks>
  11746. </member>
  11747. <member name="M:log4net.Core.LevelEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)">
  11748. <summary>
  11749. Is this <paramref name="loggingEvent"/> the triggering event?
  11750. </summary>
  11751. <param name="loggingEvent">The event to check</param>
  11752. <returns>This method returns <c>true</c>, if the event level
  11753. is equal or higher than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>.
  11754. Otherwise it returns <c>false</c></returns>
  11755. <remarks>
  11756. <para>
  11757. This evaluator will trigger if the level of the event
  11758. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  11759. is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
  11760. level.
  11761. </para>
  11762. </remarks>
  11763. </member>
  11764. <member name="P:log4net.Core.LevelEvaluator.Threshold">
  11765. <summary>
  11766. the threshold to trigger at
  11767. </summary>
  11768. <value>
  11769. The <see cref="T:log4net.Core.Level"/> that will cause this evaluator to trigger
  11770. </value>
  11771. <remarks>
  11772. <para>
  11773. This evaluator will trigger if the level of the event
  11774. passed to <see cref="M:IsTriggeringEvent(LoggingEvent)"/>
  11775. is equal to or greater than the <see cref="P:log4net.Core.LevelEvaluator.Threshold"/>
  11776. level.
  11777. </para>
  11778. </remarks>
  11779. </member>
  11780. <member name="T:log4net.Core.LevelMap">
  11781. <summary>
  11782. Mapping between string name and Level object
  11783. </summary>
  11784. <remarks>
  11785. <para>
  11786. Mapping between string name and <see cref="T:log4net.Core.Level"/> object.
  11787. This mapping is held separately for each <see cref="T:log4net.Repository.ILoggerRepository"/>.
  11788. The level name is case insensitive.
  11789. </para>
  11790. </remarks>
  11791. <author>Nicko Cadell</author>
  11792. </member>
  11793. <member name="F:log4net.Core.LevelMap.m_mapName2Level">
  11794. <summary>
  11795. Mapping from level name to Level object. The
  11796. level name is case insensitive
  11797. </summary>
  11798. </member>
  11799. <member name="M:log4net.Core.LevelMap.#ctor">
  11800. <summary>
  11801. Construct the level map
  11802. </summary>
  11803. <remarks>
  11804. <para>
  11805. Construct the level map.
  11806. </para>
  11807. </remarks>
  11808. </member>
  11809. <member name="M:log4net.Core.LevelMap.Clear">
  11810. <summary>
  11811. Clear the internal maps of all levels
  11812. </summary>
  11813. <remarks>
  11814. <para>
  11815. Clear the internal maps of all levels
  11816. </para>
  11817. </remarks>
  11818. </member>
  11819. <member name="M:log4net.Core.LevelMap.Add(System.String,System.Int32)">
  11820. <summary>
  11821. Create a new Level and add it to the map
  11822. </summary>
  11823. <param name="name">the string to display for the Level</param>
  11824. <param name="value">the level value to give to the Level</param>
  11825. <remarks>
  11826. <para>
  11827. Create a new Level and add it to the map
  11828. </para>
  11829. </remarks>
  11830. <seealso cref="M:Add(string,int,string)"/>
  11831. </member>
  11832. <member name="M:log4net.Core.LevelMap.Add(System.String,System.Int32,System.String)">
  11833. <summary>
  11834. Create a new Level and add it to the map
  11835. </summary>
  11836. <param name="name">the string to display for the Level</param>
  11837. <param name="value">the level value to give to the Level</param>
  11838. <param name="displayName">the display name to give to the Level</param>
  11839. <remarks>
  11840. <para>
  11841. Create a new Level and add it to the map
  11842. </para>
  11843. </remarks>
  11844. </member>
  11845. <member name="M:log4net.Core.LevelMap.Add(log4net.Core.Level)">
  11846. <summary>
  11847. Add a Level to the map
  11848. </summary>
  11849. <param name="level">the Level to add</param>
  11850. <remarks>
  11851. <para>
  11852. Add a Level to the map
  11853. </para>
  11854. </remarks>
  11855. </member>
  11856. <member name="M:log4net.Core.LevelMap.LookupWithDefault(log4net.Core.Level)">
  11857. <summary>
  11858. Lookup a named level from the map
  11859. </summary>
  11860. <param name="defaultLevel">the name of the level to lookup is taken from this level.
  11861. If the level is not set on the map then this level is added</param>
  11862. <returns>the level in the map with the name specified</returns>
  11863. <remarks>
  11864. <para>
  11865. Lookup a named level from the map. The name of the level to lookup is taken
  11866. from the <see cref="P:log4net.Core.Level.Name"/> property of the <paramref name="defaultLevel"/>
  11867. argument.
  11868. </para>
  11869. <para>
  11870. If no level with the specified name is found then the
  11871. <paramref name="defaultLevel"/> argument is added to the level map
  11872. and returned.
  11873. </para>
  11874. </remarks>
  11875. </member>
  11876. <member name="P:log4net.Core.LevelMap.Item(System.String)">
  11877. <summary>
  11878. Lookup a <see cref="T:log4net.Core.Level"/> by name
  11879. </summary>
  11880. <param name="name">The name of the Level to lookup</param>
  11881. <returns>a Level from the map with the name specified</returns>
  11882. <remarks>
  11883. <para>
  11884. Returns the <see cref="T:log4net.Core.Level"/> from the
  11885. map with the name specified. If the no level is
  11886. found then <c>null</c> is returned.
  11887. </para>
  11888. </remarks>
  11889. </member>
  11890. <member name="P:log4net.Core.LevelMap.AllLevels">
  11891. <summary>
  11892. Return all possible levels as a list of Level objects.
  11893. </summary>
  11894. <returns>all possible levels as a list of Level objects</returns>
  11895. <remarks>
  11896. <para>
  11897. Return all possible levels as a list of Level objects.
  11898. </para>
  11899. </remarks>
  11900. </member>
  11901. <member name="T:log4net.Core.LocationInfo">
  11902. <summary>
  11903. The internal representation of caller location information.
  11904. </summary>
  11905. <remarks>
  11906. <para>
  11907. This class uses the <c>System.Diagnostics.StackTrace</c> class to generate
  11908. a call stack. The caller's information is then extracted from this stack.
  11909. </para>
  11910. <para>
  11911. The <c>System.Diagnostics.StackTrace</c> class is not supported on the
  11912. .NET Compact Framework 1.0 therefore caller location information is not
  11913. available on that framework.
  11914. </para>
  11915. <para>
  11916. The <c>System.Diagnostics.StackTrace</c> class has this to say about Release builds:
  11917. </para>
  11918. <para>
  11919. "StackTrace information will be most informative with Debug build configurations.
  11920. By default, Debug builds include debug symbols, while Release builds do not. The
  11921. debug symbols contain most of the file, method name, line number, and column
  11922. information used in constructing StackFrame and StackTrace objects. StackTrace
  11923. might not report as many method calls as expected, due to code transformations
  11924. that occur during optimization."
  11925. </para>
  11926. <para>
  11927. This means that in a Release build the caller information may be incomplete or may
  11928. not exist at all! Therefore caller location information cannot be relied upon in a Release build.
  11929. </para>
  11930. </remarks>
  11931. <author>Nicko Cadell</author>
  11932. <author>Gert Driesen</author>
  11933. </member>
  11934. <member name="F:log4net.Core.LocationInfo.NA">
  11935. <summary>
  11936. When location information is not available the constant
  11937. <c>NA</c> is returned. Current value of this string
  11938. constant is <b>?</b>.
  11939. </summary>
  11940. </member>
  11941. <member name="M:log4net.Core.LocationInfo.#ctor(System.Type)">
  11942. <summary>
  11943. Constructor
  11944. </summary>
  11945. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  11946. the stack boundary into the logging system for this call.</param>
  11947. <remarks>
  11948. <para>
  11949. Initializes a new instance of the <see cref="T:log4net.Core.LocationInfo"/>
  11950. class based on the current thread.
  11951. </para>
  11952. </remarks>
  11953. </member>
  11954. <member name="M:log4net.Core.LocationInfo.#ctor(System.String,System.String,System.String,System.String)">
  11955. <summary>
  11956. Constructor
  11957. </summary>
  11958. <param name="className">The fully qualified class name.</param>
  11959. <param name="methodName">The method name.</param>
  11960. <param name="fileName">The file name.</param>
  11961. <param name="lineNumber">The line number of the method within the file.</param>
  11962. <remarks>
  11963. <para>
  11964. Initializes a new instance of the <see cref="T:log4net.Core.LocationInfo"/>
  11965. class with the specified data.
  11966. </para>
  11967. </remarks>
  11968. </member>
  11969. <member name="F:log4net.Core.LocationInfo.declaringType">
  11970. <summary>
  11971. The fully qualified type of the LocationInfo class.
  11972. </summary>
  11973. <remarks>
  11974. Used by the internal logger to record the Type of the
  11975. log message.
  11976. </remarks>
  11977. </member>
  11978. <member name="P:log4net.Core.LocationInfo.ClassName">
  11979. <summary>
  11980. Gets the fully qualified class name of the caller making the logging
  11981. request.
  11982. </summary>
  11983. <value>
  11984. The fully qualified class name of the caller making the logging
  11985. request.
  11986. </value>
  11987. <remarks>
  11988. <para>
  11989. Gets the fully qualified class name of the caller making the logging
  11990. request.
  11991. </para>
  11992. </remarks>
  11993. </member>
  11994. <member name="P:log4net.Core.LocationInfo.FileName">
  11995. <summary>
  11996. Gets the file name of the caller.
  11997. </summary>
  11998. <value>
  11999. The file name of the caller.
  12000. </value>
  12001. <remarks>
  12002. <para>
  12003. Gets the file name of the caller.
  12004. </para>
  12005. </remarks>
  12006. </member>
  12007. <member name="P:log4net.Core.LocationInfo.LineNumber">
  12008. <summary>
  12009. Gets the line number of the caller.
  12010. </summary>
  12011. <value>
  12012. The line number of the caller.
  12013. </value>
  12014. <remarks>
  12015. <para>
  12016. Gets the line number of the caller.
  12017. </para>
  12018. </remarks>
  12019. </member>
  12020. <member name="P:log4net.Core.LocationInfo.MethodName">
  12021. <summary>
  12022. Gets the method name of the caller.
  12023. </summary>
  12024. <value>
  12025. The method name of the caller.
  12026. </value>
  12027. <remarks>
  12028. <para>
  12029. Gets the method name of the caller.
  12030. </para>
  12031. </remarks>
  12032. </member>
  12033. <member name="P:log4net.Core.LocationInfo.FullInfo">
  12034. <summary>
  12035. Gets all available caller information
  12036. </summary>
  12037. <value>
  12038. All available caller information, in the format
  12039. <c>fully.qualified.classname.of.caller.methodName(Filename:line)</c>
  12040. </value>
  12041. <remarks>
  12042. <para>
  12043. Gets all available caller information, in the format
  12044. <c>fully.qualified.classname.of.caller.methodName(Filename:line)</c>
  12045. </para>
  12046. </remarks>
  12047. </member>
  12048. <member name="P:log4net.Core.LocationInfo.StackFrames">
  12049. <summary>
  12050. Gets the stack frames from the stack trace of the caller making the log request
  12051. </summary>
  12052. </member>
  12053. <member name="T:log4net.Core.LoggerManager">
  12054. <summary>
  12055. Static manager that controls the creation of repositories
  12056. </summary>
  12057. <remarks>
  12058. <para>
  12059. Static manager that controls the creation of repositories
  12060. </para>
  12061. <para>
  12062. This class is used by the wrapper managers (e.g. <see cref="T:log4net.LogManager"/>)
  12063. to provide access to the <see cref="T:log4net.Core.ILogger"/> objects.
  12064. </para>
  12065. <para>
  12066. This manager also holds the <see cref="T:log4net.Core.IRepositorySelector"/> that is used to
  12067. lookup and create repositories. The selector can be set either programmatically using
  12068. the <see cref="P:log4net.Core.LoggerManager.RepositorySelector"/> property, or by setting the <c>log4net.RepositorySelector</c>
  12069. AppSetting in the applications config file to the fully qualified type name of the
  12070. selector to use.
  12071. </para>
  12072. </remarks>
  12073. <author>Nicko Cadell</author>
  12074. <author>Gert Driesen</author>
  12075. </member>
  12076. <member name="M:log4net.Core.LoggerManager.#ctor">
  12077. <summary>
  12078. Private constructor to prevent instances. Only static methods should be used.
  12079. </summary>
  12080. <remarks>
  12081. <para>
  12082. Private constructor to prevent instances. Only static methods should be used.
  12083. </para>
  12084. </remarks>
  12085. </member>
  12086. <member name="M:log4net.Core.LoggerManager.#cctor">
  12087. <summary>
  12088. Hook the shutdown event
  12089. </summary>
  12090. <remarks>
  12091. <para>
  12092. On the full .NET runtime, the static constructor hooks up the
  12093. <c>AppDomain.ProcessExit</c> and <c>AppDomain.DomainUnload</c>> events.
  12094. These are used to shutdown the log4net system as the application exits.
  12095. </para>
  12096. </remarks>
  12097. </member>
  12098. <member name="M:log4net.Core.LoggerManager.RegisterAppDomainEvents">
  12099. <summary>
  12100. Register for ProcessExit and DomainUnload events on the AppDomain
  12101. </summary>
  12102. <remarks>
  12103. <para>
  12104. This needs to be in a separate method because the events make
  12105. a LinkDemand for the ControlAppDomain SecurityPermission. Because
  12106. this is a LinkDemand it is demanded at JIT time. Therefore we cannot
  12107. catch the exception in the method itself, we have to catch it in the
  12108. caller.
  12109. </para>
  12110. </remarks>
  12111. </member>
  12112. <member name="M:log4net.Core.LoggerManager.GetLoggerRepository(System.String)">
  12113. <summary>
  12114. Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  12115. </summary>
  12116. <param name="repository">the repository to lookup in</param>
  12117. <returns>Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance</returns>
  12118. <remarks>
  12119. <para>
  12120. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  12121. by the <paramref name="repository"/> argument.
  12122. </para>
  12123. </remarks>
  12124. </member>
  12125. <member name="M:log4net.Core.LoggerManager.GetLoggerRepository(System.Reflection.Assembly)">
  12126. <summary>
  12127. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  12128. </summary>
  12129. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  12130. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
  12131. </member>
  12132. <member name="M:log4net.Core.LoggerManager.GetRepository(System.String)">
  12133. <summary>
  12134. Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  12135. </summary>
  12136. <param name="repository">the repository to lookup in</param>
  12137. <returns>Return the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance</returns>
  12138. <remarks>
  12139. <para>
  12140. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  12141. by the <paramref name="repository"/> argument.
  12142. </para>
  12143. </remarks>
  12144. </member>
  12145. <member name="M:log4net.Core.LoggerManager.GetRepository(System.Reflection.Assembly)">
  12146. <summary>
  12147. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  12148. </summary>
  12149. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  12150. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
  12151. <remarks>
  12152. <para>
  12153. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  12154. </para>
  12155. </remarks>
  12156. </member>
  12157. <member name="M:log4net.Core.LoggerManager.Exists(System.String,System.String)">
  12158. <summary>
  12159. Returns the named logger if it exists.
  12160. </summary>
  12161. <param name="repository">The repository to lookup in.</param>
  12162. <param name="name">The fully qualified logger name to look for.</param>
  12163. <returns>
  12164. The logger found, or <c>null</c> if the named logger does not exist in the
  12165. specified repository.
  12166. </returns>
  12167. <remarks>
  12168. <para>
  12169. If the named logger exists (in the specified repository) then it
  12170. returns a reference to the logger, otherwise it returns
  12171. <c>null</c>.
  12172. </para>
  12173. </remarks>
  12174. </member>
  12175. <member name="M:log4net.Core.LoggerManager.Exists(System.Reflection.Assembly,System.String)">
  12176. <summary>
  12177. Returns the named logger if it exists.
  12178. </summary>
  12179. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  12180. <param name="name">The fully qualified logger name to look for.</param>
  12181. <returns>
  12182. The logger found, or <c>null</c> if the named logger does not exist in the
  12183. specified assembly's repository.
  12184. </returns>
  12185. <remarks>
  12186. <para>
  12187. If the named logger exists (in the specified assembly's repository) then it
  12188. returns a reference to the logger, otherwise it returns
  12189. <c>null</c>.
  12190. </para>
  12191. </remarks>
  12192. </member>
  12193. <member name="M:log4net.Core.LoggerManager.GetCurrentLoggers(System.String)">
  12194. <summary>
  12195. Returns all the currently defined loggers in the specified repository.
  12196. </summary>
  12197. <param name="repository">The repository to lookup in.</param>
  12198. <returns>All the defined loggers.</returns>
  12199. <remarks>
  12200. <para>
  12201. The root logger is <b>not</b> included in the returned array.
  12202. </para>
  12203. </remarks>
  12204. </member>
  12205. <member name="M:log4net.Core.LoggerManager.GetCurrentLoggers(System.Reflection.Assembly)">
  12206. <summary>
  12207. Returns all the currently defined loggers in the specified assembly's repository.
  12208. </summary>
  12209. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  12210. <returns>All the defined loggers.</returns>
  12211. <remarks>
  12212. <para>
  12213. The root logger is <b>not</b> included in the returned array.
  12214. </para>
  12215. </remarks>
  12216. </member>
  12217. <member name="M:log4net.Core.LoggerManager.GetLogger(System.String,System.String)">
  12218. <summary>
  12219. Retrieves or creates a named logger.
  12220. </summary>
  12221. <param name="repository">The repository to lookup in.</param>
  12222. <param name="name">The name of the logger to retrieve.</param>
  12223. <returns>The logger with the name specified.</returns>
  12224. <remarks>
  12225. <para>
  12226. Retrieves a logger named as the <paramref name="name"/>
  12227. parameter. If the named logger already exists, then the
  12228. existing instance will be returned. Otherwise, a new instance is
  12229. created.
  12230. </para>
  12231. <para>
  12232. By default, loggers do not have a set level but inherit
  12233. it from the hierarchy. This is one of the central features of
  12234. log4net.
  12235. </para>
  12236. </remarks>
  12237. </member>
  12238. <member name="M:log4net.Core.LoggerManager.GetLogger(System.Reflection.Assembly,System.String)">
  12239. <summary>
  12240. Retrieves or creates a named logger.
  12241. </summary>
  12242. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  12243. <param name="name">The name of the logger to retrieve.</param>
  12244. <returns>The logger with the name specified.</returns>
  12245. <remarks>
  12246. <para>
  12247. Retrieves a logger named as the <paramref name="name"/>
  12248. parameter. If the named logger already exists, then the
  12249. existing instance will be returned. Otherwise, a new instance is
  12250. created.
  12251. </para>
  12252. <para>
  12253. By default, loggers do not have a set level but inherit
  12254. it from the hierarchy. This is one of the central features of
  12255. log4net.
  12256. </para>
  12257. </remarks>
  12258. </member>
  12259. <member name="M:log4net.Core.LoggerManager.GetLogger(System.String,System.Type)">
  12260. <summary>
  12261. Shorthand for <see cref="M:LogManager.GetLogger(string)"/>.
  12262. </summary>
  12263. <param name="repository">The repository to lookup in.</param>
  12264. <param name="type">The <paramref name="type"/> of which the fullname will be used as the name of the logger to retrieve.</param>
  12265. <returns>The logger with the name specified.</returns>
  12266. <remarks>
  12267. <para>
  12268. Gets the logger for the fully qualified name of the type specified.
  12269. </para>
  12270. </remarks>
  12271. </member>
  12272. <member name="M:log4net.Core.LoggerManager.GetLogger(System.Reflection.Assembly,System.Type)">
  12273. <summary>
  12274. Shorthand for <see cref="M:LogManager.GetLogger(string)"/>.
  12275. </summary>
  12276. <param name="repositoryAssembly">the assembly to use to lookup the repository</param>
  12277. <param name="type">The <paramref name="type"/> of which the fullname will be used as the name of the logger to retrieve.</param>
  12278. <returns>The logger with the name specified.</returns>
  12279. <remarks>
  12280. <para>
  12281. Gets the logger for the fully qualified name of the type specified.
  12282. </para>
  12283. </remarks>
  12284. </member>
  12285. <member name="M:log4net.Core.LoggerManager.Shutdown">
  12286. <summary>
  12287. Shuts down the log4net system.
  12288. </summary>
  12289. <remarks>
  12290. <para>
  12291. Calling this method will <b>safely</b> close and remove all
  12292. appenders in all the loggers including root contained in all the
  12293. default repositories.
  12294. </para>
  12295. <para>
  12296. Some appenders need to be closed before the application exists.
  12297. Otherwise, pending logging events might be lost.
  12298. </para>
  12299. <para>
  12300. The <c>shutdown</c> method is careful to close nested
  12301. appenders before closing regular appenders. This is allows
  12302. configurations where a regular appender is attached to a logger
  12303. and again to a nested appender.
  12304. </para>
  12305. </remarks>
  12306. </member>
  12307. <member name="M:log4net.Core.LoggerManager.ShutdownRepository(System.String)">
  12308. <summary>
  12309. Shuts down the repository for the repository specified.
  12310. </summary>
  12311. <param name="repository">The repository to shutdown.</param>
  12312. <remarks>
  12313. <para>
  12314. Calling this method will <b>safely</b> close and remove all
  12315. appenders in all the loggers including root contained in the
  12316. repository for the <paramref name="repository"/> specified.
  12317. </para>
  12318. <para>
  12319. Some appenders need to be closed before the application exists.
  12320. Otherwise, pending logging events might be lost.
  12321. </para>
  12322. <para>
  12323. The <c>shutdown</c> method is careful to close nested
  12324. appenders before closing regular appenders. This is allows
  12325. configurations where a regular appender is attached to a logger
  12326. and again to a nested appender.
  12327. </para>
  12328. </remarks>
  12329. </member>
  12330. <member name="M:log4net.Core.LoggerManager.ShutdownRepository(System.Reflection.Assembly)">
  12331. <summary>
  12332. Shuts down the repository for the repository specified.
  12333. </summary>
  12334. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  12335. <remarks>
  12336. <para>
  12337. Calling this method will <b>safely</b> close and remove all
  12338. appenders in all the loggers including root contained in the
  12339. repository for the repository. The repository is looked up using
  12340. the <paramref name="repositoryAssembly"/> specified.
  12341. </para>
  12342. <para>
  12343. Some appenders need to be closed before the application exists.
  12344. Otherwise, pending logging events might be lost.
  12345. </para>
  12346. <para>
  12347. The <c>shutdown</c> method is careful to close nested
  12348. appenders before closing regular appenders. This is allows
  12349. configurations where a regular appender is attached to a logger
  12350. and again to a nested appender.
  12351. </para>
  12352. </remarks>
  12353. </member>
  12354. <member name="M:log4net.Core.LoggerManager.ResetConfiguration(System.String)">
  12355. <summary>
  12356. Resets all values contained in this repository instance to their defaults.
  12357. </summary>
  12358. <param name="repository">The repository to reset.</param>
  12359. <remarks>
  12360. <para>
  12361. Resets all values contained in the repository instance to their
  12362. defaults. This removes all appenders from all loggers, sets
  12363. the level of all non-root loggers to <c>null</c>,
  12364. sets their additivity flag to <c>true</c> and sets the level
  12365. of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
  12366. message disabling is set its default "off" value.
  12367. </para>
  12368. </remarks>
  12369. </member>
  12370. <member name="M:log4net.Core.LoggerManager.ResetConfiguration(System.Reflection.Assembly)">
  12371. <summary>
  12372. Resets all values contained in this repository instance to their defaults.
  12373. </summary>
  12374. <param name="repositoryAssembly">The assembly to use to lookup the repository to reset.</param>
  12375. <remarks>
  12376. <para>
  12377. Resets all values contained in the repository instance to their
  12378. defaults. This removes all appenders from all loggers, sets
  12379. the level of all non-root loggers to <c>null</c>,
  12380. sets their additivity flag to <c>true</c> and sets the level
  12381. of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
  12382. message disabling is set its default "off" value.
  12383. </para>
  12384. </remarks>
  12385. </member>
  12386. <member name="M:log4net.Core.LoggerManager.CreateDomain(System.String)">
  12387. <summary>
  12388. Creates a repository with the specified name.
  12389. </summary>
  12390. <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
  12391. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  12392. <remarks>
  12393. <para>
  12394. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  12395. </para>
  12396. <para>
  12397. Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
  12398. <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
  12399. </para>
  12400. <para>
  12401. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  12402. An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
  12403. </para>
  12404. </remarks>
  12405. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  12406. </member>
  12407. <member name="M:log4net.Core.LoggerManager.CreateRepository(System.String)">
  12408. <summary>
  12409. Creates a repository with the specified name.
  12410. </summary>
  12411. <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
  12412. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  12413. <remarks>
  12414. <para>
  12415. Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
  12416. <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
  12417. </para>
  12418. <para>
  12419. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  12420. An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
  12421. </para>
  12422. </remarks>
  12423. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  12424. </member>
  12425. <member name="M:log4net.Core.LoggerManager.CreateDomain(System.String,System.Type)">
  12426. <summary>
  12427. Creates a repository with the specified name and repository type.
  12428. </summary>
  12429. <param name="repository">The name of the repository, this must be unique to the repository.</param>
  12430. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  12431. and has a no arg constructor. An instance of this type will be created to act
  12432. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  12433. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  12434. <remarks>
  12435. <para>
  12436. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  12437. </para>
  12438. <para>
  12439. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  12440. An Exception will be thrown if the repository already exists.
  12441. </para>
  12442. </remarks>
  12443. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  12444. </member>
  12445. <member name="M:log4net.Core.LoggerManager.CreateRepository(System.String,System.Type)">
  12446. <summary>
  12447. Creates a repository with the specified name and repository type.
  12448. </summary>
  12449. <param name="repository">The name of the repository, this must be unique to the repository.</param>
  12450. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  12451. and has a no arg constructor. An instance of this type will be created to act
  12452. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  12453. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  12454. <remarks>
  12455. <para>
  12456. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  12457. An Exception will be thrown if the repository already exists.
  12458. </para>
  12459. </remarks>
  12460. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  12461. </member>
  12462. <member name="M:log4net.Core.LoggerManager.CreateDomain(System.Reflection.Assembly,System.Type)">
  12463. <summary>
  12464. Creates a repository for the specified assembly and repository type.
  12465. </summary>
  12466. <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
  12467. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  12468. and has a no arg constructor. An instance of this type will be created to act
  12469. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  12470. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  12471. <remarks>
  12472. <para>
  12473. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  12474. </para>
  12475. <para>
  12476. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  12477. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  12478. same assembly specified will return the same repository instance.
  12479. </para>
  12480. </remarks>
  12481. </member>
  12482. <member name="M:log4net.Core.LoggerManager.CreateRepository(System.Reflection.Assembly,System.Type)">
  12483. <summary>
  12484. Creates a repository for the specified assembly and repository type.
  12485. </summary>
  12486. <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
  12487. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  12488. and has a no arg constructor. An instance of this type will be created to act
  12489. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  12490. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  12491. <remarks>
  12492. <para>
  12493. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  12494. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  12495. same assembly specified will return the same repository instance.
  12496. </para>
  12497. </remarks>
  12498. </member>
  12499. <member name="M:log4net.Core.LoggerManager.GetAllRepositories">
  12500. <summary>
  12501. Gets an array of all currently defined repositories.
  12502. </summary>
  12503. <returns>An array of all the known <see cref="T:log4net.Repository.ILoggerRepository"/> objects.</returns>
  12504. <remarks>
  12505. <para>
  12506. Gets an array of all currently defined repositories.
  12507. </para>
  12508. </remarks>
  12509. </member>
  12510. <member name="M:log4net.Core.LoggerManager.GetVersionInfo">
  12511. <summary>
  12512. Internal method to get pertinent version info.
  12513. </summary>
  12514. <returns>A string of version info.</returns>
  12515. </member>
  12516. <member name="M:log4net.Core.LoggerManager.OnDomainUnload(System.Object,System.EventArgs)">
  12517. <summary>
  12518. Called when the <see cref="E:System.AppDomain.DomainUnload"/> event fires
  12519. </summary>
  12520. <param name="sender">the <see cref="T:System.AppDomain"/> that is exiting</param>
  12521. <param name="e">null</param>
  12522. <remarks>
  12523. <para>
  12524. Called when the <see cref="E:System.AppDomain.DomainUnload"/> event fires.
  12525. </para>
  12526. <para>
  12527. When the event is triggered the log4net system is <see cref="M:Shutdown()"/>.
  12528. </para>
  12529. </remarks>
  12530. </member>
  12531. <member name="M:log4net.Core.LoggerManager.OnProcessExit(System.Object,System.EventArgs)">
  12532. <summary>
  12533. Called when the <see cref="E:System.AppDomain.ProcessExit"/> event fires
  12534. </summary>
  12535. <param name="sender">the <see cref="T:System.AppDomain"/> that is exiting</param>
  12536. <param name="e">null</param>
  12537. <remarks>
  12538. <para>
  12539. Called when the <see cref="E:System.AppDomain.ProcessExit"/> event fires.
  12540. </para>
  12541. <para>
  12542. When the event is triggered the log4net system is <see cref="M:Shutdown()"/>.
  12543. </para>
  12544. </remarks>
  12545. </member>
  12546. <member name="F:log4net.Core.LoggerManager.declaringType">
  12547. <summary>
  12548. The fully qualified type of the LoggerManager class.
  12549. </summary>
  12550. <remarks>
  12551. Used by the internal logger to record the Type of the
  12552. log message.
  12553. </remarks>
  12554. </member>
  12555. <member name="F:log4net.Core.LoggerManager.s_repositorySelector">
  12556. <summary>
  12557. Initialize the default repository selector
  12558. </summary>
  12559. </member>
  12560. <member name="P:log4net.Core.LoggerManager.RepositorySelector">
  12561. <summary>
  12562. Gets or sets the repository selector used by the <see cref="T:log4net.LogManager"/>.
  12563. </summary>
  12564. <value>
  12565. The repository selector used by the <see cref="T:log4net.LogManager"/>.
  12566. </value>
  12567. <remarks>
  12568. <para>
  12569. The repository selector (<see cref="T:log4net.Core.IRepositorySelector"/>) is used by
  12570. the <see cref="T:log4net.LogManager"/> to create and select repositories
  12571. (<see cref="T:log4net.Repository.ILoggerRepository"/>).
  12572. </para>
  12573. <para>
  12574. The caller to <see cref="T:log4net.LogManager"/> supplies either a string name
  12575. or an assembly (if not supplied the assembly is inferred using
  12576. <see cref="M:Assembly.GetCallingAssembly()"/>).
  12577. </para>
  12578. <para>
  12579. This context is used by the selector to lookup a specific repository.
  12580. </para>
  12581. <para>
  12582. For the full .NET Framework, the default repository is <c>DefaultRepositorySelector</c>;
  12583. for the .NET Compact Framework <c>CompactRepositorySelector</c> is the default
  12584. repository.
  12585. </para>
  12586. </remarks>
  12587. </member>
  12588. <member name="T:log4net.Core.LoggerWrapperImpl">
  12589. <summary>
  12590. Implementation of the <see cref="T:log4net.Core.ILoggerWrapper"/> interface.
  12591. </summary>
  12592. <remarks>
  12593. <para>
  12594. This class should be used as the base for all wrapper implementations.
  12595. </para>
  12596. </remarks>
  12597. <author>Nicko Cadell</author>
  12598. <author>Gert Driesen</author>
  12599. </member>
  12600. <member name="M:log4net.Core.LoggerWrapperImpl.#ctor(log4net.Core.ILogger)">
  12601. <summary>
  12602. Constructs a new wrapper for the specified logger.
  12603. </summary>
  12604. <param name="logger">The logger to wrap.</param>
  12605. <remarks>
  12606. <para>
  12607. Constructs a new wrapper for the specified logger.
  12608. </para>
  12609. </remarks>
  12610. </member>
  12611. <member name="F:log4net.Core.LoggerWrapperImpl.m_logger">
  12612. <summary>
  12613. The logger that this object is wrapping
  12614. </summary>
  12615. </member>
  12616. <member name="P:log4net.Core.LoggerWrapperImpl.Logger">
  12617. <summary>
  12618. Gets the implementation behind this wrapper object.
  12619. </summary>
  12620. <value>
  12621. The <see cref="T:log4net.Core.ILogger"/> object that this object is implementing.
  12622. </value>
  12623. <remarks>
  12624. <para>
  12625. The <c>Logger</c> object may not be the same object as this object
  12626. because of logger decorators.
  12627. </para>
  12628. <para>
  12629. This gets the actual underlying objects that is used to process
  12630. the log events.
  12631. </para>
  12632. </remarks>
  12633. </member>
  12634. <member name="T:log4net.Core.LoggingEventData">
  12635. <summary>
  12636. Portable data structure used by <see cref="T:log4net.Core.LoggingEvent"/>
  12637. </summary>
  12638. <remarks>
  12639. <para>
  12640. Portable data structure used by <see cref="T:log4net.Core.LoggingEvent"/>
  12641. </para>
  12642. </remarks>
  12643. <author>Nicko Cadell</author>
  12644. </member>
  12645. <member name="F:log4net.Core.LoggingEventData.LoggerName">
  12646. <summary>
  12647. The logger name.
  12648. </summary>
  12649. <remarks>
  12650. <para>
  12651. The logger name.
  12652. </para>
  12653. </remarks>
  12654. </member>
  12655. <member name="F:log4net.Core.LoggingEventData.Level">
  12656. <summary>
  12657. Level of logging event.
  12658. </summary>
  12659. <remarks>
  12660. <para>
  12661. Level of logging event. Level cannot be Serializable
  12662. because it is a flyweight. Due to its special serialization it
  12663. cannot be declared final either.
  12664. </para>
  12665. </remarks>
  12666. </member>
  12667. <member name="F:log4net.Core.LoggingEventData.Message">
  12668. <summary>
  12669. The application supplied message.
  12670. </summary>
  12671. <remarks>
  12672. <para>
  12673. The application supplied message of logging event.
  12674. </para>
  12675. </remarks>
  12676. </member>
  12677. <member name="F:log4net.Core.LoggingEventData.ThreadName">
  12678. <summary>
  12679. The name of thread
  12680. </summary>
  12681. <remarks>
  12682. <para>
  12683. The name of thread in which this logging event was generated
  12684. </para>
  12685. </remarks>
  12686. </member>
  12687. <member name="F:log4net.Core.LoggingEventData.TimeStamp">
  12688. <summary>
  12689. The time the event was logged
  12690. </summary>
  12691. <remarks>
  12692. <para>
  12693. The TimeStamp is stored in the local time zone for this computer.
  12694. </para>
  12695. </remarks>
  12696. </member>
  12697. <member name="F:log4net.Core.LoggingEventData.LocationInfo">
  12698. <summary>
  12699. Location information for the caller.
  12700. </summary>
  12701. <remarks>
  12702. <para>
  12703. Location information for the caller.
  12704. </para>
  12705. </remarks>
  12706. </member>
  12707. <member name="F:log4net.Core.LoggingEventData.UserName">
  12708. <summary>
  12709. String representation of the user
  12710. </summary>
  12711. <remarks>
  12712. <para>
  12713. String representation of the user's windows name,
  12714. like DOMAIN\username
  12715. </para>
  12716. </remarks>
  12717. </member>
  12718. <member name="F:log4net.Core.LoggingEventData.Identity">
  12719. <summary>
  12720. String representation of the identity.
  12721. </summary>
  12722. <remarks>
  12723. <para>
  12724. String representation of the current thread's principal identity.
  12725. </para>
  12726. </remarks>
  12727. </member>
  12728. <member name="F:log4net.Core.LoggingEventData.ExceptionString">
  12729. <summary>
  12730. The string representation of the exception
  12731. </summary>
  12732. <remarks>
  12733. <para>
  12734. The string representation of the exception
  12735. </para>
  12736. </remarks>
  12737. </member>
  12738. <member name="F:log4net.Core.LoggingEventData.Domain">
  12739. <summary>
  12740. String representation of the AppDomain.
  12741. </summary>
  12742. <remarks>
  12743. <para>
  12744. String representation of the AppDomain.
  12745. </para>
  12746. </remarks>
  12747. </member>
  12748. <member name="F:log4net.Core.LoggingEventData.Properties">
  12749. <summary>
  12750. Additional event specific properties
  12751. </summary>
  12752. <remarks>
  12753. <para>
  12754. A logger or an appender may attach additional
  12755. properties to specific events. These properties
  12756. have a string key and an object value.
  12757. </para>
  12758. </remarks>
  12759. </member>
  12760. <member name="T:log4net.Core.FixFlags">
  12761. <summary>
  12762. Flags passed to the <see cref="P:log4net.Core.LoggingEvent.Fix"/> property
  12763. </summary>
  12764. <remarks>
  12765. <para>
  12766. Flags passed to the <see cref="P:log4net.Core.LoggingEvent.Fix"/> property
  12767. </para>
  12768. </remarks>
  12769. <author>Nicko Cadell</author>
  12770. </member>
  12771. <member name="F:log4net.Core.FixFlags.Mdc">
  12772. <summary>
  12773. Fix the MDC
  12774. </summary>
  12775. </member>
  12776. <member name="F:log4net.Core.FixFlags.Ndc">
  12777. <summary>
  12778. Fix the NDC
  12779. </summary>
  12780. </member>
  12781. <member name="F:log4net.Core.FixFlags.Message">
  12782. <summary>
  12783. Fix the rendered message
  12784. </summary>
  12785. </member>
  12786. <member name="F:log4net.Core.FixFlags.ThreadName">
  12787. <summary>
  12788. Fix the thread name
  12789. </summary>
  12790. </member>
  12791. <member name="F:log4net.Core.FixFlags.LocationInfo">
  12792. <summary>
  12793. Fix the callers location information
  12794. </summary>
  12795. <remarks>
  12796. CAUTION: Very slow to generate
  12797. </remarks>
  12798. </member>
  12799. <member name="F:log4net.Core.FixFlags.UserName">
  12800. <summary>
  12801. Fix the callers windows user name
  12802. </summary>
  12803. <remarks>
  12804. CAUTION: Slow to generate
  12805. </remarks>
  12806. </member>
  12807. <member name="F:log4net.Core.FixFlags.Domain">
  12808. <summary>
  12809. Fix the domain friendly name
  12810. </summary>
  12811. </member>
  12812. <member name="F:log4net.Core.FixFlags.Identity">
  12813. <summary>
  12814. Fix the callers principal name
  12815. </summary>
  12816. <remarks>
  12817. CAUTION: May be slow to generate
  12818. </remarks>
  12819. </member>
  12820. <member name="F:log4net.Core.FixFlags.Exception">
  12821. <summary>
  12822. Fix the exception text
  12823. </summary>
  12824. </member>
  12825. <member name="F:log4net.Core.FixFlags.Properties">
  12826. <summary>
  12827. Fix the event properties. Active properties must implement <see cref="T:log4net.Core.IFixingRequired"/> in order to be eligible for fixing.
  12828. </summary>
  12829. </member>
  12830. <member name="F:log4net.Core.FixFlags.None">
  12831. <summary>
  12832. No fields fixed
  12833. </summary>
  12834. </member>
  12835. <member name="F:log4net.Core.FixFlags.All">
  12836. <summary>
  12837. All fields fixed
  12838. </summary>
  12839. </member>
  12840. <member name="F:log4net.Core.FixFlags.Partial">
  12841. <summary>
  12842. Partial fields fixed
  12843. </summary>
  12844. <remarks>
  12845. <para>
  12846. This set of partial fields gives good performance. The following fields are fixed:
  12847. </para>
  12848. <list type="bullet">
  12849. <item><description><see cref="F:log4net.Core.FixFlags.Message"/></description></item>
  12850. <item><description><see cref="F:log4net.Core.FixFlags.ThreadName"/></description></item>
  12851. <item><description><see cref="F:log4net.Core.FixFlags.Exception"/></description></item>
  12852. <item><description><see cref="F:log4net.Core.FixFlags.Domain"/></description></item>
  12853. <item><description><see cref="F:log4net.Core.FixFlags.Properties"/></description></item>
  12854. </list>
  12855. </remarks>
  12856. </member>
  12857. <member name="T:log4net.Core.LoggingEvent">
  12858. <summary>
  12859. The internal representation of logging events.
  12860. </summary>
  12861. <remarks>
  12862. <para>
  12863. When an affirmative decision is made to log then a
  12864. <see cref="T:log4net.Core.LoggingEvent"/> instance is created. This instance
  12865. is passed around to the different log4net components.
  12866. </para>
  12867. <para>
  12868. This class is of concern to those wishing to extend log4net.
  12869. </para>
  12870. <para>
  12871. Some of the values in instances of <see cref="T:log4net.Core.LoggingEvent"/>
  12872. are considered volatile, that is the values are correct at the
  12873. time the event is delivered to appenders, but will not be consistent
  12874. at any time afterwards. If an event is to be stored and then processed
  12875. at a later time these volatile values must be fixed by calling
  12876. <see cref="M:FixVolatileData()"/>. There is a performance penalty
  12877. for incurred by calling <see cref="M:FixVolatileData()"/> but it
  12878. is essential to maintaining data consistency.
  12879. </para>
  12880. </remarks>
  12881. <author>Nicko Cadell</author>
  12882. <author>Gert Driesen</author>
  12883. <author>Douglas de la Torre</author>
  12884. <author>Daniel Cazzulino</author>
  12885. </member>
  12886. <member name="F:log4net.Core.LoggingEvent.HostNameProperty">
  12887. <summary>
  12888. The key into the Properties map for the host name value.
  12889. </summary>
  12890. </member>
  12891. <member name="F:log4net.Core.LoggingEvent.IdentityProperty">
  12892. <summary>
  12893. The key into the Properties map for the thread identity value.
  12894. </summary>
  12895. </member>
  12896. <member name="F:log4net.Core.LoggingEvent.UserNameProperty">
  12897. <summary>
  12898. The key into the Properties map for the user name value.
  12899. </summary>
  12900. </member>
  12901. <member name="M:log4net.Core.LoggingEvent.#ctor(System.Type,log4net.Repository.ILoggerRepository,System.String,log4net.Core.Level,System.Object,System.Exception)">
  12902. <summary>
  12903. Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
  12904. from the supplied parameters.
  12905. </summary>
  12906. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  12907. the stack boundary into the logging system for this call.</param>
  12908. <param name="repository">The repository this event is logged in.</param>
  12909. <param name="loggerName">The name of the logger of this event.</param>
  12910. <param name="level">The level of this event.</param>
  12911. <param name="message">The message of this event.</param>
  12912. <param name="exception">The exception for this event.</param>
  12913. <remarks>
  12914. <para>
  12915. Except <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/>, <see cref="P:log4net.Core.LoggingEvent.Level"/> and <see cref="P:log4net.Core.LoggingEvent.LoggerName"/>,
  12916. all fields of <c>LoggingEvent</c> are filled when actually needed. Call
  12917. <see cref="M:FixVolatileData()"/> to cache all data locally
  12918. to prevent inconsistencies.
  12919. </para>
  12920. <para>This method is called by the log4net framework
  12921. to create a logging event.
  12922. </para>
  12923. </remarks>
  12924. </member>
  12925. <member name="M:log4net.Core.LoggingEvent.#ctor(System.Type,log4net.Repository.ILoggerRepository,log4net.Core.LoggingEventData,log4net.Core.FixFlags)">
  12926. <summary>
  12927. Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
  12928. using specific data.
  12929. </summary>
  12930. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  12931. the stack boundary into the logging system for this call.</param>
  12932. <param name="repository">The repository this event is logged in.</param>
  12933. <param name="data">Data used to initialize the logging event.</param>
  12934. <param name="fixedData">The fields in the <paranref name="data"/> struct that have already been fixed.</param>
  12935. <remarks>
  12936. <para>
  12937. This constructor is provided to allow a <see cref="T:log4net.Core.LoggingEvent"/>
  12938. to be created independently of the log4net framework. This can
  12939. be useful if you require a custom serialization scheme.
  12940. </para>
  12941. <para>
  12942. Use the <see cref="M:GetLoggingEventData(FixFlags)"/> method to obtain an
  12943. instance of the <see cref="T:log4net.Core.LoggingEventData"/> class.
  12944. </para>
  12945. <para>
  12946. The <paramref name="fixedData"/> parameter should be used to specify which fields in the
  12947. <paramref name="data"/> struct have been preset. Fields not specified in the <paramref name="fixedData"/>
  12948. will be captured from the environment if requested or fixed.
  12949. </para>
  12950. </remarks>
  12951. </member>
  12952. <member name="M:log4net.Core.LoggingEvent.#ctor(System.Type,log4net.Repository.ILoggerRepository,log4net.Core.LoggingEventData)">
  12953. <summary>
  12954. Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
  12955. using specific data.
  12956. </summary>
  12957. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  12958. the stack boundary into the logging system for this call.</param>
  12959. <param name="repository">The repository this event is logged in.</param>
  12960. <param name="data">Data used to initialize the logging event.</param>
  12961. <remarks>
  12962. <para>
  12963. This constructor is provided to allow a <see cref="T:log4net.Core.LoggingEvent"/>
  12964. to be created independently of the log4net framework. This can
  12965. be useful if you require a custom serialization scheme.
  12966. </para>
  12967. <para>
  12968. Use the <see cref="M:GetLoggingEventData(FixFlags)"/> method to obtain an
  12969. instance of the <see cref="T:log4net.Core.LoggingEventData"/> class.
  12970. </para>
  12971. <para>
  12972. This constructor sets this objects <see cref="P:log4net.Core.LoggingEvent.Fix"/> flags to <see cref="F:log4net.Core.FixFlags.All"/>,
  12973. this assumes that all the data relating to this event is passed in via the <paramref name="data"/>
  12974. parameter and no other data should be captured from the environment.
  12975. </para>
  12976. </remarks>
  12977. </member>
  12978. <member name="M:log4net.Core.LoggingEvent.#ctor(log4net.Core.LoggingEventData)">
  12979. <summary>
  12980. Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
  12981. using specific data.
  12982. </summary>
  12983. <param name="data">Data used to initialize the logging event.</param>
  12984. <remarks>
  12985. <para>
  12986. This constructor is provided to allow a <see cref="T:log4net.Core.LoggingEvent"/>
  12987. to be created independently of the log4net framework. This can
  12988. be useful if you require a custom serialization scheme.
  12989. </para>
  12990. <para>
  12991. Use the <see cref="M:GetLoggingEventData(FixFlags)"/> method to obtain an
  12992. instance of the <see cref="T:log4net.Core.LoggingEventData"/> class.
  12993. </para>
  12994. <para>
  12995. This constructor sets this objects <see cref="P:log4net.Core.LoggingEvent.Fix"/> flags to <see cref="F:log4net.Core.FixFlags.All"/>,
  12996. this assumes that all the data relating to this event is passed in via the <paramref name="data"/>
  12997. parameter and no other data should be captured from the environment.
  12998. </para>
  12999. </remarks>
  13000. </member>
  13001. <member name="M:log4net.Core.LoggingEvent.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  13002. <summary>
  13003. Serialization constructor
  13004. </summary>
  13005. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data.</param>
  13006. <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  13007. <remarks>
  13008. <para>
  13009. Initializes a new instance of the <see cref="T:log4net.Core.LoggingEvent"/> class
  13010. with serialized data.
  13011. </para>
  13012. </remarks>
  13013. </member>
  13014. <member name="M:log4net.Core.LoggingEvent.EnsureRepository(log4net.Repository.ILoggerRepository)">
  13015. <summary>
  13016. Ensure that the repository is set.
  13017. </summary>
  13018. <param name="repository">the value for the repository</param>
  13019. </member>
  13020. <member name="M:log4net.Core.LoggingEvent.WriteRenderedMessage(System.IO.TextWriter)">
  13021. <summary>
  13022. Write the rendered message to a TextWriter
  13023. </summary>
  13024. <param name="writer">the writer to write the message to</param>
  13025. <remarks>
  13026. <para>
  13027. Unlike the <see cref="P:log4net.Core.LoggingEvent.RenderedMessage"/> property this method
  13028. does store the message data in the internal cache. Therefore
  13029. if called only once this method should be faster than the
  13030. <see cref="P:log4net.Core.LoggingEvent.RenderedMessage"/> property, however if the message is
  13031. to be accessed multiple times then the property will be more efficient.
  13032. </para>
  13033. </remarks>
  13034. </member>
  13035. <member name="M:log4net.Core.LoggingEvent.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  13036. <summary>
  13037. Serializes this object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> provided.
  13038. </summary>
  13039. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> to populate with data.</param>
  13040. <param name="context">The destination for this serialization.</param>
  13041. <remarks>
  13042. <para>
  13043. The data in this event must be fixed before it can be serialized.
  13044. </para>
  13045. <para>
  13046. The <see cref="M:FixVolatileData()"/> method must be called during the
  13047. <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method call if this event
  13048. is to be used outside that method.
  13049. </para>
  13050. </remarks>
  13051. </member>
  13052. <member name="M:log4net.Core.LoggingEvent.GetLoggingEventData">
  13053. <summary>
  13054. Gets the portable data for this <see cref="T:log4net.Core.LoggingEvent"/>.
  13055. </summary>
  13056. <returns>The <see cref="T:log4net.Core.LoggingEventData"/> for this event.</returns>
  13057. <remarks>
  13058. <para>
  13059. A new <see cref="T:log4net.Core.LoggingEvent"/> can be constructed using a
  13060. <see cref="T:log4net.Core.LoggingEventData"/> instance.
  13061. </para>
  13062. <para>
  13063. Does a <see cref="F:log4net.Core.FixFlags.Partial"/> fix of the data
  13064. in the logging event before returning the event data.
  13065. </para>
  13066. </remarks>
  13067. </member>
  13068. <member name="M:log4net.Core.LoggingEvent.GetLoggingEventData(log4net.Core.FixFlags)">
  13069. <summary>
  13070. Gets the portable data for this <see cref="T:log4net.Core.LoggingEvent"/>.
  13071. </summary>
  13072. <param name="fixFlags">The set of data to ensure is fixed in the LoggingEventData</param>
  13073. <returns>The <see cref="T:log4net.Core.LoggingEventData"/> for this event.</returns>
  13074. <remarks>
  13075. <para>
  13076. A new <see cref="T:log4net.Core.LoggingEvent"/> can be constructed using a
  13077. <see cref="T:log4net.Core.LoggingEventData"/> instance.
  13078. </para>
  13079. </remarks>
  13080. </member>
  13081. <member name="M:log4net.Core.LoggingEvent.GetExceptionStrRep">
  13082. <summary>
  13083. Returns this event's exception's rendered using the
  13084. <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13085. </summary>
  13086. <returns>
  13087. This event's exception's rendered using the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13088. </returns>
  13089. <remarks>
  13090. <para>
  13091. <b>Obsolete. Use <see cref="M:log4net.Core.LoggingEvent.GetExceptionString"/> instead.</b>
  13092. </para>
  13093. </remarks>
  13094. </member>
  13095. <member name="M:log4net.Core.LoggingEvent.GetExceptionString">
  13096. <summary>
  13097. Returns this event's exception's rendered using the
  13098. <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13099. </summary>
  13100. <returns>
  13101. This event's exception's rendered using the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13102. </returns>
  13103. <remarks>
  13104. <para>
  13105. Returns this event's exception's rendered using the
  13106. <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13107. </para>
  13108. </remarks>
  13109. </member>
  13110. <member name="M:log4net.Core.LoggingEvent.FixVolatileData">
  13111. <summary>
  13112. Fix instance fields that hold volatile data.
  13113. </summary>
  13114. <remarks>
  13115. <para>
  13116. Some of the values in instances of <see cref="T:log4net.Core.LoggingEvent"/>
  13117. are considered volatile, that is the values are correct at the
  13118. time the event is delivered to appenders, but will not be consistent
  13119. at any time afterwards. If an event is to be stored and then processed
  13120. at a later time these volatile values must be fixed by calling
  13121. <see cref="M:FixVolatileData()"/>. There is a performance penalty
  13122. incurred by calling <see cref="M:FixVolatileData()"/> but it
  13123. is essential to maintaining data consistency.
  13124. </para>
  13125. <para>
  13126. Calling <see cref="M:FixVolatileData()"/> is equivalent to
  13127. calling <see cref="M:FixVolatileData(bool)"/> passing the parameter
  13128. <c>false</c>.
  13129. </para>
  13130. <para>
  13131. See <see cref="M:FixVolatileData(bool)"/> for more
  13132. information.
  13133. </para>
  13134. </remarks>
  13135. </member>
  13136. <member name="M:log4net.Core.LoggingEvent.FixVolatileData(System.Boolean)">
  13137. <summary>
  13138. Fixes instance fields that hold volatile data.
  13139. </summary>
  13140. <param name="fastButLoose">Set to <c>true</c> to not fix data that takes a long time to fix.</param>
  13141. <remarks>
  13142. <para>
  13143. Some of the values in instances of <see cref="T:log4net.Core.LoggingEvent"/>
  13144. are considered volatile, that is the values are correct at the
  13145. time the event is delivered to appenders, but will not be consistent
  13146. at any time afterwards. If an event is to be stored and then processed
  13147. at a later time these volatile values must be fixed by calling
  13148. <see cref="M:FixVolatileData()"/>. There is a performance penalty
  13149. for incurred by calling <see cref="M:FixVolatileData()"/> but it
  13150. is essential to maintaining data consistency.
  13151. </para>
  13152. <para>
  13153. The <paramref name="fastButLoose"/> param controls the data that
  13154. is fixed. Some of the data that can be fixed takes a long time to
  13155. generate, therefore if you do not require those settings to be fixed
  13156. they can be ignored by setting the <paramref name="fastButLoose"/> param
  13157. to <c>true</c>. This setting will ignore the <see cref="P:log4net.Core.LoggingEvent.LocationInformation"/>
  13158. and <see cref="P:log4net.Core.LoggingEvent.UserName"/> settings.
  13159. </para>
  13160. <para>
  13161. Set <paramref name="fastButLoose"/> to <c>false</c> to ensure that all
  13162. settings are fixed.
  13163. </para>
  13164. </remarks>
  13165. </member>
  13166. <member name="M:log4net.Core.LoggingEvent.FixVolatileData(log4net.Core.FixFlags)">
  13167. <summary>
  13168. Fix the fields specified by the <see cref="T:log4net.Core.FixFlags"/> parameter
  13169. </summary>
  13170. <param name="flags">the fields to fix</param>
  13171. <remarks>
  13172. <para>
  13173. Only fields specified in the <paramref name="flags"/> will be fixed.
  13174. Fields will not be fixed if they have previously been fixed.
  13175. It is not possible to 'unfix' a field.
  13176. </para>
  13177. </remarks>
  13178. </member>
  13179. <member name="M:log4net.Core.LoggingEvent.LookupProperty(System.String)">
  13180. <summary>
  13181. Lookup a composite property in this event
  13182. </summary>
  13183. <param name="key">the key for the property to lookup</param>
  13184. <returns>the value for the property</returns>
  13185. <remarks>
  13186. <para>
  13187. This event has composite properties that combine together properties from
  13188. several different contexts in the following order:
  13189. <list type="definition">
  13190. <item>
  13191. <term>this events properties</term>
  13192. <description>
  13193. This event has <see cref="P:log4net.Core.LoggingEvent.Properties"/> that can be set. These
  13194. properties are specific to this event only.
  13195. </description>
  13196. </item>
  13197. <item>
  13198. <term>the thread properties</term>
  13199. <description>
  13200. The <see cref="P:log4net.ThreadContext.Properties"/> that are set on the current
  13201. thread. These properties are shared by all events logged on this thread.
  13202. </description>
  13203. </item>
  13204. <item>
  13205. <term>the global properties</term>
  13206. <description>
  13207. The <see cref="P:log4net.GlobalContext.Properties"/> that are set globally. These
  13208. properties are shared by all the threads in the AppDomain.
  13209. </description>
  13210. </item>
  13211. </list>
  13212. </para>
  13213. </remarks>
  13214. </member>
  13215. <member name="M:log4net.Core.LoggingEvent.GetProperties">
  13216. <summary>
  13217. Get all the composite properties in this event
  13218. </summary>
  13219. <returns>the <see cref="T:log4net.Util.PropertiesDictionary"/> containing all the properties</returns>
  13220. <remarks>
  13221. <para>
  13222. See <see cref="M:log4net.Core.LoggingEvent.LookupProperty(System.String)"/> for details of the composite properties
  13223. stored by the event.
  13224. </para>
  13225. <para>
  13226. This method returns a single <see cref="T:log4net.Util.PropertiesDictionary"/> containing all the
  13227. properties defined for this event.
  13228. </para>
  13229. </remarks>
  13230. </member>
  13231. <member name="F:log4net.Core.LoggingEvent.m_data">
  13232. <summary>
  13233. The internal logging event data.
  13234. </summary>
  13235. </member>
  13236. <member name="F:log4net.Core.LoggingEvent.m_compositeProperties">
  13237. <summary>
  13238. The internal logging event data.
  13239. </summary>
  13240. </member>
  13241. <member name="F:log4net.Core.LoggingEvent.m_eventProperties">
  13242. <summary>
  13243. The internal logging event data.
  13244. </summary>
  13245. </member>
  13246. <member name="F:log4net.Core.LoggingEvent.m_callerStackBoundaryDeclaringType">
  13247. <summary>
  13248. The fully qualified Type of the calling
  13249. logger class in the stack frame (i.e. the declaring type of the method).
  13250. </summary>
  13251. </member>
  13252. <member name="F:log4net.Core.LoggingEvent.m_message">
  13253. <summary>
  13254. The application supplied message of logging event.
  13255. </summary>
  13256. </member>
  13257. <member name="F:log4net.Core.LoggingEvent.m_thrownException">
  13258. <summary>
  13259. The exception that was thrown.
  13260. </summary>
  13261. <remarks>
  13262. This is not serialized. The string representation
  13263. is serialized instead.
  13264. </remarks>
  13265. </member>
  13266. <member name="F:log4net.Core.LoggingEvent.m_repository">
  13267. <summary>
  13268. The repository that generated the logging event
  13269. </summary>
  13270. <remarks>
  13271. This is not serialized.
  13272. </remarks>
  13273. </member>
  13274. <member name="F:log4net.Core.LoggingEvent.m_fixFlags">
  13275. <summary>
  13276. The fix state for this event
  13277. </summary>
  13278. <remarks>
  13279. These flags indicate which fields have been fixed.
  13280. Not serialized.
  13281. </remarks>
  13282. </member>
  13283. <member name="F:log4net.Core.LoggingEvent.m_cacheUpdatable">
  13284. <summary>
  13285. Indicated that the internal cache is updateable (ie not fixed)
  13286. </summary>
  13287. <remarks>
  13288. This is a seperate flag to m_fixFlags as it allows incrementel fixing and simpler
  13289. changes in the caching strategy.
  13290. </remarks>
  13291. </member>
  13292. <member name="P:log4net.Core.LoggingEvent.StartTime">
  13293. <summary>
  13294. Gets the time when the current process started.
  13295. </summary>
  13296. <value>
  13297. This is the time when this process started.
  13298. </value>
  13299. <remarks>
  13300. <para>
  13301. The TimeStamp is stored in the local time zone for this computer.
  13302. </para>
  13303. <para>
  13304. Tries to get the start time for the current process.
  13305. Failing that it returns the time of the first call to
  13306. this property.
  13307. </para>
  13308. <para>
  13309. Note that AppDomains may be loaded and unloaded within the
  13310. same process without the process terminating and therefore
  13311. without the process start time being reset.
  13312. </para>
  13313. </remarks>
  13314. </member>
  13315. <member name="P:log4net.Core.LoggingEvent.Level">
  13316. <summary>
  13317. Gets the <see cref="P:log4net.Core.LoggingEvent.Level"/> of the logging event.
  13318. </summary>
  13319. <value>
  13320. The <see cref="P:log4net.Core.LoggingEvent.Level"/> of the logging event.
  13321. </value>
  13322. <remarks>
  13323. <para>
  13324. Gets the <see cref="P:log4net.Core.LoggingEvent.Level"/> of the logging event.
  13325. </para>
  13326. </remarks>
  13327. </member>
  13328. <member name="P:log4net.Core.LoggingEvent.TimeStamp">
  13329. <summary>
  13330. Gets the time of the logging event.
  13331. </summary>
  13332. <value>
  13333. The time of the logging event.
  13334. </value>
  13335. <remarks>
  13336. <para>
  13337. The TimeStamp is stored in the local time zone for this computer.
  13338. </para>
  13339. </remarks>
  13340. </member>
  13341. <member name="P:log4net.Core.LoggingEvent.LoggerName">
  13342. <summary>
  13343. Gets the name of the logger that logged the event.
  13344. </summary>
  13345. <value>
  13346. The name of the logger that logged the event.
  13347. </value>
  13348. <remarks>
  13349. <para>
  13350. Gets the name of the logger that logged the event.
  13351. </para>
  13352. </remarks>
  13353. </member>
  13354. <member name="P:log4net.Core.LoggingEvent.LocationInformation">
  13355. <summary>
  13356. Gets the location information for this logging event.
  13357. </summary>
  13358. <value>
  13359. The location information for this logging event.
  13360. </value>
  13361. <remarks>
  13362. <para>
  13363. The collected information is cached for future use.
  13364. </para>
  13365. <para>
  13366. See the <see cref="T:log4net.Core.LocationInfo"/> class for more information on
  13367. supported frameworks and the different behavior in Debug and
  13368. Release builds.
  13369. </para>
  13370. </remarks>
  13371. </member>
  13372. <member name="P:log4net.Core.LoggingEvent.MessageObject">
  13373. <summary>
  13374. Gets the message object used to initialize this event.
  13375. </summary>
  13376. <value>
  13377. The message object used to initialize this event.
  13378. </value>
  13379. <remarks>
  13380. <para>
  13381. Gets the message object used to initialize this event.
  13382. Note that this event may not have a valid message object.
  13383. If the event is serialized the message object will not
  13384. be transferred. To get the text of the message the
  13385. <see cref="P:log4net.Core.LoggingEvent.RenderedMessage"/> property must be used
  13386. not this property.
  13387. </para>
  13388. <para>
  13389. If there is no defined message object for this event then
  13390. null will be returned.
  13391. </para>
  13392. </remarks>
  13393. </member>
  13394. <member name="P:log4net.Core.LoggingEvent.ExceptionObject">
  13395. <summary>
  13396. Gets the exception object used to initialize this event.
  13397. </summary>
  13398. <value>
  13399. The exception object used to initialize this event.
  13400. </value>
  13401. <remarks>
  13402. <para>
  13403. Gets the exception object used to initialize this event.
  13404. Note that this event may not have a valid exception object.
  13405. If the event is serialized the exception object will not
  13406. be transferred. To get the text of the exception the
  13407. <see cref="M:log4net.Core.LoggingEvent.GetExceptionString"/> method must be used
  13408. not this property.
  13409. </para>
  13410. <para>
  13411. If there is no defined exception object for this event then
  13412. null will be returned.
  13413. </para>
  13414. </remarks>
  13415. </member>
  13416. <member name="P:log4net.Core.LoggingEvent.Repository">
  13417. <summary>
  13418. The <see cref="T:log4net.Repository.ILoggerRepository"/> that this event was created in.
  13419. </summary>
  13420. <remarks>
  13421. <para>
  13422. The <see cref="T:log4net.Repository.ILoggerRepository"/> that this event was created in.
  13423. </para>
  13424. </remarks>
  13425. </member>
  13426. <member name="P:log4net.Core.LoggingEvent.RenderedMessage">
  13427. <summary>
  13428. Gets the message, rendered through the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13429. </summary>
  13430. <value>
  13431. The message rendered through the <see cref="P:log4net.Repository.ILoggerRepository.RendererMap"/>.
  13432. </value>
  13433. <remarks>
  13434. <para>
  13435. The collected information is cached for future use.
  13436. </para>
  13437. </remarks>
  13438. </member>
  13439. <member name="P:log4net.Core.LoggingEvent.ThreadName">
  13440. <summary>
  13441. Gets the name of the current thread.
  13442. </summary>
  13443. <value>
  13444. The name of the current thread, or the thread ID when
  13445. the name is not available.
  13446. </value>
  13447. <remarks>
  13448. <para>
  13449. The collected information is cached for future use.
  13450. </para>
  13451. </remarks>
  13452. </member>
  13453. <member name="P:log4net.Core.LoggingEvent.UserName">
  13454. <summary>
  13455. Gets the name of the current user.
  13456. </summary>
  13457. <value>
  13458. The name of the current user, or <c>NOT AVAILABLE</c> when the
  13459. underlying runtime has no support for retrieving the name of the
  13460. current user.
  13461. </value>
  13462. <remarks>
  13463. <para>
  13464. Calls <c>WindowsIdentity.GetCurrent().Name</c> to get the name of
  13465. the current windows user.
  13466. </para>
  13467. <para>
  13468. To improve performance, we could cache the string representation of
  13469. the name, and reuse that as long as the identity stayed constant.
  13470. Once the identity changed, we would need to re-assign and re-render
  13471. the string.
  13472. </para>
  13473. <para>
  13474. However, the <c>WindowsIdentity.GetCurrent()</c> call seems to
  13475. return different objects every time, so the current implementation
  13476. doesn't do this type of caching.
  13477. </para>
  13478. <para>
  13479. Timing for these operations:
  13480. </para>
  13481. <list type="table">
  13482. <listheader>
  13483. <term>Method</term>
  13484. <description>Results</description>
  13485. </listheader>
  13486. <item>
  13487. <term><c>WindowsIdentity.GetCurrent()</c></term>
  13488. <description>10000 loops, 00:00:00.2031250 seconds</description>
  13489. </item>
  13490. <item>
  13491. <term><c>WindowsIdentity.GetCurrent().Name</c></term>
  13492. <description>10000 loops, 00:00:08.0468750 seconds</description>
  13493. </item>
  13494. </list>
  13495. <para>
  13496. This means we could speed things up almost 40 times by caching the
  13497. value of the <c>WindowsIdentity.GetCurrent().Name</c> property, since
  13498. this takes (8.04-0.20) = 7.84375 seconds.
  13499. </para>
  13500. </remarks>
  13501. </member>
  13502. <member name="P:log4net.Core.LoggingEvent.Identity">
  13503. <summary>
  13504. Gets the identity of the current thread principal.
  13505. </summary>
  13506. <value>
  13507. The string name of the identity of the current thread principal.
  13508. </value>
  13509. <remarks>
  13510. <para>
  13511. Calls <c>System.Threading.Thread.CurrentPrincipal.Identity.Name</c> to get
  13512. the name of the current thread principal.
  13513. </para>
  13514. </remarks>
  13515. </member>
  13516. <member name="P:log4net.Core.LoggingEvent.Domain">
  13517. <summary>
  13518. Gets the AppDomain friendly name.
  13519. </summary>
  13520. <value>
  13521. The AppDomain friendly name.
  13522. </value>
  13523. <remarks>
  13524. <para>
  13525. Gets the AppDomain friendly name.
  13526. </para>
  13527. </remarks>
  13528. </member>
  13529. <member name="P:log4net.Core.LoggingEvent.Properties">
  13530. <summary>
  13531. Additional event specific properties.
  13532. </summary>
  13533. <value>
  13534. Additional event specific properties.
  13535. </value>
  13536. <remarks>
  13537. <para>
  13538. A logger or an appender may attach additional
  13539. properties to specific events. These properties
  13540. have a string key and an object value.
  13541. </para>
  13542. <para>
  13543. This property is for events that have been added directly to
  13544. this event. The aggregate properties (which include these
  13545. event properties) can be retrieved using <see cref="M:log4net.Core.LoggingEvent.LookupProperty(System.String)"/>
  13546. and <see cref="M:log4net.Core.LoggingEvent.GetProperties"/>.
  13547. </para>
  13548. <para>
  13549. Once the properties have been fixed <see cref="P:log4net.Core.LoggingEvent.Fix"/> this property
  13550. returns the combined cached properties. This ensures that updates to
  13551. this property are always reflected in the underlying storage. When
  13552. returning the combined properties there may be more keys in the
  13553. Dictionary than expected.
  13554. </para>
  13555. </remarks>
  13556. </member>
  13557. <member name="P:log4net.Core.LoggingEvent.Fix">
  13558. <summary>
  13559. The fixed fields in this event
  13560. </summary>
  13561. <value>
  13562. The set of fields that are fixed in this event
  13563. </value>
  13564. <remarks>
  13565. <para>
  13566. Fields will not be fixed if they have previously been fixed.
  13567. It is not possible to 'unfix' a field.
  13568. </para>
  13569. </remarks>
  13570. </member>
  13571. <member name="T:log4net.Core.LogImpl">
  13572. <summary>
  13573. Implementation of <see cref="T:log4net.ILog"/> wrapper interface.
  13574. </summary>
  13575. <remarks>
  13576. <para>
  13577. This implementation of the <see cref="T:log4net.ILog"/> interface
  13578. forwards to the <see cref="T:log4net.Core.ILogger"/> held by the base class.
  13579. </para>
  13580. <para>
  13581. This logger has methods to allow the caller to log at the following
  13582. levels:
  13583. </para>
  13584. <list type="definition">
  13585. <item>
  13586. <term>DEBUG</term>
  13587. <description>
  13588. The <see cref="M:Debug(object)"/> and <see cref="M:DebugFormat(string, object[])"/> methods log messages
  13589. at the <c>DEBUG</c> level. That is the level with that name defined in the
  13590. repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
  13591. for this level is <see cref="F:log4net.Core.Level.Debug"/>. The <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/>
  13592. property tests if this level is enabled for logging.
  13593. </description>
  13594. </item>
  13595. <item>
  13596. <term>INFO</term>
  13597. <description>
  13598. The <see cref="M:Info(object)"/> and <see cref="M:InfoFormat(string, object[])"/> methods log messages
  13599. at the <c>INFO</c> level. That is the level with that name defined in the
  13600. repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
  13601. for this level is <see cref="F:log4net.Core.Level.Info"/>. The <see cref="P:log4net.Core.LogImpl.IsInfoEnabled"/>
  13602. property tests if this level is enabled for logging.
  13603. </description>
  13604. </item>
  13605. <item>
  13606. <term>WARN</term>
  13607. <description>
  13608. The <see cref="M:Warn(object)"/> and <see cref="M:WarnFormat(string, object[])"/> methods log messages
  13609. at the <c>WARN</c> level. That is the level with that name defined in the
  13610. repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
  13611. for this level is <see cref="F:log4net.Core.Level.Warn"/>. The <see cref="P:log4net.Core.LogImpl.IsWarnEnabled"/>
  13612. property tests if this level is enabled for logging.
  13613. </description>
  13614. </item>
  13615. <item>
  13616. <term>ERROR</term>
  13617. <description>
  13618. The <see cref="M:Error(object)"/> and <see cref="M:ErrorFormat(string, object[])"/> methods log messages
  13619. at the <c>ERROR</c> level. That is the level with that name defined in the
  13620. repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
  13621. for this level is <see cref="F:log4net.Core.Level.Error"/>. The <see cref="P:log4net.Core.LogImpl.IsErrorEnabled"/>
  13622. property tests if this level is enabled for logging.
  13623. </description>
  13624. </item>
  13625. <item>
  13626. <term>FATAL</term>
  13627. <description>
  13628. The <see cref="M:Fatal(object)"/> and <see cref="M:FatalFormat(string, object[])"/> methods log messages
  13629. at the <c>FATAL</c> level. That is the level with that name defined in the
  13630. repositories <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/>. The default value
  13631. for this level is <see cref="F:log4net.Core.Level.Fatal"/>. The <see cref="P:log4net.Core.LogImpl.IsFatalEnabled"/>
  13632. property tests if this level is enabled for logging.
  13633. </description>
  13634. </item>
  13635. </list>
  13636. <para>
  13637. The values for these levels and their semantic meanings can be changed by
  13638. configuring the <see cref="P:log4net.Repository.ILoggerRepository.LevelMap"/> for the repository.
  13639. </para>
  13640. </remarks>
  13641. <author>Nicko Cadell</author>
  13642. <author>Gert Driesen</author>
  13643. </member>
  13644. <member name="T:log4net.ILog">
  13645. <summary>
  13646. The ILog interface is use by application to log messages into
  13647. the log4net framework.
  13648. </summary>
  13649. <remarks>
  13650. <para>
  13651. Use the <see cref="T:log4net.LogManager"/> to obtain logger instances
  13652. that implement this interface. The <see cref="M:LogManager.GetLogger(Assembly,Type)"/>
  13653. static method is used to get logger instances.
  13654. </para>
  13655. <para>
  13656. This class contains methods for logging at different levels and also
  13657. has properties for determining if those logging levels are
  13658. enabled in the current configuration.
  13659. </para>
  13660. <para>
  13661. This interface can be implemented in different ways. This documentation
  13662. specifies reasonable behavior that a caller can expect from the actual
  13663. implementation, however different implementations reserve the right to
  13664. do things differently.
  13665. </para>
  13666. </remarks>
  13667. <example>Simple example of logging messages
  13668. <code lang="C#">
  13669. ILog log = LogManager.GetLogger("application-log");
  13670. log.Info("Application Start");
  13671. log.Debug("This is a debug message");
  13672. if (log.IsDebugEnabled)
  13673. {
  13674. log.Debug("This is another debug message");
  13675. }
  13676. </code>
  13677. </example>
  13678. <seealso cref="T:log4net.LogManager"/>
  13679. <seealso cref="M:LogManager.GetLogger(Assembly, Type)"/>
  13680. <author>Nicko Cadell</author>
  13681. <author>Gert Driesen</author>
  13682. </member>
  13683. <member name="M:log4net.ILog.Debug(System.Object)">
  13684. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.</overloads>
  13685. <summary>
  13686. Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.
  13687. </summary>
  13688. <param name="message">The message object to log.</param>
  13689. <remarks>
  13690. <para>
  13691. This method first checks if this logger is <c>DEBUG</c>
  13692. enabled by comparing the level of this logger with the
  13693. <see cref="F:log4net.Core.Level.Debug"/> level. If this logger is
  13694. <c>DEBUG</c> enabled, then it converts the message object
  13695. (passed as parameter) to a string by invoking the appropriate
  13696. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  13697. proceeds to call all the registered appenders in this logger
  13698. and also higher in the hierarchy depending on the value of
  13699. the additivity flag.
  13700. </para>
  13701. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  13702. to this method will print the name of the <see cref="T:System.Exception"/>
  13703. but no stack trace. To print a stack trace use the
  13704. <see cref="M:Debug(object,Exception)"/> form instead.
  13705. </para>
  13706. </remarks>
  13707. <seealso cref="M:Debug(object,Exception)"/>
  13708. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13709. </member>
  13710. <member name="M:log4net.ILog.Debug(System.Object,System.Exception)">
  13711. <summary>
  13712. Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level including
  13713. the stack trace of the <see cref="T:System.Exception"/> passed
  13714. as a parameter.
  13715. </summary>
  13716. <param name="message">The message object to log.</param>
  13717. <param name="exception">The exception to log, including its stack trace.</param>
  13718. <remarks>
  13719. <para>
  13720. See the <see cref="M:Debug(object)"/> form for more detailed information.
  13721. </para>
  13722. </remarks>
  13723. <seealso cref="M:Debug(object)"/>
  13724. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13725. </member>
  13726. <member name="M:log4net.ILog.DebugFormat(System.String,System.Object[])">
  13727. <overloads>Log a formatted string with the <see cref="F:log4net.Core.Level.Debug"/> level.</overloads>
  13728. <summary>
  13729. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  13730. </summary>
  13731. <param name="format">A String containing zero or more format items</param>
  13732. <param name="args">An Object array containing zero or more objects to format</param>
  13733. <remarks>
  13734. <para>
  13735. The message is formatted using the <c>String.Format</c> method. See
  13736. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13737. of the formatting.
  13738. </para>
  13739. <para>
  13740. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13741. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object,Exception)"/>
  13742. methods instead.
  13743. </para>
  13744. </remarks>
  13745. <seealso cref="M:Debug(object)"/>
  13746. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13747. </member>
  13748. <member name="M:log4net.ILog.DebugFormat(System.String,System.Object)">
  13749. <summary>
  13750. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  13751. </summary>
  13752. <param name="format">A String containing zero or more format items</param>
  13753. <param name="arg0">An Object to format</param>
  13754. <remarks>
  13755. <para>
  13756. The message is formatted using the <c>String.Format</c> method. See
  13757. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13758. of the formatting.
  13759. </para>
  13760. <para>
  13761. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13762. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object,Exception)"/>
  13763. methods instead.
  13764. </para>
  13765. </remarks>
  13766. <seealso cref="M:Debug(object)"/>
  13767. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13768. </member>
  13769. <member name="M:log4net.ILog.DebugFormat(System.String,System.Object,System.Object)">
  13770. <summary>
  13771. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  13772. </summary>
  13773. <param name="format">A String containing zero or more format items</param>
  13774. <param name="arg0">An Object to format</param>
  13775. <param name="arg1">An Object to format</param>
  13776. <remarks>
  13777. <para>
  13778. The message is formatted using the <c>String.Format</c> method. See
  13779. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13780. of the formatting.
  13781. </para>
  13782. <para>
  13783. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13784. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object,Exception)"/>
  13785. methods instead.
  13786. </para>
  13787. </remarks>
  13788. <seealso cref="M:Debug(object)"/>
  13789. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13790. </member>
  13791. <member name="M:log4net.ILog.DebugFormat(System.String,System.Object,System.Object,System.Object)">
  13792. <summary>
  13793. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  13794. </summary>
  13795. <param name="format">A String containing zero or more format items</param>
  13796. <param name="arg0">An Object to format</param>
  13797. <param name="arg1">An Object to format</param>
  13798. <param name="arg2">An Object to format</param>
  13799. <remarks>
  13800. <para>
  13801. The message is formatted using the <c>String.Format</c> method. See
  13802. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13803. of the formatting.
  13804. </para>
  13805. <para>
  13806. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13807. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object,Exception)"/>
  13808. methods instead.
  13809. </para>
  13810. </remarks>
  13811. <seealso cref="M:Debug(object)"/>
  13812. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13813. </member>
  13814. <member name="M:log4net.ILog.DebugFormat(System.IFormatProvider,System.String,System.Object[])">
  13815. <summary>
  13816. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  13817. </summary>
  13818. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  13819. <param name="format">A String containing zero or more format items</param>
  13820. <param name="args">An Object array containing zero or more objects to format</param>
  13821. <remarks>
  13822. <para>
  13823. The message is formatted using the <c>String.Format</c> method. See
  13824. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13825. of the formatting.
  13826. </para>
  13827. <para>
  13828. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13829. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object,Exception)"/>
  13830. methods instead.
  13831. </para>
  13832. </remarks>
  13833. <seealso cref="M:Debug(object)"/>
  13834. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  13835. </member>
  13836. <member name="M:log4net.ILog.Info(System.Object)">
  13837. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level.</overloads>
  13838. <summary>
  13839. Logs a message object with the <see cref="F:log4net.Core.Level.Info"/> level.
  13840. </summary>
  13841. <remarks>
  13842. <para>
  13843. This method first checks if this logger is <c>INFO</c>
  13844. enabled by comparing the level of this logger with the
  13845. <see cref="F:log4net.Core.Level.Info"/> level. If this logger is
  13846. <c>INFO</c> enabled, then it converts the message object
  13847. (passed as parameter) to a string by invoking the appropriate
  13848. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  13849. proceeds to call all the registered appenders in this logger
  13850. and also higher in the hierarchy depending on the value of the
  13851. additivity flag.
  13852. </para>
  13853. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  13854. to this method will print the name of the <see cref="T:System.Exception"/>
  13855. but no stack trace. To print a stack trace use the
  13856. <see cref="M:Info(object,Exception)"/> form instead.
  13857. </para>
  13858. </remarks>
  13859. <param name="message">The message object to log.</param>
  13860. <seealso cref="M:Info(object,Exception)"/>
  13861. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13862. </member>
  13863. <member name="M:log4net.ILog.Info(System.Object,System.Exception)">
  13864. <summary>
  13865. Logs a message object with the <c>INFO</c> level including
  13866. the stack trace of the <see cref="T:System.Exception"/> passed
  13867. as a parameter.
  13868. </summary>
  13869. <param name="message">The message object to log.</param>
  13870. <param name="exception">The exception to log, including its stack trace.</param>
  13871. <remarks>
  13872. <para>
  13873. See the <see cref="M:Info(object)"/> form for more detailed information.
  13874. </para>
  13875. </remarks>
  13876. <seealso cref="M:Info(object)"/>
  13877. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13878. </member>
  13879. <member name="M:log4net.ILog.InfoFormat(System.String,System.Object[])">
  13880. <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.</overloads>
  13881. <summary>
  13882. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  13883. </summary>
  13884. <param name="format">A String containing zero or more format items</param>
  13885. <param name="args">An Object array containing zero or more objects to format</param>
  13886. <remarks>
  13887. <para>
  13888. The message is formatted using the <c>String.Format</c> method. See
  13889. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13890. of the formatting.
  13891. </para>
  13892. <para>
  13893. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13894. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  13895. methods instead.
  13896. </para>
  13897. </remarks>
  13898. <seealso cref="M:Info(object,Exception)"/>
  13899. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13900. </member>
  13901. <member name="M:log4net.ILog.InfoFormat(System.String,System.Object)">
  13902. <summary>
  13903. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  13904. </summary>
  13905. <param name="format">A String containing zero or more format items</param>
  13906. <param name="arg0">An Object to format</param>
  13907. <remarks>
  13908. <para>
  13909. The message is formatted using the <c>String.Format</c> method. See
  13910. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13911. of the formatting.
  13912. </para>
  13913. <para>
  13914. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13915. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object,Exception)"/>
  13916. methods instead.
  13917. </para>
  13918. </remarks>
  13919. <seealso cref="M:Info(object)"/>
  13920. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13921. </member>
  13922. <member name="M:log4net.ILog.InfoFormat(System.String,System.Object,System.Object)">
  13923. <summary>
  13924. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  13925. </summary>
  13926. <param name="format">A String containing zero or more format items</param>
  13927. <param name="arg0">An Object to format</param>
  13928. <param name="arg1">An Object to format</param>
  13929. <remarks>
  13930. <para>
  13931. The message is formatted using the <c>String.Format</c> method. See
  13932. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13933. of the formatting.
  13934. </para>
  13935. <para>
  13936. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13937. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object,Exception)"/>
  13938. methods instead.
  13939. </para>
  13940. </remarks>
  13941. <seealso cref="M:Info(object)"/>
  13942. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13943. </member>
  13944. <member name="M:log4net.ILog.InfoFormat(System.String,System.Object,System.Object,System.Object)">
  13945. <summary>
  13946. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  13947. </summary>
  13948. <param name="format">A String containing zero or more format items</param>
  13949. <param name="arg0">An Object to format</param>
  13950. <param name="arg1">An Object to format</param>
  13951. <param name="arg2">An Object to format</param>
  13952. <remarks>
  13953. <para>
  13954. The message is formatted using the <c>String.Format</c> method. See
  13955. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13956. of the formatting.
  13957. </para>
  13958. <para>
  13959. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13960. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object,Exception)"/>
  13961. methods instead.
  13962. </para>
  13963. </remarks>
  13964. <seealso cref="M:Info(object)"/>
  13965. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13966. </member>
  13967. <member name="M:log4net.ILog.InfoFormat(System.IFormatProvider,System.String,System.Object[])">
  13968. <summary>
  13969. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  13970. </summary>
  13971. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  13972. <param name="format">A String containing zero or more format items</param>
  13973. <param name="args">An Object array containing zero or more objects to format</param>
  13974. <remarks>
  13975. <para>
  13976. The message is formatted using the <c>String.Format</c> method. See
  13977. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  13978. of the formatting.
  13979. </para>
  13980. <para>
  13981. This method does not take an <see cref="T:System.Exception"/> object to include in the
  13982. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  13983. methods instead.
  13984. </para>
  13985. </remarks>
  13986. <seealso cref="M:Info(object,Exception)"/>
  13987. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  13988. </member>
  13989. <member name="M:log4net.ILog.Warn(System.Object)">
  13990. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.</overloads>
  13991. <summary>
  13992. Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.
  13993. </summary>
  13994. <remarks>
  13995. <para>
  13996. This method first checks if this logger is <c>WARN</c>
  13997. enabled by comparing the level of this logger with the
  13998. <see cref="F:log4net.Core.Level.Warn"/> level. If this logger is
  13999. <c>WARN</c> enabled, then it converts the message object
  14000. (passed as parameter) to a string by invoking the appropriate
  14001. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  14002. proceeds to call all the registered appenders in this logger
  14003. and also higher in the hierarchy depending on the value of the
  14004. additivity flag.
  14005. </para>
  14006. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  14007. to this method will print the name of the <see cref="T:System.Exception"/>
  14008. but no stack trace. To print a stack trace use the
  14009. <see cref="M:Warn(object,Exception)"/> form instead.
  14010. </para>
  14011. </remarks>
  14012. <param name="message">The message object to log.</param>
  14013. <seealso cref="M:Warn(object,Exception)"/>
  14014. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14015. </member>
  14016. <member name="M:log4net.ILog.Warn(System.Object,System.Exception)">
  14017. <summary>
  14018. Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level including
  14019. the stack trace of the <see cref="T:System.Exception"/> passed
  14020. as a parameter.
  14021. </summary>
  14022. <param name="message">The message object to log.</param>
  14023. <param name="exception">The exception to log, including its stack trace.</param>
  14024. <remarks>
  14025. <para>
  14026. See the <see cref="M:Warn(object)"/> form for more detailed information.
  14027. </para>
  14028. </remarks>
  14029. <seealso cref="M:Warn(object)"/>
  14030. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14031. </member>
  14032. <member name="M:log4net.ILog.WarnFormat(System.String,System.Object[])">
  14033. <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.</overloads>
  14034. <summary>
  14035. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  14036. </summary>
  14037. <param name="format">A String containing zero or more format items</param>
  14038. <param name="args">An Object array containing zero or more objects to format</param>
  14039. <remarks>
  14040. <para>
  14041. The message is formatted using the <c>String.Format</c> method. See
  14042. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14043. of the formatting.
  14044. </para>
  14045. <para>
  14046. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14047. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  14048. methods instead.
  14049. </para>
  14050. </remarks>
  14051. <seealso cref="M:Warn(object,Exception)"/>
  14052. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14053. </member>
  14054. <member name="M:log4net.ILog.WarnFormat(System.String,System.Object)">
  14055. <summary>
  14056. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  14057. </summary>
  14058. <param name="format">A String containing zero or more format items</param>
  14059. <param name="arg0">An Object to format</param>
  14060. <remarks>
  14061. <para>
  14062. The message is formatted using the <c>String.Format</c> method. See
  14063. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14064. of the formatting.
  14065. </para>
  14066. <para>
  14067. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14068. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object,Exception)"/>
  14069. methods instead.
  14070. </para>
  14071. </remarks>
  14072. <seealso cref="M:Warn(object)"/>
  14073. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14074. </member>
  14075. <member name="M:log4net.ILog.WarnFormat(System.String,System.Object,System.Object)">
  14076. <summary>
  14077. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  14078. </summary>
  14079. <param name="format">A String containing zero or more format items</param>
  14080. <param name="arg0">An Object to format</param>
  14081. <param name="arg1">An Object to format</param>
  14082. <remarks>
  14083. <para>
  14084. The message is formatted using the <c>String.Format</c> method. See
  14085. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14086. of the formatting.
  14087. </para>
  14088. <para>
  14089. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14090. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object,Exception)"/>
  14091. methods instead.
  14092. </para>
  14093. </remarks>
  14094. <seealso cref="M:Warn(object)"/>
  14095. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14096. </member>
  14097. <member name="M:log4net.ILog.WarnFormat(System.String,System.Object,System.Object,System.Object)">
  14098. <summary>
  14099. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  14100. </summary>
  14101. <param name="format">A String containing zero or more format items</param>
  14102. <param name="arg0">An Object to format</param>
  14103. <param name="arg1">An Object to format</param>
  14104. <param name="arg2">An Object to format</param>
  14105. <remarks>
  14106. <para>
  14107. The message is formatted using the <c>String.Format</c> method. See
  14108. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14109. of the formatting.
  14110. </para>
  14111. <para>
  14112. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14113. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object,Exception)"/>
  14114. methods instead.
  14115. </para>
  14116. </remarks>
  14117. <seealso cref="M:Warn(object)"/>
  14118. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14119. </member>
  14120. <member name="M:log4net.ILog.WarnFormat(System.IFormatProvider,System.String,System.Object[])">
  14121. <summary>
  14122. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  14123. </summary>
  14124. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  14125. <param name="format">A String containing zero or more format items</param>
  14126. <param name="args">An Object array containing zero or more objects to format</param>
  14127. <remarks>
  14128. <para>
  14129. The message is formatted using the <c>String.Format</c> method. See
  14130. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14131. of the formatting.
  14132. </para>
  14133. <para>
  14134. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14135. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  14136. methods instead.
  14137. </para>
  14138. </remarks>
  14139. <seealso cref="M:Warn(object,Exception)"/>
  14140. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  14141. </member>
  14142. <member name="M:log4net.ILog.Error(System.Object)">
  14143. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level.</overloads>
  14144. <summary>
  14145. Logs a message object with the <see cref="F:log4net.Core.Level.Error"/> level.
  14146. </summary>
  14147. <param name="message">The message object to log.</param>
  14148. <remarks>
  14149. <para>
  14150. This method first checks if this logger is <c>ERROR</c>
  14151. enabled by comparing the level of this logger with the
  14152. <see cref="F:log4net.Core.Level.Error"/> level. If this logger is
  14153. <c>ERROR</c> enabled, then it converts the message object
  14154. (passed as parameter) to a string by invoking the appropriate
  14155. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  14156. proceeds to call all the registered appenders in this logger
  14157. and also higher in the hierarchy depending on the value of the
  14158. additivity flag.
  14159. </para>
  14160. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  14161. to this method will print the name of the <see cref="T:System.Exception"/>
  14162. but no stack trace. To print a stack trace use the
  14163. <see cref="M:Error(object,Exception)"/> form instead.
  14164. </para>
  14165. </remarks>
  14166. <seealso cref="M:Error(object,Exception)"/>
  14167. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14168. </member>
  14169. <member name="M:log4net.ILog.Error(System.Object,System.Exception)">
  14170. <summary>
  14171. Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level including
  14172. the stack trace of the <see cref="T:System.Exception"/> passed
  14173. as a parameter.
  14174. </summary>
  14175. <param name="message">The message object to log.</param>
  14176. <param name="exception">The exception to log, including its stack trace.</param>
  14177. <remarks>
  14178. <para>
  14179. See the <see cref="M:Error(object)"/> form for more detailed information.
  14180. </para>
  14181. </remarks>
  14182. <seealso cref="M:Error(object)"/>
  14183. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14184. </member>
  14185. <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object[])">
  14186. <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.</overloads>
  14187. <summary>
  14188. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  14189. </summary>
  14190. <param name="format">A String containing zero or more format items</param>
  14191. <param name="args">An Object array containing zero or more objects to format</param>
  14192. <remarks>
  14193. <para>
  14194. The message is formatted using the <c>String.Format</c> method. See
  14195. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14196. of the formatting.
  14197. </para>
  14198. <para>
  14199. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14200. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  14201. methods instead.
  14202. </para>
  14203. </remarks>
  14204. <seealso cref="M:Error(object,Exception)"/>
  14205. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14206. </member>
  14207. <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object)">
  14208. <summary>
  14209. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  14210. </summary>
  14211. <param name="format">A String containing zero or more format items</param>
  14212. <param name="arg0">An Object to format</param>
  14213. <remarks>
  14214. <para>
  14215. The message is formatted using the <c>String.Format</c> method. See
  14216. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14217. of the formatting.
  14218. </para>
  14219. <para>
  14220. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14221. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object,Exception)"/>
  14222. methods instead.
  14223. </para>
  14224. </remarks>
  14225. <seealso cref="M:Error(object)"/>
  14226. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14227. </member>
  14228. <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object,System.Object)">
  14229. <summary>
  14230. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  14231. </summary>
  14232. <param name="format">A String containing zero or more format items</param>
  14233. <param name="arg0">An Object to format</param>
  14234. <param name="arg1">An Object to format</param>
  14235. <remarks>
  14236. <para>
  14237. The message is formatted using the <c>String.Format</c> method. See
  14238. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14239. of the formatting.
  14240. </para>
  14241. <para>
  14242. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14243. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object,Exception)"/>
  14244. methods instead.
  14245. </para>
  14246. </remarks>
  14247. <seealso cref="M:Error(object)"/>
  14248. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14249. </member>
  14250. <member name="M:log4net.ILog.ErrorFormat(System.String,System.Object,System.Object,System.Object)">
  14251. <summary>
  14252. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  14253. </summary>
  14254. <param name="format">A String containing zero or more format items</param>
  14255. <param name="arg0">An Object to format</param>
  14256. <param name="arg1">An Object to format</param>
  14257. <param name="arg2">An Object to format</param>
  14258. <remarks>
  14259. <para>
  14260. The message is formatted using the <c>String.Format</c> method. See
  14261. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14262. of the formatting.
  14263. </para>
  14264. <para>
  14265. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14266. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object,Exception)"/>
  14267. methods instead.
  14268. </para>
  14269. </remarks>
  14270. <seealso cref="M:Error(object)"/>
  14271. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14272. </member>
  14273. <member name="M:log4net.ILog.ErrorFormat(System.IFormatProvider,System.String,System.Object[])">
  14274. <summary>
  14275. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  14276. </summary>
  14277. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  14278. <param name="format">A String containing zero or more format items</param>
  14279. <param name="args">An Object array containing zero or more objects to format</param>
  14280. <remarks>
  14281. <para>
  14282. The message is formatted using the <c>String.Format</c> method. See
  14283. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14284. of the formatting.
  14285. </para>
  14286. <para>
  14287. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14288. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  14289. methods instead.
  14290. </para>
  14291. </remarks>
  14292. <seealso cref="M:Error(object,Exception)"/>
  14293. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  14294. </member>
  14295. <member name="M:log4net.ILog.Fatal(System.Object)">
  14296. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.</overloads>
  14297. <summary>
  14298. Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14299. </summary>
  14300. <remarks>
  14301. <para>
  14302. This method first checks if this logger is <c>FATAL</c>
  14303. enabled by comparing the level of this logger with the
  14304. <see cref="F:log4net.Core.Level.Fatal"/> level. If this logger is
  14305. <c>FATAL</c> enabled, then it converts the message object
  14306. (passed as parameter) to a string by invoking the appropriate
  14307. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  14308. proceeds to call all the registered appenders in this logger
  14309. and also higher in the hierarchy depending on the value of the
  14310. additivity flag.
  14311. </para>
  14312. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  14313. to this method will print the name of the <see cref="T:System.Exception"/>
  14314. but no stack trace. To print a stack trace use the
  14315. <see cref="M:Fatal(object,Exception)"/> form instead.
  14316. </para>
  14317. </remarks>
  14318. <param name="message">The message object to log.</param>
  14319. <seealso cref="M:Fatal(object,Exception)"/>
  14320. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14321. </member>
  14322. <member name="M:log4net.ILog.Fatal(System.Object,System.Exception)">
  14323. <summary>
  14324. Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level including
  14325. the stack trace of the <see cref="T:System.Exception"/> passed
  14326. as a parameter.
  14327. </summary>
  14328. <param name="message">The message object to log.</param>
  14329. <param name="exception">The exception to log, including its stack trace.</param>
  14330. <remarks>
  14331. <para>
  14332. See the <see cref="M:Fatal(object)"/> form for more detailed information.
  14333. </para>
  14334. </remarks>
  14335. <seealso cref="M:Fatal(object)"/>
  14336. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14337. </member>
  14338. <member name="M:log4net.ILog.FatalFormat(System.String,System.Object[])">
  14339. <overloads>Log a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.</overloads>
  14340. <summary>
  14341. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14342. </summary>
  14343. <param name="format">A String containing zero or more format items</param>
  14344. <param name="args">An Object array containing zero or more objects to format</param>
  14345. <remarks>
  14346. <para>
  14347. The message is formatted using the <c>String.Format</c> method. See
  14348. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14349. of the formatting.
  14350. </para>
  14351. <para>
  14352. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14353. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  14354. methods instead.
  14355. </para>
  14356. </remarks>
  14357. <seealso cref="M:Fatal(object,Exception)"/>
  14358. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14359. </member>
  14360. <member name="M:log4net.ILog.FatalFormat(System.String,System.Object)">
  14361. <summary>
  14362. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14363. </summary>
  14364. <param name="format">A String containing zero or more format items</param>
  14365. <param name="arg0">An Object to format</param>
  14366. <remarks>
  14367. <para>
  14368. The message is formatted using the <c>String.Format</c> method. See
  14369. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14370. of the formatting.
  14371. </para>
  14372. <para>
  14373. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14374. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object,Exception)"/>
  14375. methods instead.
  14376. </para>
  14377. </remarks>
  14378. <seealso cref="M:Fatal(object)"/>
  14379. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14380. </member>
  14381. <member name="M:log4net.ILog.FatalFormat(System.String,System.Object,System.Object)">
  14382. <summary>
  14383. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14384. </summary>
  14385. <param name="format">A String containing zero or more format items</param>
  14386. <param name="arg0">An Object to format</param>
  14387. <param name="arg1">An Object to format</param>
  14388. <remarks>
  14389. <para>
  14390. The message is formatted using the <c>String.Format</c> method. See
  14391. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14392. of the formatting.
  14393. </para>
  14394. <para>
  14395. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14396. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object,Exception)"/>
  14397. methods instead.
  14398. </para>
  14399. </remarks>
  14400. <seealso cref="M:Fatal(object)"/>
  14401. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14402. </member>
  14403. <member name="M:log4net.ILog.FatalFormat(System.String,System.Object,System.Object,System.Object)">
  14404. <summary>
  14405. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14406. </summary>
  14407. <param name="format">A String containing zero or more format items</param>
  14408. <param name="arg0">An Object to format</param>
  14409. <param name="arg1">An Object to format</param>
  14410. <param name="arg2">An Object to format</param>
  14411. <remarks>
  14412. <para>
  14413. The message is formatted using the <c>String.Format</c> method. See
  14414. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14415. of the formatting.
  14416. </para>
  14417. <para>
  14418. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14419. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object,Exception)"/>
  14420. methods instead.
  14421. </para>
  14422. </remarks>
  14423. <seealso cref="M:Fatal(object)"/>
  14424. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14425. </member>
  14426. <member name="M:log4net.ILog.FatalFormat(System.IFormatProvider,System.String,System.Object[])">
  14427. <summary>
  14428. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14429. </summary>
  14430. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  14431. <param name="format">A String containing zero or more format items</param>
  14432. <param name="args">An Object array containing zero or more objects to format</param>
  14433. <remarks>
  14434. <para>
  14435. The message is formatted using the <c>String.Format</c> method. See
  14436. <see cref="M:String.Format(string, object[])"/> for details of the syntax of the format string and the behavior
  14437. of the formatting.
  14438. </para>
  14439. <para>
  14440. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14441. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  14442. methods instead.
  14443. </para>
  14444. </remarks>
  14445. <seealso cref="M:Fatal(object,Exception)"/>
  14446. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  14447. </member>
  14448. <member name="P:log4net.ILog.IsDebugEnabled">
  14449. <summary>
  14450. Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Debug"/> level.
  14451. </summary>
  14452. <value>
  14453. <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Debug"/> events, <c>false</c> otherwise.
  14454. </value>
  14455. <remarks>
  14456. <para>
  14457. This function is intended to lessen the computational cost of
  14458. disabled log debug statements.
  14459. </para>
  14460. <para> For some ILog interface <c>log</c>, when you write:</para>
  14461. <code lang="C#">
  14462. log.Debug("This is entry number: " + i );
  14463. </code>
  14464. <para>
  14465. You incur the cost constructing the message, string construction and concatenation in
  14466. this case, regardless of whether the message is logged or not.
  14467. </para>
  14468. <para>
  14469. If you are worried about speed (who isn't), then you should write:
  14470. </para>
  14471. <code lang="C#">
  14472. if (log.IsDebugEnabled)
  14473. {
  14474. log.Debug("This is entry number: " + i );
  14475. }
  14476. </code>
  14477. <para>
  14478. This way you will not incur the cost of parameter
  14479. construction if debugging is disabled for <c>log</c>. On
  14480. the other hand, if the <c>log</c> is debug enabled, you
  14481. will incur the cost of evaluating whether the logger is debug
  14482. enabled twice. Once in <see cref="P:log4net.ILog.IsDebugEnabled"/> and once in
  14483. the <see cref="M:Debug(object)"/>. This is an insignificant overhead
  14484. since evaluating a logger takes about 1% of the time it
  14485. takes to actually log. This is the preferred style of logging.
  14486. </para>
  14487. <para>Alternatively if your logger is available statically then the is debug
  14488. enabled state can be stored in a static variable like this:
  14489. </para>
  14490. <code lang="C#">
  14491. private static readonly bool isDebugEnabled = log.IsDebugEnabled;
  14492. </code>
  14493. <para>
  14494. Then when you come to log you can write:
  14495. </para>
  14496. <code lang="C#">
  14497. if (isDebugEnabled)
  14498. {
  14499. log.Debug("This is entry number: " + i );
  14500. }
  14501. </code>
  14502. <para>
  14503. This way the debug enabled state is only queried once
  14504. when the class is loaded. Using a <c>private static readonly</c>
  14505. variable is the most efficient because it is a run time constant
  14506. and can be heavily optimized by the JIT compiler.
  14507. </para>
  14508. <para>
  14509. Of course if you use a static readonly variable to
  14510. hold the enabled state of the logger then you cannot
  14511. change the enabled state at runtime to vary the logging
  14512. that is produced. You have to decide if you need absolute
  14513. speed or runtime flexibility.
  14514. </para>
  14515. </remarks>
  14516. <seealso cref="M:Debug(object)"/>
  14517. <seealso cref="M:DebugFormat(IFormatProvider, string, object[])"/>
  14518. </member>
  14519. <member name="P:log4net.ILog.IsInfoEnabled">
  14520. <summary>
  14521. Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Info"/> level.
  14522. </summary>
  14523. <value>
  14524. <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Info"/> events, <c>false</c> otherwise.
  14525. </value>
  14526. <remarks>
  14527. For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
  14528. </remarks>
  14529. <seealso cref="M:Info(object)"/>
  14530. <seealso cref="M:InfoFormat(IFormatProvider, string, object[])"/>
  14531. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  14532. </member>
  14533. <member name="P:log4net.ILog.IsWarnEnabled">
  14534. <summary>
  14535. Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Warn"/> level.
  14536. </summary>
  14537. <value>
  14538. <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Warn"/> events, <c>false</c> otherwise.
  14539. </value>
  14540. <remarks>
  14541. For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
  14542. </remarks>
  14543. <seealso cref="M:Warn(object)"/>
  14544. <seealso cref="M:WarnFormat(IFormatProvider, string, object[])"/>
  14545. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  14546. </member>
  14547. <member name="P:log4net.ILog.IsErrorEnabled">
  14548. <summary>
  14549. Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Error"/> level.
  14550. </summary>
  14551. <value>
  14552. <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Error"/> events, <c>false</c> otherwise.
  14553. </value>
  14554. <remarks>
  14555. For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
  14556. </remarks>
  14557. <seealso cref="M:Error(object)"/>
  14558. <seealso cref="M:ErrorFormat(IFormatProvider, string, object[])"/>
  14559. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  14560. </member>
  14561. <member name="P:log4net.ILog.IsFatalEnabled">
  14562. <summary>
  14563. Checks if this logger is enabled for the <see cref="F:log4net.Core.Level.Fatal"/> level.
  14564. </summary>
  14565. <value>
  14566. <c>true</c> if this logger is enabled for <see cref="F:log4net.Core.Level.Fatal"/> events, <c>false</c> otherwise.
  14567. </value>
  14568. <remarks>
  14569. For more information see <see cref="P:log4net.ILog.IsDebugEnabled"/>.
  14570. </remarks>
  14571. <seealso cref="M:Fatal(object)"/>
  14572. <seealso cref="M:FatalFormat(IFormatProvider, string, object[])"/>
  14573. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  14574. </member>
  14575. <member name="M:log4net.Core.LogImpl.#ctor(log4net.Core.ILogger)">
  14576. <summary>
  14577. Construct a new wrapper for the specified logger.
  14578. </summary>
  14579. <param name="logger">The logger to wrap.</param>
  14580. <remarks>
  14581. <para>
  14582. Construct a new wrapper for the specified logger.
  14583. </para>
  14584. </remarks>
  14585. </member>
  14586. <member name="M:log4net.Core.LogImpl.ReloadLevels(log4net.Repository.ILoggerRepository)">
  14587. <summary>
  14588. Virtual method called when the configuration of the repository changes
  14589. </summary>
  14590. <param name="repository">the repository holding the levels</param>
  14591. <remarks>
  14592. <para>
  14593. Virtual method called when the configuration of the repository changes
  14594. </para>
  14595. </remarks>
  14596. </member>
  14597. <member name="M:log4net.Core.LogImpl.Debug(System.Object)">
  14598. <summary>
  14599. Logs a message object with the <c>DEBUG</c> level.
  14600. </summary>
  14601. <param name="message">The message object to log.</param>
  14602. <remarks>
  14603. <para>
  14604. This method first checks if this logger is <c>DEBUG</c>
  14605. enabled by comparing the level of this logger with the
  14606. <c>DEBUG</c> level. If this logger is
  14607. <c>DEBUG</c> enabled, then it converts the message object
  14608. (passed as parameter) to a string by invoking the appropriate
  14609. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  14610. proceeds to call all the registered appenders in this logger
  14611. and also higher in the hierarchy depending on the value of the
  14612. additivity flag.
  14613. </para>
  14614. <para>
  14615. <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  14616. to this method will print the name of the <see cref="T:System.Exception"/>
  14617. but no stack trace. To print a stack trace use the
  14618. <see cref="M:Debug(object,Exception)"/> form instead.
  14619. </para>
  14620. </remarks>
  14621. </member>
  14622. <member name="M:log4net.Core.LogImpl.Debug(System.Object,System.Exception)">
  14623. <summary>
  14624. Logs a message object with the <c>DEBUG</c> level
  14625. </summary>
  14626. <param name="message">The message object to log.</param>
  14627. <param name="exception">The exception to log, including its stack trace.</param>
  14628. <remarks>
  14629. <para>
  14630. Logs a message object with the <c>DEBUG</c> level including
  14631. the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/> passed
  14632. as a parameter.
  14633. </para>
  14634. <para>
  14635. See the <see cref="M:Debug(object)"/> form for more detailed information.
  14636. </para>
  14637. </remarks>
  14638. <seealso cref="M:Debug(object)"/>
  14639. </member>
  14640. <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object[])">
  14641. <summary>
  14642. Logs a formatted message string with the <c>DEBUG</c> level.
  14643. </summary>
  14644. <param name="format">A String containing zero or more format items</param>
  14645. <param name="args">An Object array containing zero or more objects to format</param>
  14646. <remarks>
  14647. <para>
  14648. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14649. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14650. of the formatting.
  14651. </para>
  14652. <para>
  14653. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14654. format provider. To specify a localized provider use the
  14655. <see cref="M:DebugFormat(IFormatProvider,string,object[])"/> method.
  14656. </para>
  14657. <para>
  14658. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14659. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object)"/>
  14660. methods instead.
  14661. </para>
  14662. </remarks>
  14663. </member>
  14664. <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object)">
  14665. <summary>
  14666. Logs a formatted message string with the <c>DEBUG</c> level.
  14667. </summary>
  14668. <param name="format">A String containing zero or more format items</param>
  14669. <param name="arg0">An Object to format</param>
  14670. <remarks>
  14671. <para>
  14672. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14673. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14674. of the formatting.
  14675. </para>
  14676. <para>
  14677. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14678. format provider. To specify a localized provider use the
  14679. <see cref="M:DebugFormat(IFormatProvider,string,object[])"/> method.
  14680. </para>
  14681. <para>
  14682. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14683. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object)"/>
  14684. methods instead.
  14685. </para>
  14686. </remarks>
  14687. </member>
  14688. <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object,System.Object)">
  14689. <summary>
  14690. Logs a formatted message string with the <c>DEBUG</c> level.
  14691. </summary>
  14692. <param name="format">A String containing zero or more format items</param>
  14693. <param name="arg0">An Object to format</param>
  14694. <param name="arg1">An Object to format</param>
  14695. <remarks>
  14696. <para>
  14697. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14698. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14699. of the formatting.
  14700. </para>
  14701. <para>
  14702. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14703. format provider. To specify a localized provider use the
  14704. <see cref="M:DebugFormat(IFormatProvider,string,object[])"/> method.
  14705. </para>
  14706. <para>
  14707. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14708. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object)"/>
  14709. methods instead.
  14710. </para>
  14711. </remarks>
  14712. </member>
  14713. <member name="M:log4net.Core.LogImpl.DebugFormat(System.String,System.Object,System.Object,System.Object)">
  14714. <summary>
  14715. Logs a formatted message string with the <c>DEBUG</c> level.
  14716. </summary>
  14717. <param name="format">A String containing zero or more format items</param>
  14718. <param name="arg0">An Object to format</param>
  14719. <param name="arg1">An Object to format</param>
  14720. <param name="arg2">An Object to format</param>
  14721. <remarks>
  14722. <para>
  14723. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14724. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14725. of the formatting.
  14726. </para>
  14727. <para>
  14728. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14729. format provider. To specify a localized provider use the
  14730. <see cref="M:DebugFormat(IFormatProvider,string,object[])"/> method.
  14731. </para>
  14732. <para>
  14733. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14734. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object)"/>
  14735. methods instead.
  14736. </para>
  14737. </remarks>
  14738. </member>
  14739. <member name="M:log4net.Core.LogImpl.DebugFormat(System.IFormatProvider,System.String,System.Object[])">
  14740. <summary>
  14741. Logs a formatted message string with the <c>DEBUG</c> level.
  14742. </summary>
  14743. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  14744. <param name="format">A String containing zero or more format items</param>
  14745. <param name="args">An Object array containing zero or more objects to format</param>
  14746. <remarks>
  14747. <para>
  14748. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14749. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14750. of the formatting.
  14751. </para>
  14752. <para>
  14753. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14754. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Debug(object)"/>
  14755. methods instead.
  14756. </para>
  14757. </remarks>
  14758. </member>
  14759. <member name="M:log4net.Core.LogImpl.Info(System.Object)">
  14760. <summary>
  14761. Logs a message object with the <c>INFO</c> level.
  14762. </summary>
  14763. <param name="message">The message object to log.</param>
  14764. <remarks>
  14765. <para>
  14766. This method first checks if this logger is <c>INFO</c>
  14767. enabled by comparing the level of this logger with the
  14768. <c>INFO</c> level. If this logger is
  14769. <c>INFO</c> enabled, then it converts the message object
  14770. (passed as parameter) to a string by invoking the appropriate
  14771. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  14772. proceeds to call all the registered appenders in this logger
  14773. and also higher in the hierarchy depending on the value of
  14774. the additivity flag.
  14775. </para>
  14776. <para>
  14777. <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  14778. to this method will print the name of the <see cref="T:System.Exception"/>
  14779. but no stack trace. To print a stack trace use the
  14780. <see cref="M:Info(object,Exception)"/> form instead.
  14781. </para>
  14782. </remarks>
  14783. </member>
  14784. <member name="M:log4net.Core.LogImpl.Info(System.Object,System.Exception)">
  14785. <summary>
  14786. Logs a message object with the <c>INFO</c> level.
  14787. </summary>
  14788. <param name="message">The message object to log.</param>
  14789. <param name="exception">The exception to log, including its stack trace.</param>
  14790. <remarks>
  14791. <para>
  14792. Logs a message object with the <c>INFO</c> level including
  14793. the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/>
  14794. passed as a parameter.
  14795. </para>
  14796. <para>
  14797. See the <see cref="M:Info(object)"/> form for more detailed information.
  14798. </para>
  14799. </remarks>
  14800. <seealso cref="M:Info(object)"/>
  14801. </member>
  14802. <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object[])">
  14803. <summary>
  14804. Logs a formatted message string with the <c>INFO</c> level.
  14805. </summary>
  14806. <param name="format">A String containing zero or more format items</param>
  14807. <param name="args">An Object array containing zero or more objects to format</param>
  14808. <remarks>
  14809. <para>
  14810. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14811. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14812. of the formatting.
  14813. </para>
  14814. <para>
  14815. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14816. format provider. To specify a localized provider use the
  14817. <see cref="M:InfoFormat(IFormatProvider,string,object[])"/> method.
  14818. </para>
  14819. <para>
  14820. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14821. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  14822. methods instead.
  14823. </para>
  14824. </remarks>
  14825. </member>
  14826. <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object)">
  14827. <summary>
  14828. Logs a formatted message string with the <c>INFO</c> level.
  14829. </summary>
  14830. <param name="format">A String containing zero or more format items</param>
  14831. <param name="arg0">An Object to format</param>
  14832. <remarks>
  14833. <para>
  14834. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14835. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14836. of the formatting.
  14837. </para>
  14838. <para>
  14839. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14840. format provider. To specify a localized provider use the
  14841. <see cref="M:InfoFormat(IFormatProvider,string,object[])"/> method.
  14842. </para>
  14843. <para>
  14844. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14845. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  14846. methods instead.
  14847. </para>
  14848. </remarks>
  14849. </member>
  14850. <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object,System.Object)">
  14851. <summary>
  14852. Logs a formatted message string with the <c>INFO</c> level.
  14853. </summary>
  14854. <param name="format">A String containing zero or more format items</param>
  14855. <param name="arg0">An Object to format</param>
  14856. <param name="arg1">An Object to format</param>
  14857. <remarks>
  14858. <para>
  14859. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14860. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14861. of the formatting.
  14862. </para>
  14863. <para>
  14864. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14865. format provider. To specify a localized provider use the
  14866. <see cref="M:InfoFormat(IFormatProvider,string,object[])"/> method.
  14867. </para>
  14868. <para>
  14869. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14870. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  14871. methods instead.
  14872. </para>
  14873. </remarks>
  14874. </member>
  14875. <member name="M:log4net.Core.LogImpl.InfoFormat(System.String,System.Object,System.Object,System.Object)">
  14876. <summary>
  14877. Logs a formatted message string with the <c>INFO</c> level.
  14878. </summary>
  14879. <param name="format">A String containing zero or more format items</param>
  14880. <param name="arg0">An Object to format</param>
  14881. <param name="arg1">An Object to format</param>
  14882. <param name="arg2">An Object to format</param>
  14883. <remarks>
  14884. <para>
  14885. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14886. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14887. of the formatting.
  14888. </para>
  14889. <para>
  14890. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14891. format provider. To specify a localized provider use the
  14892. <see cref="M:InfoFormat(IFormatProvider,string,object[])"/> method.
  14893. </para>
  14894. <para>
  14895. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14896. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  14897. methods instead.
  14898. </para>
  14899. </remarks>
  14900. </member>
  14901. <member name="M:log4net.Core.LogImpl.InfoFormat(System.IFormatProvider,System.String,System.Object[])">
  14902. <summary>
  14903. Logs a formatted message string with the <c>INFO</c> level.
  14904. </summary>
  14905. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  14906. <param name="format">A String containing zero or more format items</param>
  14907. <param name="args">An Object array containing zero or more objects to format</param>
  14908. <remarks>
  14909. <para>
  14910. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14911. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14912. of the formatting.
  14913. </para>
  14914. <para>
  14915. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14916. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Info(object)"/>
  14917. methods instead.
  14918. </para>
  14919. </remarks>
  14920. </member>
  14921. <member name="M:log4net.Core.LogImpl.Warn(System.Object)">
  14922. <summary>
  14923. Logs a message object with the <c>WARN</c> level.
  14924. </summary>
  14925. <param name="message">the message object to log</param>
  14926. <remarks>
  14927. <para>
  14928. This method first checks if this logger is <c>WARN</c>
  14929. enabled by comparing the level of this logger with the
  14930. <c>WARN</c> level. If this logger is
  14931. <c>WARN</c> enabled, then it converts the message object
  14932. (passed as parameter) to a string by invoking the appropriate
  14933. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  14934. proceeds to call all the registered appenders in this logger and
  14935. also higher in the hierarchy depending on the value of the
  14936. additivity flag.
  14937. </para>
  14938. <para>
  14939. <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> to this
  14940. method will print the name of the <see cref="T:System.Exception"/> but no
  14941. stack trace. To print a stack trace use the
  14942. <see cref="M:Warn(object,Exception)"/> form instead.
  14943. </para>
  14944. </remarks>
  14945. </member>
  14946. <member name="M:log4net.Core.LogImpl.Warn(System.Object,System.Exception)">
  14947. <summary>
  14948. Logs a message object with the <c>WARN</c> level
  14949. </summary>
  14950. <param name="message">The message object to log.</param>
  14951. <param name="exception">The exception to log, including its stack trace.</param>
  14952. <remarks>
  14953. <para>
  14954. Logs a message object with the <c>WARN</c> level including
  14955. the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/>
  14956. passed as a parameter.
  14957. </para>
  14958. <para>
  14959. See the <see cref="M:Warn(object)"/> form for more detailed information.
  14960. </para>
  14961. </remarks>
  14962. <seealso cref="M:Warn(object)"/>
  14963. </member>
  14964. <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object[])">
  14965. <summary>
  14966. Logs a formatted message string with the <c>WARN</c> level.
  14967. </summary>
  14968. <param name="format">A String containing zero or more format items</param>
  14969. <param name="args">An Object array containing zero or more objects to format</param>
  14970. <remarks>
  14971. <para>
  14972. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14973. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14974. of the formatting.
  14975. </para>
  14976. <para>
  14977. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  14978. format provider. To specify a localized provider use the
  14979. <see cref="M:WarnFormat(IFormatProvider,string,object[])"/> method.
  14980. </para>
  14981. <para>
  14982. This method does not take an <see cref="T:System.Exception"/> object to include in the
  14983. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  14984. methods instead.
  14985. </para>
  14986. </remarks>
  14987. </member>
  14988. <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object)">
  14989. <summary>
  14990. Logs a formatted message string with the <c>WARN</c> level.
  14991. </summary>
  14992. <param name="format">A String containing zero or more format items</param>
  14993. <param name="arg0">An Object to format</param>
  14994. <remarks>
  14995. <para>
  14996. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  14997. <c>String.Format</c> for details of the syntax of the format string and the behavior
  14998. of the formatting.
  14999. </para>
  15000. <para>
  15001. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15002. format provider. To specify a localized provider use the
  15003. <see cref="M:WarnFormat(IFormatProvider,string,object[])"/> method.
  15004. </para>
  15005. <para>
  15006. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15007. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  15008. methods instead.
  15009. </para>
  15010. </remarks>
  15011. </member>
  15012. <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object,System.Object)">
  15013. <summary>
  15014. Logs a formatted message string with the <c>WARN</c> level.
  15015. </summary>
  15016. <param name="format">A String containing zero or more format items</param>
  15017. <param name="arg0">An Object to format</param>
  15018. <param name="arg1">An Object to format</param>
  15019. <remarks>
  15020. <para>
  15021. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15022. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15023. of the formatting.
  15024. </para>
  15025. <para>
  15026. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15027. format provider. To specify a localized provider use the
  15028. <see cref="M:WarnFormat(IFormatProvider,string,object[])"/> method.
  15029. </para>
  15030. <para>
  15031. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15032. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  15033. methods instead.
  15034. </para>
  15035. </remarks>
  15036. </member>
  15037. <member name="M:log4net.Core.LogImpl.WarnFormat(System.String,System.Object,System.Object,System.Object)">
  15038. <summary>
  15039. Logs a formatted message string with the <c>WARN</c> level.
  15040. </summary>
  15041. <param name="format">A String containing zero or more format items</param>
  15042. <param name="arg0">An Object to format</param>
  15043. <param name="arg1">An Object to format</param>
  15044. <param name="arg2">An Object to format</param>
  15045. <remarks>
  15046. <para>
  15047. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15048. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15049. of the formatting.
  15050. </para>
  15051. <para>
  15052. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15053. format provider. To specify a localized provider use the
  15054. <see cref="M:WarnFormat(IFormatProvider,string,object[])"/> method.
  15055. </para>
  15056. <para>
  15057. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15058. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  15059. methods instead.
  15060. </para>
  15061. </remarks>
  15062. </member>
  15063. <member name="M:log4net.Core.LogImpl.WarnFormat(System.IFormatProvider,System.String,System.Object[])">
  15064. <summary>
  15065. Logs a formatted message string with the <c>WARN</c> level.
  15066. </summary>
  15067. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  15068. <param name="format">A String containing zero or more format items</param>
  15069. <param name="args">An Object array containing zero or more objects to format</param>
  15070. <remarks>
  15071. <para>
  15072. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15073. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15074. of the formatting.
  15075. </para>
  15076. <para>
  15077. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15078. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Warn(object)"/>
  15079. methods instead.
  15080. </para>
  15081. </remarks>
  15082. </member>
  15083. <member name="M:log4net.Core.LogImpl.Error(System.Object)">
  15084. <summary>
  15085. Logs a message object with the <c>ERROR</c> level.
  15086. </summary>
  15087. <param name="message">The message object to log.</param>
  15088. <remarks>
  15089. <para>
  15090. This method first checks if this logger is <c>ERROR</c>
  15091. enabled by comparing the level of this logger with the
  15092. <c>ERROR</c> level. If this logger is
  15093. <c>ERROR</c> enabled, then it converts the message object
  15094. (passed as parameter) to a string by invoking the appropriate
  15095. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  15096. proceeds to call all the registered appenders in this logger and
  15097. also higher in the hierarchy depending on the value of the
  15098. additivity flag.
  15099. </para>
  15100. <para>
  15101. <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> to this
  15102. method will print the name of the <see cref="T:System.Exception"/> but no
  15103. stack trace. To print a stack trace use the
  15104. <see cref="M:Error(object,Exception)"/> form instead.
  15105. </para>
  15106. </remarks>
  15107. </member>
  15108. <member name="M:log4net.Core.LogImpl.Error(System.Object,System.Exception)">
  15109. <summary>
  15110. Logs a message object with the <c>ERROR</c> level
  15111. </summary>
  15112. <param name="message">The message object to log.</param>
  15113. <param name="exception">The exception to log, including its stack trace.</param>
  15114. <remarks>
  15115. <para>
  15116. Logs a message object with the <c>ERROR</c> level including
  15117. the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/>
  15118. passed as a parameter.
  15119. </para>
  15120. <para>
  15121. See the <see cref="M:Error(object)"/> form for more detailed information.
  15122. </para>
  15123. </remarks>
  15124. <seealso cref="M:Error(object)"/>
  15125. </member>
  15126. <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object[])">
  15127. <summary>
  15128. Logs a formatted message string with the <c>ERROR</c> level.
  15129. </summary>
  15130. <param name="format">A String containing zero or more format items</param>
  15131. <param name="args">An Object array containing zero or more objects to format</param>
  15132. <remarks>
  15133. <para>
  15134. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15135. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15136. of the formatting.
  15137. </para>
  15138. <para>
  15139. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15140. format provider. To specify a localized provider use the
  15141. <see cref="M:ErrorFormat(IFormatProvider,string,object[])"/> method.
  15142. </para>
  15143. <para>
  15144. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15145. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  15146. methods instead.
  15147. </para>
  15148. </remarks>
  15149. </member>
  15150. <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object)">
  15151. <summary>
  15152. Logs a formatted message string with the <c>ERROR</c> level.
  15153. </summary>
  15154. <param name="format">A String containing zero or more format items</param>
  15155. <param name="arg0">An Object to format</param>
  15156. <remarks>
  15157. <para>
  15158. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15159. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15160. of the formatting.
  15161. </para>
  15162. <para>
  15163. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15164. format provider. To specify a localized provider use the
  15165. <see cref="M:ErrorFormat(IFormatProvider,string,object[])"/> method.
  15166. </para>
  15167. <para>
  15168. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15169. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  15170. methods instead.
  15171. </para>
  15172. </remarks>
  15173. </member>
  15174. <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object,System.Object)">
  15175. <summary>
  15176. Logs a formatted message string with the <c>ERROR</c> level.
  15177. </summary>
  15178. <param name="format">A String containing zero or more format items</param>
  15179. <param name="arg0">An Object to format</param>
  15180. <param name="arg1">An Object to format</param>
  15181. <remarks>
  15182. <para>
  15183. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15184. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15185. of the formatting.
  15186. </para>
  15187. <para>
  15188. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15189. format provider. To specify a localized provider use the
  15190. <see cref="M:ErrorFormat(IFormatProvider,string,object[])"/> method.
  15191. </para>
  15192. <para>
  15193. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15194. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  15195. methods instead.
  15196. </para>
  15197. </remarks>
  15198. </member>
  15199. <member name="M:log4net.Core.LogImpl.ErrorFormat(System.String,System.Object,System.Object,System.Object)">
  15200. <summary>
  15201. Logs a formatted message string with the <c>ERROR</c> level.
  15202. </summary>
  15203. <param name="format">A String containing zero or more format items</param>
  15204. <param name="arg0">An Object to format</param>
  15205. <param name="arg1">An Object to format</param>
  15206. <param name="arg2">An Object to format</param>
  15207. <remarks>
  15208. <para>
  15209. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15210. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15211. of the formatting.
  15212. </para>
  15213. <para>
  15214. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15215. format provider. To specify a localized provider use the
  15216. <see cref="M:ErrorFormat(IFormatProvider,string,object[])"/> method.
  15217. </para>
  15218. <para>
  15219. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15220. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  15221. methods instead.
  15222. </para>
  15223. </remarks>
  15224. </member>
  15225. <member name="M:log4net.Core.LogImpl.ErrorFormat(System.IFormatProvider,System.String,System.Object[])">
  15226. <summary>
  15227. Logs a formatted message string with the <c>ERROR</c> level.
  15228. </summary>
  15229. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  15230. <param name="format">A String containing zero or more format items</param>
  15231. <param name="args">An Object array containing zero or more objects to format</param>
  15232. <remarks>
  15233. <para>
  15234. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15235. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15236. of the formatting.
  15237. </para>
  15238. <para>
  15239. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15240. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Error(object)"/>
  15241. methods instead.
  15242. </para>
  15243. </remarks>
  15244. </member>
  15245. <member name="M:log4net.Core.LogImpl.Fatal(System.Object)">
  15246. <summary>
  15247. Logs a message object with the <c>FATAL</c> level.
  15248. </summary>
  15249. <param name="message">The message object to log.</param>
  15250. <remarks>
  15251. <para>
  15252. This method first checks if this logger is <c>FATAL</c>
  15253. enabled by comparing the level of this logger with the
  15254. <c>FATAL</c> level. If this logger is
  15255. <c>FATAL</c> enabled, then it converts the message object
  15256. (passed as parameter) to a string by invoking the appropriate
  15257. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  15258. proceeds to call all the registered appenders in this logger and
  15259. also higher in the hierarchy depending on the value of the
  15260. additivity flag.
  15261. </para>
  15262. <para>
  15263. <b>WARNING</b> Note that passing an <see cref="T:System.Exception"/> to this
  15264. method will print the name of the <see cref="T:System.Exception"/> but no
  15265. stack trace. To print a stack trace use the
  15266. <see cref="M:Fatal(object,Exception)"/> form instead.
  15267. </para>
  15268. </remarks>
  15269. </member>
  15270. <member name="M:log4net.Core.LogImpl.Fatal(System.Object,System.Exception)">
  15271. <summary>
  15272. Logs a message object with the <c>FATAL</c> level
  15273. </summary>
  15274. <param name="message">The message object to log.</param>
  15275. <param name="exception">The exception to log, including its stack trace.</param>
  15276. <remarks>
  15277. <para>
  15278. Logs a message object with the <c>FATAL</c> level including
  15279. the stack trace of the <see cref="T:System.Exception"/> <paramref name="exception"/>
  15280. passed as a parameter.
  15281. </para>
  15282. <para>
  15283. See the <see cref="M:Fatal(object)"/> form for more detailed information.
  15284. </para>
  15285. </remarks>
  15286. <seealso cref="M:Fatal(object)"/>
  15287. </member>
  15288. <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object[])">
  15289. <summary>
  15290. Logs a formatted message string with the <c>FATAL</c> level.
  15291. </summary>
  15292. <param name="format">A String containing zero or more format items</param>
  15293. <param name="args">An Object array containing zero or more objects to format</param>
  15294. <remarks>
  15295. <para>
  15296. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15297. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15298. of the formatting.
  15299. </para>
  15300. <para>
  15301. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15302. format provider. To specify a localized provider use the
  15303. <see cref="M:FatalFormat(IFormatProvider,string,object[])"/> method.
  15304. </para>
  15305. <para>
  15306. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15307. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  15308. methods instead.
  15309. </para>
  15310. </remarks>
  15311. </member>
  15312. <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object)">
  15313. <summary>
  15314. Logs a formatted message string with the <c>FATAL</c> level.
  15315. </summary>
  15316. <param name="format">A String containing zero or more format items</param>
  15317. <param name="arg0">An Object to format</param>
  15318. <remarks>
  15319. <para>
  15320. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15321. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15322. of the formatting.
  15323. </para>
  15324. <para>
  15325. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15326. format provider. To specify a localized provider use the
  15327. <see cref="M:FatalFormat(IFormatProvider,string,object[])"/> method.
  15328. </para>
  15329. <para>
  15330. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15331. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  15332. methods instead.
  15333. </para>
  15334. </remarks>
  15335. </member>
  15336. <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object,System.Object)">
  15337. <summary>
  15338. Logs a formatted message string with the <c>FATAL</c> level.
  15339. </summary>
  15340. <param name="format">A String containing zero or more format items</param>
  15341. <param name="arg0">An Object to format</param>
  15342. <param name="arg1">An Object to format</param>
  15343. <remarks>
  15344. <para>
  15345. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15346. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15347. of the formatting.
  15348. </para>
  15349. <para>
  15350. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15351. format provider. To specify a localized provider use the
  15352. <see cref="M:FatalFormat(IFormatProvider,string,object[])"/> method.
  15353. </para>
  15354. <para>
  15355. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15356. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  15357. methods instead.
  15358. </para>
  15359. </remarks>
  15360. </member>
  15361. <member name="M:log4net.Core.LogImpl.FatalFormat(System.String,System.Object,System.Object,System.Object)">
  15362. <summary>
  15363. Logs a formatted message string with the <c>FATAL</c> level.
  15364. </summary>
  15365. <param name="format">A String containing zero or more format items</param>
  15366. <param name="arg0">An Object to format</param>
  15367. <param name="arg1">An Object to format</param>
  15368. <param name="arg2">An Object to format</param>
  15369. <remarks>
  15370. <para>
  15371. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15372. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15373. of the formatting.
  15374. </para>
  15375. <para>
  15376. The string is formatted using the <see cref="P:System.Globalization.CultureInfo.InvariantCulture"/>
  15377. format provider. To specify a localized provider use the
  15378. <see cref="M:FatalFormat(IFormatProvider,string,object[])"/> method.
  15379. </para>
  15380. <para>
  15381. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15382. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  15383. methods instead.
  15384. </para>
  15385. </remarks>
  15386. </member>
  15387. <member name="M:log4net.Core.LogImpl.FatalFormat(System.IFormatProvider,System.String,System.Object[])">
  15388. <summary>
  15389. Logs a formatted message string with the <c>FATAL</c> level.
  15390. </summary>
  15391. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  15392. <param name="format">A String containing zero or more format items</param>
  15393. <param name="args">An Object array containing zero or more objects to format</param>
  15394. <remarks>
  15395. <para>
  15396. The message is formatted using the <see cref="M:String.Format(IFormatProvider, string, object[])"/> method. See
  15397. <c>String.Format</c> for details of the syntax of the format string and the behavior
  15398. of the formatting.
  15399. </para>
  15400. <para>
  15401. This method does not take an <see cref="T:System.Exception"/> object to include in the
  15402. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:Fatal(object)"/>
  15403. methods instead.
  15404. </para>
  15405. </remarks>
  15406. </member>
  15407. <member name="M:log4net.Core.LogImpl.LoggerRepositoryConfigurationChanged(System.Object,System.EventArgs)">
  15408. <summary>
  15409. Event handler for the <see cref="E:log4net.Repository.ILoggerRepository.ConfigurationChanged"/> event
  15410. </summary>
  15411. <param name="sender">the repository</param>
  15412. <param name="e">Empty</param>
  15413. </member>
  15414. <member name="F:log4net.Core.LogImpl.ThisDeclaringType">
  15415. <summary>
  15416. The fully qualified name of this declaring type not the type of any subclass.
  15417. </summary>
  15418. </member>
  15419. <member name="P:log4net.Core.LogImpl.IsDebugEnabled">
  15420. <summary>
  15421. Checks if this logger is enabled for the <c>DEBUG</c>
  15422. level.
  15423. </summary>
  15424. <value>
  15425. <c>true</c> if this logger is enabled for <c>DEBUG</c> events,
  15426. <c>false</c> otherwise.
  15427. </value>
  15428. <remarks>
  15429. <para>
  15430. This function is intended to lessen the computational cost of
  15431. disabled log debug statements.
  15432. </para>
  15433. <para>
  15434. For some <c>log</c> Logger object, when you write:
  15435. </para>
  15436. <code lang="C#">
  15437. log.Debug("This is entry number: " + i );
  15438. </code>
  15439. <para>
  15440. You incur the cost constructing the message, concatenation in
  15441. this case, regardless of whether the message is logged or not.
  15442. </para>
  15443. <para>
  15444. If you are worried about speed, then you should write:
  15445. </para>
  15446. <code lang="C#">
  15447. if (log.IsDebugEnabled())
  15448. {
  15449. log.Debug("This is entry number: " + i );
  15450. }
  15451. </code>
  15452. <para>
  15453. This way you will not incur the cost of parameter
  15454. construction if debugging is disabled for <c>log</c>. On
  15455. the other hand, if the <c>log</c> is debug enabled, you
  15456. will incur the cost of evaluating whether the logger is debug
  15457. enabled twice. Once in <c>IsDebugEnabled</c> and once in
  15458. the <c>Debug</c>. This is an insignificant overhead
  15459. since evaluating a logger takes about 1% of the time it
  15460. takes to actually log.
  15461. </para>
  15462. </remarks>
  15463. </member>
  15464. <member name="P:log4net.Core.LogImpl.IsInfoEnabled">
  15465. <summary>
  15466. Checks if this logger is enabled for the <c>INFO</c> level.
  15467. </summary>
  15468. <value>
  15469. <c>true</c> if this logger is enabled for <c>INFO</c> events,
  15470. <c>false</c> otherwise.
  15471. </value>
  15472. <remarks>
  15473. <para>
  15474. See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples
  15475. of using this method.
  15476. </para>
  15477. </remarks>
  15478. <seealso cref="P:log4net.Core.LogImpl.IsDebugEnabled"/>
  15479. </member>
  15480. <member name="P:log4net.Core.LogImpl.IsWarnEnabled">
  15481. <summary>
  15482. Checks if this logger is enabled for the <c>WARN</c> level.
  15483. </summary>
  15484. <value>
  15485. <c>true</c> if this logger is enabled for <c>WARN</c> events,
  15486. <c>false</c> otherwise.
  15487. </value>
  15488. <remarks>
  15489. <para>
  15490. See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples
  15491. of using this method.
  15492. </para>
  15493. </remarks>
  15494. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  15495. </member>
  15496. <member name="P:log4net.Core.LogImpl.IsErrorEnabled">
  15497. <summary>
  15498. Checks if this logger is enabled for the <c>ERROR</c> level.
  15499. </summary>
  15500. <value>
  15501. <c>true</c> if this logger is enabled for <c>ERROR</c> events,
  15502. <c>false</c> otherwise.
  15503. </value>
  15504. <remarks>
  15505. <para>
  15506. See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples of using this method.
  15507. </para>
  15508. </remarks>
  15509. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  15510. </member>
  15511. <member name="P:log4net.Core.LogImpl.IsFatalEnabled">
  15512. <summary>
  15513. Checks if this logger is enabled for the <c>FATAL</c> level.
  15514. </summary>
  15515. <value>
  15516. <c>true</c> if this logger is enabled for <c>FATAL</c> events,
  15517. <c>false</c> otherwise.
  15518. </value>
  15519. <remarks>
  15520. <para>
  15521. See <see cref="P:log4net.Core.LogImpl.IsDebugEnabled"/> for more information and examples of using this method.
  15522. </para>
  15523. </remarks>
  15524. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  15525. </member>
  15526. <member name="T:log4net.Core.MethodItem">
  15527. <summary>
  15528. provides method information without actually referencing a System.Reflection.MethodBase
  15529. as that would require that the containing assembly is loaded.
  15530. </summary>
  15531. </member>
  15532. <member name="F:log4net.Core.MethodItem.NA">
  15533. <summary>
  15534. When location information is not available the constant
  15535. <c>NA</c> is returned. Current value of this string
  15536. constant is <b>?</b>.
  15537. </summary>
  15538. </member>
  15539. <member name="M:log4net.Core.MethodItem.#ctor">
  15540. <summary>
  15541. constructs a method item for an unknown method.
  15542. </summary>
  15543. </member>
  15544. <member name="M:log4net.Core.MethodItem.#ctor(System.String)">
  15545. <summary>
  15546. constructs a method item from the name of the method.
  15547. </summary>
  15548. <param name="name"></param>
  15549. </member>
  15550. <member name="M:log4net.Core.MethodItem.#ctor(System.String,System.String[])">
  15551. <summary>
  15552. constructs a method item from the name of the method and its parameters.
  15553. </summary>
  15554. <param name="name"></param>
  15555. <param name="parameters"></param>
  15556. </member>
  15557. <member name="M:log4net.Core.MethodItem.#ctor(System.Reflection.MethodBase)">
  15558. <summary>
  15559. constructs a method item from a method base by determining the method name and its parameters.
  15560. </summary>
  15561. <param name="methodBase"></param>
  15562. </member>
  15563. <member name="F:log4net.Core.MethodItem.declaringType">
  15564. <summary>
  15565. The fully qualified type of the StackFrameItem class.
  15566. </summary>
  15567. <remarks>
  15568. Used by the internal logger to record the Type of the
  15569. log message.
  15570. </remarks>
  15571. </member>
  15572. <member name="P:log4net.Core.MethodItem.Name">
  15573. <summary>
  15574. Gets the method name of the caller making the logging
  15575. request.
  15576. </summary>
  15577. <value>
  15578. The method name of the caller making the logging
  15579. request.
  15580. </value>
  15581. <remarks>
  15582. <para>
  15583. Gets the method name of the caller making the logging
  15584. request.
  15585. </para>
  15586. </remarks>
  15587. </member>
  15588. <member name="P:log4net.Core.MethodItem.Parameters">
  15589. <summary>
  15590. Gets the method parameters of the caller making
  15591. the logging request.
  15592. </summary>
  15593. <value>
  15594. The method parameters of the caller making
  15595. the logging request
  15596. </value>
  15597. <remarks>
  15598. <para>
  15599. Gets the method parameters of the caller making
  15600. the logging request.
  15601. </para>
  15602. </remarks>
  15603. </member>
  15604. <member name="T:log4net.Core.SecurityContext">
  15605. <summary>
  15606. A SecurityContext used by log4net when interacting with protected resources
  15607. </summary>
  15608. <remarks>
  15609. <para>
  15610. A SecurityContext used by log4net when interacting with protected resources
  15611. for example with operating system services. This can be used to impersonate
  15612. a principal that has been granted privileges on the system resources.
  15613. </para>
  15614. </remarks>
  15615. <author>Nicko Cadell</author>
  15616. </member>
  15617. <member name="M:log4net.Core.SecurityContext.Impersonate(System.Object)">
  15618. <summary>
  15619. Impersonate this SecurityContext
  15620. </summary>
  15621. <param name="state">State supplied by the caller</param>
  15622. <returns>An <see cref="T:System.IDisposable"/> instance that will
  15623. revoke the impersonation of this SecurityContext, or <c>null</c></returns>
  15624. <remarks>
  15625. <para>
  15626. Impersonate this security context. Further calls on the current
  15627. thread should now be made in the security context provided
  15628. by this object. When the <see cref="T:System.IDisposable"/> result
  15629. <see cref="M:System.IDisposable.Dispose"/> method is called the security
  15630. context of the thread should be reverted to the state it was in
  15631. before <see cref="M:log4net.Core.SecurityContext.Impersonate(System.Object)"/> was called.
  15632. </para>
  15633. </remarks>
  15634. </member>
  15635. <member name="T:log4net.Core.SecurityContextProvider">
  15636. <summary>
  15637. The <see cref="T:log4net.Core.SecurityContextProvider"/> providers default <see cref="T:log4net.Core.SecurityContext"/> instances.
  15638. </summary>
  15639. <remarks>
  15640. <para>
  15641. A configured component that interacts with potentially protected system
  15642. resources uses a <see cref="T:log4net.Core.SecurityContext"/> to provide the elevated
  15643. privileges required. If the <see cref="T:log4net.Core.SecurityContext"/> object has
  15644. been not been explicitly provided to the component then the component
  15645. will request one from this <see cref="T:log4net.Core.SecurityContextProvider"/>.
  15646. </para>
  15647. <para>
  15648. By default the <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> is
  15649. an instance of <see cref="T:log4net.Core.SecurityContextProvider"/> which returns only
  15650. <see cref="T:log4net.Util.NullSecurityContext"/> objects. This is a reasonable default
  15651. where the privileges required are not know by the system.
  15652. </para>
  15653. <para>
  15654. This default behavior can be overridden by subclassing the <see cref="T:log4net.Core.SecurityContextProvider"/>
  15655. and overriding the <see cref="M:log4net.Core.SecurityContextProvider.CreateSecurityContext(System.Object)"/> method to return
  15656. the desired <see cref="T:log4net.Core.SecurityContext"/> objects. The default provider
  15657. can be replaced by programmatically setting the value of the
  15658. <see cref="P:log4net.Core.SecurityContextProvider.DefaultProvider"/> property.
  15659. </para>
  15660. <para>
  15661. An alternative is to use the <c>log4net.Config.SecurityContextProviderAttribute</c>
  15662. This attribute can be applied to an assembly in the same way as the
  15663. <c>log4net.Config.XmlConfiguratorAttribute"</c>. The attribute takes
  15664. the type to use as the <see cref="T:log4net.Core.SecurityContextProvider"/> as an argument.
  15665. </para>
  15666. </remarks>
  15667. <author>Nicko Cadell</author>
  15668. </member>
  15669. <member name="F:log4net.Core.SecurityContextProvider.s_defaultProvider">
  15670. <summary>
  15671. The default provider
  15672. </summary>
  15673. </member>
  15674. <member name="M:log4net.Core.SecurityContextProvider.#ctor">
  15675. <summary>
  15676. Protected default constructor to allow subclassing
  15677. </summary>
  15678. <remarks>
  15679. <para>
  15680. Protected default constructor to allow subclassing
  15681. </para>
  15682. </remarks>
  15683. </member>
  15684. <member name="M:log4net.Core.SecurityContextProvider.CreateSecurityContext(System.Object)">
  15685. <summary>
  15686. Create a SecurityContext for a consumer
  15687. </summary>
  15688. <param name="consumer">The consumer requesting the SecurityContext</param>
  15689. <returns>An impersonation context</returns>
  15690. <remarks>
  15691. <para>
  15692. The default implementation is to return a <see cref="T:log4net.Util.NullSecurityContext"/>.
  15693. </para>
  15694. <para>
  15695. Subclasses should override this method to provide their own
  15696. behavior.
  15697. </para>
  15698. </remarks>
  15699. </member>
  15700. <member name="P:log4net.Core.SecurityContextProvider.DefaultProvider">
  15701. <summary>
  15702. Gets or sets the default SecurityContextProvider
  15703. </summary>
  15704. <value>
  15705. The default SecurityContextProvider
  15706. </value>
  15707. <remarks>
  15708. <para>
  15709. The default provider is used by configured components that
  15710. require a <see cref="T:log4net.Core.SecurityContext"/> and have not had one
  15711. given to them.
  15712. </para>
  15713. <para>
  15714. By default this is an instance of <see cref="T:log4net.Core.SecurityContextProvider"/>
  15715. that returns <see cref="T:log4net.Util.NullSecurityContext"/> objects.
  15716. </para>
  15717. <para>
  15718. The default provider can be set programmatically by setting
  15719. the value of this property to a sub class of <see cref="T:log4net.Core.SecurityContextProvider"/>
  15720. that has the desired behavior.
  15721. </para>
  15722. </remarks>
  15723. </member>
  15724. <member name="T:log4net.Core.StackFrameItem">
  15725. <summary>
  15726. provides stack frame information without actually referencing a System.Diagnostics.StackFrame
  15727. as that would require that the containing assembly is loaded.
  15728. </summary>
  15729. </member>
  15730. <member name="F:log4net.Core.StackFrameItem.NA">
  15731. <summary>
  15732. When location information is not available the constant
  15733. <c>NA</c> is returned. Current value of this string
  15734. constant is <b>?</b>.
  15735. </summary>
  15736. </member>
  15737. <member name="M:log4net.Core.StackFrameItem.#ctor(System.Diagnostics.StackFrame)">
  15738. <summary>
  15739. returns a stack frame item from a stack frame. This
  15740. </summary>
  15741. <param name="frame"></param>
  15742. <returns></returns>
  15743. </member>
  15744. <member name="F:log4net.Core.StackFrameItem.declaringType">
  15745. <summary>
  15746. The fully qualified type of the StackFrameItem class.
  15747. </summary>
  15748. <remarks>
  15749. Used by the internal logger to record the Type of the
  15750. log message.
  15751. </remarks>
  15752. </member>
  15753. <member name="P:log4net.Core.StackFrameItem.ClassName">
  15754. <summary>
  15755. Gets the fully qualified class name of the caller making the logging
  15756. request.
  15757. </summary>
  15758. <value>
  15759. The fully qualified class name of the caller making the logging
  15760. request.
  15761. </value>
  15762. <remarks>
  15763. <para>
  15764. Gets the fully qualified class name of the caller making the logging
  15765. request.
  15766. </para>
  15767. </remarks>
  15768. </member>
  15769. <member name="P:log4net.Core.StackFrameItem.FileName">
  15770. <summary>
  15771. Gets the file name of the caller.
  15772. </summary>
  15773. <value>
  15774. The file name of the caller.
  15775. </value>
  15776. <remarks>
  15777. <para>
  15778. Gets the file name of the caller.
  15779. </para>
  15780. </remarks>
  15781. </member>
  15782. <member name="P:log4net.Core.StackFrameItem.LineNumber">
  15783. <summary>
  15784. Gets the line number of the caller.
  15785. </summary>
  15786. <value>
  15787. The line number of the caller.
  15788. </value>
  15789. <remarks>
  15790. <para>
  15791. Gets the line number of the caller.
  15792. </para>
  15793. </remarks>
  15794. </member>
  15795. <member name="P:log4net.Core.StackFrameItem.Method">
  15796. <summary>
  15797. Gets the method name of the caller.
  15798. </summary>
  15799. <value>
  15800. The method name of the caller.
  15801. </value>
  15802. <remarks>
  15803. <para>
  15804. Gets the method name of the caller.
  15805. </para>
  15806. </remarks>
  15807. </member>
  15808. <member name="P:log4net.Core.StackFrameItem.FullInfo">
  15809. <summary>
  15810. Gets all available caller information
  15811. </summary>
  15812. <value>
  15813. All available caller information, in the format
  15814. <c>fully.qualified.classname.of.caller.methodName(Filename:line)</c>
  15815. </value>
  15816. <remarks>
  15817. <para>
  15818. Gets all available caller information, in the format
  15819. <c>fully.qualified.classname.of.caller.methodName(Filename:line)</c>
  15820. </para>
  15821. </remarks>
  15822. </member>
  15823. <member name="T:log4net.Core.TimeEvaluator">
  15824. <summary>
  15825. An evaluator that triggers after specified number of seconds.
  15826. </summary>
  15827. <remarks>
  15828. <para>
  15829. This evaluator will trigger if the specified time period
  15830. <see cref="P:log4net.Core.TimeEvaluator.Interval"/> has passed since last check.
  15831. </para>
  15832. </remarks>
  15833. <author>Robert Sevcik</author>
  15834. </member>
  15835. <member name="F:log4net.Core.TimeEvaluator.DEFAULT_INTERVAL">
  15836. <summary>
  15837. The default time threshold for triggering in seconds. Zero means it won't trigger at all.
  15838. </summary>
  15839. </member>
  15840. <member name="F:log4net.Core.TimeEvaluator.m_interval">
  15841. <summary>
  15842. The time threshold for triggering in seconds. Zero means it won't trigger at all.
  15843. </summary>
  15844. </member>
  15845. <member name="F:log4net.Core.TimeEvaluator.m_lasttime">
  15846. <summary>
  15847. The time of last check. This gets updated when the object is created and when the evaluator triggers.
  15848. </summary>
  15849. </member>
  15850. <member name="M:log4net.Core.TimeEvaluator.#ctor">
  15851. <summary>
  15852. Create a new evaluator using the <see cref="F:log4net.Core.TimeEvaluator.DEFAULT_INTERVAL"/> time threshold in seconds.
  15853. </summary>
  15854. <remarks>
  15855. <para>
  15856. Create a new evaluator using the <see cref="F:log4net.Core.TimeEvaluator.DEFAULT_INTERVAL"/> time threshold in seconds.
  15857. </para>
  15858. <para>
  15859. This evaluator will trigger if the specified time period
  15860. <see cref="P:log4net.Core.TimeEvaluator.Interval"/> has passed since last check.
  15861. </para>
  15862. </remarks>
  15863. </member>
  15864. <member name="M:log4net.Core.TimeEvaluator.#ctor(System.Int32)">
  15865. <summary>
  15866. Create a new evaluator using the specified time threshold in seconds.
  15867. </summary>
  15868. <param name="interval">
  15869. The time threshold in seconds to trigger after.
  15870. Zero means it won't trigger at all.
  15871. </param>
  15872. <remarks>
  15873. <para>
  15874. Create a new evaluator using the specified time threshold in seconds.
  15875. </para>
  15876. <para>
  15877. This evaluator will trigger if the specified time period
  15878. <see cref="P:log4net.Core.TimeEvaluator.Interval"/> has passed since last check.
  15879. </para>
  15880. </remarks>
  15881. </member>
  15882. <member name="M:log4net.Core.TimeEvaluator.IsTriggeringEvent(log4net.Core.LoggingEvent)">
  15883. <summary>
  15884. Is this <paramref name="loggingEvent"/> the triggering event?
  15885. </summary>
  15886. <param name="loggingEvent">The event to check</param>
  15887. <returns>This method returns <c>true</c>, if the specified time period
  15888. <see cref="P:log4net.Core.TimeEvaluator.Interval"/> has passed since last check..
  15889. Otherwise it returns <c>false</c></returns>
  15890. <remarks>
  15891. <para>
  15892. This evaluator will trigger if the specified time period
  15893. <see cref="P:log4net.Core.TimeEvaluator.Interval"/> has passed since last check.
  15894. </para>
  15895. </remarks>
  15896. </member>
  15897. <member name="P:log4net.Core.TimeEvaluator.Interval">
  15898. <summary>
  15899. The time threshold in seconds to trigger after
  15900. </summary>
  15901. <value>
  15902. The time threshold in seconds to trigger after.
  15903. Zero means it won't trigger at all.
  15904. </value>
  15905. <remarks>
  15906. <para>
  15907. This evaluator will trigger if the specified time period
  15908. <see cref="P:log4net.Core.TimeEvaluator.Interval"/> has passed since last check.
  15909. </para>
  15910. </remarks>
  15911. </member>
  15912. <member name="T:log4net.Core.WrapperCreationHandler">
  15913. <summary>
  15914. Delegate used to handle creation of new wrappers.
  15915. </summary>
  15916. <param name="logger">The logger to wrap in a wrapper.</param>
  15917. <remarks>
  15918. <para>
  15919. Delegate used to handle creation of new wrappers. This delegate
  15920. is called from the <see cref="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)"/>
  15921. method to construct the wrapper for the specified logger.
  15922. </para>
  15923. <para>
  15924. The delegate to use is supplied to the <see cref="T:log4net.Core.WrapperMap"/>
  15925. constructor.
  15926. </para>
  15927. </remarks>
  15928. </member>
  15929. <member name="T:log4net.Core.WrapperMap">
  15930. <summary>
  15931. Maps between logger objects and wrapper objects.
  15932. </summary>
  15933. <remarks>
  15934. <para>
  15935. This class maintains a mapping between <see cref="T:log4net.Core.ILogger"/> objects and
  15936. <see cref="T:log4net.Core.ILoggerWrapper"/> objects. Use the <see cref="M:log4net.Core.WrapperMap.GetWrapper(log4net.Core.ILogger)"/> method to
  15937. lookup the <see cref="T:log4net.Core.ILoggerWrapper"/> for the specified <see cref="T:log4net.Core.ILogger"/>.
  15938. </para>
  15939. <para>
  15940. New wrapper instances are created by the <see cref="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)"/>
  15941. method. The default behavior is for this method to delegate construction
  15942. of the wrapper to the <see cref="T:log4net.Core.WrapperCreationHandler"/> delegate supplied
  15943. to the constructor. This allows specialization of the behavior without
  15944. requiring subclassing of this type.
  15945. </para>
  15946. </remarks>
  15947. <author>Nicko Cadell</author>
  15948. <author>Gert Driesen</author>
  15949. </member>
  15950. <member name="M:log4net.Core.WrapperMap.#ctor(log4net.Core.WrapperCreationHandler)">
  15951. <summary>
  15952. Initializes a new instance of the <see cref="T:log4net.Core.WrapperMap"/>
  15953. </summary>
  15954. <param name="createWrapperHandler">The handler to use to create the wrapper objects.</param>
  15955. <remarks>
  15956. <para>
  15957. Initializes a new instance of the <see cref="T:log4net.Core.WrapperMap"/> class with
  15958. the specified handler to create the wrapper objects.
  15959. </para>
  15960. </remarks>
  15961. </member>
  15962. <member name="M:log4net.Core.WrapperMap.GetWrapper(log4net.Core.ILogger)">
  15963. <summary>
  15964. Gets the wrapper object for the specified logger.
  15965. </summary>
  15966. <returns>The wrapper object for the specified logger</returns>
  15967. <remarks>
  15968. <para>
  15969. If the logger is null then the corresponding wrapper is null.
  15970. </para>
  15971. <para>
  15972. Looks up the wrapper it it has previously been requested and
  15973. returns it. If the wrapper has never been requested before then
  15974. the <see cref="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)"/> virtual method is
  15975. called.
  15976. </para>
  15977. </remarks>
  15978. </member>
  15979. <member name="M:log4net.Core.WrapperMap.CreateNewWrapperObject(log4net.Core.ILogger)">
  15980. <summary>
  15981. Creates the wrapper object for the specified logger.
  15982. </summary>
  15983. <param name="logger">The logger to wrap in a wrapper.</param>
  15984. <returns>The wrapper object for the logger.</returns>
  15985. <remarks>
  15986. <para>
  15987. This implementation uses the <see cref="T:log4net.Core.WrapperCreationHandler"/>
  15988. passed to the constructor to create the wrapper. This method
  15989. can be overridden in a subclass.
  15990. </para>
  15991. </remarks>
  15992. </member>
  15993. <member name="M:log4net.Core.WrapperMap.RepositoryShutdown(log4net.Repository.ILoggerRepository)">
  15994. <summary>
  15995. Called when a monitored repository shutdown event is received.
  15996. </summary>
  15997. <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that is shutting down</param>
  15998. <remarks>
  15999. <para>
  16000. This method is called when a <see cref="T:log4net.Repository.ILoggerRepository"/> that this
  16001. <see cref="T:log4net.Core.WrapperMap"/> is holding loggers for has signaled its shutdown
  16002. event <see cref="E:log4net.Repository.ILoggerRepository.ShutdownEvent"/>. The default
  16003. behavior of this method is to release the references to the loggers
  16004. and their wrappers generated for this repository.
  16005. </para>
  16006. </remarks>
  16007. </member>
  16008. <member name="M:log4net.Core.WrapperMap.ILoggerRepository_Shutdown(System.Object,System.EventArgs)">
  16009. <summary>
  16010. Event handler for repository shutdown event.
  16011. </summary>
  16012. <param name="sender">The sender of the event.</param>
  16013. <param name="e">The event args.</param>
  16014. </member>
  16015. <member name="F:log4net.Core.WrapperMap.m_repositories">
  16016. <summary>
  16017. Map of logger repositories to hashtables of ILogger to ILoggerWrapper mappings
  16018. </summary>
  16019. </member>
  16020. <member name="F:log4net.Core.WrapperMap.m_createWrapperHandler">
  16021. <summary>
  16022. The handler to use to create the extension wrapper objects.
  16023. </summary>
  16024. </member>
  16025. <member name="F:log4net.Core.WrapperMap.m_shutdownHandler">
  16026. <summary>
  16027. Internal reference to the delegate used to register for repository shutdown events.
  16028. </summary>
  16029. </member>
  16030. <member name="P:log4net.Core.WrapperMap.Repositories">
  16031. <summary>
  16032. Gets the map of logger repositories.
  16033. </summary>
  16034. <value>
  16035. Map of logger repositories.
  16036. </value>
  16037. <remarks>
  16038. <para>
  16039. Gets the hashtable that is keyed on <see cref="T:log4net.Repository.ILoggerRepository"/>. The
  16040. values are hashtables keyed on <see cref="T:log4net.Core.ILogger"/> with the
  16041. value being the corresponding <see cref="T:log4net.Core.ILoggerWrapper"/>.
  16042. </para>
  16043. </remarks>
  16044. </member>
  16045. <member name="T:log4net.DateFormatter.AbsoluteTimeDateFormatter">
  16046. <summary>
  16047. Formats a <see cref="T:System.DateTime"/> as <c>"HH:mm:ss,fff"</c>.
  16048. </summary>
  16049. <remarks>
  16050. <para>
  16051. Formats a <see cref="T:System.DateTime"/> in the format <c>"HH:mm:ss,fff"</c> for example, <c>"15:49:37,459"</c>.
  16052. </para>
  16053. </remarks>
  16054. <author>Nicko Cadell</author>
  16055. <author>Gert Driesen</author>
  16056. </member>
  16057. <member name="T:log4net.DateFormatter.IDateFormatter">
  16058. <summary>
  16059. Render a <see cref="T:System.DateTime"/> as a string.
  16060. </summary>
  16061. <remarks>
  16062. <para>
  16063. Interface to abstract the rendering of a <see cref="T:System.DateTime"/>
  16064. instance into a string.
  16065. </para>
  16066. <para>
  16067. The <see cref="M:log4net.DateFormatter.IDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)"/> method is used to render the
  16068. date to a text writer.
  16069. </para>
  16070. </remarks>
  16071. <author>Nicko Cadell</author>
  16072. <author>Gert Driesen</author>
  16073. </member>
  16074. <member name="M:log4net.DateFormatter.IDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)">
  16075. <summary>
  16076. Formats the specified date as a string.
  16077. </summary>
  16078. <param name="dateToFormat">The date to format.</param>
  16079. <param name="writer">The writer to write to.</param>
  16080. <remarks>
  16081. <para>
  16082. Format the <see cref="T:System.DateTime"/> as a string and write it
  16083. to the <see cref="T:System.IO.TextWriter"/> provided.
  16084. </para>
  16085. </remarks>
  16086. </member>
  16087. <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.AbsoluteTimeDateFormat">
  16088. <summary>
  16089. String constant used to specify AbsoluteTimeDateFormat in layouts. Current value is <b>ABSOLUTE</b>.
  16090. </summary>
  16091. </member>
  16092. <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.DateAndTimeDateFormat">
  16093. <summary>
  16094. String constant used to specify DateTimeDateFormat in layouts. Current value is <b>DATE</b>.
  16095. </summary>
  16096. </member>
  16097. <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.Iso8601TimeDateFormat">
  16098. <summary>
  16099. String constant used to specify ISO8601DateFormat in layouts. Current value is <b>ISO8601</b>.
  16100. </summary>
  16101. </member>
  16102. <member name="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)">
  16103. <summary>
  16104. Renders the date into a string. Format is <c>"HH:mm:ss"</c>.
  16105. </summary>
  16106. <param name="dateToFormat">The date to render into a string.</param>
  16107. <param name="buffer">The string builder to write to.</param>
  16108. <remarks>
  16109. <para>
  16110. Subclasses should override this method to render the date
  16111. into a string using a precision up to the second. This method
  16112. will be called at most once per second and the result will be
  16113. reused if it is needed again during the same second.
  16114. </para>
  16115. </remarks>
  16116. </member>
  16117. <member name="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)">
  16118. <summary>
  16119. Renders the date into a string. Format is "HH:mm:ss,fff".
  16120. </summary>
  16121. <param name="dateToFormat">The date to render into a string.</param>
  16122. <param name="writer">The writer to write to.</param>
  16123. <remarks>
  16124. <para>
  16125. Uses the <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/> method to generate the
  16126. time string up to the seconds and then appends the current
  16127. milliseconds. The results from <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/> are
  16128. cached and <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/> is called at most once
  16129. per second.
  16130. </para>
  16131. <para>
  16132. Sub classes should override <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)"/>
  16133. rather than <see cref="M:log4net.DateFormatter.AbsoluteTimeDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)"/>.
  16134. </para>
  16135. </remarks>
  16136. </member>
  16137. <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.s_lastTimeToTheSecond">
  16138. <summary>
  16139. Last stored time with precision up to the second.
  16140. </summary>
  16141. </member>
  16142. <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.s_lastTimeBuf">
  16143. <summary>
  16144. Last stored time with precision up to the second, formatted
  16145. as a string.
  16146. </summary>
  16147. </member>
  16148. <member name="F:log4net.DateFormatter.AbsoluteTimeDateFormatter.s_lastTimeStrings">
  16149. <summary>
  16150. Last stored time with precision up to the second, formatted
  16151. as a string.
  16152. </summary>
  16153. </member>
  16154. <member name="T:log4net.DateFormatter.DateTimeDateFormatter">
  16155. <summary>
  16156. Formats a <see cref="T:System.DateTime"/> as <c>"dd MMM yyyy HH:mm:ss,fff"</c>
  16157. </summary>
  16158. <remarks>
  16159. <para>
  16160. Formats a <see cref="T:System.DateTime"/> in the format
  16161. <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example,
  16162. <c>"06 Nov 1994 15:49:37,459"</c>.
  16163. </para>
  16164. </remarks>
  16165. <author>Nicko Cadell</author>
  16166. <author>Gert Driesen</author>
  16167. <author>Angelika Schnagl</author>
  16168. </member>
  16169. <member name="M:log4net.DateFormatter.DateTimeDateFormatter.#ctor">
  16170. <summary>
  16171. Default constructor.
  16172. </summary>
  16173. <remarks>
  16174. <para>
  16175. Initializes a new instance of the <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> class.
  16176. </para>
  16177. </remarks>
  16178. </member>
  16179. <member name="M:log4net.DateFormatter.DateTimeDateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)">
  16180. <summary>
  16181. Formats the date without the milliseconds part
  16182. </summary>
  16183. <param name="dateToFormat">The date to format.</param>
  16184. <param name="buffer">The string builder to write to.</param>
  16185. <remarks>
  16186. <para>
  16187. Formats a DateTime in the format <c>"dd MMM yyyy HH:mm:ss"</c>
  16188. for example, <c>"06 Nov 1994 15:49:37"</c>.
  16189. </para>
  16190. <para>
  16191. The base class will append the <c>",fff"</c> milliseconds section.
  16192. This method will only be called at most once per second.
  16193. </para>
  16194. </remarks>
  16195. </member>
  16196. <member name="F:log4net.DateFormatter.DateTimeDateFormatter.m_dateTimeFormatInfo">
  16197. <summary>
  16198. The format info for the invariant culture.
  16199. </summary>
  16200. </member>
  16201. <member name="T:log4net.DateFormatter.Iso8601DateFormatter">
  16202. <summary>
  16203. Formats the <see cref="T:System.DateTime"/> as <c>"yyyy-MM-dd HH:mm:ss,fff"</c>.
  16204. </summary>
  16205. <remarks>
  16206. <para>
  16207. Formats the <see cref="T:System.DateTime"/> specified as a string: <c>"yyyy-MM-dd HH:mm:ss,fff"</c>.
  16208. </para>
  16209. </remarks>
  16210. <author>Nicko Cadell</author>
  16211. <author>Gert Driesen</author>
  16212. </member>
  16213. <member name="M:log4net.DateFormatter.Iso8601DateFormatter.#ctor">
  16214. <summary>
  16215. Default constructor
  16216. </summary>
  16217. <remarks>
  16218. <para>
  16219. Initializes a new instance of the <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/> class.
  16220. </para>
  16221. </remarks>
  16222. </member>
  16223. <member name="M:log4net.DateFormatter.Iso8601DateFormatter.FormatDateWithoutMillis(System.DateTime,System.Text.StringBuilder)">
  16224. <summary>
  16225. Formats the date without the milliseconds part
  16226. </summary>
  16227. <param name="dateToFormat">The date to format.</param>
  16228. <param name="buffer">The string builder to write to.</param>
  16229. <remarks>
  16230. <para>
  16231. Formats the date specified as a string: <c>"yyyy-MM-dd HH:mm:ss"</c>.
  16232. </para>
  16233. <para>
  16234. The base class will append the <c>",fff"</c> milliseconds section.
  16235. This method will only be called at most once per second.
  16236. </para>
  16237. </remarks>
  16238. </member>
  16239. <member name="T:log4net.DateFormatter.SimpleDateFormatter">
  16240. <summary>
  16241. Formats the <see cref="T:System.DateTime"/> using the <see cref="M:DateTime.ToString(string, IFormatProvider)"/> method.
  16242. </summary>
  16243. <remarks>
  16244. <para>
  16245. Formats the <see cref="T:System.DateTime"/> using the <see cref="T:System.DateTime"/> <see cref="M:DateTime.ToString(string, IFormatProvider)"/> method.
  16246. </para>
  16247. </remarks>
  16248. <author>Nicko Cadell</author>
  16249. <author>Gert Driesen</author>
  16250. </member>
  16251. <member name="M:log4net.DateFormatter.SimpleDateFormatter.#ctor(System.String)">
  16252. <summary>
  16253. Constructor
  16254. </summary>
  16255. <param name="format">The format string.</param>
  16256. <remarks>
  16257. <para>
  16258. Initializes a new instance of the <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/> class
  16259. with the specified format string.
  16260. </para>
  16261. <para>
  16262. The format string must be compatible with the options
  16263. that can be supplied to <see cref="M:DateTime.ToString(string, IFormatProvider)"/>.
  16264. </para>
  16265. </remarks>
  16266. </member>
  16267. <member name="M:log4net.DateFormatter.SimpleDateFormatter.FormatDate(System.DateTime,System.IO.TextWriter)">
  16268. <summary>
  16269. Formats the date using <see cref="M:DateTime.ToString(string, IFormatProvider)"/>.
  16270. </summary>
  16271. <param name="dateToFormat">The date to convert to a string.</param>
  16272. <param name="writer">The writer to write to.</param>
  16273. <remarks>
  16274. <para>
  16275. Uses the date format string supplied to the constructor to call
  16276. the <see cref="M:DateTime.ToString(string, IFormatProvider)"/> method to format the date.
  16277. </para>
  16278. </remarks>
  16279. </member>
  16280. <member name="F:log4net.DateFormatter.SimpleDateFormatter.m_formatString">
  16281. <summary>
  16282. The format string used to format the <see cref="T:System.DateTime"/>.
  16283. </summary>
  16284. <remarks>
  16285. <para>
  16286. The format string must be compatible with the options
  16287. that can be supplied to <see cref="M:DateTime.ToString(string, IFormatProvider)"/>.
  16288. </para>
  16289. </remarks>
  16290. </member>
  16291. <member name="T:log4net.Filter.DenyAllFilter">
  16292. <summary>
  16293. This filter drops all <see cref="T:log4net.Core.LoggingEvent"/>.
  16294. </summary>
  16295. <remarks>
  16296. <para>
  16297. You can add this filter to the end of a filter chain to
  16298. switch from the default "accept all unless instructed otherwise"
  16299. filtering behavior to a "deny all unless instructed otherwise"
  16300. behavior.
  16301. </para>
  16302. </remarks>
  16303. <author>Nicko Cadell</author>
  16304. <author>Gert Driesen</author>
  16305. </member>
  16306. <member name="T:log4net.Filter.FilterSkeleton">
  16307. <summary>
  16308. Subclass this type to implement customized logging event filtering
  16309. </summary>
  16310. <remarks>
  16311. <para>
  16312. Users should extend this class to implement customized logging
  16313. event filtering. Note that <see cref="T:log4net.Repository.Hierarchy.Logger"/> and
  16314. <see cref="T:log4net.Appender.AppenderSkeleton"/>, the parent class of all standard
  16315. appenders, have built-in filtering rules. It is suggested that you
  16316. first use and understand the built-in rules before rushing to write
  16317. your own custom filters.
  16318. </para>
  16319. <para>
  16320. This abstract class assumes and also imposes that filters be
  16321. organized in a linear chain. The <see cref="M:log4net.Filter.FilterSkeleton.Decide(log4net.Core.LoggingEvent)"/>
  16322. method of each filter is called sequentially, in the order of their
  16323. addition to the chain.
  16324. </para>
  16325. <para>
  16326. The <see cref="M:log4net.Filter.FilterSkeleton.Decide(log4net.Core.LoggingEvent)"/> method must return one
  16327. of the integer constants <see cref="F:log4net.Filter.FilterDecision.Deny"/>,
  16328. <see cref="F:log4net.Filter.FilterDecision.Neutral"/> or <see cref="F:log4net.Filter.FilterDecision.Accept"/>.
  16329. </para>
  16330. <para>
  16331. If the value <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned, then the log event is dropped
  16332. immediately without consulting with the remaining filters.
  16333. </para>
  16334. <para>
  16335. If the value <see cref="F:log4net.Filter.FilterDecision.Neutral"/> is returned, then the next filter
  16336. in the chain is consulted. If there are no more filters in the
  16337. chain, then the log event is logged. Thus, in the presence of no
  16338. filters, the default behavior is to log all logging events.
  16339. </para>
  16340. <para>
  16341. If the value <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned, then the log
  16342. event is logged without consulting the remaining filters.
  16343. </para>
  16344. <para>
  16345. The philosophy of log4net filters is largely inspired from the
  16346. Linux ipchains.
  16347. </para>
  16348. </remarks>
  16349. <author>Nicko Cadell</author>
  16350. <author>Gert Driesen</author>
  16351. </member>
  16352. <member name="T:log4net.Filter.IFilter">
  16353. <summary>
  16354. Implement this interface to provide customized logging event filtering
  16355. </summary>
  16356. <remarks>
  16357. <para>
  16358. Users should implement this interface to implement customized logging
  16359. event filtering. Note that <see cref="T:log4net.Repository.Hierarchy.Logger"/> and
  16360. <see cref="T:log4net.Appender.AppenderSkeleton"/>, the parent class of all standard
  16361. appenders, have built-in filtering rules. It is suggested that you
  16362. first use and understand the built-in rules before rushing to write
  16363. your own custom filters.
  16364. </para>
  16365. <para>
  16366. This abstract class assumes and also imposes that filters be
  16367. organized in a linear chain. The <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/>
  16368. method of each filter is called sequentially, in the order of their
  16369. addition to the chain.
  16370. </para>
  16371. <para>
  16372. The <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/> method must return one
  16373. of the integer constants <see cref="F:log4net.Filter.FilterDecision.Deny"/>,
  16374. <see cref="F:log4net.Filter.FilterDecision.Neutral"/> or <see cref="F:log4net.Filter.FilterDecision.Accept"/>.
  16375. </para>
  16376. <para>
  16377. If the value <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned, then the log event is dropped
  16378. immediately without consulting with the remaining filters.
  16379. </para>
  16380. <para>
  16381. If the value <see cref="F:log4net.Filter.FilterDecision.Neutral"/> is returned, then the next filter
  16382. in the chain is consulted. If there are no more filters in the
  16383. chain, then the log event is logged. Thus, in the presence of no
  16384. filters, the default behavior is to log all logging events.
  16385. </para>
  16386. <para>
  16387. If the value <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned, then the log
  16388. event is logged without consulting the remaining filters.
  16389. </para>
  16390. <para>
  16391. The philosophy of log4net filters is largely inspired from the
  16392. Linux ipchains.
  16393. </para>
  16394. </remarks>
  16395. <author>Nicko Cadell</author>
  16396. <author>Gert Driesen</author>
  16397. </member>
  16398. <member name="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)">
  16399. <summary>
  16400. Decide if the logging event should be logged through an appender.
  16401. </summary>
  16402. <param name="loggingEvent">The LoggingEvent to decide upon</param>
  16403. <returns>The decision of the filter</returns>
  16404. <remarks>
  16405. <para>
  16406. If the decision is <see cref="F:log4net.Filter.FilterDecision.Deny"/>, then the event will be
  16407. dropped. If the decision is <see cref="F:log4net.Filter.FilterDecision.Neutral"/>, then the next
  16408. filter, if any, will be invoked. If the decision is <see cref="F:log4net.Filter.FilterDecision.Accept"/> then
  16409. the event will be logged without consulting with other filters in
  16410. the chain.
  16411. </para>
  16412. </remarks>
  16413. </member>
  16414. <member name="P:log4net.Filter.IFilter.Next">
  16415. <summary>
  16416. Property to get and set the next filter
  16417. </summary>
  16418. <value>
  16419. The next filter in the chain
  16420. </value>
  16421. <remarks>
  16422. <para>
  16423. Filters are typically composed into chains. This property allows the next filter in
  16424. the chain to be accessed.
  16425. </para>
  16426. </remarks>
  16427. </member>
  16428. <member name="F:log4net.Filter.FilterSkeleton.m_next">
  16429. <summary>
  16430. Points to the next filter in the filter chain.
  16431. </summary>
  16432. <remarks>
  16433. <para>
  16434. See <see cref="P:log4net.Filter.FilterSkeleton.Next"/> for more information.
  16435. </para>
  16436. </remarks>
  16437. </member>
  16438. <member name="M:log4net.Filter.FilterSkeleton.ActivateOptions">
  16439. <summary>
  16440. Initialize the filter with the options set
  16441. </summary>
  16442. <remarks>
  16443. <para>
  16444. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  16445. activation scheme. The <see cref="M:log4net.Filter.FilterSkeleton.ActivateOptions"/> method must
  16446. be called on this object after the configuration properties have
  16447. been set. Until <see cref="M:log4net.Filter.FilterSkeleton.ActivateOptions"/> is called this
  16448. object is in an undefined state and must not be used.
  16449. </para>
  16450. <para>
  16451. If any of the configuration properties are modified then
  16452. <see cref="M:log4net.Filter.FilterSkeleton.ActivateOptions"/> must be called again.
  16453. </para>
  16454. <para>
  16455. Typically filter's options become active immediately on set,
  16456. however this method must still be called.
  16457. </para>
  16458. </remarks>
  16459. </member>
  16460. <member name="M:log4net.Filter.FilterSkeleton.Decide(log4net.Core.LoggingEvent)">
  16461. <summary>
  16462. Decide if the <see cref="T:log4net.Core.LoggingEvent"/> should be logged through an appender.
  16463. </summary>
  16464. <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> to decide upon</param>
  16465. <returns>The decision of the filter</returns>
  16466. <remarks>
  16467. <para>
  16468. If the decision is <see cref="F:log4net.Filter.FilterDecision.Deny"/>, then the event will be
  16469. dropped. If the decision is <see cref="F:log4net.Filter.FilterDecision.Neutral"/>, then the next
  16470. filter, if any, will be invoked. If the decision is <see cref="F:log4net.Filter.FilterDecision.Accept"/> then
  16471. the event will be logged without consulting with other filters in
  16472. the chain.
  16473. </para>
  16474. <para>
  16475. This method is marked <c>abstract</c> and must be implemented
  16476. in a subclass.
  16477. </para>
  16478. </remarks>
  16479. </member>
  16480. <member name="P:log4net.Filter.FilterSkeleton.Next">
  16481. <summary>
  16482. Property to get and set the next filter
  16483. </summary>
  16484. <value>
  16485. The next filter in the chain
  16486. </value>
  16487. <remarks>
  16488. <para>
  16489. Filters are typically composed into chains. This property allows the next filter in
  16490. the chain to be accessed.
  16491. </para>
  16492. </remarks>
  16493. </member>
  16494. <member name="M:log4net.Filter.DenyAllFilter.#ctor">
  16495. <summary>
  16496. Default constructor
  16497. </summary>
  16498. </member>
  16499. <member name="M:log4net.Filter.DenyAllFilter.Decide(log4net.Core.LoggingEvent)">
  16500. <summary>
  16501. Always returns the integer constant <see cref="F:log4net.Filter.FilterDecision.Deny"/>
  16502. </summary>
  16503. <param name="loggingEvent">the LoggingEvent to filter</param>
  16504. <returns>Always returns <see cref="F:log4net.Filter.FilterDecision.Deny"/></returns>
  16505. <remarks>
  16506. <para>
  16507. Ignores the event being logged and just returns
  16508. <see cref="F:log4net.Filter.FilterDecision.Deny"/>. This can be used to change the default filter
  16509. chain behavior from <see cref="F:log4net.Filter.FilterDecision.Accept"/> to <see cref="F:log4net.Filter.FilterDecision.Deny"/>. This filter
  16510. should only be used as the last filter in the chain
  16511. as any further filters will be ignored!
  16512. </para>
  16513. </remarks>
  16514. </member>
  16515. <member name="T:log4net.Filter.FilterDecision">
  16516. <summary>
  16517. The return result from <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/>
  16518. </summary>
  16519. <remarks>
  16520. <para>
  16521. The return result from <see cref="M:log4net.Filter.IFilter.Decide(log4net.Core.LoggingEvent)"/>
  16522. </para>
  16523. </remarks>
  16524. </member>
  16525. <member name="F:log4net.Filter.FilterDecision.Deny">
  16526. <summary>
  16527. The log event must be dropped immediately without
  16528. consulting with the remaining filters, if any, in the chain.
  16529. </summary>
  16530. </member>
  16531. <member name="F:log4net.Filter.FilterDecision.Neutral">
  16532. <summary>
  16533. This filter is neutral with respect to the log event.
  16534. The remaining filters, if any, should be consulted for a final decision.
  16535. </summary>
  16536. </member>
  16537. <member name="F:log4net.Filter.FilterDecision.Accept">
  16538. <summary>
  16539. The log event must be logged immediately without
  16540. consulting with the remaining filters, if any, in the chain.
  16541. </summary>
  16542. </member>
  16543. <member name="T:log4net.Filter.LevelMatchFilter">
  16544. <summary>
  16545. This is a very simple filter based on <see cref="T:log4net.Core.Level"/> matching.
  16546. </summary>
  16547. <remarks>
  16548. <para>
  16549. The filter admits two options <see cref="P:log4net.Filter.LevelMatchFilter.LevelToMatch"/> and
  16550. <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/>. If there is an exact match between the value
  16551. of the <see cref="P:log4net.Filter.LevelMatchFilter.LevelToMatch"/> option and the <see cref="T:log4net.Core.Level"/> of the
  16552. <see cref="T:log4net.Core.LoggingEvent"/>, then the <see cref="M:log4net.Filter.LevelMatchFilter.Decide(log4net.Core.LoggingEvent)"/> method returns <see cref="F:log4net.Filter.FilterDecision.Accept"/> in
  16553. case the <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/> option value is set
  16554. to <c>true</c>, if it is <c>false</c> then
  16555. <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned. If the <see cref="T:log4net.Core.Level"/> does not match then
  16556. the result will be <see cref="F:log4net.Filter.FilterDecision.Neutral"/>.
  16557. </para>
  16558. </remarks>
  16559. <author>Nicko Cadell</author>
  16560. <author>Gert Driesen</author>
  16561. </member>
  16562. <member name="F:log4net.Filter.LevelMatchFilter.m_acceptOnMatch">
  16563. <summary>
  16564. flag to indicate if the filter should <see cref="F:log4net.Filter.FilterDecision.Accept"/> on a match
  16565. </summary>
  16566. </member>
  16567. <member name="F:log4net.Filter.LevelMatchFilter.m_levelToMatch">
  16568. <summary>
  16569. the <see cref="T:log4net.Core.Level"/> to match against
  16570. </summary>
  16571. </member>
  16572. <member name="M:log4net.Filter.LevelMatchFilter.#ctor">
  16573. <summary>
  16574. Default constructor
  16575. </summary>
  16576. </member>
  16577. <member name="M:log4net.Filter.LevelMatchFilter.Decide(log4net.Core.LoggingEvent)">
  16578. <summary>
  16579. Tests if the <see cref="T:log4net.Core.Level"/> of the logging event matches that of the filter
  16580. </summary>
  16581. <param name="loggingEvent">the event to filter</param>
  16582. <returns>see remarks</returns>
  16583. <remarks>
  16584. <para>
  16585. If the <see cref="T:log4net.Core.Level"/> of the event matches the level of the
  16586. filter then the result of the function depends on the
  16587. value of <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/>. If it is true then
  16588. the function will return <see cref="F:log4net.Filter.FilterDecision.Accept"/>, it it is false then it
  16589. will return <see cref="F:log4net.Filter.FilterDecision.Deny"/>. If the <see cref="T:log4net.Core.Level"/> does not match then
  16590. the result will be <see cref="F:log4net.Filter.FilterDecision.Neutral"/>.
  16591. </para>
  16592. </remarks>
  16593. </member>
  16594. <member name="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch">
  16595. <summary>
  16596. <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.LevelMatchFilter.LevelToMatch"/>
  16597. </summary>
  16598. <remarks>
  16599. <para>
  16600. The <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/> property is a flag that determines
  16601. the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
  16602. flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the
  16603. logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Deny"/> the event.
  16604. </para>
  16605. <para>
  16606. The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
  16607. </para>
  16608. </remarks>
  16609. </member>
  16610. <member name="P:log4net.Filter.LevelMatchFilter.LevelToMatch">
  16611. <summary>
  16612. The <see cref="T:log4net.Core.Level"/> that the filter will match
  16613. </summary>
  16614. <remarks>
  16615. <para>
  16616. The level that this filter will attempt to match against the
  16617. <see cref="T:log4net.Core.LoggingEvent"/> level. If a match is found then
  16618. the result depends on the value of <see cref="P:log4net.Filter.LevelMatchFilter.AcceptOnMatch"/>.
  16619. </para>
  16620. </remarks>
  16621. </member>
  16622. <member name="T:log4net.Filter.LevelRangeFilter">
  16623. <summary>
  16624. This is a simple filter based on <see cref="T:log4net.Core.Level"/> matching.
  16625. </summary>
  16626. <remarks>
  16627. <para>
  16628. The filter admits three options <see cref="P:log4net.Filter.LevelRangeFilter.LevelMin"/> and <see cref="P:log4net.Filter.LevelRangeFilter.LevelMax"/>
  16629. that determine the range of priorities that are matched, and
  16630. <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>. If there is a match between the range
  16631. of priorities and the <see cref="T:log4net.Core.Level"/> of the <see cref="T:log4net.Core.LoggingEvent"/>, then the
  16632. <see cref="M:log4net.Filter.LevelRangeFilter.Decide(log4net.Core.LoggingEvent)"/> method returns <see cref="F:log4net.Filter.FilterDecision.Accept"/> in case the <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>
  16633. option value is set to <c>true</c>, if it is <c>false</c>
  16634. then <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned. If there is no match, <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
  16635. </para>
  16636. </remarks>
  16637. <author>Nicko Cadell</author>
  16638. <author>Gert Driesen</author>
  16639. </member>
  16640. <member name="F:log4net.Filter.LevelRangeFilter.m_acceptOnMatch">
  16641. <summary>
  16642. Flag to indicate the behavior when matching a <see cref="T:log4net.Core.Level"/>
  16643. </summary>
  16644. </member>
  16645. <member name="F:log4net.Filter.LevelRangeFilter.m_levelMin">
  16646. <summary>
  16647. the minimum <see cref="T:log4net.Core.Level"/> value to match
  16648. </summary>
  16649. </member>
  16650. <member name="F:log4net.Filter.LevelRangeFilter.m_levelMax">
  16651. <summary>
  16652. the maximum <see cref="T:log4net.Core.Level"/> value to match
  16653. </summary>
  16654. </member>
  16655. <member name="M:log4net.Filter.LevelRangeFilter.#ctor">
  16656. <summary>
  16657. Default constructor
  16658. </summary>
  16659. </member>
  16660. <member name="M:log4net.Filter.LevelRangeFilter.Decide(log4net.Core.LoggingEvent)">
  16661. <summary>
  16662. Check if the event should be logged.
  16663. </summary>
  16664. <param name="loggingEvent">the logging event to check</param>
  16665. <returns>see remarks</returns>
  16666. <remarks>
  16667. <para>
  16668. If the <see cref="T:log4net.Core.Level"/> of the logging event is outside the range
  16669. matched by this filter then <see cref="F:log4net.Filter.FilterDecision.Deny"/>
  16670. is returned. If the <see cref="T:log4net.Core.Level"/> is matched then the value of
  16671. <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/> is checked. If it is true then
  16672. <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned, otherwise
  16673. <see cref="F:log4net.Filter.FilterDecision.Neutral"/> is returned.
  16674. </para>
  16675. </remarks>
  16676. </member>
  16677. <member name="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch">
  16678. <summary>
  16679. <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.LevelRangeFilter.LevelMin"/> and <see cref="P:log4net.Filter.LevelRangeFilter.LevelMax"/>
  16680. </summary>
  16681. <remarks>
  16682. <para>
  16683. The <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/> property is a flag that determines
  16684. the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
  16685. flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the
  16686. logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Neutral"/> the event.
  16687. </para>
  16688. <para>
  16689. The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
  16690. </para>
  16691. </remarks>
  16692. </member>
  16693. <member name="P:log4net.Filter.LevelRangeFilter.LevelMin">
  16694. <summary>
  16695. Set the minimum matched <see cref="T:log4net.Core.Level"/>
  16696. </summary>
  16697. <remarks>
  16698. <para>
  16699. The minimum level that this filter will attempt to match against the
  16700. <see cref="T:log4net.Core.LoggingEvent"/> level. If a match is found then
  16701. the result depends on the value of <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>.
  16702. </para>
  16703. </remarks>
  16704. </member>
  16705. <member name="P:log4net.Filter.LevelRangeFilter.LevelMax">
  16706. <summary>
  16707. Sets the maximum matched <see cref="T:log4net.Core.Level"/>
  16708. </summary>
  16709. <remarks>
  16710. <para>
  16711. The maximum level that this filter will attempt to match against the
  16712. <see cref="T:log4net.Core.LoggingEvent"/> level. If a match is found then
  16713. the result depends on the value of <see cref="P:log4net.Filter.LevelRangeFilter.AcceptOnMatch"/>.
  16714. </para>
  16715. </remarks>
  16716. </member>
  16717. <member name="T:log4net.Filter.LoggerMatchFilter">
  16718. <summary>
  16719. Simple filter to match a string in the event's logger name.
  16720. </summary>
  16721. <remarks>
  16722. <para>
  16723. The works very similar to the <see cref="T:log4net.Filter.LevelMatchFilter"/>. It admits two
  16724. options <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/> and <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/>. If the
  16725. <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> of the <see cref="T:log4net.Core.LoggingEvent"/> starts
  16726. with the value of the <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/> option, then the
  16727. <see cref="M:log4net.Filter.LoggerMatchFilter.Decide(log4net.Core.LoggingEvent)"/> method returns <see cref="F:log4net.Filter.FilterDecision.Accept"/> in
  16728. case the <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/> option value is set to <c>true</c>,
  16729. if it is <c>false</c> then <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
  16730. </para>
  16731. </remarks>
  16732. <author>Daniel Cazzulino</author>
  16733. </member>
  16734. <member name="F:log4net.Filter.LoggerMatchFilter.m_acceptOnMatch">
  16735. <summary>
  16736. Flag to indicate the behavior when we have a match
  16737. </summary>
  16738. </member>
  16739. <member name="F:log4net.Filter.LoggerMatchFilter.m_loggerToMatch">
  16740. <summary>
  16741. The logger name string to substring match against the event
  16742. </summary>
  16743. </member>
  16744. <member name="M:log4net.Filter.LoggerMatchFilter.#ctor">
  16745. <summary>
  16746. Default constructor
  16747. </summary>
  16748. </member>
  16749. <member name="M:log4net.Filter.LoggerMatchFilter.Decide(log4net.Core.LoggingEvent)">
  16750. <summary>
  16751. Check if this filter should allow the event to be logged
  16752. </summary>
  16753. <param name="loggingEvent">the event being logged</param>
  16754. <returns>see remarks</returns>
  16755. <remarks>
  16756. <para>
  16757. The rendered message is matched against the <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/>.
  16758. If the <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/> equals the beginning of
  16759. the incoming <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> (<see cref="M:String.StartsWith(string)"/>)
  16760. then a match will have occurred. If no match occurs
  16761. this function will return <see cref="F:log4net.Filter.FilterDecision.Neutral"/>
  16762. allowing other filters to check the event. If a match occurs then
  16763. the value of <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/> is checked. If it is
  16764. true then <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned otherwise
  16765. <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
  16766. </para>
  16767. </remarks>
  16768. </member>
  16769. <member name="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch">
  16770. <summary>
  16771. <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch"/>
  16772. </summary>
  16773. <remarks>
  16774. <para>
  16775. The <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/> property is a flag that determines
  16776. the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
  16777. flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the
  16778. logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Deny"/> the event.
  16779. </para>
  16780. <para>
  16781. The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
  16782. </para>
  16783. </remarks>
  16784. </member>
  16785. <member name="P:log4net.Filter.LoggerMatchFilter.LoggerToMatch">
  16786. <summary>
  16787. The <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> that the filter will match
  16788. </summary>
  16789. <remarks>
  16790. <para>
  16791. This filter will attempt to match this value against logger name in
  16792. the following way. The match will be done against the beginning of the
  16793. logger name (using <see cref="M:String.StartsWith(string)"/>). The match is
  16794. case sensitive. If a match is found then
  16795. the result depends on the value of <see cref="P:log4net.Filter.LoggerMatchFilter.AcceptOnMatch"/>.
  16796. </para>
  16797. </remarks>
  16798. </member>
  16799. <member name="T:log4net.Filter.MdcFilter">
  16800. <summary>
  16801. Simple filter to match a keyed string in the <see cref="T:log4net.MDC"/>
  16802. </summary>
  16803. <remarks>
  16804. <para>
  16805. Simple filter to match a keyed string in the <see cref="T:log4net.MDC"/>
  16806. </para>
  16807. <para>
  16808. As the MDC has been replaced with layered properties the
  16809. <see cref="T:log4net.Filter.PropertyFilter"/> should be used instead.
  16810. </para>
  16811. </remarks>
  16812. <author>Nicko Cadell</author>
  16813. <author>Gert Driesen</author>
  16814. </member>
  16815. <member name="T:log4net.Filter.PropertyFilter">
  16816. <summary>
  16817. Simple filter to match a string an event property
  16818. </summary>
  16819. <remarks>
  16820. <para>
  16821. Simple filter to match a string in the value for a
  16822. specific event property
  16823. </para>
  16824. </remarks>
  16825. <author>Nicko Cadell</author>
  16826. </member>
  16827. <member name="T:log4net.Filter.StringMatchFilter">
  16828. <summary>
  16829. Simple filter to match a string in the rendered message
  16830. </summary>
  16831. <remarks>
  16832. <para>
  16833. Simple filter to match a string in the rendered message
  16834. </para>
  16835. </remarks>
  16836. <author>Nicko Cadell</author>
  16837. <author>Gert Driesen</author>
  16838. </member>
  16839. <member name="F:log4net.Filter.StringMatchFilter.m_acceptOnMatch">
  16840. <summary>
  16841. Flag to indicate the behavior when we have a match
  16842. </summary>
  16843. </member>
  16844. <member name="F:log4net.Filter.StringMatchFilter.m_stringToMatch">
  16845. <summary>
  16846. The string to substring match against the message
  16847. </summary>
  16848. </member>
  16849. <member name="F:log4net.Filter.StringMatchFilter.m_stringRegexToMatch">
  16850. <summary>
  16851. A string regex to match
  16852. </summary>
  16853. </member>
  16854. <member name="F:log4net.Filter.StringMatchFilter.m_regexToMatch">
  16855. <summary>
  16856. A regex object to match (generated from m_stringRegexToMatch)
  16857. </summary>
  16858. </member>
  16859. <member name="M:log4net.Filter.StringMatchFilter.#ctor">
  16860. <summary>
  16861. Default constructor
  16862. </summary>
  16863. </member>
  16864. <member name="M:log4net.Filter.StringMatchFilter.ActivateOptions">
  16865. <summary>
  16866. Initialize and precompile the Regex if required
  16867. </summary>
  16868. <remarks>
  16869. <para>
  16870. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  16871. activation scheme. The <see cref="M:log4net.Filter.StringMatchFilter.ActivateOptions"/> method must
  16872. be called on this object after the configuration properties have
  16873. been set. Until <see cref="M:log4net.Filter.StringMatchFilter.ActivateOptions"/> is called this
  16874. object is in an undefined state and must not be used.
  16875. </para>
  16876. <para>
  16877. If any of the configuration properties are modified then
  16878. <see cref="M:log4net.Filter.StringMatchFilter.ActivateOptions"/> must be called again.
  16879. </para>
  16880. </remarks>
  16881. </member>
  16882. <member name="M:log4net.Filter.StringMatchFilter.Decide(log4net.Core.LoggingEvent)">
  16883. <summary>
  16884. Check if this filter should allow the event to be logged
  16885. </summary>
  16886. <param name="loggingEvent">the event being logged</param>
  16887. <returns>see remarks</returns>
  16888. <remarks>
  16889. <para>
  16890. The rendered message is matched against the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/>.
  16891. If the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> occurs as a substring within
  16892. the message then a match will have occurred. If no match occurs
  16893. this function will return <see cref="F:log4net.Filter.FilterDecision.Neutral"/>
  16894. allowing other filters to check the event. If a match occurs then
  16895. the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/> is checked. If it is
  16896. true then <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned otherwise
  16897. <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
  16898. </para>
  16899. </remarks>
  16900. </member>
  16901. <member name="P:log4net.Filter.StringMatchFilter.AcceptOnMatch">
  16902. <summary>
  16903. <see cref="F:log4net.Filter.FilterDecision.Accept"/> when matching <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> or <see cref="P:log4net.Filter.StringMatchFilter.RegexToMatch"/>
  16904. </summary>
  16905. <remarks>
  16906. <para>
  16907. The <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/> property is a flag that determines
  16908. the behavior when a matching <see cref="T:log4net.Core.Level"/> is found. If the
  16909. flag is set to true then the filter will <see cref="F:log4net.Filter.FilterDecision.Accept"/> the
  16910. logging event, otherwise it will <see cref="F:log4net.Filter.FilterDecision.Neutral"/> the event.
  16911. </para>
  16912. <para>
  16913. The default is <c>true</c> i.e. to <see cref="F:log4net.Filter.FilterDecision.Accept"/> the event.
  16914. </para>
  16915. </remarks>
  16916. </member>
  16917. <member name="P:log4net.Filter.StringMatchFilter.StringToMatch">
  16918. <summary>
  16919. Sets the static string to match
  16920. </summary>
  16921. <remarks>
  16922. <para>
  16923. The string that will be substring matched against
  16924. the rendered message. If the message contains this
  16925. string then the filter will match. If a match is found then
  16926. the result depends on the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/>.
  16927. </para>
  16928. <para>
  16929. One of <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> or <see cref="P:log4net.Filter.StringMatchFilter.RegexToMatch"/>
  16930. must be specified.
  16931. </para>
  16932. </remarks>
  16933. </member>
  16934. <member name="P:log4net.Filter.StringMatchFilter.RegexToMatch">
  16935. <summary>
  16936. Sets the regular expression to match
  16937. </summary>
  16938. <remarks>
  16939. <para>
  16940. The regular expression pattern that will be matched against
  16941. the rendered message. If the message matches this
  16942. pattern then the filter will match. If a match is found then
  16943. the result depends on the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/>.
  16944. </para>
  16945. <para>
  16946. One of <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> or <see cref="P:log4net.Filter.StringMatchFilter.RegexToMatch"/>
  16947. must be specified.
  16948. </para>
  16949. </remarks>
  16950. </member>
  16951. <member name="F:log4net.Filter.PropertyFilter.m_key">
  16952. <summary>
  16953. The key to use to lookup the string from the event properties
  16954. </summary>
  16955. </member>
  16956. <member name="M:log4net.Filter.PropertyFilter.#ctor">
  16957. <summary>
  16958. Default constructor
  16959. </summary>
  16960. </member>
  16961. <member name="M:log4net.Filter.PropertyFilter.Decide(log4net.Core.LoggingEvent)">
  16962. <summary>
  16963. Check if this filter should allow the event to be logged
  16964. </summary>
  16965. <param name="loggingEvent">the event being logged</param>
  16966. <returns>see remarks</returns>
  16967. <remarks>
  16968. <para>
  16969. The event property for the <see cref="P:log4net.Filter.PropertyFilter.Key"/> is matched against
  16970. the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/>.
  16971. If the <see cref="P:log4net.Filter.StringMatchFilter.StringToMatch"/> occurs as a substring within
  16972. the property value then a match will have occurred. If no match occurs
  16973. this function will return <see cref="F:log4net.Filter.FilterDecision.Neutral"/>
  16974. allowing other filters to check the event. If a match occurs then
  16975. the value of <see cref="P:log4net.Filter.StringMatchFilter.AcceptOnMatch"/> is checked. If it is
  16976. true then <see cref="F:log4net.Filter.FilterDecision.Accept"/> is returned otherwise
  16977. <see cref="F:log4net.Filter.FilterDecision.Deny"/> is returned.
  16978. </para>
  16979. </remarks>
  16980. </member>
  16981. <member name="P:log4net.Filter.PropertyFilter.Key">
  16982. <summary>
  16983. The key to lookup in the event properties and then match against.
  16984. </summary>
  16985. <remarks>
  16986. <para>
  16987. The key name to use to lookup in the properties map of the
  16988. <see cref="T:log4net.Core.LoggingEvent"/>. The match will be performed against
  16989. the value of this property if it exists.
  16990. </para>
  16991. </remarks>
  16992. </member>
  16993. <member name="T:log4net.Filter.NdcFilter">
  16994. <summary>
  16995. Simple filter to match a string in the <see cref="T:log4net.NDC"/>
  16996. </summary>
  16997. <remarks>
  16998. <para>
  16999. Simple filter to match a string in the <see cref="T:log4net.NDC"/>
  17000. </para>
  17001. <para>
  17002. As the MDC has been replaced with named stacks stored in the
  17003. properties collections the <see cref="T:log4net.Filter.PropertyFilter"/> should
  17004. be used instead.
  17005. </para>
  17006. </remarks>
  17007. <author>Nicko Cadell</author>
  17008. <author>Gert Driesen</author>
  17009. </member>
  17010. <member name="M:log4net.Filter.NdcFilter.#ctor">
  17011. <summary>
  17012. Default constructor
  17013. </summary>
  17014. <remarks>
  17015. <para>
  17016. Sets the <see cref="P:log4net.Filter.PropertyFilter.Key"/> to <c>"NDC"</c>.
  17017. </para>
  17018. </remarks>
  17019. </member>
  17020. <member name="T:log4net.Layout.Pattern.AppDomainPatternConverter">
  17021. <summary>
  17022. Write the event appdomain name to the output
  17023. </summary>
  17024. <remarks>
  17025. <para>
  17026. Writes the <see cref="P:log4net.Core.LoggingEvent.Domain"/> to the output writer.
  17027. </para>
  17028. </remarks>
  17029. <author>Daniel Cazzulino</author>
  17030. <author>Nicko Cadell</author>
  17031. </member>
  17032. <member name="T:log4net.Layout.Pattern.PatternLayoutConverter">
  17033. <summary>
  17034. Abstract class that provides the formatting functionality that
  17035. derived classes need.
  17036. </summary>
  17037. <remarks>
  17038. Conversion specifiers in a conversion patterns are parsed to
  17039. individual PatternConverters. Each of which is responsible for
  17040. converting a logging event in a converter specific manner.
  17041. </remarks>
  17042. <author>Nicko Cadell</author>
  17043. </member>
  17044. <member name="T:log4net.Util.PatternConverter">
  17045. <summary>
  17046. Abstract class that provides the formatting functionality that
  17047. derived classes need.
  17048. </summary>
  17049. <remarks>
  17050. <para>
  17051. Conversion specifiers in a conversion patterns are parsed to
  17052. individual PatternConverters. Each of which is responsible for
  17053. converting a logging event in a converter specific manner.
  17054. </para>
  17055. </remarks>
  17056. <author>Nicko Cadell</author>
  17057. <author>Gert Driesen</author>
  17058. </member>
  17059. <member name="F:log4net.Util.PatternConverter.c_renderBufferSize">
  17060. <summary>
  17061. Initial buffer size
  17062. </summary>
  17063. </member>
  17064. <member name="F:log4net.Util.PatternConverter.c_renderBufferMaxCapacity">
  17065. <summary>
  17066. Maximum buffer size before it is recycled
  17067. </summary>
  17068. </member>
  17069. <member name="M:log4net.Util.PatternConverter.#ctor">
  17070. <summary>
  17071. Protected constructor
  17072. </summary>
  17073. <remarks>
  17074. <para>
  17075. Initializes a new instance of the <see cref="T:log4net.Util.PatternConverter"/> class.
  17076. </para>
  17077. </remarks>
  17078. </member>
  17079. <member name="M:log4net.Util.PatternConverter.Convert(System.IO.TextWriter,System.Object)">
  17080. <summary>
  17081. Evaluate this pattern converter and write the output to a writer.
  17082. </summary>
  17083. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17084. <param name="state">The state object on which the pattern converter should be executed.</param>
  17085. <remarks>
  17086. <para>
  17087. Derived pattern converters must override this method in order to
  17088. convert conversion specifiers in the appropriate way.
  17089. </para>
  17090. </remarks>
  17091. </member>
  17092. <member name="M:log4net.Util.PatternConverter.SetNext(log4net.Util.PatternConverter)">
  17093. <summary>
  17094. Set the next pattern converter in the chains
  17095. </summary>
  17096. <param name="patternConverter">the pattern converter that should follow this converter in the chain</param>
  17097. <returns>the next converter</returns>
  17098. <remarks>
  17099. <para>
  17100. The PatternConverter can merge with its neighbor during this method (or a sub class).
  17101. Therefore the return value may or may not be the value of the argument passed in.
  17102. </para>
  17103. </remarks>
  17104. </member>
  17105. <member name="M:log4net.Util.PatternConverter.Format(System.IO.TextWriter,System.Object)">
  17106. <summary>
  17107. Write the pattern converter to the writer with appropriate formatting
  17108. </summary>
  17109. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17110. <param name="state">The state object on which the pattern converter should be executed.</param>
  17111. <remarks>
  17112. <para>
  17113. This method calls <see cref="M:log4net.Util.PatternConverter.Convert(System.IO.TextWriter,System.Object)"/> to allow the subclass to perform
  17114. appropriate conversion of the pattern converter. If formatting options have
  17115. been specified via the <see cref="P:log4net.Util.PatternConverter.FormattingInfo"/> then this method will
  17116. apply those formattings before writing the output.
  17117. </para>
  17118. </remarks>
  17119. </member>
  17120. <member name="M:log4net.Util.PatternConverter.SpacePad(System.IO.TextWriter,System.Int32)">
  17121. <summary>
  17122. Fast space padding method.
  17123. </summary>
  17124. <param name="writer"><see cref="T:System.IO.TextWriter"/> to which the spaces will be appended.</param>
  17125. <param name="length">The number of spaces to be padded.</param>
  17126. <remarks>
  17127. <para>
  17128. Fast space padding method.
  17129. </para>
  17130. </remarks>
  17131. </member>
  17132. <member name="F:log4net.Util.PatternConverter.m_option">
  17133. <summary>
  17134. The option string to the converter
  17135. </summary>
  17136. </member>
  17137. <member name="M:log4net.Util.PatternConverter.WriteDictionary(System.IO.TextWriter,log4net.Repository.ILoggerRepository,System.Collections.IDictionary)">
  17138. <summary>
  17139. Write an dictionary to a <see cref="T:System.IO.TextWriter"/>
  17140. </summary>
  17141. <param name="writer">the writer to write to</param>
  17142. <param name="repository">a <see cref="T:log4net.Repository.ILoggerRepository"/> to use for object conversion</param>
  17143. <param name="value">the value to write to the writer</param>
  17144. <remarks>
  17145. <para>
  17146. Writes the <see cref="T:System.Collections.IDictionary"/> to a writer in the form:
  17147. </para>
  17148. <code>
  17149. {key1=value1, key2=value2, key3=value3}
  17150. </code>
  17151. <para>
  17152. If the <see cref="T:log4net.Repository.ILoggerRepository"/> specified
  17153. is not null then it is used to render the key and value to text, otherwise
  17154. the object's ToString method is called.
  17155. </para>
  17156. </remarks>
  17157. </member>
  17158. <member name="M:log4net.Util.PatternConverter.WriteDictionary(System.IO.TextWriter,log4net.Repository.ILoggerRepository,System.Collections.IDictionaryEnumerator)">
  17159. <summary>
  17160. Write an dictionary to a <see cref="T:System.IO.TextWriter"/>
  17161. </summary>
  17162. <param name="writer">the writer to write to</param>
  17163. <param name="repository">a <see cref="T:log4net.Repository.ILoggerRepository"/> to use for object conversion</param>
  17164. <param name="value">the value to write to the writer</param>
  17165. <remarks>
  17166. <para>
  17167. Writes the <see cref="T:System.Collections.IDictionaryEnumerator"/> to a writer in the form:
  17168. </para>
  17169. <code>
  17170. {key1=value1, key2=value2, key3=value3}
  17171. </code>
  17172. <para>
  17173. If the <see cref="T:log4net.Repository.ILoggerRepository"/> specified
  17174. is not null then it is used to render the key and value to text, otherwise
  17175. the object's ToString method is called.
  17176. </para>
  17177. </remarks>
  17178. </member>
  17179. <member name="M:log4net.Util.PatternConverter.WriteObject(System.IO.TextWriter,log4net.Repository.ILoggerRepository,System.Object)">
  17180. <summary>
  17181. Write an object to a <see cref="T:System.IO.TextWriter"/>
  17182. </summary>
  17183. <param name="writer">the writer to write to</param>
  17184. <param name="repository">a <see cref="T:log4net.Repository.ILoggerRepository"/> to use for object conversion</param>
  17185. <param name="value">the value to write to the writer</param>
  17186. <remarks>
  17187. <para>
  17188. Writes the Object to a writer. If the <see cref="T:log4net.Repository.ILoggerRepository"/> specified
  17189. is not null then it is used to render the object to text, otherwise
  17190. the object's ToString method is called.
  17191. </para>
  17192. </remarks>
  17193. </member>
  17194. <member name="P:log4net.Util.PatternConverter.Next">
  17195. <summary>
  17196. Get the next pattern converter in the chain
  17197. </summary>
  17198. <value>
  17199. the next pattern converter in the chain
  17200. </value>
  17201. <remarks>
  17202. <para>
  17203. Get the next pattern converter in the chain
  17204. </para>
  17205. </remarks>
  17206. </member>
  17207. <member name="P:log4net.Util.PatternConverter.FormattingInfo">
  17208. <summary>
  17209. Gets or sets the formatting info for this converter
  17210. </summary>
  17211. <value>
  17212. The formatting info for this converter
  17213. </value>
  17214. <remarks>
  17215. <para>
  17216. Gets or sets the formatting info for this converter
  17217. </para>
  17218. </remarks>
  17219. </member>
  17220. <member name="P:log4net.Util.PatternConverter.Option">
  17221. <summary>
  17222. Gets or sets the option value for this converter
  17223. </summary>
  17224. <summary>
  17225. The option for this converter
  17226. </summary>
  17227. <remarks>
  17228. <para>
  17229. Gets or sets the option value for this converter
  17230. </para>
  17231. </remarks>
  17232. </member>
  17233. <member name="P:log4net.Util.PatternConverter.Properties">
  17234. <summary>
  17235. </summary>
  17236. </member>
  17237. <member name="M:log4net.Layout.Pattern.PatternLayoutConverter.#ctor">
  17238. <summary>
  17239. Initializes a new instance of the <see cref="T:log4net.Layout.Pattern.PatternLayoutConverter"/> class.
  17240. </summary>
  17241. </member>
  17242. <member name="M:log4net.Layout.Pattern.PatternLayoutConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17243. <summary>
  17244. Derived pattern converters must override this method in order to
  17245. convert conversion specifiers in the correct way.
  17246. </summary>
  17247. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17248. <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> on which the pattern converter should be executed.</param>
  17249. </member>
  17250. <member name="M:log4net.Layout.Pattern.PatternLayoutConverter.Convert(System.IO.TextWriter,System.Object)">
  17251. <summary>
  17252. Derived pattern converters must override this method in order to
  17253. convert conversion specifiers in the correct way.
  17254. </summary>
  17255. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17256. <param name="state">The state object on which the pattern converter should be executed.</param>
  17257. </member>
  17258. <member name="F:log4net.Layout.Pattern.PatternLayoutConverter.m_ignoresException">
  17259. <summary>
  17260. Flag indicating if this converter handles exceptions
  17261. </summary>
  17262. <remarks>
  17263. <c>false</c> if this converter handles exceptions
  17264. </remarks>
  17265. </member>
  17266. <member name="P:log4net.Layout.Pattern.PatternLayoutConverter.IgnoresException">
  17267. <summary>
  17268. Flag indicating if this converter handles the logging event exception
  17269. </summary>
  17270. <value><c>false</c> if this converter handles the logging event exception</value>
  17271. <remarks>
  17272. <para>
  17273. If this converter handles the exception object contained within
  17274. <see cref="T:log4net.Core.LoggingEvent"/>, then this property should be set to
  17275. <c>false</c>. Otherwise, if the layout ignores the exception
  17276. object, then the property should be set to <c>true</c>.
  17277. </para>
  17278. <para>
  17279. Set this value to override a this default setting. The default
  17280. value is <c>true</c>, this converter does not handle the exception.
  17281. </para>
  17282. </remarks>
  17283. </member>
  17284. <member name="M:log4net.Layout.Pattern.AppDomainPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17285. <summary>
  17286. Write the event appdomain name to the output
  17287. </summary>
  17288. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17289. <param name="loggingEvent">the event being logged</param>
  17290. <remarks>
  17291. <para>
  17292. Writes the <see cref="P:log4net.Core.LoggingEvent.Domain"/> to the output <paramref name="writer"/>.
  17293. </para>
  17294. </remarks>
  17295. </member>
  17296. <member name="T:log4net.Layout.Pattern.AspNetCachePatternConverter">
  17297. <summary>
  17298. Converter for items in the ASP.Net Cache.
  17299. </summary>
  17300. <remarks>
  17301. <para>
  17302. Outputs an item from the <see cref="P:System.Web.HttpRuntime.Cache"/>.
  17303. </para>
  17304. </remarks>
  17305. <author>Ron Grabowski</author>
  17306. </member>
  17307. <member name="T:log4net.Layout.Pattern.AspNetPatternLayoutConverter">
  17308. <summary>
  17309. Abstract class that provides access to the current HttpContext (<see cref="P:System.Web.HttpContext.Current"/>) that
  17310. derived classes need.
  17311. </summary>
  17312. <remarks>
  17313. This class handles the case when HttpContext.Current is null by writing
  17314. <see cref="P:log4net.Util.SystemInfo.NotAvailableText"/> to the writer.
  17315. </remarks>
  17316. <author>Ron Grabowski</author>
  17317. </member>
  17318. <member name="M:log4net.Layout.Pattern.AspNetPatternLayoutConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent,System.Web.HttpContext)">
  17319. <summary>
  17320. Derived pattern converters must override this method in order to
  17321. convert conversion specifiers in the correct way.
  17322. </summary>
  17323. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17324. <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> on which the pattern converter should be executed.</param>
  17325. <param name="httpContext">The <see cref="T:System.Web.HttpContext"/> under which the ASP.Net request is running.</param>
  17326. </member>
  17327. <member name="M:log4net.Layout.Pattern.AspNetCachePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent,System.Web.HttpContext)">
  17328. <summary>
  17329. Write the ASP.Net Cache item to the output
  17330. </summary>
  17331. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17332. <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> on which the pattern converter should be executed.</param>
  17333. <param name="httpContext">The <see cref="T:System.Web.HttpContext"/> under which the ASP.Net request is running.</param>
  17334. <remarks>
  17335. <para>
  17336. Writes out the value of a named property. The property name
  17337. should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
  17338. property. If no property has been set, all key value pairs from the Cache will
  17339. be written to the output.
  17340. </para>
  17341. </remarks>
  17342. </member>
  17343. <member name="T:log4net.Layout.Pattern.AspNetContextPatternConverter">
  17344. <summary>
  17345. Converter for items in the <see cref="T:System.Web.HttpContext"/>.
  17346. </summary>
  17347. <remarks>
  17348. <para>
  17349. Outputs an item from the <see cref="T:System.Web.HttpContext"/>.
  17350. </para>
  17351. </remarks>
  17352. <author>Ron Grabowski</author>
  17353. </member>
  17354. <member name="M:log4net.Layout.Pattern.AspNetContextPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent,System.Web.HttpContext)">
  17355. <summary>
  17356. Write the ASP.Net HttpContext item to the output
  17357. </summary>
  17358. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17359. <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> on which the pattern converter should be executed.</param>
  17360. <param name="httpContext">The <see cref="T:System.Web.HttpContext"/> under which the ASP.Net request is running.</param>
  17361. <remarks>
  17362. <para>
  17363. Writes out the value of a named property. The property name
  17364. should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
  17365. property.
  17366. </para>
  17367. </remarks>
  17368. </member>
  17369. <member name="T:log4net.Layout.Pattern.AspNetRequestPatternConverter">
  17370. <summary>
  17371. Converter for items in the ASP.Net Cache.
  17372. </summary>
  17373. <remarks>
  17374. <para>
  17375. Outputs an item from the <see cref="P:System.Web.HttpRuntime.Cache"/>.
  17376. </para>
  17377. </remarks>
  17378. <author>Ron Grabowski</author>
  17379. </member>
  17380. <member name="M:log4net.Layout.Pattern.AspNetRequestPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent,System.Web.HttpContext)">
  17381. <summary>
  17382. Write the ASP.Net Cache item to the output
  17383. </summary>
  17384. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17385. <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> on which the pattern converter should be executed.</param>
  17386. <param name="httpContext">The <see cref="T:System.Web.HttpContext"/> under which the ASP.Net request is running.</param>
  17387. <remarks>
  17388. <para>
  17389. Writes out the value of a named property. The property name
  17390. should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
  17391. property.
  17392. </para>
  17393. </remarks>
  17394. </member>
  17395. <member name="T:log4net.Layout.Pattern.AspNetSessionPatternConverter">
  17396. <summary>
  17397. Converter for items in the ASP.Net Cache.
  17398. </summary>
  17399. <remarks>
  17400. <para>
  17401. Outputs an item from the <see cref="P:System.Web.HttpRuntime.Cache"/>.
  17402. </para>
  17403. </remarks>
  17404. <author>Ron Grabowski</author>
  17405. </member>
  17406. <member name="M:log4net.Layout.Pattern.AspNetSessionPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent,System.Web.HttpContext)">
  17407. <summary>
  17408. Write the ASP.Net Cache item to the output
  17409. </summary>
  17410. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17411. <param name="loggingEvent">The <see cref="T:log4net.Core.LoggingEvent"/> on which the pattern converter should be executed.</param>
  17412. <param name="httpContext">The <see cref="T:System.Web.HttpContext"/> under which the ASP.Net request is running.</param>
  17413. <remarks>
  17414. <para>
  17415. Writes out the value of a named property. The property name
  17416. should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
  17417. property. If no property has been set, all key value pairs from the Session will
  17418. be written to the output.
  17419. </para>
  17420. </remarks>
  17421. </member>
  17422. <member name="T:log4net.Layout.Pattern.DatePatternConverter">
  17423. <summary>
  17424. Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format
  17425. the date of a <see cref="T:log4net.Core.LoggingEvent"/>.
  17426. </summary>
  17427. <remarks>
  17428. <para>
  17429. Render the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> to the writer as a string.
  17430. </para>
  17431. <para>
  17432. The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines
  17433. the formatting of the date. The following values are allowed:
  17434. <list type="definition">
  17435. <listheader>
  17436. <term>Option value</term>
  17437. <description>Output</description>
  17438. </listheader>
  17439. <item>
  17440. <term>ISO8601</term>
  17441. <description>
  17442. Uses the <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/> formatter.
  17443. Formats using the <c>"yyyy-MM-dd HH:mm:ss,fff"</c> pattern.
  17444. </description>
  17445. </item>
  17446. <item>
  17447. <term>DATE</term>
  17448. <description>
  17449. Uses the <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> formatter.
  17450. Formats using the <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example, <c>"06 Nov 1994 15:49:37,459"</c>.
  17451. </description>
  17452. </item>
  17453. <item>
  17454. <term>ABSOLUTE</term>
  17455. <description>
  17456. Uses the <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/> formatter.
  17457. Formats using the <c>"HH:mm:ss,yyyy"</c> for example, <c>"15:49:37,459"</c>.
  17458. </description>
  17459. </item>
  17460. <item>
  17461. <term>other</term>
  17462. <description>
  17463. Any other pattern string uses the <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/> formatter.
  17464. This formatter passes the pattern string to the <see cref="T:System.DateTime"/>
  17465. <see cref="M:DateTime.ToString(string)"/> method.
  17466. For details on valid patterns see
  17467. <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.asp">DateTimeFormatInfo Class</a>.
  17468. </description>
  17469. </item>
  17470. </list>
  17471. </para>
  17472. <para>
  17473. The <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> is in the local time zone and is rendered in that zone.
  17474. To output the time in Universal time see <see cref="T:log4net.Layout.Pattern.UtcDatePatternConverter"/>.
  17475. </para>
  17476. </remarks>
  17477. <author>Nicko Cadell</author>
  17478. </member>
  17479. <member name="F:log4net.Layout.Pattern.DatePatternConverter.m_dateFormatter">
  17480. <summary>
  17481. The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
  17482. </summary>
  17483. <remarks>
  17484. <para>
  17485. The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
  17486. </para>
  17487. </remarks>
  17488. </member>
  17489. <member name="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions">
  17490. <summary>
  17491. Initialize the converter pattern based on the <see cref="P:log4net.Util.PatternConverter.Option"/> property.
  17492. </summary>
  17493. <remarks>
  17494. <para>
  17495. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  17496. activation scheme. The <see cref="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions"/> method must
  17497. be called on this object after the configuration properties have
  17498. been set. Until <see cref="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions"/> is called this
  17499. object is in an undefined state and must not be used.
  17500. </para>
  17501. <para>
  17502. If any of the configuration properties are modified then
  17503. <see cref="M:log4net.Layout.Pattern.DatePatternConverter.ActivateOptions"/> must be called again.
  17504. </para>
  17505. </remarks>
  17506. </member>
  17507. <member name="M:log4net.Layout.Pattern.DatePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17508. <summary>
  17509. Convert the pattern into the rendered message
  17510. </summary>
  17511. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17512. <param name="loggingEvent">the event being logged</param>
  17513. <remarks>
  17514. <para>
  17515. Pass the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
  17516. for it to render it to the writer.
  17517. </para>
  17518. <para>
  17519. The <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> passed is in the local time zone.
  17520. </para>
  17521. </remarks>
  17522. </member>
  17523. <member name="F:log4net.Layout.Pattern.DatePatternConverter.declaringType">
  17524. <summary>
  17525. The fully qualified type of the DatePatternConverter class.
  17526. </summary>
  17527. <remarks>
  17528. Used by the internal logger to record the Type of the
  17529. log message.
  17530. </remarks>
  17531. </member>
  17532. <member name="T:log4net.Layout.Pattern.ExceptionPatternConverter">
  17533. <summary>
  17534. Write the exception text to the output
  17535. </summary>
  17536. <remarks>
  17537. <para>
  17538. If an exception object is stored in the logging event
  17539. it will be rendered into the pattern output with a
  17540. trailing newline.
  17541. </para>
  17542. <para>
  17543. If there is no exception then nothing will be output
  17544. and no trailing newline will be appended.
  17545. It is typical to put a newline before the exception
  17546. and to have the exception as the last data in the pattern.
  17547. </para>
  17548. </remarks>
  17549. <author>Nicko Cadell</author>
  17550. </member>
  17551. <member name="M:log4net.Layout.Pattern.ExceptionPatternConverter.#ctor">
  17552. <summary>
  17553. Default constructor
  17554. </summary>
  17555. </member>
  17556. <member name="M:log4net.Layout.Pattern.ExceptionPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17557. <summary>
  17558. Write the exception text to the output
  17559. </summary>
  17560. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17561. <param name="loggingEvent">the event being logged</param>
  17562. <remarks>
  17563. <para>
  17564. If an exception object is stored in the logging event
  17565. it will be rendered into the pattern output with a
  17566. trailing newline.
  17567. </para>
  17568. <para>
  17569. If there is no exception or the exception property specified
  17570. by the Option value does not exist then nothing will be output
  17571. and no trailing newline will be appended.
  17572. It is typical to put a newline before the exception
  17573. and to have the exception as the last data in the pattern.
  17574. </para>
  17575. <para>
  17576. Recognized values for the Option parameter are:
  17577. </para>
  17578. <list type="bullet">
  17579. <item>
  17580. <description>Message</description>
  17581. </item>
  17582. <item>
  17583. <description>Source</description>
  17584. </item>
  17585. <item>
  17586. <description>StackTrace</description>
  17587. </item>
  17588. <item>
  17589. <description>TargetSite</description>
  17590. </item>
  17591. <item>
  17592. <description>HelpLink</description>
  17593. </item>
  17594. </list>
  17595. </remarks>
  17596. </member>
  17597. <member name="T:log4net.Layout.Pattern.FileLocationPatternConverter">
  17598. <summary>
  17599. Writes the caller location file name to the output
  17600. </summary>
  17601. <remarks>
  17602. <para>
  17603. Writes the value of the <see cref="P:log4net.Core.LocationInfo.FileName"/> for
  17604. the event to the output writer.
  17605. </para>
  17606. </remarks>
  17607. <author>Nicko Cadell</author>
  17608. </member>
  17609. <member name="M:log4net.Layout.Pattern.FileLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17610. <summary>
  17611. Write the caller location file name to the output
  17612. </summary>
  17613. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17614. <param name="loggingEvent">the event being logged</param>
  17615. <remarks>
  17616. <para>
  17617. Writes the value of the <see cref="P:log4net.Core.LocationInfo.FileName"/> for
  17618. the <paramref name="loggingEvent"/> to the output <paramref name="writer"/>.
  17619. </para>
  17620. </remarks>
  17621. </member>
  17622. <member name="T:log4net.Layout.Pattern.FullLocationPatternConverter">
  17623. <summary>
  17624. Write the caller location info to the output
  17625. </summary>
  17626. <remarks>
  17627. <para>
  17628. Writes the <see cref="P:log4net.Core.LocationInfo.FullInfo"/> to the output writer.
  17629. </para>
  17630. </remarks>
  17631. <author>Nicko Cadell</author>
  17632. </member>
  17633. <member name="M:log4net.Layout.Pattern.FullLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17634. <summary>
  17635. Write the caller location info to the output
  17636. </summary>
  17637. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17638. <param name="loggingEvent">the event being logged</param>
  17639. <remarks>
  17640. <para>
  17641. Writes the <see cref="P:log4net.Core.LocationInfo.FullInfo"/> to the output writer.
  17642. </para>
  17643. </remarks>
  17644. </member>
  17645. <member name="T:log4net.Layout.Pattern.IdentityPatternConverter">
  17646. <summary>
  17647. Writes the event identity to the output
  17648. </summary>
  17649. <remarks>
  17650. <para>
  17651. Writes the value of the <see cref="P:log4net.Core.LoggingEvent.Identity"/> to
  17652. the output writer.
  17653. </para>
  17654. </remarks>
  17655. <author>Daniel Cazzulino</author>
  17656. <author>Nicko Cadell</author>
  17657. </member>
  17658. <member name="M:log4net.Layout.Pattern.IdentityPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17659. <summary>
  17660. Writes the event identity to the output
  17661. </summary>
  17662. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17663. <param name="loggingEvent">the event being logged</param>
  17664. <remarks>
  17665. <para>
  17666. Writes the value of the <paramref name="loggingEvent"/>
  17667. <see cref="P:log4net.Core.LoggingEvent.Identity"/> to
  17668. the output <paramref name="writer"/>.
  17669. </para>
  17670. </remarks>
  17671. </member>
  17672. <member name="T:log4net.Layout.Pattern.LevelPatternConverter">
  17673. <summary>
  17674. Write the event level to the output
  17675. </summary>
  17676. <remarks>
  17677. <para>
  17678. Writes the display name of the event <see cref="P:log4net.Core.LoggingEvent.Level"/>
  17679. to the writer.
  17680. </para>
  17681. </remarks>
  17682. <author>Nicko Cadell</author>
  17683. </member>
  17684. <member name="M:log4net.Layout.Pattern.LevelPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17685. <summary>
  17686. Write the event level to the output
  17687. </summary>
  17688. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17689. <param name="loggingEvent">the event being logged</param>
  17690. <remarks>
  17691. <para>
  17692. Writes the <see cref="P:log4net.Core.Level.DisplayName"/> of the <paramref name="loggingEvent"/> <see cref="P:log4net.Core.LoggingEvent.Level"/>
  17693. to the <paramref name="writer"/>.
  17694. </para>
  17695. </remarks>
  17696. </member>
  17697. <member name="T:log4net.Layout.Pattern.LineLocationPatternConverter">
  17698. <summary>
  17699. Write the caller location line number to the output
  17700. </summary>
  17701. <remarks>
  17702. <para>
  17703. Writes the value of the <see cref="P:log4net.Core.LocationInfo.LineNumber"/> for
  17704. the event to the output writer.
  17705. </para>
  17706. </remarks>
  17707. <author>Nicko Cadell</author>
  17708. </member>
  17709. <member name="M:log4net.Layout.Pattern.LineLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17710. <summary>
  17711. Write the caller location line number to the output
  17712. </summary>
  17713. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17714. <param name="loggingEvent">the event being logged</param>
  17715. <remarks>
  17716. <para>
  17717. Writes the value of the <see cref="P:log4net.Core.LocationInfo.LineNumber"/> for
  17718. the <paramref name="loggingEvent"/> to the output <paramref name="writer"/>.
  17719. </para>
  17720. </remarks>
  17721. </member>
  17722. <member name="T:log4net.Layout.Pattern.LoggerPatternConverter">
  17723. <summary>
  17724. Converter for logger name
  17725. </summary>
  17726. <remarks>
  17727. <para>
  17728. Outputs the <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> of the event.
  17729. </para>
  17730. </remarks>
  17731. <author>Nicko Cadell</author>
  17732. </member>
  17733. <member name="T:log4net.Layout.Pattern.NamedPatternConverter">
  17734. <summary>
  17735. Converter to output and truncate <c>'.'</c> separated strings
  17736. </summary>
  17737. <remarks>
  17738. <para>
  17739. This abstract class supports truncating a <c>'.'</c> separated string
  17740. to show a specified number of elements from the right hand side.
  17741. This is used to truncate class names that are fully qualified.
  17742. </para>
  17743. <para>
  17744. Subclasses should override the <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)"/> method to
  17745. return the fully qualified string.
  17746. </para>
  17747. </remarks>
  17748. <author>Nicko Cadell</author>
  17749. </member>
  17750. <member name="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions">
  17751. <summary>
  17752. Initialize the converter
  17753. </summary>
  17754. <remarks>
  17755. <para>
  17756. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  17757. activation scheme. The <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions"/> method must
  17758. be called on this object after the configuration properties have
  17759. been set. Until <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions"/> is called this
  17760. object is in an undefined state and must not be used.
  17761. </para>
  17762. <para>
  17763. If any of the configuration properties are modified then
  17764. <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions"/> must be called again.
  17765. </para>
  17766. </remarks>
  17767. </member>
  17768. <member name="M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)">
  17769. <summary>
  17770. Get the fully qualified string data
  17771. </summary>
  17772. <param name="loggingEvent">the event being logged</param>
  17773. <returns>the fully qualified name</returns>
  17774. <remarks>
  17775. <para>
  17776. Overridden by subclasses to get the fully qualified name before the
  17777. precision is applied to it.
  17778. </para>
  17779. <para>
  17780. Return the fully qualified <c>'.'</c> (dot/period) separated string.
  17781. </para>
  17782. </remarks>
  17783. </member>
  17784. <member name="M:log4net.Layout.Pattern.NamedPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17785. <summary>
  17786. Convert the pattern to the rendered message
  17787. </summary>
  17788. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17789. <param name="loggingEvent">the event being logged</param>
  17790. <remarks>
  17791. Render the <see cref="M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)"/> to the precision
  17792. specified by the <see cref="P:log4net.Util.PatternConverter.Option"/> property.
  17793. </remarks>
  17794. </member>
  17795. <member name="F:log4net.Layout.Pattern.NamedPatternConverter.declaringType">
  17796. <summary>
  17797. The fully qualified type of the NamedPatternConverter class.
  17798. </summary>
  17799. <remarks>
  17800. Used by the internal logger to record the Type of the
  17801. log message.
  17802. </remarks>
  17803. </member>
  17804. <member name="M:log4net.Layout.Pattern.LoggerPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)">
  17805. <summary>
  17806. Gets the fully qualified name of the logger
  17807. </summary>
  17808. <param name="loggingEvent">the event being logged</param>
  17809. <returns>The fully qualified logger name</returns>
  17810. <remarks>
  17811. <para>
  17812. Returns the <see cref="P:log4net.Core.LoggingEvent.LoggerName"/> of the <paramref name="loggingEvent"/>.
  17813. </para>
  17814. </remarks>
  17815. </member>
  17816. <member name="T:log4net.Layout.Pattern.MessagePatternConverter">
  17817. <summary>
  17818. Writes the event message to the output
  17819. </summary>
  17820. <remarks>
  17821. <para>
  17822. Uses the <see cref="M:log4net.Core.LoggingEvent.WriteRenderedMessage(System.IO.TextWriter)"/> method
  17823. to write out the event message.
  17824. </para>
  17825. </remarks>
  17826. <author>Nicko Cadell</author>
  17827. </member>
  17828. <member name="M:log4net.Layout.Pattern.MessagePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17829. <summary>
  17830. Writes the event message to the output
  17831. </summary>
  17832. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17833. <param name="loggingEvent">the event being logged</param>
  17834. <remarks>
  17835. <para>
  17836. Uses the <see cref="M:log4net.Core.LoggingEvent.WriteRenderedMessage(System.IO.TextWriter)"/> method
  17837. to write out the event message.
  17838. </para>
  17839. </remarks>
  17840. </member>
  17841. <member name="T:log4net.Layout.Pattern.MethodLocationPatternConverter">
  17842. <summary>
  17843. Write the method name to the output
  17844. </summary>
  17845. <remarks>
  17846. <para>
  17847. Writes the caller location <see cref="P:log4net.Core.LocationInfo.MethodName"/> to
  17848. the output.
  17849. </para>
  17850. </remarks>
  17851. <author>Nicko Cadell</author>
  17852. </member>
  17853. <member name="M:log4net.Layout.Pattern.MethodLocationPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17854. <summary>
  17855. Write the method name to the output
  17856. </summary>
  17857. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17858. <param name="loggingEvent">the event being logged</param>
  17859. <remarks>
  17860. <para>
  17861. Writes the caller location <see cref="P:log4net.Core.LocationInfo.MethodName"/> to
  17862. the output.
  17863. </para>
  17864. </remarks>
  17865. </member>
  17866. <member name="T:log4net.Layout.Pattern.NdcPatternConverter">
  17867. <summary>
  17868. Converter to include event NDC
  17869. </summary>
  17870. <remarks>
  17871. <para>
  17872. Outputs the value of the event property named <c>NDC</c>.
  17873. </para>
  17874. <para>
  17875. The <see cref="T:log4net.Layout.Pattern.PropertyPatternConverter"/> should be used instead.
  17876. </para>
  17877. </remarks>
  17878. <author>Nicko Cadell</author>
  17879. </member>
  17880. <member name="M:log4net.Layout.Pattern.NdcPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17881. <summary>
  17882. Write the event NDC to the output
  17883. </summary>
  17884. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17885. <param name="loggingEvent">the event being logged</param>
  17886. <remarks>
  17887. <para>
  17888. As the thread context stacks are now stored in named event properties
  17889. this converter simply looks up the value of the <c>NDC</c> property.
  17890. </para>
  17891. <para>
  17892. The <see cref="T:log4net.Layout.Pattern.PropertyPatternConverter"/> should be used instead.
  17893. </para>
  17894. </remarks>
  17895. </member>
  17896. <member name="T:log4net.Layout.Pattern.PropertyPatternConverter">
  17897. <summary>
  17898. Property pattern converter
  17899. </summary>
  17900. <remarks>
  17901. <para>
  17902. Writes out the value of a named property. The property name
  17903. should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
  17904. property.
  17905. </para>
  17906. <para>
  17907. If the <see cref="P:log4net.Util.PatternConverter.Option"/> is set to <c>null</c>
  17908. then all the properties are written as key value pairs.
  17909. </para>
  17910. </remarks>
  17911. <author>Nicko Cadell</author>
  17912. </member>
  17913. <member name="M:log4net.Layout.Pattern.PropertyPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17914. <summary>
  17915. Write the property value to the output
  17916. </summary>
  17917. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17918. <param name="loggingEvent">the event being logged</param>
  17919. <remarks>
  17920. <para>
  17921. Writes out the value of a named property. The property name
  17922. should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
  17923. property.
  17924. </para>
  17925. <para>
  17926. If the <see cref="P:log4net.Util.PatternConverter.Option"/> is set to <c>null</c>
  17927. then all the properties are written as key value pairs.
  17928. </para>
  17929. </remarks>
  17930. </member>
  17931. <member name="T:log4net.Layout.Pattern.RelativeTimePatternConverter">
  17932. <summary>
  17933. Converter to output the relative time of the event
  17934. </summary>
  17935. <remarks>
  17936. <para>
  17937. Converter to output the time of the event relative to the start of the program.
  17938. </para>
  17939. </remarks>
  17940. <author>Nicko Cadell</author>
  17941. </member>
  17942. <member name="M:log4net.Layout.Pattern.RelativeTimePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  17943. <summary>
  17944. Write the relative time to the output
  17945. </summary>
  17946. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  17947. <param name="loggingEvent">the event being logged</param>
  17948. <remarks>
  17949. <para>
  17950. Writes out the relative time of the event in milliseconds.
  17951. That is the number of milliseconds between the event <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/>
  17952. and the <see cref="P:log4net.Core.LoggingEvent.StartTime"/>.
  17953. </para>
  17954. </remarks>
  17955. </member>
  17956. <member name="M:log4net.Layout.Pattern.RelativeTimePatternConverter.TimeDifferenceInMillis(System.DateTime,System.DateTime)">
  17957. <summary>
  17958. Helper method to get the time difference between two DateTime objects
  17959. </summary>
  17960. <param name="start">start time (in the current local time zone)</param>
  17961. <param name="end">end time (in the current local time zone)</param>
  17962. <returns>the time difference in milliseconds</returns>
  17963. </member>
  17964. <member name="T:log4net.Layout.Pattern.StackTraceDetailPatternConverter">
  17965. <summary>
  17966. Write the caller stack frames to the output
  17967. </summary>
  17968. <remarks>
  17969. <para>
  17970. Writes the <see cref="P:log4net.Core.LocationInfo.StackFrames"/> to the output writer, using format:
  17971. type3.MethodCall3(type param,...) &gt; type2.MethodCall2(type param,...) &gt; type1.MethodCall1(type param,...)
  17972. </para>
  17973. </remarks>
  17974. <author>Adam Davies</author>
  17975. </member>
  17976. <member name="T:log4net.Layout.Pattern.StackTracePatternConverter">
  17977. <summary>
  17978. Write the caller stack frames to the output
  17979. </summary>
  17980. <remarks>
  17981. <para>
  17982. Writes the <see cref="P:log4net.Core.LocationInfo.StackFrames"/> to the output writer, using format:
  17983. type3.MethodCall3 &gt; type2.MethodCall2 &gt; type1.MethodCall1
  17984. </para>
  17985. </remarks>
  17986. <author>Michael Cromwell</author>
  17987. </member>
  17988. <member name="M:log4net.Layout.Pattern.StackTracePatternConverter.ActivateOptions">
  17989. <summary>
  17990. Initialize the converter
  17991. </summary>
  17992. <remarks>
  17993. <para>
  17994. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  17995. activation scheme. The <see cref="M:log4net.Layout.Pattern.StackTracePatternConverter.ActivateOptions"/> method must
  17996. be called on this object after the configuration properties have
  17997. been set. Until <see cref="M:log4net.Layout.Pattern.StackTracePatternConverter.ActivateOptions"/> is called this
  17998. object is in an undefined state and must not be used.
  17999. </para>
  18000. <para>
  18001. If any of the configuration properties are modified then
  18002. <see cref="M:log4net.Layout.Pattern.StackTracePatternConverter.ActivateOptions"/> must be called again.
  18003. </para>
  18004. </remarks>
  18005. </member>
  18006. <member name="M:log4net.Layout.Pattern.StackTracePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  18007. <summary>
  18008. Write the strack frames to the output
  18009. </summary>
  18010. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  18011. <param name="loggingEvent">the event being logged</param>
  18012. <remarks>
  18013. <para>
  18014. Writes the <see cref="P:log4net.Core.LocationInfo.StackFrames"/> to the output writer.
  18015. </para>
  18016. </remarks>
  18017. </member>
  18018. <member name="M:log4net.Layout.Pattern.StackTracePatternConverter.GetMethodInformation(log4net.Core.MethodItem)">
  18019. <summary>
  18020. Returns the Name of the method
  18021. </summary>
  18022. <param name="method"></param>
  18023. <remarks>This method was created, so this class could be used as a base class for StackTraceDetailPatternConverter</remarks>
  18024. <returns>string</returns>
  18025. </member>
  18026. <member name="F:log4net.Layout.Pattern.StackTracePatternConverter.declaringType">
  18027. <summary>
  18028. The fully qualified type of the StackTracePatternConverter class.
  18029. </summary>
  18030. <remarks>
  18031. Used by the internal logger to record the Type of the
  18032. log message.
  18033. </remarks>
  18034. </member>
  18035. <member name="F:log4net.Layout.Pattern.StackTraceDetailPatternConverter.declaringType">
  18036. <summary>
  18037. The fully qualified type of the StackTraceDetailPatternConverter class.
  18038. </summary>
  18039. <remarks>
  18040. Used by the internal logger to record the Type of the
  18041. log message.
  18042. </remarks>
  18043. </member>
  18044. <member name="T:log4net.Layout.Pattern.ThreadPatternConverter">
  18045. <summary>
  18046. Converter to include event thread name
  18047. </summary>
  18048. <remarks>
  18049. <para>
  18050. Writes the <see cref="P:log4net.Core.LoggingEvent.ThreadName"/> to the output.
  18051. </para>
  18052. </remarks>
  18053. <author>Nicko Cadell</author>
  18054. </member>
  18055. <member name="M:log4net.Layout.Pattern.ThreadPatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  18056. <summary>
  18057. Write the ThreadName to the output
  18058. </summary>
  18059. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  18060. <param name="loggingEvent">the event being logged</param>
  18061. <remarks>
  18062. <para>
  18063. Writes the <see cref="P:log4net.Core.LoggingEvent.ThreadName"/> to the <paramref name="writer"/>.
  18064. </para>
  18065. </remarks>
  18066. </member>
  18067. <member name="T:log4net.Layout.Pattern.TypeNamePatternConverter">
  18068. <summary>
  18069. Pattern converter for the class name
  18070. </summary>
  18071. <remarks>
  18072. <para>
  18073. Outputs the <see cref="P:log4net.Core.LocationInfo.ClassName"/> of the event.
  18074. </para>
  18075. </remarks>
  18076. <author>Nicko Cadell</author>
  18077. </member>
  18078. <member name="M:log4net.Layout.Pattern.TypeNamePatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent)">
  18079. <summary>
  18080. Gets the fully qualified name of the class
  18081. </summary>
  18082. <param name="loggingEvent">the event being logged</param>
  18083. <returns>The fully qualified type name for the caller location</returns>
  18084. <remarks>
  18085. <para>
  18086. Returns the <see cref="P:log4net.Core.LocationInfo.ClassName"/> of the <paramref name="loggingEvent"/>.
  18087. </para>
  18088. </remarks>
  18089. </member>
  18090. <member name="T:log4net.Layout.Pattern.UserNamePatternConverter">
  18091. <summary>
  18092. Converter to include event user name
  18093. </summary>
  18094. <author>Douglas de la Torre</author>
  18095. <author>Nicko Cadell</author>
  18096. </member>
  18097. <member name="M:log4net.Layout.Pattern.UserNamePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  18098. <summary>
  18099. Convert the pattern to the rendered message
  18100. </summary>
  18101. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  18102. <param name="loggingEvent">the event being logged</param>
  18103. </member>
  18104. <member name="T:log4net.Layout.Pattern.UtcDatePatternConverter">
  18105. <summary>
  18106. Write the TimeStamp to the output
  18107. </summary>
  18108. <remarks>
  18109. <para>
  18110. Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format
  18111. the date of a <see cref="T:log4net.Core.LoggingEvent"/>.
  18112. </para>
  18113. <para>
  18114. Uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/>
  18115. in Universal time.
  18116. </para>
  18117. <para>
  18118. See the <see cref="T:log4net.Layout.Pattern.DatePatternConverter"/> for details on the date pattern syntax.
  18119. </para>
  18120. </remarks>
  18121. <seealso cref="T:log4net.Layout.Pattern.DatePatternConverter"/>
  18122. <author>Nicko Cadell</author>
  18123. </member>
  18124. <member name="M:log4net.Layout.Pattern.UtcDatePatternConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  18125. <summary>
  18126. Write the TimeStamp to the output
  18127. </summary>
  18128. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  18129. <param name="loggingEvent">the event being logged</param>
  18130. <remarks>
  18131. <para>
  18132. Pass the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
  18133. for it to render it to the writer.
  18134. </para>
  18135. <para>
  18136. The <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> passed is in the local time zone, this is converted
  18137. to Universal time before it is rendered.
  18138. </para>
  18139. </remarks>
  18140. <seealso cref="T:log4net.Layout.Pattern.DatePatternConverter"/>
  18141. </member>
  18142. <member name="F:log4net.Layout.Pattern.UtcDatePatternConverter.declaringType">
  18143. <summary>
  18144. The fully qualified type of the UtcDatePatternConverter class.
  18145. </summary>
  18146. <remarks>
  18147. Used by the internal logger to record the Type of the
  18148. log message.
  18149. </remarks>
  18150. </member>
  18151. <member name="T:log4net.Layout.DynamicPatternLayout">
  18152. <summary>
  18153. A flexible layout configurable with pattern string that re-evaluates on each call.
  18154. </summary>
  18155. <remarks>
  18156. <para>This class is built on <see cref="T:log4net.Layout.PatternLayout"></see> and provides all the
  18157. features and capabilities of PatternLayout. PatternLayout is a 'static' class
  18158. in that its layout is done once at configuration time. This class will recreate
  18159. the layout on each reference.</para>
  18160. <para>One important difference between PatternLayout and DynamicPatternLayout is the
  18161. treatment of the Header and Footer parameters in the configuration. The Header and Footer
  18162. parameters for DynamicPatternLayout must be syntactically in the form of a PatternString,
  18163. but should not be marked as type log4net.Util.PatternString. Doing so causes the
  18164. pattern to be statically converted at configuration time and causes DynamicPatternLayout
  18165. to perform the same as PatternLayout.</para>
  18166. <para>Please see <see cref="T:log4net.Layout.PatternLayout"/> for complete documentation.</para>
  18167. <example>
  18168. &lt;layout type="log4net.Layout.DynamicPatternLayout"&gt;
  18169. &lt;param name="Header" value="%newline**** Trace Opened Local: %date{yyyy-MM-dd HH:mm:ss.fff} UTC: %utcdate{yyyy-MM-dd HH:mm:ss.fff} ****%newline" /&gt;
  18170. &lt;param name="Footer" value="**** Trace Closed %date{yyyy-MM-dd HH:mm:ss.fff} ****%newline" /&gt;
  18171. &lt;/layout&gt;
  18172. </example>
  18173. </remarks>
  18174. </member>
  18175. <member name="T:log4net.Layout.PatternLayout">
  18176. <summary>
  18177. A flexible layout configurable with pattern string.
  18178. </summary>
  18179. <remarks>
  18180. <para>
  18181. The goal of this class is to <see cref="M:PatternLayout.Format(TextWriter,LoggingEvent)"/> a
  18182. <see cref="T:log4net.Core.LoggingEvent"/> as a string. The results
  18183. depend on the <i>conversion pattern</i>.
  18184. </para>
  18185. <para>
  18186. The conversion pattern is closely related to the conversion
  18187. pattern of the printf function in C. A conversion pattern is
  18188. composed of literal text and format control expressions called
  18189. <i>conversion specifiers</i>.
  18190. </para>
  18191. <para>
  18192. <i>You are free to insert any literal text within the conversion
  18193. pattern.</i>
  18194. </para>
  18195. <para>
  18196. Each conversion specifier starts with a percent sign (%) and is
  18197. followed by optional <i>format modifiers</i> and a <i>conversion
  18198. pattern name</i>. The conversion pattern name specifies the type of
  18199. data, e.g. logger, level, date, thread name. The format
  18200. modifiers control such things as field width, padding, left and
  18201. right justification. The following is a simple example.
  18202. </para>
  18203. <para>
  18204. Let the conversion pattern be <b>"%-5level [%thread]: %message%newline"</b> and assume
  18205. that the log4net environment was set to use a PatternLayout. Then the
  18206. statements
  18207. </para>
  18208. <code lang="C#">
  18209. ILog log = LogManager.GetLogger(typeof(TestApp));
  18210. log.Debug("Message 1");
  18211. log.Warn("Message 2");
  18212. </code>
  18213. <para>would yield the output</para>
  18214. <code>
  18215. DEBUG [main]: Message 1
  18216. WARN [main]: Message 2
  18217. </code>
  18218. <para>
  18219. Note that there is no explicit separator between text and
  18220. conversion specifiers. The pattern parser knows when it has reached
  18221. the end of a conversion specifier when it reads a conversion
  18222. character. In the example above the conversion specifier
  18223. <b>%-5level</b> means the level of the logging event should be left
  18224. justified to a width of five characters.
  18225. </para>
  18226. <para>
  18227. The recognized conversion pattern names are:
  18228. </para>
  18229. <list type="table">
  18230. <listheader>
  18231. <term>Conversion Pattern Name</term>
  18232. <description>Effect</description>
  18233. </listheader>
  18234. <item>
  18235. <term>a</term>
  18236. <description>Equivalent to <b>appdomain</b></description>
  18237. </item>
  18238. <item>
  18239. <term>appdomain</term>
  18240. <description>
  18241. Used to output the friendly name of the AppDomain where the
  18242. logging event was generated.
  18243. </description>
  18244. </item>
  18245. <item>
  18246. <term>aspnet-cache</term>
  18247. <description>
  18248. <para>
  18249. Used to output all cache items in the case of <b>%aspnet-cache</b> or just one named item if used as <b>%aspnet-cache{key}</b>
  18250. </para>
  18251. <para>
  18252. This pattern is not available for Compact Framework or Client Profile assemblies.
  18253. </para>
  18254. </description>
  18255. </item>
  18256. <item>
  18257. <term>aspnet-context</term>
  18258. <description>
  18259. <para>
  18260. Used to output all context items in the case of <b>%aspnet-context</b> or just one named item if used as <b>%aspnet-context{key}</b>
  18261. </para>
  18262. <para>
  18263. This pattern is not available for Compact Framework or Client Profile assemblies.
  18264. </para>
  18265. </description>
  18266. </item>
  18267. <item>
  18268. <term>aspnet-request</term>
  18269. <description>
  18270. <para>
  18271. Used to output all request parameters in the case of <b>%aspnet-request</b> or just one named param if used as <b>%aspnet-request{key}</b>
  18272. </para>
  18273. <para>
  18274. This pattern is not available for Compact Framework or Client Profile assemblies.
  18275. </para>
  18276. </description>
  18277. </item>
  18278. <item>
  18279. <term>aspnet-session</term>
  18280. <description>
  18281. <para>
  18282. Used to output all session items in the case of <b>%aspnet-session</b> or just one named item if used as <b>%aspnet-session{key}</b>
  18283. </para>
  18284. <para>
  18285. This pattern is not available for Compact Framework or Client Profile assemblies.
  18286. </para>
  18287. </description>
  18288. </item>
  18289. <item>
  18290. <term>c</term>
  18291. <description>Equivalent to <b>logger</b></description>
  18292. </item>
  18293. <item>
  18294. <term>C</term>
  18295. <description>Equivalent to <b>type</b></description>
  18296. </item>
  18297. <item>
  18298. <term>class</term>
  18299. <description>Equivalent to <b>type</b></description>
  18300. </item>
  18301. <item>
  18302. <term>d</term>
  18303. <description>Equivalent to <b>date</b></description>
  18304. </item>
  18305. <item>
  18306. <term>date</term>
  18307. <description>
  18308. <para>
  18309. Used to output the date of the logging event in the local time zone.
  18310. To output the date in universal time use the <c>%utcdate</c> pattern.
  18311. The date conversion
  18312. specifier may be followed by a <i>date format specifier</i> enclosed
  18313. between braces. For example, <b>%date{HH:mm:ss,fff}</b> or
  18314. <b>%date{dd MMM yyyy HH:mm:ss,fff}</b>. If no date format specifier is
  18315. given then ISO8601 format is
  18316. assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
  18317. </para>
  18318. <para>
  18319. The date format specifier admits the same syntax as the
  18320. time pattern string of the <see cref="M:DateTime.ToString(string)"/>.
  18321. </para>
  18322. <para>
  18323. For better results it is recommended to use the log4net date
  18324. formatters. These can be specified using one of the strings
  18325. "ABSOLUTE", "DATE" and "ISO8601" for specifying
  18326. <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>,
  18327. <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively
  18328. <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example,
  18329. <b>%date{ISO8601}</b> or <b>%date{ABSOLUTE}</b>.
  18330. </para>
  18331. <para>
  18332. These dedicated date formatters perform significantly
  18333. better than <see cref="M:DateTime.ToString(string)"/>.
  18334. </para>
  18335. </description>
  18336. </item>
  18337. <item>
  18338. <term>exception</term>
  18339. <description>
  18340. <para>
  18341. Used to output the exception passed in with the log message.
  18342. </para>
  18343. <para>
  18344. If an exception object is stored in the logging event
  18345. it will be rendered into the pattern output with a
  18346. trailing newline.
  18347. If there is no exception then nothing will be output
  18348. and no trailing newline will be appended.
  18349. It is typical to put a newline before the exception
  18350. and to have the exception as the last data in the pattern.
  18351. </para>
  18352. </description>
  18353. </item>
  18354. <item>
  18355. <term>F</term>
  18356. <description>Equivalent to <b>file</b></description>
  18357. </item>
  18358. <item>
  18359. <term>file</term>
  18360. <description>
  18361. <para>
  18362. Used to output the file name where the logging request was
  18363. issued.
  18364. </para>
  18365. <para>
  18366. <b>WARNING</b> Generating caller location information is
  18367. extremely slow. Its use should be avoided unless execution speed
  18368. is not an issue.
  18369. </para>
  18370. <para>
  18371. See the note below on the availability of caller location information.
  18372. </para>
  18373. </description>
  18374. </item>
  18375. <item>
  18376. <term>identity</term>
  18377. <description>
  18378. <para>
  18379. Used to output the user name for the currently active user
  18380. (Principal.Identity.Name).
  18381. </para>
  18382. <para>
  18383. <b>WARNING</b> Generating caller information is
  18384. extremely slow. Its use should be avoided unless execution speed
  18385. is not an issue.
  18386. </para>
  18387. </description>
  18388. </item>
  18389. <item>
  18390. <term>l</term>
  18391. <description>Equivalent to <b>location</b></description>
  18392. </item>
  18393. <item>
  18394. <term>L</term>
  18395. <description>Equivalent to <b>line</b></description>
  18396. </item>
  18397. <item>
  18398. <term>location</term>
  18399. <description>
  18400. <para>
  18401. Used to output location information of the caller which generated
  18402. the logging event.
  18403. </para>
  18404. <para>
  18405. The location information depends on the CLI implementation but
  18406. usually consists of the fully qualified name of the calling
  18407. method followed by the callers source the file name and line
  18408. number between parentheses.
  18409. </para>
  18410. <para>
  18411. The location information can be very useful. However, its
  18412. generation is <b>extremely</b> slow. Its use should be avoided
  18413. unless execution speed is not an issue.
  18414. </para>
  18415. <para>
  18416. See the note below on the availability of caller location information.
  18417. </para>
  18418. </description>
  18419. </item>
  18420. <item>
  18421. <term>level</term>
  18422. <description>
  18423. <para>
  18424. Used to output the level of the logging event.
  18425. </para>
  18426. </description>
  18427. </item>
  18428. <item>
  18429. <term>line</term>
  18430. <description>
  18431. <para>
  18432. Used to output the line number from where the logging request
  18433. was issued.
  18434. </para>
  18435. <para>
  18436. <b>WARNING</b> Generating caller location information is
  18437. extremely slow. Its use should be avoided unless execution speed
  18438. is not an issue.
  18439. </para>
  18440. <para>
  18441. See the note below on the availability of caller location information.
  18442. </para>
  18443. </description>
  18444. </item>
  18445. <item>
  18446. <term>logger</term>
  18447. <description>
  18448. <para>
  18449. Used to output the logger of the logging event. The
  18450. logger conversion specifier can be optionally followed by
  18451. <i>precision specifier</i>, that is a decimal constant in
  18452. brackets.
  18453. </para>
  18454. <para>
  18455. If a precision specifier is given, then only the corresponding
  18456. number of right most components of the logger name will be
  18457. printed. By default the logger name is printed in full.
  18458. </para>
  18459. <para>
  18460. For example, for the logger name "a.b.c" the pattern
  18461. <b>%logger{2}</b> will output "b.c".
  18462. </para>
  18463. </description>
  18464. </item>
  18465. <item>
  18466. <term>m</term>
  18467. <description>Equivalent to <b>message</b></description>
  18468. </item>
  18469. <item>
  18470. <term>M</term>
  18471. <description>Equivalent to <b>method</b></description>
  18472. </item>
  18473. <item>
  18474. <term>message</term>
  18475. <description>
  18476. <para>
  18477. Used to output the application supplied message associated with
  18478. the logging event.
  18479. </para>
  18480. </description>
  18481. </item>
  18482. <item>
  18483. <term>mdc</term>
  18484. <description>
  18485. <para>
  18486. The MDC (old name for the ThreadContext.Properties) is now part of the
  18487. combined event properties. This pattern is supported for compatibility
  18488. but is equivalent to <b>property</b>.
  18489. </para>
  18490. </description>
  18491. </item>
  18492. <item>
  18493. <term>method</term>
  18494. <description>
  18495. <para>
  18496. Used to output the method name where the logging request was
  18497. issued.
  18498. </para>
  18499. <para>
  18500. <b>WARNING</b> Generating caller location information is
  18501. extremely slow. Its use should be avoided unless execution speed
  18502. is not an issue.
  18503. </para>
  18504. <para>
  18505. See the note below on the availability of caller location information.
  18506. </para>
  18507. </description>
  18508. </item>
  18509. <item>
  18510. <term>n</term>
  18511. <description>Equivalent to <b>newline</b></description>
  18512. </item>
  18513. <item>
  18514. <term>newline</term>
  18515. <description>
  18516. <para>
  18517. Outputs the platform dependent line separator character or
  18518. characters.
  18519. </para>
  18520. <para>
  18521. This conversion pattern offers the same performance as using
  18522. non-portable line separator strings such as "\n", or "\r\n".
  18523. Thus, it is the preferred way of specifying a line separator.
  18524. </para>
  18525. </description>
  18526. </item>
  18527. <item>
  18528. <term>ndc</term>
  18529. <description>
  18530. <para>
  18531. Used to output the NDC (nested diagnostic context) associated
  18532. with the thread that generated the logging event.
  18533. </para>
  18534. </description>
  18535. </item>
  18536. <item>
  18537. <term>p</term>
  18538. <description>Equivalent to <b>level</b></description>
  18539. </item>
  18540. <item>
  18541. <term>P</term>
  18542. <description>Equivalent to <b>property</b></description>
  18543. </item>
  18544. <item>
  18545. <term>properties</term>
  18546. <description>Equivalent to <b>property</b></description>
  18547. </item>
  18548. <item>
  18549. <term>property</term>
  18550. <description>
  18551. <para>
  18552. Used to output the an event specific property. The key to
  18553. lookup must be specified within braces and directly following the
  18554. pattern specifier, e.g. <b>%property{user}</b> would include the value
  18555. from the property that is keyed by the string 'user'. Each property value
  18556. that is to be included in the log must be specified separately.
  18557. Properties are added to events by loggers or appenders. By default
  18558. the <c>log4net:HostName</c> property is set to the name of machine on
  18559. which the event was originally logged.
  18560. </para>
  18561. <para>
  18562. If no key is specified, e.g. <b>%property</b> then all the keys and their
  18563. values are printed in a comma separated list.
  18564. </para>
  18565. <para>
  18566. The properties of an event are combined from a number of different
  18567. contexts. These are listed below in the order in which they are searched.
  18568. </para>
  18569. <list type="definition">
  18570. <item>
  18571. <term>the event properties</term>
  18572. <description>
  18573. The event has <see cref="P:log4net.Core.LoggingEvent.Properties"/> that can be set. These
  18574. properties are specific to this event only.
  18575. </description>
  18576. </item>
  18577. <item>
  18578. <term>the thread properties</term>
  18579. <description>
  18580. The <see cref="P:log4net.ThreadContext.Properties"/> that are set on the current
  18581. thread. These properties are shared by all events logged on this thread.
  18582. </description>
  18583. </item>
  18584. <item>
  18585. <term>the global properties</term>
  18586. <description>
  18587. The <see cref="P:log4net.GlobalContext.Properties"/> that are set globally. These
  18588. properties are shared by all the threads in the AppDomain.
  18589. </description>
  18590. </item>
  18591. </list>
  18592. </description>
  18593. </item>
  18594. <item>
  18595. <term>r</term>
  18596. <description>Equivalent to <b>timestamp</b></description>
  18597. </item>
  18598. <item>
  18599. <term>stacktrace</term>
  18600. <description>
  18601. <para>
  18602. Used to output the stack trace of the logging event
  18603. The stack trace level specifier may be enclosed
  18604. between braces. For example, <b>%stacktrace{level}</b>.
  18605. If no stack trace level specifier is given then 1 is assumed
  18606. </para>
  18607. <para>
  18608. Output uses the format:
  18609. type3.MethodCall3 &gt; type2.MethodCall2 &gt; type1.MethodCall1
  18610. </para>
  18611. <para>
  18612. This pattern is not available for Compact Framework assemblies.
  18613. </para>
  18614. </description>
  18615. </item>
  18616. <item>
  18617. <term>stacktracedetail</term>
  18618. <description>
  18619. <para>
  18620. Used to output the stack trace of the logging event
  18621. The stack trace level specifier may be enclosed
  18622. between braces. For example, <b>%stacktracedetail{level}</b>.
  18623. If no stack trace level specifier is given then 1 is assumed
  18624. </para>
  18625. <para>
  18626. Output uses the format:
  18627. type3.MethodCall3(type param,...) &gt; type2.MethodCall2(type param,...) &gt; type1.MethodCall1(type param,...)
  18628. </para>
  18629. <para>
  18630. This pattern is not available for Compact Framework assemblies.
  18631. </para>
  18632. </description>
  18633. </item>
  18634. <item>
  18635. <term>t</term>
  18636. <description>Equivalent to <b>thread</b></description>
  18637. </item>
  18638. <item>
  18639. <term>timestamp</term>
  18640. <description>
  18641. <para>
  18642. Used to output the number of milliseconds elapsed since the start
  18643. of the application until the creation of the logging event.
  18644. </para>
  18645. </description>
  18646. </item>
  18647. <item>
  18648. <term>thread</term>
  18649. <description>
  18650. <para>
  18651. Used to output the name of the thread that generated the
  18652. logging event. Uses the thread number if no name is available.
  18653. </para>
  18654. </description>
  18655. </item>
  18656. <item>
  18657. <term>type</term>
  18658. <description>
  18659. <para>
  18660. Used to output the fully qualified type name of the caller
  18661. issuing the logging request. This conversion specifier
  18662. can be optionally followed by <i>precision specifier</i>, that
  18663. is a decimal constant in brackets.
  18664. </para>
  18665. <para>
  18666. If a precision specifier is given, then only the corresponding
  18667. number of right most components of the class name will be
  18668. printed. By default the class name is output in fully qualified form.
  18669. </para>
  18670. <para>
  18671. For example, for the class name "log4net.Layout.PatternLayout", the
  18672. pattern <b>%type{1}</b> will output "PatternLayout".
  18673. </para>
  18674. <para>
  18675. <b>WARNING</b> Generating the caller class information is
  18676. slow. Thus, its use should be avoided unless execution speed is
  18677. not an issue.
  18678. </para>
  18679. <para>
  18680. See the note below on the availability of caller location information.
  18681. </para>
  18682. </description>
  18683. </item>
  18684. <item>
  18685. <term>u</term>
  18686. <description>Equivalent to <b>identity</b></description>
  18687. </item>
  18688. <item>
  18689. <term>username</term>
  18690. <description>
  18691. <para>
  18692. Used to output the WindowsIdentity for the currently
  18693. active user.
  18694. </para>
  18695. <para>
  18696. <b>WARNING</b> Generating caller WindowsIdentity information is
  18697. extremely slow. Its use should be avoided unless execution speed
  18698. is not an issue.
  18699. </para>
  18700. </description>
  18701. </item>
  18702. <item>
  18703. <term>utcdate</term>
  18704. <description>
  18705. <para>
  18706. Used to output the date of the logging event in universal time.
  18707. The date conversion
  18708. specifier may be followed by a <i>date format specifier</i> enclosed
  18709. between braces. For example, <b>%utcdate{HH:mm:ss,fff}</b> or
  18710. <b>%utcdate{dd MMM yyyy HH:mm:ss,fff}</b>. If no date format specifier is
  18711. given then ISO8601 format is
  18712. assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
  18713. </para>
  18714. <para>
  18715. The date format specifier admits the same syntax as the
  18716. time pattern string of the <see cref="M:DateTime.ToString(string)"/>.
  18717. </para>
  18718. <para>
  18719. For better results it is recommended to use the log4net date
  18720. formatters. These can be specified using one of the strings
  18721. "ABSOLUTE", "DATE" and "ISO8601" for specifying
  18722. <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>,
  18723. <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively
  18724. <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example,
  18725. <b>%utcdate{ISO8601}</b> or <b>%utcdate{ABSOLUTE}</b>.
  18726. </para>
  18727. <para>
  18728. These dedicated date formatters perform significantly
  18729. better than <see cref="M:DateTime.ToString(string)"/>.
  18730. </para>
  18731. </description>
  18732. </item>
  18733. <item>
  18734. <term>w</term>
  18735. <description>Equivalent to <b>username</b></description>
  18736. </item>
  18737. <item>
  18738. <term>x</term>
  18739. <description>Equivalent to <b>ndc</b></description>
  18740. </item>
  18741. <item>
  18742. <term>X</term>
  18743. <description>Equivalent to <b>mdc</b></description>
  18744. </item>
  18745. <item>
  18746. <term>%</term>
  18747. <description>
  18748. <para>
  18749. The sequence %% outputs a single percent sign.
  18750. </para>
  18751. </description>
  18752. </item>
  18753. </list>
  18754. <para>
  18755. The single letter patterns are deprecated in favor of the
  18756. longer more descriptive pattern names.
  18757. </para>
  18758. <para>
  18759. By default the relevant information is output as is. However,
  18760. with the aid of format modifiers it is possible to change the
  18761. minimum field width, the maximum field width and justification.
  18762. </para>
  18763. <para>
  18764. The optional format modifier is placed between the percent sign
  18765. and the conversion pattern name.
  18766. </para>
  18767. <para>
  18768. The first optional format modifier is the <i>left justification
  18769. flag</i> which is just the minus (-) character. Then comes the
  18770. optional <i>minimum field width</i> modifier. This is a decimal
  18771. constant that represents the minimum number of characters to
  18772. output. If the data item requires fewer characters, it is padded on
  18773. either the left or the right until the minimum width is
  18774. reached. The default is to pad on the left (right justify) but you
  18775. can specify right padding with the left justification flag. The
  18776. padding character is space. If the data item is larger than the
  18777. minimum field width, the field is expanded to accommodate the
  18778. data. The value is never truncated.
  18779. </para>
  18780. <para>
  18781. This behavior can be changed using the <i>maximum field
  18782. width</i> modifier which is designated by a period followed by a
  18783. decimal constant. If the data item is longer than the maximum
  18784. field, then the extra characters are removed from the
  18785. <i>beginning</i> of the data item and not from the end. For
  18786. example, it the maximum field width is eight and the data item is
  18787. ten characters long, then the first two characters of the data item
  18788. are dropped. This behavior deviates from the printf function in C
  18789. where truncation is done from the end.
  18790. </para>
  18791. <para>
  18792. Below are various format modifier examples for the logger
  18793. conversion specifier.
  18794. </para>
  18795. <div class="tablediv">
  18796. <table class="dtTABLE" cellspacing="0">
  18797. <tr>
  18798. <th>Format modifier</th>
  18799. <th>left justify</th>
  18800. <th>minimum width</th>
  18801. <th>maximum width</th>
  18802. <th>comment</th>
  18803. </tr>
  18804. <tr>
  18805. <td align="center">%20logger</td>
  18806. <td align="center">false</td>
  18807. <td align="center">20</td>
  18808. <td align="center">none</td>
  18809. <td>
  18810. <para>
  18811. Left pad with spaces if the logger name is less than 20
  18812. characters long.
  18813. </para>
  18814. </td>
  18815. </tr>
  18816. <tr>
  18817. <td align="center">%-20logger</td>
  18818. <td align="center">true</td>
  18819. <td align="center">20</td>
  18820. <td align="center">none</td>
  18821. <td>
  18822. <para>
  18823. Right pad with spaces if the logger
  18824. name is less than 20 characters long.
  18825. </para>
  18826. </td>
  18827. </tr>
  18828. <tr>
  18829. <td align="center">%.30logger</td>
  18830. <td align="center">NA</td>
  18831. <td align="center">none</td>
  18832. <td align="center">30</td>
  18833. <td>
  18834. <para>
  18835. Truncate from the beginning if the logger
  18836. name is longer than 30 characters.
  18837. </para>
  18838. </td>
  18839. </tr>
  18840. <tr>
  18841. <td align="center"><nobr>%20.30logger</nobr></td>
  18842. <td align="center">false</td>
  18843. <td align="center">20</td>
  18844. <td align="center">30</td>
  18845. <td>
  18846. <para>
  18847. Left pad with spaces if the logger name is shorter than 20
  18848. characters. However, if logger name is longer than 30 characters,
  18849. then truncate from the beginning.
  18850. </para>
  18851. </td>
  18852. </tr>
  18853. <tr>
  18854. <td align="center">%-20.30logger</td>
  18855. <td align="center">true</td>
  18856. <td align="center">20</td>
  18857. <td align="center">30</td>
  18858. <td>
  18859. <para>
  18860. Right pad with spaces if the logger name is shorter than 20
  18861. characters. However, if logger name is longer than 30 characters,
  18862. then truncate from the beginning.
  18863. </para>
  18864. </td>
  18865. </tr>
  18866. </table>
  18867. </div>
  18868. <para>
  18869. <b>Note about caller location information.</b><br/>
  18870. The following patterns <c>%type %file %line %method %location %class %C %F %L %l %M</c>
  18871. all generate caller location information.
  18872. Location information uses the <c>System.Diagnostics.StackTrace</c> class to generate
  18873. a call stack. The caller's information is then extracted from this stack.
  18874. </para>
  18875. <note type="caution">
  18876. <para>
  18877. The <c>System.Diagnostics.StackTrace</c> class is not supported on the
  18878. .NET Compact Framework 1.0 therefore caller location information is not
  18879. available on that framework.
  18880. </para>
  18881. </note>
  18882. <note type="caution">
  18883. <para>
  18884. The <c>System.Diagnostics.StackTrace</c> class has this to say about Release builds:
  18885. </para>
  18886. <para>
  18887. "StackTrace information will be most informative with Debug build configurations.
  18888. By default, Debug builds include debug symbols, while Release builds do not. The
  18889. debug symbols contain most of the file, method name, line number, and column
  18890. information used in constructing StackFrame and StackTrace objects. StackTrace
  18891. might not report as many method calls as expected, due to code transformations
  18892. that occur during optimization."
  18893. </para>
  18894. <para>
  18895. This means that in a Release build the caller information may be incomplete or may
  18896. not exist at all! Therefore caller location information cannot be relied upon in a Release build.
  18897. </para>
  18898. </note>
  18899. <para>
  18900. Additional pattern converters may be registered with a specific <see cref="T:log4net.Layout.PatternLayout"/>
  18901. instance using the <see cref="M:AddConverter(string, Type)"/> method.
  18902. </para>
  18903. </remarks>
  18904. <example>
  18905. This is a more detailed pattern.
  18906. <code><b>%timestamp [%thread] %level %logger %ndc - %message%newline</b></code>
  18907. </example>
  18908. <example>
  18909. A similar pattern except that the relative time is
  18910. right padded if less than 6 digits, thread name is right padded if
  18911. less than 15 characters and truncated if longer and the logger
  18912. name is left padded if shorter than 30 characters and truncated if
  18913. longer.
  18914. <code><b>%-6timestamp [%15.15thread] %-5level %30.30logger %ndc - %message%newline</b></code>
  18915. </example>
  18916. <author>Nicko Cadell</author>
  18917. <author>Gert Driesen</author>
  18918. <author>Douglas de la Torre</author>
  18919. <author>Daniel Cazzulino</author>
  18920. </member>
  18921. <member name="T:log4net.Layout.LayoutSkeleton">
  18922. <summary>
  18923. Extend this abstract class to create your own log layout format.
  18924. </summary>
  18925. <remarks>
  18926. <para>
  18927. This is the base implementation of the <see cref="T:log4net.Layout.ILayout"/>
  18928. interface. Most layout objects should extend this class.
  18929. </para>
  18930. </remarks>
  18931. <remarks>
  18932. <note type="inheritinfo">
  18933. <para>
  18934. Subclasses must implement the <see cref="M:Format(TextWriter,LoggingEvent)"/>
  18935. method.
  18936. </para>
  18937. <para>
  18938. Subclasses should set the <see cref="P:log4net.Layout.LayoutSkeleton.IgnoresException"/> in their default
  18939. constructor.
  18940. </para>
  18941. </note>
  18942. </remarks>
  18943. <author>Nicko Cadell</author>
  18944. <author>Gert Driesen</author>
  18945. </member>
  18946. <member name="T:log4net.Layout.ILayout">
  18947. <summary>
  18948. Interface implemented by layout objects
  18949. </summary>
  18950. <remarks>
  18951. <para>
  18952. An <see cref="T:log4net.Layout.ILayout"/> object is used to format a <see cref="T:log4net.Core.LoggingEvent"/>
  18953. as text. The <see cref="M:Format(TextWriter,LoggingEvent)"/> method is called by an
  18954. appender to transform the <see cref="T:log4net.Core.LoggingEvent"/> into a string.
  18955. </para>
  18956. <para>
  18957. The layout can also supply <see cref="P:log4net.Layout.ILayout.Header"/> and <see cref="P:log4net.Layout.ILayout.Footer"/>
  18958. text that is appender before any events and after all the events respectively.
  18959. </para>
  18960. </remarks>
  18961. <author>Nicko Cadell</author>
  18962. <author>Gert Driesen</author>
  18963. </member>
  18964. <member name="M:log4net.Layout.ILayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  18965. <summary>
  18966. Implement this method to create your own layout format.
  18967. </summary>
  18968. <param name="writer">The TextWriter to write the formatted event to</param>
  18969. <param name="loggingEvent">The event to format</param>
  18970. <remarks>
  18971. <para>
  18972. This method is called by an appender to format
  18973. the <paramref name="loggingEvent"/> as text and output to a writer.
  18974. </para>
  18975. <para>
  18976. If the caller does not have a <see cref="T:System.IO.TextWriter"/> and prefers the
  18977. event to be formatted as a <see cref="T:System.String"/> then the following
  18978. code can be used to format the event into a <see cref="T:System.IO.StringWriter"/>.
  18979. </para>
  18980. <code lang="C#">
  18981. StringWriter writer = new StringWriter();
  18982. Layout.Format(writer, loggingEvent);
  18983. string formattedEvent = writer.ToString();
  18984. </code>
  18985. </remarks>
  18986. </member>
  18987. <member name="P:log4net.Layout.ILayout.ContentType">
  18988. <summary>
  18989. The content type output by this layout.
  18990. </summary>
  18991. <value>The content type</value>
  18992. <remarks>
  18993. <para>
  18994. The content type output by this layout.
  18995. </para>
  18996. <para>
  18997. This is a MIME type e.g. <c>"text/plain"</c>.
  18998. </para>
  18999. </remarks>
  19000. </member>
  19001. <member name="P:log4net.Layout.ILayout.Header">
  19002. <summary>
  19003. The header for the layout format.
  19004. </summary>
  19005. <value>the layout header</value>
  19006. <remarks>
  19007. <para>
  19008. The Header text will be appended before any logging events
  19009. are formatted and appended.
  19010. </para>
  19011. </remarks>
  19012. </member>
  19013. <member name="P:log4net.Layout.ILayout.Footer">
  19014. <summary>
  19015. The footer for the layout format.
  19016. </summary>
  19017. <value>the layout footer</value>
  19018. <remarks>
  19019. <para>
  19020. The Footer text will be appended after all the logging events
  19021. have been formatted and appended.
  19022. </para>
  19023. </remarks>
  19024. </member>
  19025. <member name="P:log4net.Layout.ILayout.IgnoresException">
  19026. <summary>
  19027. Flag indicating if this layout handle exceptions
  19028. </summary>
  19029. <value><c>false</c> if this layout handles exceptions</value>
  19030. <remarks>
  19031. <para>
  19032. If this layout handles the exception object contained within
  19033. <see cref="T:log4net.Core.LoggingEvent"/>, then the layout should return
  19034. <c>false</c>. Otherwise, if the layout ignores the exception
  19035. object, then the layout should return <c>true</c>.
  19036. </para>
  19037. </remarks>
  19038. </member>
  19039. <member name="F:log4net.Layout.LayoutSkeleton.m_header">
  19040. <summary>
  19041. The header text
  19042. </summary>
  19043. <remarks>
  19044. <para>
  19045. See <see cref="P:log4net.Layout.LayoutSkeleton.Header"/> for more information.
  19046. </para>
  19047. </remarks>
  19048. </member>
  19049. <member name="F:log4net.Layout.LayoutSkeleton.m_footer">
  19050. <summary>
  19051. The footer text
  19052. </summary>
  19053. <remarks>
  19054. <para>
  19055. See <see cref="P:log4net.Layout.LayoutSkeleton.Footer"/> for more information.
  19056. </para>
  19057. </remarks>
  19058. </member>
  19059. <member name="F:log4net.Layout.LayoutSkeleton.m_ignoresException">
  19060. <summary>
  19061. Flag indicating if this layout handles exceptions
  19062. </summary>
  19063. <remarks>
  19064. <para>
  19065. <c>false</c> if this layout handles exceptions
  19066. </para>
  19067. </remarks>
  19068. </member>
  19069. <member name="M:log4net.Layout.LayoutSkeleton.#ctor">
  19070. <summary>
  19071. Empty default constructor
  19072. </summary>
  19073. <remarks>
  19074. <para>
  19075. Empty default constructor
  19076. </para>
  19077. </remarks>
  19078. </member>
  19079. <member name="M:log4net.Layout.LayoutSkeleton.ActivateOptions">
  19080. <summary>
  19081. Activate component options
  19082. </summary>
  19083. <remarks>
  19084. <para>
  19085. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  19086. activation scheme. The <see cref="M:log4net.Layout.LayoutSkeleton.ActivateOptions"/> method must
  19087. be called on this object after the configuration properties have
  19088. been set. Until <see cref="M:log4net.Layout.LayoutSkeleton.ActivateOptions"/> is called this
  19089. object is in an undefined state and must not be used.
  19090. </para>
  19091. <para>
  19092. If any of the configuration properties are modified then
  19093. <see cref="M:log4net.Layout.LayoutSkeleton.ActivateOptions"/> must be called again.
  19094. </para>
  19095. <para>
  19096. This method must be implemented by the subclass.
  19097. </para>
  19098. </remarks>
  19099. </member>
  19100. <member name="M:log4net.Layout.LayoutSkeleton.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  19101. <summary>
  19102. Implement this method to create your own layout format.
  19103. </summary>
  19104. <param name="writer">The TextWriter to write the formatted event to</param>
  19105. <param name="loggingEvent">The event to format</param>
  19106. <remarks>
  19107. <para>
  19108. This method is called by an appender to format
  19109. the <paramref name="loggingEvent"/> as text.
  19110. </para>
  19111. </remarks>
  19112. </member>
  19113. <member name="M:log4net.Layout.LayoutSkeleton.Format(log4net.Core.LoggingEvent)">
  19114. <summary>
  19115. Convenience method for easily formatting the logging event into a string variable.
  19116. </summary>
  19117. <param name="loggingEvent"></param>
  19118. <remarks>
  19119. Creates a new StringWriter instance to store the formatted logging event.
  19120. </remarks>
  19121. </member>
  19122. <member name="P:log4net.Layout.LayoutSkeleton.ContentType">
  19123. <summary>
  19124. The content type output by this layout.
  19125. </summary>
  19126. <value>The content type is <c>"text/plain"</c></value>
  19127. <remarks>
  19128. <para>
  19129. The content type output by this layout.
  19130. </para>
  19131. <para>
  19132. This base class uses the value <c>"text/plain"</c>.
  19133. To change this value a subclass must override this
  19134. property.
  19135. </para>
  19136. </remarks>
  19137. </member>
  19138. <member name="P:log4net.Layout.LayoutSkeleton.Header">
  19139. <summary>
  19140. The header for the layout format.
  19141. </summary>
  19142. <value>the layout header</value>
  19143. <remarks>
  19144. <para>
  19145. The Header text will be appended before any logging events
  19146. are formatted and appended.
  19147. </para>
  19148. </remarks>
  19149. </member>
  19150. <member name="P:log4net.Layout.LayoutSkeleton.Footer">
  19151. <summary>
  19152. The footer for the layout format.
  19153. </summary>
  19154. <value>the layout footer</value>
  19155. <remarks>
  19156. <para>
  19157. The Footer text will be appended after all the logging events
  19158. have been formatted and appended.
  19159. </para>
  19160. </remarks>
  19161. </member>
  19162. <member name="P:log4net.Layout.LayoutSkeleton.IgnoresException">
  19163. <summary>
  19164. Flag indicating if this layout handles exceptions
  19165. </summary>
  19166. <value><c>false</c> if this layout handles exceptions</value>
  19167. <remarks>
  19168. <para>
  19169. If this layout handles the exception object contained within
  19170. <see cref="T:log4net.Core.LoggingEvent"/>, then the layout should return
  19171. <c>false</c>. Otherwise, if the layout ignores the exception
  19172. object, then the layout should return <c>true</c>.
  19173. </para>
  19174. <para>
  19175. Set this value to override a this default setting. The default
  19176. value is <c>true</c>, this layout does not handle the exception.
  19177. </para>
  19178. </remarks>
  19179. </member>
  19180. <member name="F:log4net.Layout.PatternLayout.DefaultConversionPattern">
  19181. <summary>
  19182. Default pattern string for log output.
  19183. </summary>
  19184. <remarks>
  19185. <para>
  19186. Default pattern string for log output.
  19187. Currently set to the string <b>"%message%newline"</b>
  19188. which just prints the application supplied message.
  19189. </para>
  19190. </remarks>
  19191. </member>
  19192. <member name="F:log4net.Layout.PatternLayout.DetailConversionPattern">
  19193. <summary>
  19194. A detailed conversion pattern
  19195. </summary>
  19196. <remarks>
  19197. <para>
  19198. A conversion pattern which includes Time, Thread, Logger, and Nested Context.
  19199. Current value is <b>%timestamp [%thread] %level %logger %ndc - %message%newline</b>.
  19200. </para>
  19201. </remarks>
  19202. </member>
  19203. <member name="F:log4net.Layout.PatternLayout.s_globalRulesRegistry">
  19204. <summary>
  19205. Internal map of converter identifiers to converter types.
  19206. </summary>
  19207. <remarks>
  19208. <para>
  19209. This static map is overridden by the m_converterRegistry instance map
  19210. </para>
  19211. </remarks>
  19212. </member>
  19213. <member name="F:log4net.Layout.PatternLayout.m_pattern">
  19214. <summary>
  19215. the pattern
  19216. </summary>
  19217. </member>
  19218. <member name="F:log4net.Layout.PatternLayout.m_head">
  19219. <summary>
  19220. the head of the pattern converter chain
  19221. </summary>
  19222. </member>
  19223. <member name="F:log4net.Layout.PatternLayout.m_instanceRulesRegistry">
  19224. <summary>
  19225. patterns defined on this PatternLayout only
  19226. </summary>
  19227. </member>
  19228. <member name="M:log4net.Layout.PatternLayout.#cctor">
  19229. <summary>
  19230. Initialize the global registry
  19231. </summary>
  19232. <remarks>
  19233. <para>
  19234. Defines the builtin global rules.
  19235. </para>
  19236. </remarks>
  19237. </member>
  19238. <member name="M:log4net.Layout.PatternLayout.#ctor">
  19239. <summary>
  19240. Constructs a PatternLayout using the DefaultConversionPattern
  19241. </summary>
  19242. <remarks>
  19243. <para>
  19244. The default pattern just produces the application supplied message.
  19245. </para>
  19246. <para>
  19247. Note to Inheritors: This constructor calls the virtual method
  19248. <see cref="M:log4net.Layout.PatternLayout.CreatePatternParser(System.String)"/>. If you override this method be
  19249. aware that it will be called before your is called constructor.
  19250. </para>
  19251. <para>
  19252. As per the <see cref="T:log4net.Core.IOptionHandler"/> contract the <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/>
  19253. method must be called after the properties on this object have been
  19254. configured.
  19255. </para>
  19256. </remarks>
  19257. </member>
  19258. <member name="M:log4net.Layout.PatternLayout.#ctor(System.String)">
  19259. <summary>
  19260. Constructs a PatternLayout using the supplied conversion pattern
  19261. </summary>
  19262. <param name="pattern">the pattern to use</param>
  19263. <remarks>
  19264. <para>
  19265. Note to Inheritors: This constructor calls the virtual method
  19266. <see cref="M:log4net.Layout.PatternLayout.CreatePatternParser(System.String)"/>. If you override this method be
  19267. aware that it will be called before your is called constructor.
  19268. </para>
  19269. <para>
  19270. When using this constructor the <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> method
  19271. need not be called. This may not be the case when using a subclass.
  19272. </para>
  19273. </remarks>
  19274. </member>
  19275. <member name="M:log4net.Layout.PatternLayout.CreatePatternParser(System.String)">
  19276. <summary>
  19277. Create the pattern parser instance
  19278. </summary>
  19279. <param name="pattern">the pattern to parse</param>
  19280. <returns>The <see cref="T:log4net.Util.PatternParser"/> that will format the event</returns>
  19281. <remarks>
  19282. <para>
  19283. Creates the <see cref="T:log4net.Util.PatternParser"/> used to parse the conversion string. Sets the
  19284. global and instance rules on the <see cref="T:log4net.Util.PatternParser"/>.
  19285. </para>
  19286. </remarks>
  19287. </member>
  19288. <member name="M:log4net.Layout.PatternLayout.ActivateOptions">
  19289. <summary>
  19290. Initialize layout options
  19291. </summary>
  19292. <remarks>
  19293. <para>
  19294. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  19295. activation scheme. The <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> method must
  19296. be called on this object after the configuration properties have
  19297. been set. Until <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> is called this
  19298. object is in an undefined state and must not be used.
  19299. </para>
  19300. <para>
  19301. If any of the configuration properties are modified then
  19302. <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/> must be called again.
  19303. </para>
  19304. </remarks>
  19305. </member>
  19306. <member name="M:log4net.Layout.PatternLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  19307. <summary>
  19308. Produces a formatted string as specified by the conversion pattern.
  19309. </summary>
  19310. <param name="loggingEvent">the event being logged</param>
  19311. <param name="writer">The TextWriter to write the formatted event to</param>
  19312. <remarks>
  19313. <para>
  19314. Parse the <see cref="T:log4net.Core.LoggingEvent"/> using the patter format
  19315. specified in the <see cref="P:log4net.Layout.PatternLayout.ConversionPattern"/> property.
  19316. </para>
  19317. </remarks>
  19318. </member>
  19319. <member name="M:log4net.Layout.PatternLayout.AddConverter(log4net.Util.ConverterInfo)">
  19320. <summary>
  19321. Add a converter to this PatternLayout
  19322. </summary>
  19323. <param name="converterInfo">the converter info</param>
  19324. <remarks>
  19325. <para>
  19326. This version of the method is used by the configurator.
  19327. Programmatic users should use the alternative <see cref="M:AddConverter(string,Type)"/> method.
  19328. </para>
  19329. </remarks>
  19330. </member>
  19331. <member name="M:log4net.Layout.PatternLayout.AddConverter(System.String,System.Type)">
  19332. <summary>
  19333. Add a converter to this PatternLayout
  19334. </summary>
  19335. <param name="name">the name of the conversion pattern for this converter</param>
  19336. <param name="type">the type of the converter</param>
  19337. <remarks>
  19338. <para>
  19339. Add a named pattern converter to this instance. This
  19340. converter will be used in the formatting of the event.
  19341. This method must be called before <see cref="M:log4net.Layout.PatternLayout.ActivateOptions"/>.
  19342. </para>
  19343. <para>
  19344. The <paramref name="type"/> specified must extend the
  19345. <see cref="T:log4net.Util.PatternConverter"/> type.
  19346. </para>
  19347. </remarks>
  19348. </member>
  19349. <member name="P:log4net.Layout.PatternLayout.ConversionPattern">
  19350. <summary>
  19351. The pattern formatting string
  19352. </summary>
  19353. <remarks>
  19354. <para>
  19355. The <b>ConversionPattern</b> option. This is the string which
  19356. controls formatting and consists of a mix of literal content and
  19357. conversion specifiers.
  19358. </para>
  19359. </remarks>
  19360. </member>
  19361. <member name="F:log4net.Layout.DynamicPatternLayout.m_headerPatternString">
  19362. <summary>
  19363. The header PatternString
  19364. </summary>
  19365. </member>
  19366. <member name="F:log4net.Layout.DynamicPatternLayout.m_footerPatternString">
  19367. <summary>
  19368. The footer PatternString
  19369. </summary>
  19370. </member>
  19371. <member name="M:log4net.Layout.DynamicPatternLayout.#ctor">
  19372. <summary>
  19373. Constructs a DynamicPatternLayout using the DefaultConversionPattern
  19374. </summary>
  19375. <remarks>
  19376. <para>
  19377. The default pattern just produces the application supplied message.
  19378. </para>
  19379. </remarks>
  19380. </member>
  19381. <member name="M:log4net.Layout.DynamicPatternLayout.#ctor(System.String)">
  19382. <summary>
  19383. Constructs a DynamicPatternLayout using the supplied conversion pattern
  19384. </summary>
  19385. <param name="pattern">the pattern to use</param>
  19386. <remarks>
  19387. </remarks>
  19388. </member>
  19389. <member name="P:log4net.Layout.DynamicPatternLayout.Header">
  19390. <summary>
  19391. The header for the layout format.
  19392. </summary>
  19393. <value>the layout header</value>
  19394. <remarks>
  19395. <para>
  19396. The Header text will be appended before any logging events
  19397. are formatted and appended.
  19398. </para>
  19399. The pattern will be formatted on each get operation.
  19400. </remarks>
  19401. </member>
  19402. <member name="P:log4net.Layout.DynamicPatternLayout.Footer">
  19403. <summary>
  19404. The footer for the layout format.
  19405. </summary>
  19406. <value>the layout footer</value>
  19407. <remarks>
  19408. <para>
  19409. The Footer text will be appended after all the logging events
  19410. have been formatted and appended.
  19411. </para>
  19412. The pattern will be formatted on each get operation.
  19413. </remarks>
  19414. </member>
  19415. <member name="T:log4net.Layout.ExceptionLayout">
  19416. <summary>
  19417. A Layout that renders only the Exception text from the logging event
  19418. </summary>
  19419. <remarks>
  19420. <para>
  19421. A Layout that renders only the Exception text from the logging event.
  19422. </para>
  19423. <para>
  19424. This Layout should only be used with appenders that utilize multiple
  19425. layouts (e.g. <see cref="T:log4net.Appender.AdoNetAppender"/>).
  19426. </para>
  19427. </remarks>
  19428. <author>Nicko Cadell</author>
  19429. <author>Gert Driesen</author>
  19430. </member>
  19431. <member name="M:log4net.Layout.ExceptionLayout.#ctor">
  19432. <summary>
  19433. Default constructor
  19434. </summary>
  19435. <remarks>
  19436. <para>
  19437. Constructs a ExceptionLayout
  19438. </para>
  19439. </remarks>
  19440. </member>
  19441. <member name="M:log4net.Layout.ExceptionLayout.ActivateOptions">
  19442. <summary>
  19443. Activate component options
  19444. </summary>
  19445. <remarks>
  19446. <para>
  19447. Part of the <see cref="T:log4net.Core.IOptionHandler"/> component activation
  19448. framework.
  19449. </para>
  19450. <para>
  19451. This method does nothing as options become effective immediately.
  19452. </para>
  19453. </remarks>
  19454. </member>
  19455. <member name="M:log4net.Layout.ExceptionLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  19456. <summary>
  19457. Gets the exception text from the logging event
  19458. </summary>
  19459. <param name="writer">The TextWriter to write the formatted event to</param>
  19460. <param name="loggingEvent">the event being logged</param>
  19461. <remarks>
  19462. <para>
  19463. Write the exception string to the <see cref="T:System.IO.TextWriter"/>.
  19464. The exception string is retrieved from <see cref="M:LoggingEvent.GetExceptionString()"/>.
  19465. </para>
  19466. </remarks>
  19467. </member>
  19468. <member name="T:log4net.Layout.IRawLayout">
  19469. <summary>
  19470. Interface for raw layout objects
  19471. </summary>
  19472. <remarks>
  19473. <para>
  19474. Interface used to format a <see cref="T:log4net.Core.LoggingEvent"/>
  19475. to an object.
  19476. </para>
  19477. <para>
  19478. This interface should not be confused with the
  19479. <see cref="T:log4net.Layout.ILayout"/> interface. This interface is used in
  19480. only certain specialized situations where a raw object is
  19481. required rather than a formatted string. The <see cref="T:log4net.Layout.ILayout"/>
  19482. is not generally useful than this interface.
  19483. </para>
  19484. </remarks>
  19485. <author>Nicko Cadell</author>
  19486. <author>Gert Driesen</author>
  19487. </member>
  19488. <member name="M:log4net.Layout.IRawLayout.Format(log4net.Core.LoggingEvent)">
  19489. <summary>
  19490. Implement this method to create your own layout format.
  19491. </summary>
  19492. <param name="loggingEvent">The event to format</param>
  19493. <returns>returns the formatted event</returns>
  19494. <remarks>
  19495. <para>
  19496. Implement this method to create your own layout format.
  19497. </para>
  19498. </remarks>
  19499. </member>
  19500. <member name="T:log4net.Layout.Layout2RawLayoutAdapter">
  19501. <summary>
  19502. Adapts any <see cref="T:log4net.Layout.ILayout"/> to a <see cref="T:log4net.Layout.IRawLayout"/>
  19503. </summary>
  19504. <remarks>
  19505. <para>
  19506. Where an <see cref="T:log4net.Layout.IRawLayout"/> is required this adapter
  19507. allows a <see cref="T:log4net.Layout.ILayout"/> to be specified.
  19508. </para>
  19509. </remarks>
  19510. <author>Nicko Cadell</author>
  19511. <author>Gert Driesen</author>
  19512. </member>
  19513. <member name="F:log4net.Layout.Layout2RawLayoutAdapter.m_layout">
  19514. <summary>
  19515. The layout to adapt
  19516. </summary>
  19517. </member>
  19518. <member name="M:log4net.Layout.Layout2RawLayoutAdapter.#ctor(log4net.Layout.ILayout)">
  19519. <summary>
  19520. Construct a new adapter
  19521. </summary>
  19522. <param name="layout">the layout to adapt</param>
  19523. <remarks>
  19524. <para>
  19525. Create the adapter for the specified <paramref name="layout"/>.
  19526. </para>
  19527. </remarks>
  19528. </member>
  19529. <member name="M:log4net.Layout.Layout2RawLayoutAdapter.Format(log4net.Core.LoggingEvent)">
  19530. <summary>
  19531. Format the logging event as an object.
  19532. </summary>
  19533. <param name="loggingEvent">The event to format</param>
  19534. <returns>returns the formatted event</returns>
  19535. <remarks>
  19536. <para>
  19537. Format the logging event as an object.
  19538. </para>
  19539. <para>
  19540. Uses the <see cref="T:log4net.Layout.ILayout"/> object supplied to
  19541. the constructor to perform the formatting.
  19542. </para>
  19543. </remarks>
  19544. </member>
  19545. <member name="T:log4net.Layout.RawLayoutConverter">
  19546. <summary>
  19547. Type converter for the <see cref="T:log4net.Layout.IRawLayout"/> interface
  19548. </summary>
  19549. <remarks>
  19550. <para>
  19551. Used to convert objects to the <see cref="T:log4net.Layout.IRawLayout"/> interface.
  19552. Supports converting from the <see cref="T:log4net.Layout.ILayout"/> interface to
  19553. the <see cref="T:log4net.Layout.IRawLayout"/> interface using the <see cref="T:log4net.Layout.Layout2RawLayoutAdapter"/>.
  19554. </para>
  19555. </remarks>
  19556. <author>Nicko Cadell</author>
  19557. <author>Gert Driesen</author>
  19558. </member>
  19559. <member name="T:log4net.Util.TypeConverters.IConvertFrom">
  19560. <summary>
  19561. Interface supported by type converters
  19562. </summary>
  19563. <remarks>
  19564. <para>
  19565. This interface supports conversion from arbitrary types
  19566. to a single target type. See <see cref="T:log4net.Util.TypeConverters.TypeConverterAttribute"/>.
  19567. </para>
  19568. </remarks>
  19569. <author>Nicko Cadell</author>
  19570. <author>Gert Driesen</author>
  19571. </member>
  19572. <member name="M:log4net.Util.TypeConverters.IConvertFrom.CanConvertFrom(System.Type)">
  19573. <summary>
  19574. Can the source type be converted to the type supported by this object
  19575. </summary>
  19576. <param name="sourceType">the type to convert</param>
  19577. <returns>true if the conversion is possible</returns>
  19578. <remarks>
  19579. <para>
  19580. Test if the <paramref name="sourceType"/> can be converted to the
  19581. type supported by this converter.
  19582. </para>
  19583. </remarks>
  19584. </member>
  19585. <member name="M:log4net.Util.TypeConverters.IConvertFrom.ConvertFrom(System.Object)">
  19586. <summary>
  19587. Convert the source object to the type supported by this object
  19588. </summary>
  19589. <param name="source">the object to convert</param>
  19590. <returns>the converted object</returns>
  19591. <remarks>
  19592. <para>
  19593. Converts the <paramref name="source"/> to the type supported
  19594. by this converter.
  19595. </para>
  19596. </remarks>
  19597. </member>
  19598. <member name="M:log4net.Layout.RawLayoutConverter.CanConvertFrom(System.Type)">
  19599. <summary>
  19600. Can the sourceType be converted to an <see cref="T:log4net.Layout.IRawLayout"/>
  19601. </summary>
  19602. <param name="sourceType">the source to be to be converted</param>
  19603. <returns><c>true</c> if the source type can be converted to <see cref="T:log4net.Layout.IRawLayout"/></returns>
  19604. <remarks>
  19605. <para>
  19606. Test if the <paramref name="sourceType"/> can be converted to a
  19607. <see cref="T:log4net.Layout.IRawLayout"/>. Only <see cref="T:log4net.Layout.ILayout"/> is supported
  19608. as the <paramref name="sourceType"/>.
  19609. </para>
  19610. </remarks>
  19611. </member>
  19612. <member name="M:log4net.Layout.RawLayoutConverter.ConvertFrom(System.Object)">
  19613. <summary>
  19614. Convert the value to a <see cref="T:log4net.Layout.IRawLayout"/> object
  19615. </summary>
  19616. <param name="source">the value to convert</param>
  19617. <returns>the <see cref="T:log4net.Layout.IRawLayout"/> object</returns>
  19618. <remarks>
  19619. <para>
  19620. Convert the <paramref name="source"/> object to a
  19621. <see cref="T:log4net.Layout.IRawLayout"/> object. If the <paramref name="source"/> object
  19622. is a <see cref="T:log4net.Layout.ILayout"/> then the <see cref="T:log4net.Layout.Layout2RawLayoutAdapter"/>
  19623. is used to adapt between the two interfaces, otherwise an
  19624. exception is thrown.
  19625. </para>
  19626. </remarks>
  19627. </member>
  19628. <member name="T:log4net.Layout.RawPropertyLayout">
  19629. <summary>
  19630. Extract the value of a property from the <see cref="T:log4net.Core.LoggingEvent"/>
  19631. </summary>
  19632. <remarks>
  19633. <para>
  19634. Extract the value of a property from the <see cref="T:log4net.Core.LoggingEvent"/>
  19635. </para>
  19636. </remarks>
  19637. <author>Nicko Cadell</author>
  19638. </member>
  19639. <member name="M:log4net.Layout.RawPropertyLayout.#ctor">
  19640. <summary>
  19641. Constructs a RawPropertyLayout
  19642. </summary>
  19643. </member>
  19644. <member name="M:log4net.Layout.RawPropertyLayout.Format(log4net.Core.LoggingEvent)">
  19645. <summary>
  19646. Lookup the property for <see cref="P:log4net.Layout.RawPropertyLayout.Key"/>
  19647. </summary>
  19648. <param name="loggingEvent">The event to format</param>
  19649. <returns>returns property value</returns>
  19650. <remarks>
  19651. <para>
  19652. Looks up and returns the object value of the property
  19653. named <see cref="P:log4net.Layout.RawPropertyLayout.Key"/>. If there is no property defined
  19654. with than name then <c>null</c> will be returned.
  19655. </para>
  19656. </remarks>
  19657. </member>
  19658. <member name="P:log4net.Layout.RawPropertyLayout.Key">
  19659. <summary>
  19660. The name of the value to lookup in the LoggingEvent Properties collection.
  19661. </summary>
  19662. <value>
  19663. Value to lookup in the LoggingEvent Properties collection
  19664. </value>
  19665. <remarks>
  19666. <para>
  19667. String name of the property to lookup in the <see cref="T:log4net.Core.LoggingEvent"/>.
  19668. </para>
  19669. </remarks>
  19670. </member>
  19671. <member name="T:log4net.Layout.RawTimeStampLayout">
  19672. <summary>
  19673. Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
  19674. </summary>
  19675. <remarks>
  19676. <para>
  19677. Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
  19678. </para>
  19679. </remarks>
  19680. <author>Nicko Cadell</author>
  19681. <author>Gert Driesen</author>
  19682. </member>
  19683. <member name="M:log4net.Layout.RawTimeStampLayout.#ctor">
  19684. <summary>
  19685. Constructs a RawTimeStampLayout
  19686. </summary>
  19687. </member>
  19688. <member name="M:log4net.Layout.RawTimeStampLayout.Format(log4net.Core.LoggingEvent)">
  19689. <summary>
  19690. Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
  19691. </summary>
  19692. <param name="loggingEvent">The event to format</param>
  19693. <returns>returns the time stamp</returns>
  19694. <remarks>
  19695. <para>
  19696. Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
  19697. </para>
  19698. <para>
  19699. The time stamp is in local time. To format the time stamp
  19700. in universal time use <see cref="T:log4net.Layout.RawUtcTimeStampLayout"/>.
  19701. </para>
  19702. </remarks>
  19703. </member>
  19704. <member name="T:log4net.Layout.RawUtcTimeStampLayout">
  19705. <summary>
  19706. Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
  19707. </summary>
  19708. <remarks>
  19709. <para>
  19710. Extract the date from the <see cref="T:log4net.Core.LoggingEvent"/>
  19711. </para>
  19712. </remarks>
  19713. <author>Nicko Cadell</author>
  19714. <author>Gert Driesen</author>
  19715. </member>
  19716. <member name="M:log4net.Layout.RawUtcTimeStampLayout.#ctor">
  19717. <summary>
  19718. Constructs a RawUtcTimeStampLayout
  19719. </summary>
  19720. </member>
  19721. <member name="M:log4net.Layout.RawUtcTimeStampLayout.Format(log4net.Core.LoggingEvent)">
  19722. <summary>
  19723. Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
  19724. </summary>
  19725. <param name="loggingEvent">The event to format</param>
  19726. <returns>returns the time stamp</returns>
  19727. <remarks>
  19728. <para>
  19729. Gets the <see cref="P:log4net.Core.LoggingEvent.TimeStamp"/> as a <see cref="T:System.DateTime"/>.
  19730. </para>
  19731. <para>
  19732. The time stamp is in universal time. To format the time stamp
  19733. in local time use <see cref="T:log4net.Layout.RawTimeStampLayout"/>.
  19734. </para>
  19735. </remarks>
  19736. </member>
  19737. <member name="T:log4net.Layout.SimpleLayout">
  19738. <summary>
  19739. A very simple layout
  19740. </summary>
  19741. <remarks>
  19742. <para>
  19743. SimpleLayout consists of the level of the log statement,
  19744. followed by " - " and then the log message itself. For example,
  19745. <code>
  19746. DEBUG - Hello world
  19747. </code>
  19748. </para>
  19749. </remarks>
  19750. <author>Nicko Cadell</author>
  19751. <author>Gert Driesen</author>
  19752. </member>
  19753. <member name="M:log4net.Layout.SimpleLayout.#ctor">
  19754. <summary>
  19755. Constructs a SimpleLayout
  19756. </summary>
  19757. </member>
  19758. <member name="M:log4net.Layout.SimpleLayout.ActivateOptions">
  19759. <summary>
  19760. Initialize layout options
  19761. </summary>
  19762. <remarks>
  19763. <para>
  19764. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  19765. activation scheme. The <see cref="M:log4net.Layout.SimpleLayout.ActivateOptions"/> method must
  19766. be called on this object after the configuration properties have
  19767. been set. Until <see cref="M:log4net.Layout.SimpleLayout.ActivateOptions"/> is called this
  19768. object is in an undefined state and must not be used.
  19769. </para>
  19770. <para>
  19771. If any of the configuration properties are modified then
  19772. <see cref="M:log4net.Layout.SimpleLayout.ActivateOptions"/> must be called again.
  19773. </para>
  19774. </remarks>
  19775. </member>
  19776. <member name="M:log4net.Layout.SimpleLayout.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  19777. <summary>
  19778. Produces a simple formatted output.
  19779. </summary>
  19780. <param name="loggingEvent">the event being logged</param>
  19781. <param name="writer">The TextWriter to write the formatted event to</param>
  19782. <remarks>
  19783. <para>
  19784. Formats the event as the level of the even,
  19785. followed by " - " and then the log message itself. The
  19786. output is terminated by a newline.
  19787. </para>
  19788. </remarks>
  19789. </member>
  19790. <member name="T:log4net.Layout.XmlLayout">
  19791. <summary>
  19792. Layout that formats the log events as XML elements.
  19793. </summary>
  19794. <remarks>
  19795. <para>
  19796. The output of the <see cref="T:log4net.Layout.XmlLayout"/> consists of a series of
  19797. log4net:event elements. It does not output a complete well-formed XML
  19798. file. The output is designed to be included as an <em>external entity</em>
  19799. in a separate file to form a correct XML file.
  19800. </para>
  19801. <para>
  19802. For example, if <c>abc</c> is the name of the file where
  19803. the <see cref="T:log4net.Layout.XmlLayout"/> output goes, then a well-formed XML file would
  19804. be:
  19805. </para>
  19806. <code lang="XML">
  19807. &lt;?xml version="1.0" ?&gt;
  19808. &lt;!DOCTYPE log4net:events SYSTEM "log4net-events.dtd" [&lt;!ENTITY data SYSTEM "abc"&gt;]&gt;
  19809. &lt;log4net:events version="1.2" xmlns:log4net="http://logging.apache.org/log4net/schemas/log4net-events-1.2&gt;
  19810. &amp;data;
  19811. &lt;/log4net:events&gt;
  19812. </code>
  19813. <para>
  19814. This approach enforces the independence of the <see cref="T:log4net.Layout.XmlLayout"/>
  19815. and the appender where it is embedded.
  19816. </para>
  19817. <para>
  19818. The <c>version</c> attribute helps components to correctly
  19819. interpret output generated by <see cref="T:log4net.Layout.XmlLayout"/>. The value of
  19820. this attribute should be "1.2" for release 1.2 and later.
  19821. </para>
  19822. <para>
  19823. Alternatively the <c>Header</c> and <c>Footer</c> properties can be
  19824. configured to output the correct XML header, open tag and close tag.
  19825. When setting the <c>Header</c> and <c>Footer</c> properties it is essential
  19826. that the underlying data store not be appendable otherwise the data
  19827. will become invalid XML.
  19828. </para>
  19829. </remarks>
  19830. <author>Nicko Cadell</author>
  19831. <author>Gert Driesen</author>
  19832. </member>
  19833. <member name="T:log4net.Layout.XmlLayoutBase">
  19834. <summary>
  19835. Layout that formats the log events as XML elements.
  19836. </summary>
  19837. <remarks>
  19838. <para>
  19839. This is an abstract class that must be subclassed by an implementation
  19840. to conform to a specific schema.
  19841. </para>
  19842. <para>
  19843. Deriving classes must implement the <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method.
  19844. </para>
  19845. </remarks>
  19846. <author>Nicko Cadell</author>
  19847. <author>Gert Driesen</author>
  19848. </member>
  19849. <member name="M:log4net.Layout.XmlLayoutBase.#ctor">
  19850. <summary>
  19851. Protected constructor to support subclasses
  19852. </summary>
  19853. <remarks>
  19854. <para>
  19855. Initializes a new instance of the <see cref="T:log4net.Layout.XmlLayoutBase"/> class
  19856. with no location info.
  19857. </para>
  19858. </remarks>
  19859. </member>
  19860. <member name="M:log4net.Layout.XmlLayoutBase.#ctor(System.Boolean)">
  19861. <summary>
  19862. Protected constructor to support subclasses
  19863. </summary>
  19864. <remarks>
  19865. <para>
  19866. The <paramref name="locationInfo" /> parameter determines whether
  19867. location information will be output by the layout. If
  19868. <paramref name="locationInfo" /> is set to <c>true</c>, then the
  19869. file name and line number of the statement at the origin of the log
  19870. statement will be output.
  19871. </para>
  19872. <para>
  19873. If you are embedding this layout within an SMTPAppender
  19874. then make sure to set the <b>LocationInfo</b> option of that
  19875. appender as well.
  19876. </para>
  19877. </remarks>
  19878. </member>
  19879. <member name="M:log4net.Layout.XmlLayoutBase.ActivateOptions">
  19880. <summary>
  19881. Initialize layout options
  19882. </summary>
  19883. <remarks>
  19884. <para>
  19885. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  19886. activation scheme. The <see cref="M:log4net.Layout.XmlLayoutBase.ActivateOptions"/> method must
  19887. be called on this object after the configuration properties have
  19888. been set. Until <see cref="M:log4net.Layout.XmlLayoutBase.ActivateOptions"/> is called this
  19889. object is in an undefined state and must not be used.
  19890. </para>
  19891. <para>
  19892. If any of the configuration properties are modified then
  19893. <see cref="M:log4net.Layout.XmlLayoutBase.ActivateOptions"/> must be called again.
  19894. </para>
  19895. </remarks>
  19896. </member>
  19897. <member name="M:log4net.Layout.XmlLayoutBase.Format(System.IO.TextWriter,log4net.Core.LoggingEvent)">
  19898. <summary>
  19899. Produces a formatted string.
  19900. </summary>
  19901. <param name="loggingEvent">The event being logged.</param>
  19902. <param name="writer">The TextWriter to write the formatted event to</param>
  19903. <remarks>
  19904. <para>
  19905. Format the <see cref="T:log4net.Core.LoggingEvent"/> and write it to the <see cref="T:System.IO.TextWriter"/>.
  19906. </para>
  19907. <para>
  19908. This method creates an <see cref="T:System.Xml.XmlTextWriter"/> that writes to the
  19909. <paramref name="writer"/>. The <see cref="T:System.Xml.XmlTextWriter"/> is passed
  19910. to the <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method. Subclasses should override the
  19911. <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method rather than this method.
  19912. </para>
  19913. </remarks>
  19914. </member>
  19915. <member name="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)">
  19916. <summary>
  19917. Does the actual writing of the XML.
  19918. </summary>
  19919. <param name="writer">The writer to use to output the event to.</param>
  19920. <param name="loggingEvent">The event to write.</param>
  19921. <remarks>
  19922. <para>
  19923. Subclasses should override this method to format
  19924. the <see cref="T:log4net.Core.LoggingEvent"/> as XML.
  19925. </para>
  19926. </remarks>
  19927. </member>
  19928. <member name="F:log4net.Layout.XmlLayoutBase.m_locationInfo">
  19929. <summary>
  19930. Flag to indicate if location information should be included in
  19931. the XML events.
  19932. </summary>
  19933. </member>
  19934. <member name="F:log4net.Layout.XmlLayoutBase.m_invalidCharReplacement">
  19935. <summary>
  19936. The string to replace invalid chars with
  19937. </summary>
  19938. </member>
  19939. <member name="P:log4net.Layout.XmlLayoutBase.LocationInfo">
  19940. <summary>
  19941. Gets a value indicating whether to include location information in
  19942. the XML events.
  19943. </summary>
  19944. <value>
  19945. <c>true</c> if location information should be included in the XML
  19946. events; otherwise, <c>false</c>.
  19947. </value>
  19948. <remarks>
  19949. <para>
  19950. If <see cref="P:log4net.Layout.XmlLayoutBase.LocationInfo"/> is set to <c>true</c>, then the file
  19951. name and line number of the statement at the origin of the log
  19952. statement will be output.
  19953. </para>
  19954. <para>
  19955. If you are embedding this layout within an <c>SMTPAppender</c>
  19956. then make sure to set the <b>LocationInfo</b> option of that
  19957. appender as well.
  19958. </para>
  19959. </remarks>
  19960. </member>
  19961. <member name="P:log4net.Layout.XmlLayoutBase.InvalidCharReplacement">
  19962. <summary>
  19963. The string to replace characters that can not be expressed in XML with.
  19964. <remarks>
  19965. <para>
  19966. Not all characters may be expressed in XML. This property contains the
  19967. string to replace those that can not with. This defaults to a ?. Set it
  19968. to the empty string to simply remove offending characters. For more
  19969. details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets
  19970. Character replacement will occur in the log message, the property names
  19971. and the property values.
  19972. </para>
  19973. </remarks>
  19974. </summary>
  19975. </member>
  19976. <member name="P:log4net.Layout.XmlLayoutBase.ContentType">
  19977. <summary>
  19978. Gets the content type output by this layout.
  19979. </summary>
  19980. <value>
  19981. As this is the XML layout, the value is always <c>"text/xml"</c>.
  19982. </value>
  19983. <remarks>
  19984. <para>
  19985. As this is the XML layout, the value is always <c>"text/xml"</c>.
  19986. </para>
  19987. </remarks>
  19988. </member>
  19989. <member name="M:log4net.Layout.XmlLayout.#ctor">
  19990. <summary>
  19991. Constructs an XmlLayout
  19992. </summary>
  19993. </member>
  19994. <member name="M:log4net.Layout.XmlLayout.#ctor(System.Boolean)">
  19995. <summary>
  19996. Constructs an XmlLayout.
  19997. </summary>
  19998. <remarks>
  19999. <para>
  20000. The <b>LocationInfo</b> option takes a boolean value. By
  20001. default, it is set to false which means there will be no location
  20002. information output by this layout. If the the option is set to
  20003. true, then the file name and line number of the statement
  20004. at the origin of the log statement will be output.
  20005. </para>
  20006. <para>
  20007. If you are embedding this layout within an SmtpAppender
  20008. then make sure to set the <b>LocationInfo</b> option of that
  20009. appender as well.
  20010. </para>
  20011. </remarks>
  20012. </member>
  20013. <member name="M:log4net.Layout.XmlLayout.ActivateOptions">
  20014. <summary>
  20015. Initialize layout options
  20016. </summary>
  20017. <remarks>
  20018. <para>
  20019. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  20020. activation scheme. The <see cref="M:log4net.Layout.XmlLayout.ActivateOptions"/> method must
  20021. be called on this object after the configuration properties have
  20022. been set. Until <see cref="M:log4net.Layout.XmlLayout.ActivateOptions"/> is called this
  20023. object is in an undefined state and must not be used.
  20024. </para>
  20025. <para>
  20026. If any of the configuration properties are modified then
  20027. <see cref="M:log4net.Layout.XmlLayout.ActivateOptions"/> must be called again.
  20028. </para>
  20029. <para>
  20030. Builds a cache of the element names
  20031. </para>
  20032. </remarks>
  20033. </member>
  20034. <member name="M:log4net.Layout.XmlLayout.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)">
  20035. <summary>
  20036. Does the actual writing of the XML.
  20037. </summary>
  20038. <param name="writer">The writer to use to output the event to.</param>
  20039. <param name="loggingEvent">The event to write.</param>
  20040. <remarks>
  20041. <para>
  20042. Override the base class <see cref="M:log4net.Layout.XmlLayoutBase.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)"/> method
  20043. to write the <see cref="T:log4net.Core.LoggingEvent"/> to the <see cref="T:System.Xml.XmlWriter"/>.
  20044. </para>
  20045. </remarks>
  20046. </member>
  20047. <member name="F:log4net.Layout.XmlLayout.m_prefix">
  20048. <summary>
  20049. The prefix to use for all generated element names
  20050. </summary>
  20051. </member>
  20052. <member name="P:log4net.Layout.XmlLayout.Prefix">
  20053. <summary>
  20054. The prefix to use for all element names
  20055. </summary>
  20056. <remarks>
  20057. <para>
  20058. The default prefix is <b>log4net</b>. Set this property
  20059. to change the prefix. If the prefix is set to an empty string
  20060. then no prefix will be written.
  20061. </para>
  20062. </remarks>
  20063. </member>
  20064. <member name="P:log4net.Layout.XmlLayout.Base64EncodeMessage">
  20065. <summary>
  20066. Set whether or not to base64 encode the message.
  20067. </summary>
  20068. <remarks>
  20069. <para>
  20070. By default the log message will be written as text to the xml
  20071. output. This can cause problems when the message contains binary
  20072. data. By setting this to true the contents of the message will be
  20073. base64 encoded. If this is set then invalid character replacement
  20074. (see <see cref="P:log4net.Layout.XmlLayoutBase.InvalidCharReplacement"/>) will not be performed
  20075. on the log message.
  20076. </para>
  20077. </remarks>
  20078. </member>
  20079. <member name="P:log4net.Layout.XmlLayout.Base64EncodeProperties">
  20080. <summary>
  20081. Set whether or not to base64 encode the property values.
  20082. </summary>
  20083. <remarks>
  20084. <para>
  20085. By default the properties will be written as text to the xml
  20086. output. This can cause problems when one or more properties contain
  20087. binary data. By setting this to true the values of the properties
  20088. will be base64 encoded. If this is set then invalid character replacement
  20089. (see <see cref="P:log4net.Layout.XmlLayoutBase.InvalidCharReplacement"/>) will not be performed
  20090. on the property values.
  20091. </para>
  20092. </remarks>
  20093. </member>
  20094. <member name="T:log4net.Layout.XmlLayoutSchemaLog4j">
  20095. <summary>
  20096. Layout that formats the log events as XML elements compatible with the log4j schema
  20097. </summary>
  20098. <remarks>
  20099. <para>
  20100. Formats the log events according to the http://logging.apache.org/log4j schema.
  20101. </para>
  20102. </remarks>
  20103. <author>Nicko Cadell</author>
  20104. </member>
  20105. <member name="F:log4net.Layout.XmlLayoutSchemaLog4j.s_date1970">
  20106. <summary>
  20107. The 1st of January 1970 in UTC
  20108. </summary>
  20109. </member>
  20110. <member name="M:log4net.Layout.XmlLayoutSchemaLog4j.#ctor">
  20111. <summary>
  20112. Constructs an XMLLayoutSchemaLog4j
  20113. </summary>
  20114. </member>
  20115. <member name="M:log4net.Layout.XmlLayoutSchemaLog4j.#ctor(System.Boolean)">
  20116. <summary>
  20117. Constructs an XMLLayoutSchemaLog4j.
  20118. </summary>
  20119. <remarks>
  20120. <para>
  20121. The <b>LocationInfo</b> option takes a boolean value. By
  20122. default, it is set to false which means there will be no location
  20123. information output by this layout. If the the option is set to
  20124. true, then the file name and line number of the statement
  20125. at the origin of the log statement will be output.
  20126. </para>
  20127. <para>
  20128. If you are embedding this layout within an SMTPAppender
  20129. then make sure to set the <b>LocationInfo</b> option of that
  20130. appender as well.
  20131. </para>
  20132. </remarks>
  20133. </member>
  20134. <member name="M:log4net.Layout.XmlLayoutSchemaLog4j.FormatXml(System.Xml.XmlWriter,log4net.Core.LoggingEvent)">
  20135. <summary>
  20136. Actually do the writing of the xml
  20137. </summary>
  20138. <param name="writer">the writer to use</param>
  20139. <param name="loggingEvent">the event to write</param>
  20140. <remarks>
  20141. <para>
  20142. Generate XML that is compatible with the log4j schema.
  20143. </para>
  20144. </remarks>
  20145. </member>
  20146. <member name="P:log4net.Layout.XmlLayoutSchemaLog4j.Version">
  20147. <summary>
  20148. The version of the log4j schema to use.
  20149. </summary>
  20150. <remarks>
  20151. <para>
  20152. Only version 1.2 of the log4j schema is supported.
  20153. </para>
  20154. </remarks>
  20155. </member>
  20156. <member name="T:log4net.ObjectRenderer.DefaultRenderer">
  20157. <summary>
  20158. The default object Renderer.
  20159. </summary>
  20160. <remarks>
  20161. <para>
  20162. The default renderer supports rendering objects and collections to strings.
  20163. </para>
  20164. <para>
  20165. See the <see cref="M:log4net.ObjectRenderer.DefaultRenderer.RenderObject(log4net.ObjectRenderer.RendererMap,System.Object,System.IO.TextWriter)"/> method for details of the output.
  20166. </para>
  20167. </remarks>
  20168. <author>Nicko Cadell</author>
  20169. <author>Gert Driesen</author>
  20170. </member>
  20171. <member name="T:log4net.ObjectRenderer.IObjectRenderer">
  20172. <summary>
  20173. Implement this interface in order to render objects as strings
  20174. </summary>
  20175. <remarks>
  20176. <para>
  20177. Certain types require special case conversion to
  20178. string form. This conversion is done by an object renderer.
  20179. Object renderers implement the <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>
  20180. interface.
  20181. </para>
  20182. </remarks>
  20183. <author>Nicko Cadell</author>
  20184. <author>Gert Driesen</author>
  20185. </member>
  20186. <member name="M:log4net.ObjectRenderer.IObjectRenderer.RenderObject(log4net.ObjectRenderer.RendererMap,System.Object,System.IO.TextWriter)">
  20187. <summary>
  20188. Render the object <paramref name="obj"/> to a string
  20189. </summary>
  20190. <param name="rendererMap">The map used to lookup renderers</param>
  20191. <param name="obj">The object to render</param>
  20192. <param name="writer">The writer to render to</param>
  20193. <remarks>
  20194. <para>
  20195. Render the object <paramref name="obj"/> to a
  20196. string.
  20197. </para>
  20198. <para>
  20199. The <paramref name="rendererMap"/> parameter is
  20200. provided to lookup and render other objects. This is
  20201. very useful where <paramref name="obj"/> contains
  20202. nested objects of unknown type. The <see cref="M:RendererMap.FindAndRender(object, TextWriter)"/>
  20203. method can be used to render these objects.
  20204. </para>
  20205. </remarks>
  20206. </member>
  20207. <member name="M:log4net.ObjectRenderer.DefaultRenderer.#ctor">
  20208. <summary>
  20209. Default constructor
  20210. </summary>
  20211. <remarks>
  20212. <para>
  20213. Default constructor
  20214. </para>
  20215. </remarks>
  20216. </member>
  20217. <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderObject(log4net.ObjectRenderer.RendererMap,System.Object,System.IO.TextWriter)">
  20218. <summary>
  20219. Render the object <paramref name="obj"/> to a string
  20220. </summary>
  20221. <param name="rendererMap">The map used to lookup renderers</param>
  20222. <param name="obj">The object to render</param>
  20223. <param name="writer">The writer to render to</param>
  20224. <remarks>
  20225. <para>
  20226. Render the object <paramref name="obj"/> to a string.
  20227. </para>
  20228. <para>
  20229. The <paramref name="rendererMap"/> parameter is
  20230. provided to lookup and render other objects. This is
  20231. very useful where <paramref name="obj"/> contains
  20232. nested objects of unknown type. The <see cref="M:RendererMap.FindAndRender(object)"/>
  20233. method can be used to render these objects.
  20234. </para>
  20235. <para>
  20236. The default renderer supports rendering objects to strings as follows:
  20237. </para>
  20238. <list type="table">
  20239. <listheader>
  20240. <term>Value</term>
  20241. <description>Rendered String</description>
  20242. </listheader>
  20243. <item>
  20244. <term><c>null</c></term>
  20245. <description>
  20246. <para>"(null)"</para>
  20247. </description>
  20248. </item>
  20249. <item>
  20250. <term><see cref="T:System.Array"/></term>
  20251. <description>
  20252. <para>
  20253. For a one dimensional array this is the
  20254. array type name, an open brace, followed by a comma
  20255. separated list of the elements (using the appropriate
  20256. renderer), followed by a close brace.
  20257. </para>
  20258. <para>
  20259. For example: <c>int[] {1, 2, 3}</c>.
  20260. </para>
  20261. <para>
  20262. If the array is not one dimensional the
  20263. <c>Array.ToString()</c> is returned.
  20264. </para>
  20265. </description>
  20266. </item>
  20267. <item>
  20268. <term><see cref="T:System.Collections.IEnumerable"/>, <see cref="T:System.Collections.ICollection"/> &amp; <see cref="T:System.Collections.IEnumerator"/></term>
  20269. <description>
  20270. <para>
  20271. Rendered as an open brace, followed by a comma
  20272. separated list of the elements (using the appropriate
  20273. renderer), followed by a close brace.
  20274. </para>
  20275. <para>
  20276. For example: <c>{a, b, c}</c>.
  20277. </para>
  20278. <para>
  20279. All collection classes that implement <see cref="T:System.Collections.ICollection"/> its subclasses,
  20280. or generic equivalents all implement the <see cref="T:System.Collections.IEnumerable"/> interface.
  20281. </para>
  20282. </description>
  20283. </item>
  20284. <item>
  20285. <term><see cref="T:System.Collections.DictionaryEntry"/></term>
  20286. <description>
  20287. <para>
  20288. Rendered as the key, an equals sign ('='), and the value (using the appropriate
  20289. renderer).
  20290. </para>
  20291. <para>
  20292. For example: <c>key=value</c>.
  20293. </para>
  20294. </description>
  20295. </item>
  20296. <item>
  20297. <term>other</term>
  20298. <description>
  20299. <para><c>Object.ToString()</c></para>
  20300. </description>
  20301. </item>
  20302. </list>
  20303. </remarks>
  20304. </member>
  20305. <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderArray(log4net.ObjectRenderer.RendererMap,System.Array,System.IO.TextWriter)">
  20306. <summary>
  20307. Render the array argument into a string
  20308. </summary>
  20309. <param name="rendererMap">The map used to lookup renderers</param>
  20310. <param name="array">the array to render</param>
  20311. <param name="writer">The writer to render to</param>
  20312. <remarks>
  20313. <para>
  20314. For a one dimensional array this is the
  20315. array type name, an open brace, followed by a comma
  20316. separated list of the elements (using the appropriate
  20317. renderer), followed by a close brace. For example:
  20318. <c>int[] {1, 2, 3}</c>.
  20319. </para>
  20320. <para>
  20321. If the array is not one dimensional the
  20322. <c>Array.ToString()</c> is returned.
  20323. </para>
  20324. </remarks>
  20325. </member>
  20326. <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderEnumerator(log4net.ObjectRenderer.RendererMap,System.Collections.IEnumerator,System.IO.TextWriter)">
  20327. <summary>
  20328. Render the enumerator argument into a string
  20329. </summary>
  20330. <param name="rendererMap">The map used to lookup renderers</param>
  20331. <param name="enumerator">the enumerator to render</param>
  20332. <param name="writer">The writer to render to</param>
  20333. <remarks>
  20334. <para>
  20335. Rendered as an open brace, followed by a comma
  20336. separated list of the elements (using the appropriate
  20337. renderer), followed by a close brace. For example:
  20338. <c>{a, b, c}</c>.
  20339. </para>
  20340. </remarks>
  20341. </member>
  20342. <member name="M:log4net.ObjectRenderer.DefaultRenderer.RenderDictionaryEntry(log4net.ObjectRenderer.RendererMap,System.Collections.DictionaryEntry,System.IO.TextWriter)">
  20343. <summary>
  20344. Render the DictionaryEntry argument into a string
  20345. </summary>
  20346. <param name="rendererMap">The map used to lookup renderers</param>
  20347. <param name="entry">the DictionaryEntry to render</param>
  20348. <param name="writer">The writer to render to</param>
  20349. <remarks>
  20350. <para>
  20351. Render the key, an equals sign ('='), and the value (using the appropriate
  20352. renderer). For example: <c>key=value</c>.
  20353. </para>
  20354. </remarks>
  20355. </member>
  20356. <member name="T:log4net.ObjectRenderer.RendererMap">
  20357. <summary>
  20358. Map class objects to an <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
  20359. </summary>
  20360. <remarks>
  20361. <para>
  20362. Maintains a mapping between types that require special
  20363. rendering and the <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> that
  20364. is used to render them.
  20365. </para>
  20366. <para>
  20367. The <see cref="M:FindAndRender(object)"/> method is used to render an
  20368. <c>object</c> using the appropriate renderers defined in this map.
  20369. </para>
  20370. </remarks>
  20371. <author>Nicko Cadell</author>
  20372. <author>Gert Driesen</author>
  20373. </member>
  20374. <member name="M:log4net.ObjectRenderer.RendererMap.#ctor">
  20375. <summary>
  20376. Default Constructor
  20377. </summary>
  20378. <remarks>
  20379. <para>
  20380. Default constructor.
  20381. </para>
  20382. </remarks>
  20383. </member>
  20384. <member name="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object)">
  20385. <summary>
  20386. Render <paramref name="obj"/> using the appropriate renderer.
  20387. </summary>
  20388. <param name="obj">the object to render to a string</param>
  20389. <returns>the object rendered as a string</returns>
  20390. <remarks>
  20391. <para>
  20392. This is a convenience method used to render an object to a string.
  20393. The alternative method <see cref="M:FindAndRender(object,TextWriter)"/>
  20394. should be used when streaming output to a <see cref="T:System.IO.TextWriter"/>.
  20395. </para>
  20396. </remarks>
  20397. </member>
  20398. <member name="M:log4net.ObjectRenderer.RendererMap.FindAndRender(System.Object,System.IO.TextWriter)">
  20399. <summary>
  20400. Render <paramref name="obj"/> using the appropriate renderer.
  20401. </summary>
  20402. <param name="obj">the object to render to a string</param>
  20403. <param name="writer">The writer to render to</param>
  20404. <remarks>
  20405. <para>
  20406. Find the appropriate renderer for the type of the
  20407. <paramref name="obj"/> parameter. This is accomplished by calling the
  20408. <see cref="M:Get(Type)"/> method. Once a renderer is found, it is
  20409. applied on the object <paramref name="obj"/> and the result is returned
  20410. as a <see cref="T:System.String"/>.
  20411. </para>
  20412. </remarks>
  20413. </member>
  20414. <member name="M:log4net.ObjectRenderer.RendererMap.Get(System.Object)">
  20415. <summary>
  20416. Gets the renderer for the specified object type
  20417. </summary>
  20418. <param name="obj">the object to lookup the renderer for</param>
  20419. <returns>the renderer for <paramref name="obj"/></returns>
  20420. <remarks>
  20421. <param>
  20422. Gets the renderer for the specified object type.
  20423. </param>
  20424. <param>
  20425. Syntactic sugar method that calls <see cref="M:Get(Type)"/>
  20426. with the type of the object parameter.
  20427. </param>
  20428. </remarks>
  20429. </member>
  20430. <member name="M:log4net.ObjectRenderer.RendererMap.Get(System.Type)">
  20431. <summary>
  20432. Gets the renderer for the specified type
  20433. </summary>
  20434. <param name="type">the type to lookup the renderer for</param>
  20435. <returns>the renderer for the specified type</returns>
  20436. <remarks>
  20437. <para>
  20438. Returns the renderer for the specified type.
  20439. If no specific renderer has been defined the
  20440. <see cref="P:log4net.ObjectRenderer.RendererMap.DefaultRenderer"/> will be returned.
  20441. </para>
  20442. </remarks>
  20443. </member>
  20444. <member name="M:log4net.ObjectRenderer.RendererMap.SearchTypeAndInterfaces(System.Type)">
  20445. <summary>
  20446. Internal function to recursively search interfaces
  20447. </summary>
  20448. <param name="type">the type to lookup the renderer for</param>
  20449. <returns>the renderer for the specified type</returns>
  20450. </member>
  20451. <member name="M:log4net.ObjectRenderer.RendererMap.Clear">
  20452. <summary>
  20453. Clear the map of renderers
  20454. </summary>
  20455. <remarks>
  20456. <para>
  20457. Clear the custom renderers defined by using
  20458. <see cref="M:log4net.ObjectRenderer.RendererMap.Put(System.Type,log4net.ObjectRenderer.IObjectRenderer)"/>. The <see cref="P:log4net.ObjectRenderer.RendererMap.DefaultRenderer"/>
  20459. cannot be removed.
  20460. </para>
  20461. </remarks>
  20462. </member>
  20463. <member name="M:log4net.ObjectRenderer.RendererMap.Put(System.Type,log4net.ObjectRenderer.IObjectRenderer)">
  20464. <summary>
  20465. Register an <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> for <paramref name="typeToRender"/>.
  20466. </summary>
  20467. <param name="typeToRender">the type that will be rendered by <paramref name="renderer"/></param>
  20468. <param name="renderer">the renderer for <paramref name="typeToRender"/></param>
  20469. <remarks>
  20470. <para>
  20471. Register an object renderer for a specific source type.
  20472. This renderer will be returned from a call to <see cref="M:Get(Type)"/>
  20473. specifying the same <paramref name="typeToRender"/> as an argument.
  20474. </para>
  20475. </remarks>
  20476. </member>
  20477. <member name="P:log4net.ObjectRenderer.RendererMap.DefaultRenderer">
  20478. <summary>
  20479. Get the default renderer instance
  20480. </summary>
  20481. <value>the default renderer</value>
  20482. <remarks>
  20483. <para>
  20484. Get the default renderer
  20485. </para>
  20486. </remarks>
  20487. </member>
  20488. <member name="T:log4net.Plugin.IPlugin">
  20489. <summary>
  20490. Interface implemented by logger repository plugins.
  20491. </summary>
  20492. <remarks>
  20493. <para>
  20494. Plugins define additional behavior that can be associated
  20495. with a <see cref="T:log4net.Repository.ILoggerRepository"/>.
  20496. The <see cref="T:log4net.Plugin.PluginMap"/> held by the <see cref="P:log4net.Repository.ILoggerRepository.PluginMap"/>
  20497. property is used to store the plugins for a repository.
  20498. </para>
  20499. <para>
  20500. The <c>log4net.Config.PluginAttribute</c> can be used to
  20501. attach plugins to repositories created using configuration
  20502. attributes.
  20503. </para>
  20504. </remarks>
  20505. <author>Nicko Cadell</author>
  20506. <author>Gert Driesen</author>
  20507. </member>
  20508. <member name="M:log4net.Plugin.IPlugin.Attach(log4net.Repository.ILoggerRepository)">
  20509. <summary>
  20510. Attaches the plugin to the specified <see cref="T:log4net.Repository.ILoggerRepository"/>.
  20511. </summary>
  20512. <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin should be attached to.</param>
  20513. <remarks>
  20514. <para>
  20515. A plugin may only be attached to a single repository.
  20516. </para>
  20517. <para>
  20518. This method is called when the plugin is attached to the repository.
  20519. </para>
  20520. </remarks>
  20521. </member>
  20522. <member name="M:log4net.Plugin.IPlugin.Shutdown">
  20523. <summary>
  20524. Is called when the plugin is to shutdown.
  20525. </summary>
  20526. <remarks>
  20527. <para>
  20528. This method is called to notify the plugin that
  20529. it should stop operating and should detach from
  20530. the repository.
  20531. </para>
  20532. </remarks>
  20533. </member>
  20534. <member name="P:log4net.Plugin.IPlugin.Name">
  20535. <summary>
  20536. Gets the name of the plugin.
  20537. </summary>
  20538. <value>
  20539. The name of the plugin.
  20540. </value>
  20541. <remarks>
  20542. <para>
  20543. Plugins are stored in the <see cref="T:log4net.Plugin.PluginMap"/>
  20544. keyed by name. Each plugin instance attached to a
  20545. repository must be a unique name.
  20546. </para>
  20547. </remarks>
  20548. </member>
  20549. <member name="T:log4net.Plugin.PluginCollection">
  20550. <summary>
  20551. A strongly-typed collection of <see cref="T:log4net.Plugin.IPlugin"/> objects.
  20552. </summary>
  20553. <author>Nicko Cadell</author>
  20554. </member>
  20555. <member name="M:log4net.Plugin.PluginCollection.ReadOnly(log4net.Plugin.PluginCollection)">
  20556. <summary>
  20557. Creates a read-only wrapper for a <c>PluginCollection</c> instance.
  20558. </summary>
  20559. <param name="list">list to create a readonly wrapper arround</param>
  20560. <returns>
  20561. A <c>PluginCollection</c> wrapper that is read-only.
  20562. </returns>
  20563. </member>
  20564. <member name="M:log4net.Plugin.PluginCollection.#ctor">
  20565. <summary>
  20566. Initializes a new instance of the <c>PluginCollection</c> class
  20567. that is empty and has the default initial capacity.
  20568. </summary>
  20569. </member>
  20570. <member name="M:log4net.Plugin.PluginCollection.#ctor(System.Int32)">
  20571. <summary>
  20572. Initializes a new instance of the <c>PluginCollection</c> class
  20573. that has the specified initial capacity.
  20574. </summary>
  20575. <param name="capacity">
  20576. The number of elements that the new <c>PluginCollection</c> is initially capable of storing.
  20577. </param>
  20578. </member>
  20579. <member name="M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.PluginCollection)">
  20580. <summary>
  20581. Initializes a new instance of the <c>PluginCollection</c> class
  20582. that contains elements copied from the specified <c>PluginCollection</c>.
  20583. </summary>
  20584. <param name="c">The <c>PluginCollection</c> whose elements are copied to the new collection.</param>
  20585. </member>
  20586. <member name="M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.IPlugin[])">
  20587. <summary>
  20588. Initializes a new instance of the <c>PluginCollection</c> class
  20589. that contains elements copied from the specified <see cref="T:log4net.Plugin.IPlugin"/> array.
  20590. </summary>
  20591. <param name="a">The <see cref="T:log4net.Plugin.IPlugin"/> array whose elements are copied to the new list.</param>
  20592. </member>
  20593. <member name="M:log4net.Plugin.PluginCollection.#ctor(System.Collections.ICollection)">
  20594. <summary>
  20595. Initializes a new instance of the <c>PluginCollection</c> class
  20596. that contains elements copied from the specified <see cref="T:log4net.Plugin.IPlugin"/> collection.
  20597. </summary>
  20598. <param name="col">The <see cref="T:log4net.Plugin.IPlugin"/> collection whose elements are copied to the new list.</param>
  20599. </member>
  20600. <member name="M:log4net.Plugin.PluginCollection.#ctor(log4net.Plugin.PluginCollection.Tag)">
  20601. <summary>
  20602. Allow subclasses to avoid our default constructors
  20603. </summary>
  20604. <param name="tag"></param>
  20605. <exclude/>
  20606. </member>
  20607. <member name="M:log4net.Plugin.PluginCollection.CopyTo(log4net.Plugin.IPlugin[])">
  20608. <summary>
  20609. Copies the entire <c>PluginCollection</c> to a one-dimensional
  20610. <see cref="T:log4net.Plugin.IPlugin"/> array.
  20611. </summary>
  20612. <param name="array">The one-dimensional <see cref="T:log4net.Plugin.IPlugin"/> array to copy to.</param>
  20613. </member>
  20614. <member name="M:log4net.Plugin.PluginCollection.CopyTo(log4net.Plugin.IPlugin[],System.Int32)">
  20615. <summary>
  20616. Copies the entire <c>PluginCollection</c> to a one-dimensional
  20617. <see cref="T:log4net.Plugin.IPlugin"/> array, starting at the specified index of the target array.
  20618. </summary>
  20619. <param name="array">The one-dimensional <see cref="T:log4net.Plugin.IPlugin"/> array to copy to.</param>
  20620. <param name="start">The zero-based index in <paramref name="array"/> at which copying begins.</param>
  20621. </member>
  20622. <member name="M:log4net.Plugin.PluginCollection.Add(log4net.Plugin.IPlugin)">
  20623. <summary>
  20624. Adds a <see cref="T:log4net.Plugin.IPlugin"/> to the end of the <c>PluginCollection</c>.
  20625. </summary>
  20626. <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to be added to the end of the <c>PluginCollection</c>.</param>
  20627. <returns>The index at which the value has been added.</returns>
  20628. </member>
  20629. <member name="M:log4net.Plugin.PluginCollection.Clear">
  20630. <summary>
  20631. Removes all elements from the <c>PluginCollection</c>.
  20632. </summary>
  20633. </member>
  20634. <member name="M:log4net.Plugin.PluginCollection.Clone">
  20635. <summary>
  20636. Creates a shallow copy of the <see cref="T:log4net.Plugin.PluginCollection"/>.
  20637. </summary>
  20638. <returns>A new <see cref="T:log4net.Plugin.PluginCollection"/> with a shallow copy of the collection data.</returns>
  20639. </member>
  20640. <member name="M:log4net.Plugin.PluginCollection.Contains(log4net.Plugin.IPlugin)">
  20641. <summary>
  20642. Determines whether a given <see cref="T:log4net.Plugin.IPlugin"/> is in the <c>PluginCollection</c>.
  20643. </summary>
  20644. <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to check for.</param>
  20645. <returns><c>true</c> if <paramref name="item"/> is found in the <c>PluginCollection</c>; otherwise, <c>false</c>.</returns>
  20646. </member>
  20647. <member name="M:log4net.Plugin.PluginCollection.IndexOf(log4net.Plugin.IPlugin)">
  20648. <summary>
  20649. Returns the zero-based index of the first occurrence of a <see cref="T:log4net.Plugin.IPlugin"/>
  20650. in the <c>PluginCollection</c>.
  20651. </summary>
  20652. <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to locate in the <c>PluginCollection</c>.</param>
  20653. <returns>
  20654. The zero-based index of the first occurrence of <paramref name="item"/>
  20655. in the entire <c>PluginCollection</c>, if found; otherwise, -1.
  20656. </returns>
  20657. </member>
  20658. <member name="M:log4net.Plugin.PluginCollection.Insert(System.Int32,log4net.Plugin.IPlugin)">
  20659. <summary>
  20660. Inserts an element into the <c>PluginCollection</c> at the specified index.
  20661. </summary>
  20662. <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
  20663. <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to insert.</param>
  20664. <exception cref="T:System.ArgumentOutOfRangeException">
  20665. <para><paramref name="index"/> is less than zero</para>
  20666. <para>-or-</para>
  20667. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
  20668. </exception>
  20669. </member>
  20670. <member name="M:log4net.Plugin.PluginCollection.Remove(log4net.Plugin.IPlugin)">
  20671. <summary>
  20672. Removes the first occurrence of a specific <see cref="T:log4net.Plugin.IPlugin"/> from the <c>PluginCollection</c>.
  20673. </summary>
  20674. <param name="item">The <see cref="T:log4net.Plugin.IPlugin"/> to remove from the <c>PluginCollection</c>.</param>
  20675. <exception cref="T:System.ArgumentException">
  20676. The specified <see cref="T:log4net.Plugin.IPlugin"/> was not found in the <c>PluginCollection</c>.
  20677. </exception>
  20678. </member>
  20679. <member name="M:log4net.Plugin.PluginCollection.RemoveAt(System.Int32)">
  20680. <summary>
  20681. Removes the element at the specified index of the <c>PluginCollection</c>.
  20682. </summary>
  20683. <param name="index">The zero-based index of the element to remove.</param>
  20684. <exception cref="T:System.ArgumentOutOfRangeException">
  20685. <para><paramref name="index"/> is less than zero.</para>
  20686. <para>-or-</para>
  20687. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
  20688. </exception>
  20689. </member>
  20690. <member name="M:log4net.Plugin.PluginCollection.GetEnumerator">
  20691. <summary>
  20692. Returns an enumerator that can iterate through the <c>PluginCollection</c>.
  20693. </summary>
  20694. <returns>An <see cref="T:log4net.Plugin.PluginCollection.Enumerator"/> for the entire <c>PluginCollection</c>.</returns>
  20695. </member>
  20696. <member name="M:log4net.Plugin.PluginCollection.AddRange(log4net.Plugin.PluginCollection)">
  20697. <summary>
  20698. Adds the elements of another <c>PluginCollection</c> to the current <c>PluginCollection</c>.
  20699. </summary>
  20700. <param name="x">The <c>PluginCollection</c> whose elements should be added to the end of the current <c>PluginCollection</c>.</param>
  20701. <returns>The new <see cref="P:log4net.Plugin.PluginCollection.Count"/> of the <c>PluginCollection</c>.</returns>
  20702. </member>
  20703. <member name="M:log4net.Plugin.PluginCollection.AddRange(log4net.Plugin.IPlugin[])">
  20704. <summary>
  20705. Adds the elements of a <see cref="T:log4net.Plugin.IPlugin"/> array to the current <c>PluginCollection</c>.
  20706. </summary>
  20707. <param name="x">The <see cref="T:log4net.Plugin.IPlugin"/> array whose elements should be added to the end of the <c>PluginCollection</c>.</param>
  20708. <returns>The new <see cref="P:log4net.Plugin.PluginCollection.Count"/> of the <c>PluginCollection</c>.</returns>
  20709. </member>
  20710. <member name="M:log4net.Plugin.PluginCollection.AddRange(System.Collections.ICollection)">
  20711. <summary>
  20712. Adds the elements of a <see cref="T:log4net.Plugin.IPlugin"/> collection to the current <c>PluginCollection</c>.
  20713. </summary>
  20714. <param name="col">The <see cref="T:log4net.Plugin.IPlugin"/> collection whose elements should be added to the end of the <c>PluginCollection</c>.</param>
  20715. <returns>The new <see cref="P:log4net.Plugin.PluginCollection.Count"/> of the <c>PluginCollection</c>.</returns>
  20716. </member>
  20717. <member name="M:log4net.Plugin.PluginCollection.TrimToSize">
  20718. <summary>
  20719. Sets the capacity to the actual number of elements.
  20720. </summary>
  20721. </member>
  20722. <member name="M:log4net.Plugin.PluginCollection.ValidateIndex(System.Int32)">
  20723. <exception cref="T:System.ArgumentOutOfRangeException">
  20724. <para><paramref name="i"/> is less than zero.</para>
  20725. <para>-or-</para>
  20726. <para><paramref name="i"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
  20727. </exception>
  20728. </member>
  20729. <member name="M:log4net.Plugin.PluginCollection.ValidateIndex(System.Int32,System.Boolean)">
  20730. <exception cref="T:System.ArgumentOutOfRangeException">
  20731. <para><paramref name="i"/> is less than zero.</para>
  20732. <para>-or-</para>
  20733. <para><paramref name="i"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
  20734. </exception>
  20735. </member>
  20736. <member name="P:log4net.Plugin.PluginCollection.Count">
  20737. <summary>
  20738. Gets the number of elements actually contained in the <c>PluginCollection</c>.
  20739. </summary>
  20740. </member>
  20741. <member name="P:log4net.Plugin.PluginCollection.IsSynchronized">
  20742. <summary>
  20743. Gets a value indicating whether access to the collection is synchronized (thread-safe).
  20744. </summary>
  20745. <returns>true if access to the ICollection is synchronized (thread-safe); otherwise, false.</returns>
  20746. </member>
  20747. <member name="P:log4net.Plugin.PluginCollection.SyncRoot">
  20748. <summary>
  20749. Gets an object that can be used to synchronize access to the collection.
  20750. </summary>
  20751. <value>
  20752. An object that can be used to synchronize access to the collection.
  20753. </value>
  20754. </member>
  20755. <member name="P:log4net.Plugin.PluginCollection.Item(System.Int32)">
  20756. <summary>
  20757. Gets or sets the <see cref="T:log4net.Plugin.IPlugin"/> at the specified index.
  20758. </summary>
  20759. <value>
  20760. The <see cref="T:log4net.Plugin.IPlugin"/> at the specified index.
  20761. </value>
  20762. <param name="index">The zero-based index of the element to get or set.</param>
  20763. <exception cref="T:System.ArgumentOutOfRangeException">
  20764. <para><paramref name="index"/> is less than zero.</para>
  20765. <para>-or-</para>
  20766. <para><paramref name="index"/> is equal to or greater than <see cref="P:log4net.Plugin.PluginCollection.Count"/>.</para>
  20767. </exception>
  20768. </member>
  20769. <member name="P:log4net.Plugin.PluginCollection.IsFixedSize">
  20770. <summary>
  20771. Gets a value indicating whether the collection has a fixed size.
  20772. </summary>
  20773. <value><c>true</c> if the collection has a fixed size; otherwise, <c>false</c>. The default is <c>false</c>.</value>
  20774. </member>
  20775. <member name="P:log4net.Plugin.PluginCollection.IsReadOnly">
  20776. <summary>
  20777. Gets a value indicating whether the IList is read-only.
  20778. </summary>
  20779. <value><c>true</c> if the collection is read-only; otherwise, <c>false</c>. The default is <c>false</c>.</value>
  20780. </member>
  20781. <member name="P:log4net.Plugin.PluginCollection.Capacity">
  20782. <summary>
  20783. Gets or sets the number of elements the <c>PluginCollection</c> can contain.
  20784. </summary>
  20785. <value>
  20786. The number of elements the <c>PluginCollection</c> can contain.
  20787. </value>
  20788. </member>
  20789. <member name="T:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator">
  20790. <summary>
  20791. Supports type-safe iteration over a <see cref="T:log4net.Plugin.PluginCollection"/>.
  20792. </summary>
  20793. <exclude/>
  20794. </member>
  20795. <member name="M:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator.MoveNext">
  20796. <summary>
  20797. Advances the enumerator to the next element in the collection.
  20798. </summary>
  20799. <returns>
  20800. <c>true</c> if the enumerator was successfully advanced to the next element;
  20801. <c>false</c> if the enumerator has passed the end of the collection.
  20802. </returns>
  20803. <exception cref="T:System.InvalidOperationException">
  20804. The collection was modified after the enumerator was created.
  20805. </exception>
  20806. </member>
  20807. <member name="M:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator.Reset">
  20808. <summary>
  20809. Sets the enumerator to its initial position, before the first element in the collection.
  20810. </summary>
  20811. </member>
  20812. <member name="P:log4net.Plugin.PluginCollection.IPluginCollectionEnumerator.Current">
  20813. <summary>
  20814. Gets the current element in the collection.
  20815. </summary>
  20816. </member>
  20817. <member name="T:log4net.Plugin.PluginCollection.Tag">
  20818. <summary>
  20819. Type visible only to our subclasses
  20820. Used to access protected constructor
  20821. </summary>
  20822. <exclude/>
  20823. </member>
  20824. <member name="F:log4net.Plugin.PluginCollection.Tag.Default">
  20825. <summary>
  20826. A value
  20827. </summary>
  20828. </member>
  20829. <member name="T:log4net.Plugin.PluginCollection.Enumerator">
  20830. <summary>
  20831. Supports simple iteration over a <see cref="T:log4net.Plugin.PluginCollection"/>.
  20832. </summary>
  20833. <exclude/>
  20834. </member>
  20835. <member name="M:log4net.Plugin.PluginCollection.Enumerator.#ctor(log4net.Plugin.PluginCollection)">
  20836. <summary>
  20837. Initializes a new instance of the <c>Enumerator</c> class.
  20838. </summary>
  20839. <param name="tc"></param>
  20840. </member>
  20841. <member name="M:log4net.Plugin.PluginCollection.Enumerator.MoveNext">
  20842. <summary>
  20843. Advances the enumerator to the next element in the collection.
  20844. </summary>
  20845. <returns>
  20846. <c>true</c> if the enumerator was successfully advanced to the next element;
  20847. <c>false</c> if the enumerator has passed the end of the collection.
  20848. </returns>
  20849. <exception cref="T:System.InvalidOperationException">
  20850. The collection was modified after the enumerator was created.
  20851. </exception>
  20852. </member>
  20853. <member name="M:log4net.Plugin.PluginCollection.Enumerator.Reset">
  20854. <summary>
  20855. Sets the enumerator to its initial position, before the first element in the collection.
  20856. </summary>
  20857. </member>
  20858. <member name="P:log4net.Plugin.PluginCollection.Enumerator.Current">
  20859. <summary>
  20860. Gets the current element in the collection.
  20861. </summary>
  20862. <value>
  20863. The current element in the collection.
  20864. </value>
  20865. </member>
  20866. <member name="T:log4net.Plugin.PluginCollection.ReadOnlyPluginCollection">
  20867. <exclude/>
  20868. </member>
  20869. <member name="T:log4net.Plugin.PluginMap">
  20870. <summary>
  20871. Map of repository plugins.
  20872. </summary>
  20873. <remarks>
  20874. <para>
  20875. This class is a name keyed map of the plugins that are
  20876. attached to a repository.
  20877. </para>
  20878. </remarks>
  20879. <author>Nicko Cadell</author>
  20880. <author>Gert Driesen</author>
  20881. </member>
  20882. <member name="M:log4net.Plugin.PluginMap.#ctor(log4net.Repository.ILoggerRepository)">
  20883. <summary>
  20884. Constructor
  20885. </summary>
  20886. <param name="repository">The repository that the plugins should be attached to.</param>
  20887. <remarks>
  20888. <para>
  20889. Initialize a new instance of the <see cref="T:log4net.Plugin.PluginMap"/> class with a
  20890. repository that the plugins should be attached to.
  20891. </para>
  20892. </remarks>
  20893. </member>
  20894. <member name="M:log4net.Plugin.PluginMap.Add(log4net.Plugin.IPlugin)">
  20895. <summary>
  20896. Adds a <see cref="T:log4net.Plugin.IPlugin"/> to the map.
  20897. </summary>
  20898. <param name="plugin">The <see cref="T:log4net.Plugin.IPlugin"/> to add to the map.</param>
  20899. <remarks>
  20900. <para>
  20901. The <see cref="T:log4net.Plugin.IPlugin"/> will be attached to the repository when added.
  20902. </para>
  20903. <para>
  20904. If there already exists a plugin with the same name
  20905. attached to the repository then the old plugin will
  20906. be <see cref="M:log4net.Plugin.IPlugin.Shutdown"/> and replaced with
  20907. the new plugin.
  20908. </para>
  20909. </remarks>
  20910. </member>
  20911. <member name="M:log4net.Plugin.PluginMap.Remove(log4net.Plugin.IPlugin)">
  20912. <summary>
  20913. Removes a <see cref="T:log4net.Plugin.IPlugin"/> from the map.
  20914. </summary>
  20915. <param name="plugin">The <see cref="T:log4net.Plugin.IPlugin"/> to remove from the map.</param>
  20916. <remarks>
  20917. <para>
  20918. Remove a specific plugin from this map.
  20919. </para>
  20920. </remarks>
  20921. </member>
  20922. <member name="P:log4net.Plugin.PluginMap.Item(System.String)">
  20923. <summary>
  20924. Gets a <see cref="T:log4net.Plugin.IPlugin"/> by name.
  20925. </summary>
  20926. <param name="name">The name of the <see cref="T:log4net.Plugin.IPlugin"/> to lookup.</param>
  20927. <returns>
  20928. The <see cref="T:log4net.Plugin.IPlugin"/> from the map with the name specified, or
  20929. <c>null</c> if no plugin is found.
  20930. </returns>
  20931. <remarks>
  20932. <para>
  20933. Lookup a plugin by name. If the plugin is not found <c>null</c>
  20934. will be returned.
  20935. </para>
  20936. </remarks>
  20937. </member>
  20938. <member name="P:log4net.Plugin.PluginMap.AllPlugins">
  20939. <summary>
  20940. Gets all possible plugins as a list of <see cref="T:log4net.Plugin.IPlugin"/> objects.
  20941. </summary>
  20942. <value>All possible plugins as a list of <see cref="T:log4net.Plugin.IPlugin"/> objects.</value>
  20943. <remarks>
  20944. <para>
  20945. Get a collection of all the plugins defined in this map.
  20946. </para>
  20947. </remarks>
  20948. </member>
  20949. <member name="T:log4net.Plugin.PluginSkeleton">
  20950. <summary>
  20951. Base implementation of <see cref="T:log4net.Plugin.IPlugin"/>
  20952. </summary>
  20953. <remarks>
  20954. <para>
  20955. Default abstract implementation of the <see cref="T:log4net.Plugin.IPlugin"/>
  20956. interface. This base class can be used by implementors
  20957. of the <see cref="T:log4net.Plugin.IPlugin"/> interface.
  20958. </para>
  20959. </remarks>
  20960. <author>Nicko Cadell</author>
  20961. <author>Gert Driesen</author>
  20962. </member>
  20963. <member name="M:log4net.Plugin.PluginSkeleton.#ctor(System.String)">
  20964. <summary>
  20965. Constructor
  20966. </summary>
  20967. <param name="name">the name of the plugin</param>
  20968. <remarks>
  20969. Initializes a new Plugin with the specified name.
  20970. </remarks>
  20971. </member>
  20972. <member name="M:log4net.Plugin.PluginSkeleton.Attach(log4net.Repository.ILoggerRepository)">
  20973. <summary>
  20974. Attaches this plugin to a <see cref="T:log4net.Repository.ILoggerRepository"/>.
  20975. </summary>
  20976. <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin should be attached to.</param>
  20977. <remarks>
  20978. <para>
  20979. A plugin may only be attached to a single repository.
  20980. </para>
  20981. <para>
  20982. This method is called when the plugin is attached to the repository.
  20983. </para>
  20984. </remarks>
  20985. </member>
  20986. <member name="M:log4net.Plugin.PluginSkeleton.Shutdown">
  20987. <summary>
  20988. Is called when the plugin is to shutdown.
  20989. </summary>
  20990. <remarks>
  20991. <para>
  20992. This method is called to notify the plugin that
  20993. it should stop operating and should detach from
  20994. the repository.
  20995. </para>
  20996. </remarks>
  20997. </member>
  20998. <member name="F:log4net.Plugin.PluginSkeleton.m_name">
  20999. <summary>
  21000. The name of this plugin.
  21001. </summary>
  21002. </member>
  21003. <member name="F:log4net.Plugin.PluginSkeleton.m_repository">
  21004. <summary>
  21005. The repository this plugin is attached to.
  21006. </summary>
  21007. </member>
  21008. <member name="P:log4net.Plugin.PluginSkeleton.Name">
  21009. <summary>
  21010. Gets or sets the name of the plugin.
  21011. </summary>
  21012. <value>
  21013. The name of the plugin.
  21014. </value>
  21015. <remarks>
  21016. <para>
  21017. Plugins are stored in the <see cref="T:log4net.Plugin.PluginMap"/>
  21018. keyed by name. Each plugin instance attached to a
  21019. repository must be a unique name.
  21020. </para>
  21021. <para>
  21022. The name of the plugin must not change one the
  21023. plugin has been attached to a repository.
  21024. </para>
  21025. </remarks>
  21026. </member>
  21027. <member name="P:log4net.Plugin.PluginSkeleton.LoggerRepository">
  21028. <summary>
  21029. The repository for this plugin
  21030. </summary>
  21031. <value>
  21032. The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin is attached to.
  21033. </value>
  21034. <remarks>
  21035. <para>
  21036. Gets or sets the <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin is
  21037. attached to.
  21038. </para>
  21039. </remarks>
  21040. </member>
  21041. <member name="T:log4net.Plugin.RemoteLoggingServerPlugin">
  21042. <summary>
  21043. Plugin that listens for events from the <see cref="T:log4net.Appender.RemotingAppender"/>
  21044. </summary>
  21045. <remarks>
  21046. <para>
  21047. This plugin publishes an instance of <see cref="T:log4net.Appender.RemotingAppender.IRemoteLoggingSink"/>
  21048. on a specified <see cref="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri"/>. This listens for logging events delivered from
  21049. a remote <see cref="T:log4net.Appender.RemotingAppender"/>.
  21050. </para>
  21051. <para>
  21052. When an event is received it is relogged within the attached repository
  21053. as if it had been raised locally.
  21054. </para>
  21055. </remarks>
  21056. <author>Nicko Cadell</author>
  21057. <author>Gert Driesen</author>
  21058. </member>
  21059. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.#ctor">
  21060. <summary>
  21061. Default constructor
  21062. </summary>
  21063. <remarks>
  21064. <para>
  21065. Initializes a new instance of the <see cref="T:log4net.Plugin.RemoteLoggingServerPlugin"/> class.
  21066. </para>
  21067. <para>
  21068. The <see cref="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri"/> property must be set.
  21069. </para>
  21070. </remarks>
  21071. </member>
  21072. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.#ctor(System.String)">
  21073. <summary>
  21074. Construct with sink Uri.
  21075. </summary>
  21076. <param name="sinkUri">The name to publish the sink under in the remoting infrastructure.
  21077. See <see cref="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri"/> for more details.</param>
  21078. <remarks>
  21079. <para>
  21080. Initializes a new instance of the <see cref="T:log4net.Plugin.RemoteLoggingServerPlugin"/> class
  21081. with specified name.
  21082. </para>
  21083. </remarks>
  21084. </member>
  21085. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.Attach(log4net.Repository.ILoggerRepository)">
  21086. <summary>
  21087. Attaches this plugin to a <see cref="T:log4net.Repository.ILoggerRepository"/>.
  21088. </summary>
  21089. <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that this plugin should be attached to.</param>
  21090. <remarks>
  21091. <para>
  21092. A plugin may only be attached to a single repository.
  21093. </para>
  21094. <para>
  21095. This method is called when the plugin is attached to the repository.
  21096. </para>
  21097. </remarks>
  21098. </member>
  21099. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.Shutdown">
  21100. <summary>
  21101. Is called when the plugin is to shutdown.
  21102. </summary>
  21103. <remarks>
  21104. <para>
  21105. When the plugin is shutdown the remote logging
  21106. sink is disconnected.
  21107. </para>
  21108. </remarks>
  21109. </member>
  21110. <member name="F:log4net.Plugin.RemoteLoggingServerPlugin.declaringType">
  21111. <summary>
  21112. The fully qualified type of the RemoteLoggingServerPlugin class.
  21113. </summary>
  21114. <remarks>
  21115. Used by the internal logger to record the Type of the
  21116. log message.
  21117. </remarks>
  21118. </member>
  21119. <member name="P:log4net.Plugin.RemoteLoggingServerPlugin.SinkUri">
  21120. <summary>
  21121. Gets or sets the URI of this sink.
  21122. </summary>
  21123. <value>
  21124. The URI of this sink.
  21125. </value>
  21126. <remarks>
  21127. <para>
  21128. This is the name under which the object is marshaled.
  21129. <see cref="M:RemotingServices.Marshal(MarshalByRefObject,String,Type)"/>
  21130. </para>
  21131. </remarks>
  21132. </member>
  21133. <member name="T:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl">
  21134. <summary>
  21135. Delivers <see cref="T:log4net.Core.LoggingEvent"/> objects to a remote sink.
  21136. </summary>
  21137. <remarks>
  21138. <para>
  21139. Internal class used to listen for logging events
  21140. and deliver them to the local repository.
  21141. </para>
  21142. </remarks>
  21143. </member>
  21144. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.#ctor(log4net.Repository.ILoggerRepository)">
  21145. <summary>
  21146. Constructor
  21147. </summary>
  21148. <param name="repository">The repository to log to.</param>
  21149. <remarks>
  21150. <para>
  21151. Initializes a new instance of the <see cref="T:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl"/> for the
  21152. specified <see cref="T:log4net.Repository.ILoggerRepository"/>.
  21153. </para>
  21154. </remarks>
  21155. </member>
  21156. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.LogEvents(log4net.Core.LoggingEvent[])">
  21157. <summary>
  21158. Logs the events to the repository.
  21159. </summary>
  21160. <param name="events">The events to log.</param>
  21161. <remarks>
  21162. <para>
  21163. The events passed are logged to the <see cref="T:log4net.Repository.ILoggerRepository"/>
  21164. </para>
  21165. </remarks>
  21166. </member>
  21167. <member name="M:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.InitializeLifetimeService">
  21168. <summary>
  21169. Obtains a lifetime service object to control the lifetime
  21170. policy for this instance.
  21171. </summary>
  21172. <returns><c>null</c> to indicate that this instance should live forever.</returns>
  21173. <remarks>
  21174. <para>
  21175. Obtains a lifetime service object to control the lifetime
  21176. policy for this instance. This object should live forever
  21177. therefore this implementation returns <c>null</c>.
  21178. </para>
  21179. </remarks>
  21180. </member>
  21181. <member name="F:log4net.Plugin.RemoteLoggingServerPlugin.RemoteLoggingSinkImpl.m_repository">
  21182. <summary>
  21183. The underlying <see cref="T:log4net.Repository.ILoggerRepository"/> that events should
  21184. be logged to.
  21185. </summary>
  21186. </member>
  21187. <member name="T:log4net.Repository.Hierarchy.DefaultLoggerFactory">
  21188. <summary>
  21189. Default implementation of <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
  21190. </summary>
  21191. <remarks>
  21192. <para>
  21193. This default implementation of the <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
  21194. interface is used to create the default subclass
  21195. of the <see cref="T:log4net.Repository.Hierarchy.Logger"/> object.
  21196. </para>
  21197. </remarks>
  21198. <author>Nicko Cadell</author>
  21199. <author>Gert Driesen</author>
  21200. </member>
  21201. <member name="T:log4net.Repository.Hierarchy.ILoggerFactory">
  21202. <summary>
  21203. Interface abstracts creation of <see cref="T:log4net.Repository.Hierarchy.Logger"/> instances
  21204. </summary>
  21205. <remarks>
  21206. <para>
  21207. This interface is used by the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> to
  21208. create new <see cref="T:log4net.Repository.Hierarchy.Logger"/> objects.
  21209. </para>
  21210. <para>
  21211. The <see cref="M:log4net.Repository.Hierarchy.ILoggerFactory.CreateLogger(log4net.Repository.ILoggerRepository,System.String)"/> method is called
  21212. to create a named <see cref="T:log4net.Repository.Hierarchy.Logger"/>.
  21213. </para>
  21214. <para>
  21215. Implement this interface to create new subclasses of <see cref="T:log4net.Repository.Hierarchy.Logger"/>.
  21216. </para>
  21217. </remarks>
  21218. <author>Nicko Cadell</author>
  21219. <author>Gert Driesen</author>
  21220. </member>
  21221. <member name="M:log4net.Repository.Hierarchy.ILoggerFactory.CreateLogger(log4net.Repository.ILoggerRepository,System.String)">
  21222. <summary>
  21223. Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance
  21224. </summary>
  21225. <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that will own the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
  21226. <param name="name">The name of the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
  21227. <returns>The <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance for the specified name.</returns>
  21228. <remarks>
  21229. <para>
  21230. Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance with the
  21231. specified name.
  21232. </para>
  21233. <para>
  21234. Called by the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> to create
  21235. new named <see cref="T:log4net.Repository.Hierarchy.Logger"/> instances.
  21236. </para>
  21237. <para>
  21238. If the <paramref name="name"/> is <c>null</c> then the root logger
  21239. must be returned.
  21240. </para>
  21241. </remarks>
  21242. </member>
  21243. <member name="M:log4net.Repository.Hierarchy.DefaultLoggerFactory.#ctor">
  21244. <summary>
  21245. Default constructor
  21246. </summary>
  21247. <remarks>
  21248. <para>
  21249. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.DefaultLoggerFactory"/> class.
  21250. </para>
  21251. </remarks>
  21252. </member>
  21253. <member name="M:log4net.Repository.Hierarchy.DefaultLoggerFactory.CreateLogger(log4net.Repository.ILoggerRepository,System.String)">
  21254. <summary>
  21255. Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance
  21256. </summary>
  21257. <param name="repository">The <see cref="T:log4net.Repository.ILoggerRepository"/> that will own the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
  21258. <param name="name">The name of the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
  21259. <returns>The <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance for the specified name.</returns>
  21260. <remarks>
  21261. <para>
  21262. Create a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance with the
  21263. specified name.
  21264. </para>
  21265. <para>
  21266. Called by the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> to create
  21267. new named <see cref="T:log4net.Repository.Hierarchy.Logger"/> instances.
  21268. </para>
  21269. <para>
  21270. If the <paramref name="name"/> is <c>null</c> then the root logger
  21271. must be returned.
  21272. </para>
  21273. </remarks>
  21274. </member>
  21275. <member name="T:log4net.Repository.Hierarchy.DefaultLoggerFactory.LoggerImpl">
  21276. <summary>
  21277. Default internal subclass of <see cref="T:log4net.Repository.Hierarchy.Logger"/>
  21278. </summary>
  21279. <remarks>
  21280. <para>
  21281. This subclass has no additional behavior over the
  21282. <see cref="T:log4net.Repository.Hierarchy.Logger"/> class but does allow instances
  21283. to be created.
  21284. </para>
  21285. </remarks>
  21286. </member>
  21287. <member name="T:log4net.Repository.Hierarchy.Logger">
  21288. <summary>
  21289. Implementation of <see cref="T:log4net.Core.ILogger"/> used by <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/>
  21290. </summary>
  21291. <remarks>
  21292. <para>
  21293. Internal class used to provide implementation of <see cref="T:log4net.Core.ILogger"/>
  21294. interface. Applications should use <see cref="T:log4net.LogManager"/> to get
  21295. logger instances.
  21296. </para>
  21297. <para>
  21298. This is one of the central classes in the log4net implementation. One of the
  21299. distinctive features of log4net are hierarchical loggers and their
  21300. evaluation. The <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/> organizes the <see cref="T:log4net.Repository.Hierarchy.Logger"/>
  21301. instances into a rooted tree hierarchy.
  21302. </para>
  21303. <para>
  21304. The <see cref="T:log4net.Repository.Hierarchy.Logger"/> class is abstract. Only concrete subclasses of
  21305. <see cref="T:log4net.Repository.Hierarchy.Logger"/> can be created. The <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
  21306. is used to create instances of this type for the <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/>.
  21307. </para>
  21308. </remarks>
  21309. <author>Nicko Cadell</author>
  21310. <author>Gert Driesen</author>
  21311. <author>Aspi Havewala</author>
  21312. <author>Douglas de la Torre</author>
  21313. </member>
  21314. <member name="M:log4net.Repository.Hierarchy.Logger.#ctor(System.String)">
  21315. <summary>
  21316. This constructor created a new <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance and
  21317. sets its name.
  21318. </summary>
  21319. <param name="name">The name of the <see cref="T:log4net.Repository.Hierarchy.Logger"/>.</param>
  21320. <remarks>
  21321. <para>
  21322. This constructor is protected and designed to be used by
  21323. a subclass that is not abstract.
  21324. </para>
  21325. <para>
  21326. Loggers are constructed by <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>
  21327. objects. See <see cref="T:log4net.Repository.Hierarchy.DefaultLoggerFactory"/> for the default
  21328. logger creator.
  21329. </para>
  21330. </remarks>
  21331. </member>
  21332. <member name="M:log4net.Repository.Hierarchy.Logger.AddAppender(log4net.Appender.IAppender)">
  21333. <summary>
  21334. Add <paramref name="newAppender"/> to the list of appenders of this
  21335. Logger instance.
  21336. </summary>
  21337. <param name="newAppender">An appender to add to this logger</param>
  21338. <remarks>
  21339. <para>
  21340. Add <paramref name="newAppender"/> to the list of appenders of this
  21341. Logger instance.
  21342. </para>
  21343. <para>
  21344. If <paramref name="newAppender"/> is already in the list of
  21345. appenders, then it won't be added again.
  21346. </para>
  21347. </remarks>
  21348. </member>
  21349. <member name="M:log4net.Repository.Hierarchy.Logger.GetAppender(System.String)">
  21350. <summary>
  21351. Look for the appender named as <c>name</c>
  21352. </summary>
  21353. <param name="name">The name of the appender to lookup</param>
  21354. <returns>The appender with the name specified, or <c>null</c>.</returns>
  21355. <remarks>
  21356. <para>
  21357. Returns the named appender, or null if the appender is not found.
  21358. </para>
  21359. </remarks>
  21360. </member>
  21361. <member name="M:log4net.Repository.Hierarchy.Logger.RemoveAllAppenders">
  21362. <summary>
  21363. Remove all previously added appenders from this Logger instance.
  21364. </summary>
  21365. <remarks>
  21366. <para>
  21367. Remove all previously added appenders from this Logger instance.
  21368. </para>
  21369. <para>
  21370. This is useful when re-reading configuration information.
  21371. </para>
  21372. </remarks>
  21373. </member>
  21374. <member name="M:log4net.Repository.Hierarchy.Logger.RemoveAppender(log4net.Appender.IAppender)">
  21375. <summary>
  21376. Remove the appender passed as parameter form the list of appenders.
  21377. </summary>
  21378. <param name="appender">The appender to remove</param>
  21379. <returns>The appender removed from the list</returns>
  21380. <remarks>
  21381. <para>
  21382. Remove the appender passed as parameter form the list of appenders.
  21383. The appender removed is not closed.
  21384. If you are discarding the appender you must call
  21385. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  21386. </para>
  21387. </remarks>
  21388. </member>
  21389. <member name="M:log4net.Repository.Hierarchy.Logger.RemoveAppender(System.String)">
  21390. <summary>
  21391. Remove the appender passed as parameter form the list of appenders.
  21392. </summary>
  21393. <param name="name">The name of the appender to remove</param>
  21394. <returns>The appender removed from the list</returns>
  21395. <remarks>
  21396. <para>
  21397. Remove the named appender passed as parameter form the list of appenders.
  21398. The appender removed is not closed.
  21399. If you are discarding the appender you must call
  21400. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  21401. </para>
  21402. </remarks>
  21403. </member>
  21404. <member name="M:log4net.Repository.Hierarchy.Logger.Log(System.Type,log4net.Core.Level,System.Object,System.Exception)">
  21405. <summary>
  21406. This generic form is intended to be used by wrappers.
  21407. </summary>
  21408. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  21409. the stack boundary into the logging system for this call.</param>
  21410. <param name="level">The level of the message to be logged.</param>
  21411. <param name="message">The message object to log.</param>
  21412. <param name="exception">The exception to log, including its stack trace.</param>
  21413. <remarks>
  21414. <para>
  21415. Generate a logging event for the specified <paramref name="level"/> using
  21416. the <paramref name="message"/> and <paramref name="exception"/>.
  21417. </para>
  21418. <para>
  21419. This method must not throw any exception to the caller.
  21420. </para>
  21421. </remarks>
  21422. </member>
  21423. <member name="M:log4net.Repository.Hierarchy.Logger.Log(log4net.Core.LoggingEvent)">
  21424. <summary>
  21425. This is the most generic printing method that is intended to be used
  21426. by wrappers.
  21427. </summary>
  21428. <param name="logEvent">The event being logged.</param>
  21429. <remarks>
  21430. <para>
  21431. Logs the specified logging event through this logger.
  21432. </para>
  21433. <para>
  21434. This method must not throw any exception to the caller.
  21435. </para>
  21436. </remarks>
  21437. </member>
  21438. <member name="M:log4net.Repository.Hierarchy.Logger.IsEnabledFor(log4net.Core.Level)">
  21439. <summary>
  21440. Checks if this logger is enabled for a given <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/> passed as parameter.
  21441. </summary>
  21442. <param name="level">The level to check.</param>
  21443. <returns>
  21444. <c>true</c> if this logger is enabled for <c>level</c>, otherwise <c>false</c>.
  21445. </returns>
  21446. <remarks>
  21447. <para>
  21448. Test if this logger is going to log events of the specified <paramref name="level"/>.
  21449. </para>
  21450. <para>
  21451. This method must not throw any exception to the caller.
  21452. </para>
  21453. </remarks>
  21454. </member>
  21455. <member name="M:log4net.Repository.Hierarchy.Logger.CallAppenders(log4net.Core.LoggingEvent)">
  21456. <summary>
  21457. Deliver the <see cref="T:log4net.Core.LoggingEvent"/> to the attached appenders.
  21458. </summary>
  21459. <param name="loggingEvent">The event to log.</param>
  21460. <remarks>
  21461. <para>
  21462. Call the appenders in the hierarchy starting at
  21463. <c>this</c>. If no appenders could be found, emit a
  21464. warning.
  21465. </para>
  21466. <para>
  21467. This method calls all the appenders inherited from the
  21468. hierarchy circumventing any evaluation of whether to log or not
  21469. to log the particular log request.
  21470. </para>
  21471. </remarks>
  21472. </member>
  21473. <member name="M:log4net.Repository.Hierarchy.Logger.CloseNestedAppenders">
  21474. <summary>
  21475. Closes all attached appenders implementing the <see cref="T:log4net.Core.IAppenderAttachable"/> interface.
  21476. </summary>
  21477. <remarks>
  21478. <para>
  21479. Used to ensure that the appenders are correctly shutdown.
  21480. </para>
  21481. </remarks>
  21482. </member>
  21483. <member name="M:log4net.Repository.Hierarchy.Logger.Log(log4net.Core.Level,System.Object,System.Exception)">
  21484. <summary>
  21485. This is the most generic printing method. This generic form is intended to be used by wrappers
  21486. </summary>
  21487. <param name="level">The level of the message to be logged.</param>
  21488. <param name="message">The message object to log.</param>
  21489. <param name="exception">The exception to log, including its stack trace.</param>
  21490. <remarks>
  21491. <para>
  21492. Generate a logging event for the specified <paramref name="level"/> using
  21493. the <paramref name="message"/>.
  21494. </para>
  21495. </remarks>
  21496. </member>
  21497. <member name="M:log4net.Repository.Hierarchy.Logger.ForcedLog(System.Type,log4net.Core.Level,System.Object,System.Exception)">
  21498. <summary>
  21499. Creates a new logging event and logs the event without further checks.
  21500. </summary>
  21501. <param name="callerStackBoundaryDeclaringType">The declaring type of the method that is
  21502. the stack boundary into the logging system for this call.</param>
  21503. <param name="level">The level of the message to be logged.</param>
  21504. <param name="message">The message object to log.</param>
  21505. <param name="exception">The exception to log, including its stack trace.</param>
  21506. <remarks>
  21507. <para>
  21508. Generates a logging event and delivers it to the attached
  21509. appenders.
  21510. </para>
  21511. </remarks>
  21512. </member>
  21513. <member name="M:log4net.Repository.Hierarchy.Logger.ForcedLog(log4net.Core.LoggingEvent)">
  21514. <summary>
  21515. Creates a new logging event and logs the event without further checks.
  21516. </summary>
  21517. <param name="logEvent">The event being logged.</param>
  21518. <remarks>
  21519. <para>
  21520. Delivers the logging event to the attached appenders.
  21521. </para>
  21522. </remarks>
  21523. </member>
  21524. <member name="F:log4net.Repository.Hierarchy.Logger.declaringType">
  21525. <summary>
  21526. The fully qualified type of the Logger class.
  21527. </summary>
  21528. </member>
  21529. <member name="F:log4net.Repository.Hierarchy.Logger.m_name">
  21530. <summary>
  21531. The name of this logger.
  21532. </summary>
  21533. </member>
  21534. <member name="F:log4net.Repository.Hierarchy.Logger.m_level">
  21535. <summary>
  21536. The assigned level of this logger.
  21537. </summary>
  21538. <remarks>
  21539. <para>
  21540. The <c>level</c> variable need not be
  21541. assigned a value in which case it is inherited
  21542. form the hierarchy.
  21543. </para>
  21544. </remarks>
  21545. </member>
  21546. <member name="F:log4net.Repository.Hierarchy.Logger.m_parent">
  21547. <summary>
  21548. The parent of this logger.
  21549. </summary>
  21550. <remarks>
  21551. <para>
  21552. The parent of this logger.
  21553. All loggers have at least one ancestor which is the root logger.
  21554. </para>
  21555. </remarks>
  21556. </member>
  21557. <member name="F:log4net.Repository.Hierarchy.Logger.m_hierarchy">
  21558. <summary>
  21559. Loggers need to know what Hierarchy they are in.
  21560. </summary>
  21561. <remarks>
  21562. <para>
  21563. Loggers need to know what Hierarchy they are in.
  21564. The hierarchy that this logger is a member of is stored
  21565. here.
  21566. </para>
  21567. </remarks>
  21568. </member>
  21569. <member name="F:log4net.Repository.Hierarchy.Logger.m_appenderAttachedImpl">
  21570. <summary>
  21571. Helper implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
  21572. </summary>
  21573. </member>
  21574. <member name="F:log4net.Repository.Hierarchy.Logger.m_additive">
  21575. <summary>
  21576. Flag indicating if child loggers inherit their parents appenders
  21577. </summary>
  21578. <remarks>
  21579. <para>
  21580. Additivity is set to true by default, that is children inherit
  21581. the appenders of their ancestors by default. If this variable is
  21582. set to <c>false</c> then the appenders found in the
  21583. ancestors of this logger are not used. However, the children
  21584. of this logger will inherit its appenders, unless the children
  21585. have their additivity flag set to <c>false</c> too. See
  21586. the user manual for more details.
  21587. </para>
  21588. </remarks>
  21589. </member>
  21590. <member name="F:log4net.Repository.Hierarchy.Logger.m_appenderLock">
  21591. <summary>
  21592. Lock to protect AppenderAttachedImpl variable m_appenderAttachedImpl
  21593. </summary>
  21594. </member>
  21595. <member name="P:log4net.Repository.Hierarchy.Logger.Parent">
  21596. <summary>
  21597. Gets or sets the parent logger in the hierarchy.
  21598. </summary>
  21599. <value>
  21600. The parent logger in the hierarchy.
  21601. </value>
  21602. <remarks>
  21603. <para>
  21604. Part of the Composite pattern that makes the hierarchy.
  21605. The hierarchy is parent linked rather than child linked.
  21606. </para>
  21607. </remarks>
  21608. </member>
  21609. <member name="P:log4net.Repository.Hierarchy.Logger.Additivity">
  21610. <summary>
  21611. Gets or sets a value indicating if child loggers inherit their parent's appenders.
  21612. </summary>
  21613. <value>
  21614. <c>true</c> if child loggers inherit their parent's appenders.
  21615. </value>
  21616. <remarks>
  21617. <para>
  21618. Additivity is set to <c>true</c> by default, that is children inherit
  21619. the appenders of their ancestors by default. If this variable is
  21620. set to <c>false</c> then the appenders found in the
  21621. ancestors of this logger are not used. However, the children
  21622. of this logger will inherit its appenders, unless the children
  21623. have their additivity flag set to <c>false</c> too. See
  21624. the user manual for more details.
  21625. </para>
  21626. </remarks>
  21627. </member>
  21628. <member name="P:log4net.Repository.Hierarchy.Logger.EffectiveLevel">
  21629. <summary>
  21630. Gets the effective level for this logger.
  21631. </summary>
  21632. <returns>The nearest level in the logger hierarchy.</returns>
  21633. <remarks>
  21634. <para>
  21635. Starting from this logger, searches the logger hierarchy for a
  21636. non-null level and returns it. Otherwise, returns the level of the
  21637. root logger.
  21638. </para>
  21639. <para>The Logger class is designed so that this method executes as
  21640. quickly as possible.</para>
  21641. </remarks>
  21642. </member>
  21643. <member name="P:log4net.Repository.Hierarchy.Logger.Hierarchy">
  21644. <summary>
  21645. Gets or sets the <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/> where this
  21646. <c>Logger</c> instance is attached to.
  21647. </summary>
  21648. <value>The hierarchy that this logger belongs to.</value>
  21649. <remarks>
  21650. <para>
  21651. This logger must be attached to a single <see cref="P:log4net.Repository.Hierarchy.Logger.Hierarchy"/>.
  21652. </para>
  21653. </remarks>
  21654. </member>
  21655. <member name="P:log4net.Repository.Hierarchy.Logger.Level">
  21656. <summary>
  21657. Gets or sets the assigned <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/>, if any, for this Logger.
  21658. </summary>
  21659. <value>
  21660. The <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/> of this logger.
  21661. </value>
  21662. <remarks>
  21663. <para>
  21664. The assigned <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/> can be <c>null</c>.
  21665. </para>
  21666. </remarks>
  21667. </member>
  21668. <member name="P:log4net.Repository.Hierarchy.Logger.Appenders">
  21669. <summary>
  21670. Get the appenders contained in this logger as an
  21671. <see cref="T:System.Collections.ICollection"/>.
  21672. </summary>
  21673. <returns>A collection of the appenders in this logger</returns>
  21674. <remarks>
  21675. <para>
  21676. Get the appenders contained in this logger as an
  21677. <see cref="T:System.Collections.ICollection"/>. If no appenders
  21678. can be found, then a <see cref="T:log4net.Util.EmptyCollection"/> is returned.
  21679. </para>
  21680. </remarks>
  21681. </member>
  21682. <member name="P:log4net.Repository.Hierarchy.Logger.Name">
  21683. <summary>
  21684. Gets the logger name.
  21685. </summary>
  21686. <value>
  21687. The name of the logger.
  21688. </value>
  21689. <remarks>
  21690. <para>
  21691. The name of this logger
  21692. </para>
  21693. </remarks>
  21694. </member>
  21695. <member name="P:log4net.Repository.Hierarchy.Logger.Repository">
  21696. <summary>
  21697. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this
  21698. <c>Logger</c> instance is attached to.
  21699. </summary>
  21700. <value>
  21701. The <see cref="T:log4net.Repository.ILoggerRepository"/> that this logger belongs to.
  21702. </value>
  21703. <remarks>
  21704. <para>
  21705. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> where this
  21706. <c>Logger</c> instance is attached to.
  21707. </para>
  21708. </remarks>
  21709. </member>
  21710. <member name="M:log4net.Repository.Hierarchy.DefaultLoggerFactory.LoggerImpl.#ctor(System.String)">
  21711. <summary>
  21712. Construct a new Logger
  21713. </summary>
  21714. <param name="name">the name of the logger</param>
  21715. <remarks>
  21716. <para>
  21717. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.DefaultLoggerFactory.LoggerImpl"/> class
  21718. with the specified name.
  21719. </para>
  21720. </remarks>
  21721. </member>
  21722. <member name="T:log4net.Repository.Hierarchy.LoggerCreationEventHandler">
  21723. <summary>
  21724. Delegate used to handle logger creation event notifications.
  21725. </summary>
  21726. <param name="sender">The <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> in which the <see cref="T:log4net.Repository.Hierarchy.Logger"/> has been created.</param>
  21727. <param name="e">The <see cref="T:log4net.Repository.Hierarchy.LoggerCreationEventArgs"/> event args that hold the <see cref="T:log4net.Repository.Hierarchy.Logger"/> instance that has been created.</param>
  21728. <remarks>
  21729. <para>
  21730. Delegate used to handle logger creation event notifications.
  21731. </para>
  21732. </remarks>
  21733. </member>
  21734. <member name="T:log4net.Repository.Hierarchy.LoggerCreationEventArgs">
  21735. <summary>
  21736. Provides data for the <see cref="E:log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent"/> event.
  21737. </summary>
  21738. <remarks>
  21739. <para>
  21740. A <see cref="E:log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent"/> event is raised every time a
  21741. <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> is created.
  21742. </para>
  21743. </remarks>
  21744. </member>
  21745. <member name="F:log4net.Repository.Hierarchy.LoggerCreationEventArgs.m_log">
  21746. <summary>
  21747. The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> created
  21748. </summary>
  21749. </member>
  21750. <member name="M:log4net.Repository.Hierarchy.LoggerCreationEventArgs.#ctor(log4net.Repository.Hierarchy.Logger)">
  21751. <summary>
  21752. Constructor
  21753. </summary>
  21754. <param name="log">The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.</param>
  21755. <remarks>
  21756. <para>
  21757. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.LoggerCreationEventArgs"/> event argument
  21758. class,with the specified <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/>.
  21759. </para>
  21760. </remarks>
  21761. </member>
  21762. <member name="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger">
  21763. <summary>
  21764. Gets the <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.
  21765. </summary>
  21766. <value>
  21767. The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.
  21768. </value>
  21769. <remarks>
  21770. <para>
  21771. The <see cref="P:log4net.Repository.Hierarchy.LoggerCreationEventArgs.Logger"/> that has been created.
  21772. </para>
  21773. </remarks>
  21774. </member>
  21775. <member name="T:log4net.Repository.Hierarchy.Hierarchy">
  21776. <summary>
  21777. Hierarchical organization of loggers
  21778. </summary>
  21779. <remarks>
  21780. <para>
  21781. <i>The casual user should not have to deal with this class
  21782. directly.</i>
  21783. </para>
  21784. <para>
  21785. This class is specialized in retrieving loggers by name and
  21786. also maintaining the logger hierarchy. Implements the
  21787. <see cref="T:log4net.Repository.ILoggerRepository"/> interface.
  21788. </para>
  21789. <para>
  21790. The structure of the logger hierarchy is maintained by the
  21791. <see cref="M:GetLogger(string)"/> method. The hierarchy is such that children
  21792. link to their parent but parents do not have any references to their
  21793. children. Moreover, loggers can be instantiated in any order, in
  21794. particular descendant before ancestor.
  21795. </para>
  21796. <para>
  21797. In case a descendant is created before a particular ancestor,
  21798. then it creates a provision node for the ancestor and adds itself
  21799. to the provision node. Other descendants of the same ancestor add
  21800. themselves to the previously created provision node.
  21801. </para>
  21802. </remarks>
  21803. <author>Nicko Cadell</author>
  21804. <author>Gert Driesen</author>
  21805. </member>
  21806. <member name="T:log4net.Repository.LoggerRepositorySkeleton">
  21807. <summary>
  21808. Base implementation of <see cref="T:log4net.Repository.ILoggerRepository"/>
  21809. </summary>
  21810. <remarks>
  21811. <para>
  21812. Default abstract implementation of the <see cref="T:log4net.Repository.ILoggerRepository"/> interface.
  21813. </para>
  21814. <para>
  21815. Skeleton implementation of the <see cref="T:log4net.Repository.ILoggerRepository"/> interface.
  21816. All <see cref="T:log4net.Repository.ILoggerRepository"/> types can extend this type.
  21817. </para>
  21818. </remarks>
  21819. <author>Nicko Cadell</author>
  21820. <author>Gert Driesen</author>
  21821. </member>
  21822. <member name="T:log4net.Repository.ILoggerRepository">
  21823. <summary>
  21824. Interface implemented by logger repositories.
  21825. </summary>
  21826. <remarks>
  21827. <para>
  21828. This interface is implemented by logger repositories. e.g.
  21829. <see cref="N:log4net.Repository.Hierarchy"/>.
  21830. </para>
  21831. <para>
  21832. This interface is used by the <see cref="T:log4net.LogManager"/>
  21833. to obtain <see cref="T:log4net.ILog"/> interfaces.
  21834. </para>
  21835. </remarks>
  21836. <author>Nicko Cadell</author>
  21837. <author>Gert Driesen</author>
  21838. </member>
  21839. <member name="M:log4net.Repository.ILoggerRepository.Exists(System.String)">
  21840. <summary>
  21841. Check if the named logger exists in the repository. If so return
  21842. its reference, otherwise returns <c>null</c>.
  21843. </summary>
  21844. <param name="name">The name of the logger to lookup</param>
  21845. <returns>The Logger object with the name specified</returns>
  21846. <remarks>
  21847. <para>
  21848. If the names logger exists it is returned, otherwise
  21849. <c>null</c> is returned.
  21850. </para>
  21851. </remarks>
  21852. </member>
  21853. <member name="M:log4net.Repository.ILoggerRepository.GetCurrentLoggers">
  21854. <summary>
  21855. Returns all the currently defined loggers as an Array.
  21856. </summary>
  21857. <returns>All the defined loggers</returns>
  21858. <remarks>
  21859. <para>
  21860. Returns all the currently defined loggers as an Array.
  21861. </para>
  21862. </remarks>
  21863. </member>
  21864. <member name="M:log4net.Repository.ILoggerRepository.GetLogger(System.String)">
  21865. <summary>
  21866. Returns a named logger instance
  21867. </summary>
  21868. <param name="name">The name of the logger to retrieve</param>
  21869. <returns>The logger object with the name specified</returns>
  21870. <remarks>
  21871. <para>
  21872. Returns a named logger instance.
  21873. </para>
  21874. <para>
  21875. If a logger of that name already exists, then it will be
  21876. returned. Otherwise, a new logger will be instantiated and
  21877. then linked with its existing ancestors as well as children.
  21878. </para>
  21879. </remarks>
  21880. </member>
  21881. <member name="M:log4net.Repository.ILoggerRepository.Shutdown">
  21882. <summary>Shutdown the repository</summary>
  21883. <remarks>
  21884. <para>
  21885. Shutting down a repository will <i>safely</i> close and remove
  21886. all appenders in all loggers including the root logger.
  21887. </para>
  21888. <para>
  21889. Some appenders need to be closed before the
  21890. application exists. Otherwise, pending logging events might be
  21891. lost.
  21892. </para>
  21893. <para>
  21894. The <see cref="M:Shutdown()"/> method is careful to close nested
  21895. appenders before closing regular appenders. This is allows
  21896. configurations where a regular appender is attached to a logger
  21897. and again to a nested appender.
  21898. </para>
  21899. </remarks>
  21900. </member>
  21901. <member name="M:log4net.Repository.ILoggerRepository.ResetConfiguration">
  21902. <summary>
  21903. Reset the repositories configuration to a default state
  21904. </summary>
  21905. <remarks>
  21906. <para>
  21907. Reset all values contained in this instance to their
  21908. default state.
  21909. </para>
  21910. <para>
  21911. Existing loggers are not removed. They are just reset.
  21912. </para>
  21913. <para>
  21914. This method should be used sparingly and with care as it will
  21915. block all logging until it is completed.
  21916. </para>
  21917. </remarks>
  21918. </member>
  21919. <member name="M:log4net.Repository.ILoggerRepository.Log(log4net.Core.LoggingEvent)">
  21920. <summary>
  21921. Log the <see cref="T:log4net.Core.LoggingEvent"/> through this repository.
  21922. </summary>
  21923. <param name="logEvent">the event to log</param>
  21924. <remarks>
  21925. <para>
  21926. This method should not normally be used to log.
  21927. The <see cref="T:log4net.ILog"/> interface should be used
  21928. for routine logging. This interface can be obtained
  21929. using the <see cref="M:log4net.LogManager.GetLogger(string)"/> method.
  21930. </para>
  21931. <para>
  21932. The <c>logEvent</c> is delivered to the appropriate logger and
  21933. that logger is then responsible for logging the event.
  21934. </para>
  21935. </remarks>
  21936. </member>
  21937. <member name="M:log4net.Repository.ILoggerRepository.GetAppenders">
  21938. <summary>
  21939. Returns all the Appenders that are configured as an Array.
  21940. </summary>
  21941. <returns>All the Appenders</returns>
  21942. <remarks>
  21943. <para>
  21944. Returns all the Appenders that are configured as an Array.
  21945. </para>
  21946. </remarks>
  21947. </member>
  21948. <member name="P:log4net.Repository.ILoggerRepository.Name">
  21949. <summary>
  21950. The name of the repository
  21951. </summary>
  21952. <value>
  21953. The name of the repository
  21954. </value>
  21955. <remarks>
  21956. <para>
  21957. The name of the repository.
  21958. </para>
  21959. </remarks>
  21960. </member>
  21961. <member name="P:log4net.Repository.ILoggerRepository.RendererMap">
  21962. <summary>
  21963. RendererMap accesses the object renderer map for this repository.
  21964. </summary>
  21965. <value>
  21966. RendererMap accesses the object renderer map for this repository.
  21967. </value>
  21968. <remarks>
  21969. <para>
  21970. RendererMap accesses the object renderer map for this repository.
  21971. </para>
  21972. <para>
  21973. The RendererMap holds a mapping between types and
  21974. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> objects.
  21975. </para>
  21976. </remarks>
  21977. </member>
  21978. <member name="P:log4net.Repository.ILoggerRepository.PluginMap">
  21979. <summary>
  21980. The plugin map for this repository.
  21981. </summary>
  21982. <value>
  21983. The plugin map for this repository.
  21984. </value>
  21985. <remarks>
  21986. <para>
  21987. The plugin map holds the <see cref="T:log4net.Plugin.IPlugin"/> instances
  21988. that have been attached to this repository.
  21989. </para>
  21990. </remarks>
  21991. </member>
  21992. <member name="P:log4net.Repository.ILoggerRepository.LevelMap">
  21993. <summary>
  21994. Get the level map for the Repository.
  21995. </summary>
  21996. <remarks>
  21997. <para>
  21998. Get the level map for the Repository.
  21999. </para>
  22000. <para>
  22001. The level map defines the mappings between
  22002. level names and <see cref="T:log4net.Core.Level"/> objects in
  22003. this repository.
  22004. </para>
  22005. </remarks>
  22006. </member>
  22007. <member name="P:log4net.Repository.ILoggerRepository.Threshold">
  22008. <summary>
  22009. The threshold for all events in this repository
  22010. </summary>
  22011. <value>
  22012. The threshold for all events in this repository
  22013. </value>
  22014. <remarks>
  22015. <para>
  22016. The threshold for all events in this repository.
  22017. </para>
  22018. </remarks>
  22019. </member>
  22020. <member name="P:log4net.Repository.ILoggerRepository.Configured">
  22021. <summary>
  22022. Flag indicates if this repository has been configured.
  22023. </summary>
  22024. <value>
  22025. Flag indicates if this repository has been configured.
  22026. </value>
  22027. <remarks>
  22028. <para>
  22029. Flag indicates if this repository has been configured.
  22030. </para>
  22031. </remarks>
  22032. </member>
  22033. <member name="P:log4net.Repository.ILoggerRepository.ConfigurationMessages">
  22034. <summary>
  22035. Collection of internal messages captured during the most
  22036. recent configuration process.
  22037. </summary>
  22038. </member>
  22039. <member name="E:log4net.Repository.ILoggerRepository.ShutdownEvent">
  22040. <summary>
  22041. Event to notify that the repository has been shutdown.
  22042. </summary>
  22043. <value>
  22044. Event to notify that the repository has been shutdown.
  22045. </value>
  22046. <remarks>
  22047. <para>
  22048. Event raised when the repository has been shutdown.
  22049. </para>
  22050. </remarks>
  22051. </member>
  22052. <member name="E:log4net.Repository.ILoggerRepository.ConfigurationReset">
  22053. <summary>
  22054. Event to notify that the repository has had its configuration reset.
  22055. </summary>
  22056. <value>
  22057. Event to notify that the repository has had its configuration reset.
  22058. </value>
  22059. <remarks>
  22060. <para>
  22061. Event raised when the repository's configuration has been
  22062. reset to default.
  22063. </para>
  22064. </remarks>
  22065. </member>
  22066. <member name="E:log4net.Repository.ILoggerRepository.ConfigurationChanged">
  22067. <summary>
  22068. Event to notify that the repository has had its configuration changed.
  22069. </summary>
  22070. <value>
  22071. Event to notify that the repository has had its configuration changed.
  22072. </value>
  22073. <remarks>
  22074. <para>
  22075. Event raised when the repository's configuration has been changed.
  22076. </para>
  22077. </remarks>
  22078. </member>
  22079. <member name="P:log4net.Repository.ILoggerRepository.Properties">
  22080. <summary>
  22081. Repository specific properties
  22082. </summary>
  22083. <value>
  22084. Repository specific properties
  22085. </value>
  22086. <remarks>
  22087. <para>
  22088. These properties can be specified on a repository specific basis.
  22089. </para>
  22090. </remarks>
  22091. </member>
  22092. <member name="M:log4net.Repository.LoggerRepositorySkeleton.#ctor">
  22093. <summary>
  22094. Default Constructor
  22095. </summary>
  22096. <remarks>
  22097. <para>
  22098. Initializes the repository with default (empty) properties.
  22099. </para>
  22100. </remarks>
  22101. </member>
  22102. <member name="M:log4net.Repository.LoggerRepositorySkeleton.#ctor(log4net.Util.PropertiesDictionary)">
  22103. <summary>
  22104. Construct the repository using specific properties
  22105. </summary>
  22106. <param name="properties">the properties to set for this repository</param>
  22107. <remarks>
  22108. <para>
  22109. Initializes the repository with specified properties.
  22110. </para>
  22111. </remarks>
  22112. </member>
  22113. <member name="M:log4net.Repository.LoggerRepositorySkeleton.Exists(System.String)">
  22114. <summary>
  22115. Test if logger exists
  22116. </summary>
  22117. <param name="name">The name of the logger to lookup</param>
  22118. <returns>The Logger object with the name specified</returns>
  22119. <remarks>
  22120. <para>
  22121. Check if the named logger exists in the repository. If so return
  22122. its reference, otherwise returns <c>null</c>.
  22123. </para>
  22124. </remarks>
  22125. </member>
  22126. <member name="M:log4net.Repository.LoggerRepositorySkeleton.GetCurrentLoggers">
  22127. <summary>
  22128. Returns all the currently defined loggers in the repository
  22129. </summary>
  22130. <returns>All the defined loggers</returns>
  22131. <remarks>
  22132. <para>
  22133. Returns all the currently defined loggers in the repository as an Array.
  22134. </para>
  22135. </remarks>
  22136. </member>
  22137. <member name="M:log4net.Repository.LoggerRepositorySkeleton.GetLogger(System.String)">
  22138. <summary>
  22139. Return a new logger instance
  22140. </summary>
  22141. <param name="name">The name of the logger to retrieve</param>
  22142. <returns>The logger object with the name specified</returns>
  22143. <remarks>
  22144. <para>
  22145. Return a new logger instance.
  22146. </para>
  22147. <para>
  22148. If a logger of that name already exists, then it will be
  22149. returned. Otherwise, a new logger will be instantiated and
  22150. then linked with its existing ancestors as well as children.
  22151. </para>
  22152. </remarks>
  22153. </member>
  22154. <member name="M:log4net.Repository.LoggerRepositorySkeleton.Shutdown">
  22155. <summary>
  22156. Shutdown the repository
  22157. </summary>
  22158. <remarks>
  22159. <para>
  22160. Shutdown the repository. Can be overridden in a subclass.
  22161. This base class implementation notifies the <see cref="E:log4net.Repository.LoggerRepositorySkeleton.ShutdownEvent"/>
  22162. listeners and all attached plugins of the shutdown event.
  22163. </para>
  22164. </remarks>
  22165. </member>
  22166. <member name="M:log4net.Repository.LoggerRepositorySkeleton.ResetConfiguration">
  22167. <summary>
  22168. Reset the repositories configuration to a default state
  22169. </summary>
  22170. <remarks>
  22171. <para>
  22172. Reset all values contained in this instance to their
  22173. default state.
  22174. </para>
  22175. <para>
  22176. Existing loggers are not removed. They are just reset.
  22177. </para>
  22178. <para>
  22179. This method should be used sparingly and with care as it will
  22180. block all logging until it is completed.
  22181. </para>
  22182. </remarks>
  22183. </member>
  22184. <member name="M:log4net.Repository.LoggerRepositorySkeleton.Log(log4net.Core.LoggingEvent)">
  22185. <summary>
  22186. Log the logEvent through this repository.
  22187. </summary>
  22188. <param name="logEvent">the event to log</param>
  22189. <remarks>
  22190. <para>
  22191. This method should not normally be used to log.
  22192. The <see cref="T:log4net.ILog"/> interface should be used
  22193. for routine logging. This interface can be obtained
  22194. using the <see cref="M:log4net.LogManager.GetLogger(string)"/> method.
  22195. </para>
  22196. <para>
  22197. The <c>logEvent</c> is delivered to the appropriate logger and
  22198. that logger is then responsible for logging the event.
  22199. </para>
  22200. </remarks>
  22201. </member>
  22202. <member name="M:log4net.Repository.LoggerRepositorySkeleton.GetAppenders">
  22203. <summary>
  22204. Returns all the Appenders that are configured as an Array.
  22205. </summary>
  22206. <returns>All the Appenders</returns>
  22207. <remarks>
  22208. <para>
  22209. Returns all the Appenders that are configured as an Array.
  22210. </para>
  22211. </remarks>
  22212. </member>
  22213. <member name="F:log4net.Repository.LoggerRepositorySkeleton.declaringType">
  22214. <summary>
  22215. The fully qualified type of the LoggerRepositorySkeleton class.
  22216. </summary>
  22217. <remarks>
  22218. Used by the internal logger to record the Type of the
  22219. log message.
  22220. </remarks>
  22221. </member>
  22222. <member name="M:log4net.Repository.LoggerRepositorySkeleton.AddRenderer(System.Type,log4net.ObjectRenderer.IObjectRenderer)">
  22223. <summary>
  22224. Adds an object renderer for a specific class.
  22225. </summary>
  22226. <param name="typeToRender">The type that will be rendered by the renderer supplied.</param>
  22227. <param name="rendererInstance">The object renderer used to render the object.</param>
  22228. <remarks>
  22229. <para>
  22230. Adds an object renderer for a specific class.
  22231. </para>
  22232. </remarks>
  22233. </member>
  22234. <member name="M:log4net.Repository.LoggerRepositorySkeleton.OnShutdown(System.EventArgs)">
  22235. <summary>
  22236. Notify the registered listeners that the repository is shutting down
  22237. </summary>
  22238. <param name="e">Empty EventArgs</param>
  22239. <remarks>
  22240. <para>
  22241. Notify any listeners that this repository is shutting down.
  22242. </para>
  22243. </remarks>
  22244. </member>
  22245. <member name="M:log4net.Repository.LoggerRepositorySkeleton.OnConfigurationReset(System.EventArgs)">
  22246. <summary>
  22247. Notify the registered listeners that the repository has had its configuration reset
  22248. </summary>
  22249. <param name="e">Empty EventArgs</param>
  22250. <remarks>
  22251. <para>
  22252. Notify any listeners that this repository's configuration has been reset.
  22253. </para>
  22254. </remarks>
  22255. </member>
  22256. <member name="M:log4net.Repository.LoggerRepositorySkeleton.OnConfigurationChanged(System.EventArgs)">
  22257. <summary>
  22258. Notify the registered listeners that the repository has had its configuration changed
  22259. </summary>
  22260. <param name="e">Empty EventArgs</param>
  22261. <remarks>
  22262. <para>
  22263. Notify any listeners that this repository's configuration has changed.
  22264. </para>
  22265. </remarks>
  22266. </member>
  22267. <member name="M:log4net.Repository.LoggerRepositorySkeleton.RaiseConfigurationChanged(System.EventArgs)">
  22268. <summary>
  22269. Raise a configuration changed event on this repository
  22270. </summary>
  22271. <param name="e">EventArgs.Empty</param>
  22272. <remarks>
  22273. <para>
  22274. Applications that programmatically change the configuration of the repository should
  22275. raise this event notification to notify listeners.
  22276. </para>
  22277. </remarks>
  22278. </member>
  22279. <member name="P:log4net.Repository.LoggerRepositorySkeleton.Name">
  22280. <summary>
  22281. The name of the repository
  22282. </summary>
  22283. <value>
  22284. The string name of the repository
  22285. </value>
  22286. <remarks>
  22287. <para>
  22288. The name of this repository. The name is
  22289. used to store and lookup the repositories
  22290. stored by the <see cref="T:log4net.Core.IRepositorySelector"/>.
  22291. </para>
  22292. </remarks>
  22293. </member>
  22294. <member name="P:log4net.Repository.LoggerRepositorySkeleton.Threshold">
  22295. <summary>
  22296. The threshold for all events in this repository
  22297. </summary>
  22298. <value>
  22299. The threshold for all events in this repository
  22300. </value>
  22301. <remarks>
  22302. <para>
  22303. The threshold for all events in this repository
  22304. </para>
  22305. </remarks>
  22306. </member>
  22307. <member name="P:log4net.Repository.LoggerRepositorySkeleton.RendererMap">
  22308. <summary>
  22309. RendererMap accesses the object renderer map for this repository.
  22310. </summary>
  22311. <value>
  22312. RendererMap accesses the object renderer map for this repository.
  22313. </value>
  22314. <remarks>
  22315. <para>
  22316. RendererMap accesses the object renderer map for this repository.
  22317. </para>
  22318. <para>
  22319. The RendererMap holds a mapping between types and
  22320. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/> objects.
  22321. </para>
  22322. </remarks>
  22323. </member>
  22324. <member name="P:log4net.Repository.LoggerRepositorySkeleton.PluginMap">
  22325. <summary>
  22326. The plugin map for this repository.
  22327. </summary>
  22328. <value>
  22329. The plugin map for this repository.
  22330. </value>
  22331. <remarks>
  22332. <para>
  22333. The plugin map holds the <see cref="T:log4net.Plugin.IPlugin"/> instances
  22334. that have been attached to this repository.
  22335. </para>
  22336. </remarks>
  22337. </member>
  22338. <member name="P:log4net.Repository.LoggerRepositorySkeleton.LevelMap">
  22339. <summary>
  22340. Get the level map for the Repository.
  22341. </summary>
  22342. <remarks>
  22343. <para>
  22344. Get the level map for the Repository.
  22345. </para>
  22346. <para>
  22347. The level map defines the mappings between
  22348. level names and <see cref="T:log4net.Core.Level"/> objects in
  22349. this repository.
  22350. </para>
  22351. </remarks>
  22352. </member>
  22353. <member name="P:log4net.Repository.LoggerRepositorySkeleton.Configured">
  22354. <summary>
  22355. Flag indicates if this repository has been configured.
  22356. </summary>
  22357. <value>
  22358. Flag indicates if this repository has been configured.
  22359. </value>
  22360. <remarks>
  22361. <para>
  22362. Flag indicates if this repository has been configured.
  22363. </para>
  22364. </remarks>
  22365. </member>
  22366. <member name="P:log4net.Repository.LoggerRepositorySkeleton.ConfigurationMessages">
  22367. <summary>
  22368. Contains a list of internal messages captures during the
  22369. last configuration.
  22370. </summary>
  22371. </member>
  22372. <member name="E:log4net.Repository.LoggerRepositorySkeleton.ShutdownEvent">
  22373. <summary>
  22374. Event to notify that the repository has been shutdown.
  22375. </summary>
  22376. <value>
  22377. Event to notify that the repository has been shutdown.
  22378. </value>
  22379. <remarks>
  22380. <para>
  22381. Event raised when the repository has been shutdown.
  22382. </para>
  22383. </remarks>
  22384. </member>
  22385. <member name="E:log4net.Repository.LoggerRepositorySkeleton.ConfigurationReset">
  22386. <summary>
  22387. Event to notify that the repository has had its configuration reset.
  22388. </summary>
  22389. <value>
  22390. Event to notify that the repository has had its configuration reset.
  22391. </value>
  22392. <remarks>
  22393. <para>
  22394. Event raised when the repository's configuration has been
  22395. reset to default.
  22396. </para>
  22397. </remarks>
  22398. </member>
  22399. <member name="E:log4net.Repository.LoggerRepositorySkeleton.ConfigurationChanged">
  22400. <summary>
  22401. Event to notify that the repository has had its configuration changed.
  22402. </summary>
  22403. <value>
  22404. Event to notify that the repository has had its configuration changed.
  22405. </value>
  22406. <remarks>
  22407. <para>
  22408. Event raised when the repository's configuration has been changed.
  22409. </para>
  22410. </remarks>
  22411. </member>
  22412. <member name="P:log4net.Repository.LoggerRepositorySkeleton.Properties">
  22413. <summary>
  22414. Repository specific properties
  22415. </summary>
  22416. <value>
  22417. Repository specific properties
  22418. </value>
  22419. <remarks>
  22420. These properties can be specified on a repository specific basis
  22421. </remarks>
  22422. </member>
  22423. <member name="T:log4net.Repository.IBasicRepositoryConfigurator">
  22424. <summary>
  22425. Basic Configurator interface for repositories
  22426. </summary>
  22427. <remarks>
  22428. <para>
  22429. Interface used by basic configurator to configure a <see cref="T:log4net.Repository.ILoggerRepository"/>
  22430. with a default <see cref="T:log4net.Appender.IAppender"/>.
  22431. </para>
  22432. <para>
  22433. A <see cref="T:log4net.Repository.ILoggerRepository"/> should implement this interface to support
  22434. configuration by the <see cref="T:log4net.Config.BasicConfigurator"/>.
  22435. </para>
  22436. </remarks>
  22437. <author>Nicko Cadell</author>
  22438. <author>Gert Driesen</author>
  22439. </member>
  22440. <member name="M:log4net.Repository.IBasicRepositoryConfigurator.Configure(log4net.Appender.IAppender)">
  22441. <summary>
  22442. Initialize the repository using the specified appender
  22443. </summary>
  22444. <param name="appender">the appender to use to log all logging events</param>
  22445. <remarks>
  22446. <para>
  22447. Configure the repository to route all logging events to the
  22448. specified appender.
  22449. </para>
  22450. </remarks>
  22451. </member>
  22452. <member name="M:log4net.Repository.IBasicRepositoryConfigurator.Configure(log4net.Appender.IAppender[])">
  22453. <summary>
  22454. Initialize the repository using the specified appenders
  22455. </summary>
  22456. <param name="appenders">the appenders to use to log all logging events</param>
  22457. <remarks>
  22458. <para>
  22459. Configure the repository to route all logging events to the
  22460. specified appenders.
  22461. </para>
  22462. </remarks>
  22463. </member>
  22464. <member name="T:log4net.Repository.IXmlRepositoryConfigurator">
  22465. <summary>
  22466. Configure repository using XML
  22467. </summary>
  22468. <remarks>
  22469. <para>
  22470. Interface used by Xml configurator to configure a <see cref="T:log4net.Repository.ILoggerRepository"/>.
  22471. </para>
  22472. <para>
  22473. A <see cref="T:log4net.Repository.ILoggerRepository"/> should implement this interface to support
  22474. configuration by the <see cref="T:log4net.Config.XmlConfigurator"/>.
  22475. </para>
  22476. </remarks>
  22477. <author>Nicko Cadell</author>
  22478. <author>Gert Driesen</author>
  22479. </member>
  22480. <member name="M:log4net.Repository.IXmlRepositoryConfigurator.Configure(System.Xml.XmlElement)">
  22481. <summary>
  22482. Initialize the repository using the specified config
  22483. </summary>
  22484. <param name="element">the element containing the root of the config</param>
  22485. <remarks>
  22486. <para>
  22487. The schema for the XML configuration data is defined by
  22488. the implementation.
  22489. </para>
  22490. </remarks>
  22491. </member>
  22492. <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor">
  22493. <summary>
  22494. Default constructor
  22495. </summary>
  22496. <remarks>
  22497. <para>
  22498. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class.
  22499. </para>
  22500. </remarks>
  22501. </member>
  22502. <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor(log4net.Util.PropertiesDictionary)">
  22503. <summary>
  22504. Construct with properties
  22505. </summary>
  22506. <param name="properties">The properties to pass to this repository.</param>
  22507. <remarks>
  22508. <para>
  22509. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class.
  22510. </para>
  22511. </remarks>
  22512. </member>
  22513. <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor(log4net.Repository.Hierarchy.ILoggerFactory)">
  22514. <summary>
  22515. Construct with a logger factory
  22516. </summary>
  22517. <param name="loggerFactory">The factory to use to create new logger instances.</param>
  22518. <remarks>
  22519. <para>
  22520. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class with
  22521. the specified <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>.
  22522. </para>
  22523. </remarks>
  22524. </member>
  22525. <member name="M:log4net.Repository.Hierarchy.Hierarchy.#ctor(log4net.Util.PropertiesDictionary,log4net.Repository.Hierarchy.ILoggerFactory)">
  22526. <summary>
  22527. Construct with properties and a logger factory
  22528. </summary>
  22529. <param name="properties">The properties to pass to this repository.</param>
  22530. <param name="loggerFactory">The factory to use to create new logger instances.</param>
  22531. <remarks>
  22532. <para>
  22533. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> class with
  22534. the specified <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/>.
  22535. </para>
  22536. </remarks>
  22537. </member>
  22538. <member name="M:log4net.Repository.Hierarchy.Hierarchy.Exists(System.String)">
  22539. <summary>
  22540. Test if a logger exists
  22541. </summary>
  22542. <param name="name">The name of the logger to lookup</param>
  22543. <returns>The Logger object with the name specified</returns>
  22544. <remarks>
  22545. <para>
  22546. Check if the named logger exists in the hierarchy. If so return
  22547. its reference, otherwise returns <c>null</c>.
  22548. </para>
  22549. </remarks>
  22550. </member>
  22551. <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetCurrentLoggers">
  22552. <summary>
  22553. Returns all the currently defined loggers in the hierarchy as an Array
  22554. </summary>
  22555. <returns>All the defined loggers</returns>
  22556. <remarks>
  22557. <para>
  22558. Returns all the currently defined loggers in the hierarchy as an Array.
  22559. The root logger is <b>not</b> included in the returned
  22560. enumeration.
  22561. </para>
  22562. </remarks>
  22563. </member>
  22564. <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetLogger(System.String)">
  22565. <summary>
  22566. Return a new logger instance named as the first parameter using
  22567. the default factory.
  22568. </summary>
  22569. <remarks>
  22570. <para>
  22571. Return a new logger instance named as the first parameter using
  22572. the default factory.
  22573. </para>
  22574. <para>
  22575. If a logger of that name already exists, then it will be
  22576. returned. Otherwise, a new logger will be instantiated and
  22577. then linked with its existing ancestors as well as children.
  22578. </para>
  22579. </remarks>
  22580. <param name="name">The name of the logger to retrieve</param>
  22581. <returns>The logger object with the name specified</returns>
  22582. </member>
  22583. <member name="M:log4net.Repository.Hierarchy.Hierarchy.Shutdown">
  22584. <summary>
  22585. Shutting down a hierarchy will <i>safely</i> close and remove
  22586. all appenders in all loggers including the root logger.
  22587. </summary>
  22588. <remarks>
  22589. <para>
  22590. Shutting down a hierarchy will <i>safely</i> close and remove
  22591. all appenders in all loggers including the root logger.
  22592. </para>
  22593. <para>
  22594. Some appenders need to be closed before the
  22595. application exists. Otherwise, pending logging events might be
  22596. lost.
  22597. </para>
  22598. <para>
  22599. The <c>Shutdown</c> method is careful to close nested
  22600. appenders before closing regular appenders. This is allows
  22601. configurations where a regular appender is attached to a logger
  22602. and again to a nested appender.
  22603. </para>
  22604. </remarks>
  22605. </member>
  22606. <member name="M:log4net.Repository.Hierarchy.Hierarchy.ResetConfiguration">
  22607. <summary>
  22608. Reset all values contained in this hierarchy instance to their default.
  22609. </summary>
  22610. <remarks>
  22611. <para>
  22612. Reset all values contained in this hierarchy instance to their
  22613. default. This removes all appenders from all loggers, sets
  22614. the level of all non-root loggers to <c>null</c>,
  22615. sets their additivity flag to <c>true</c> and sets the level
  22616. of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
  22617. message disabling is set its default "off" value.
  22618. </para>
  22619. <para>
  22620. Existing loggers are not removed. They are just reset.
  22621. </para>
  22622. <para>
  22623. This method should be used sparingly and with care as it will
  22624. block all logging until it is completed.
  22625. </para>
  22626. </remarks>
  22627. </member>
  22628. <member name="M:log4net.Repository.Hierarchy.Hierarchy.Log(log4net.Core.LoggingEvent)">
  22629. <summary>
  22630. Log the logEvent through this hierarchy.
  22631. </summary>
  22632. <param name="logEvent">the event to log</param>
  22633. <remarks>
  22634. <para>
  22635. This method should not normally be used to log.
  22636. The <see cref="T:log4net.ILog"/> interface should be used
  22637. for routine logging. This interface can be obtained
  22638. using the <see cref="M:log4net.LogManager.GetLogger(string)"/> method.
  22639. </para>
  22640. <para>
  22641. The <c>logEvent</c> is delivered to the appropriate logger and
  22642. that logger is then responsible for logging the event.
  22643. </para>
  22644. </remarks>
  22645. </member>
  22646. <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetAppenders">
  22647. <summary>
  22648. Returns all the Appenders that are currently configured
  22649. </summary>
  22650. <returns>An array containing all the currently configured appenders</returns>
  22651. <remarks>
  22652. <para>
  22653. Returns all the <see cref="T:log4net.Appender.IAppender"/> instances that are currently configured.
  22654. All the loggers are searched for appenders. The appenders may also be containers
  22655. for appenders and these are also searched for additional loggers.
  22656. </para>
  22657. <para>
  22658. The list returned is unordered but does not contain duplicates.
  22659. </para>
  22660. </remarks>
  22661. </member>
  22662. <member name="M:log4net.Repository.Hierarchy.Hierarchy.CollectAppender(System.Collections.ArrayList,log4net.Appender.IAppender)">
  22663. <summary>
  22664. Collect the appenders from an <see cref="T:log4net.Core.IAppenderAttachable"/>.
  22665. The appender may also be a container.
  22666. </summary>
  22667. <param name="appenderList"></param>
  22668. <param name="appender"></param>
  22669. </member>
  22670. <member name="M:log4net.Repository.Hierarchy.Hierarchy.CollectAppenders(System.Collections.ArrayList,log4net.Core.IAppenderAttachable)">
  22671. <summary>
  22672. Collect the appenders from an <see cref="T:log4net.Core.IAppenderAttachable"/> container
  22673. </summary>
  22674. <param name="appenderList"></param>
  22675. <param name="container"></param>
  22676. </member>
  22677. <member name="M:log4net.Repository.Hierarchy.Hierarchy.log4net#Repository#IBasicRepositoryConfigurator#Configure(log4net.Appender.IAppender)">
  22678. <summary>
  22679. Initialize the log4net system using the specified appender
  22680. </summary>
  22681. <param name="appender">the appender to use to log all logging events</param>
  22682. </member>
  22683. <member name="M:log4net.Repository.Hierarchy.Hierarchy.log4net#Repository#IBasicRepositoryConfigurator#Configure(log4net.Appender.IAppender[])">
  22684. <summary>
  22685. Initialize the log4net system using the specified appenders
  22686. </summary>
  22687. <param name="appenders">the appenders to use to log all logging events</param>
  22688. </member>
  22689. <member name="M:log4net.Repository.Hierarchy.Hierarchy.BasicRepositoryConfigure(log4net.Appender.IAppender[])">
  22690. <summary>
  22691. Initialize the log4net system using the specified appenders
  22692. </summary>
  22693. <param name="appenders">the appenders to use to log all logging events</param>
  22694. <remarks>
  22695. <para>
  22696. This method provides the same functionality as the
  22697. <see cref="M:IBasicRepositoryConfigurator.Configure(IAppender)"/> method implemented
  22698. on this object, but it is protected and therefore can be called by subclasses.
  22699. </para>
  22700. </remarks>
  22701. </member>
  22702. <member name="M:log4net.Repository.Hierarchy.Hierarchy.log4net#Repository#IXmlRepositoryConfigurator#Configure(System.Xml.XmlElement)">
  22703. <summary>
  22704. Initialize the log4net system using the specified config
  22705. </summary>
  22706. <param name="element">the element containing the root of the config</param>
  22707. </member>
  22708. <member name="M:log4net.Repository.Hierarchy.Hierarchy.XmlRepositoryConfigure(System.Xml.XmlElement)">
  22709. <summary>
  22710. Initialize the log4net system using the specified config
  22711. </summary>
  22712. <param name="element">the element containing the root of the config</param>
  22713. <remarks>
  22714. <para>
  22715. This method provides the same functionality as the
  22716. <see cref="M:IBasicRepositoryConfigurator.Configure(IAppender)"/> method implemented
  22717. on this object, but it is protected and therefore can be called by subclasses.
  22718. </para>
  22719. </remarks>
  22720. </member>
  22721. <member name="M:log4net.Repository.Hierarchy.Hierarchy.IsDisabled(log4net.Core.Level)">
  22722. <summary>
  22723. Test if this hierarchy is disabled for the specified <see cref="T:log4net.Core.Level"/>.
  22724. </summary>
  22725. <param name="level">The level to check against.</param>
  22726. <returns>
  22727. <c>true</c> if the repository is disabled for the level argument, <c>false</c> otherwise.
  22728. </returns>
  22729. <remarks>
  22730. <para>
  22731. If this hierarchy has not been configured then this method will
  22732. always return <c>true</c>.
  22733. </para>
  22734. <para>
  22735. This method will return <c>true</c> if this repository is
  22736. disabled for <c>level</c> object passed as parameter and
  22737. <c>false</c> otherwise.
  22738. </para>
  22739. <para>
  22740. See also the <see cref="P:log4net.Repository.ILoggerRepository.Threshold"/> property.
  22741. </para>
  22742. </remarks>
  22743. </member>
  22744. <member name="M:log4net.Repository.Hierarchy.Hierarchy.Clear">
  22745. <summary>
  22746. Clear all logger definitions from the internal hashtable
  22747. </summary>
  22748. <remarks>
  22749. <para>
  22750. This call will clear all logger definitions from the internal
  22751. hashtable. Invoking this method will irrevocably mess up the
  22752. logger hierarchy.
  22753. </para>
  22754. <para>
  22755. You should <b>really</b> know what you are doing before
  22756. invoking this method.
  22757. </para>
  22758. </remarks>
  22759. </member>
  22760. <member name="M:log4net.Repository.Hierarchy.Hierarchy.GetLogger(System.String,log4net.Repository.Hierarchy.ILoggerFactory)">
  22761. <summary>
  22762. Return a new logger instance named as the first parameter using
  22763. <paramref name="factory"/>.
  22764. </summary>
  22765. <param name="name">The name of the logger to retrieve</param>
  22766. <param name="factory">The factory that will make the new logger instance</param>
  22767. <returns>The logger object with the name specified</returns>
  22768. <remarks>
  22769. <para>
  22770. If a logger of that name already exists, then it will be
  22771. returned. Otherwise, a new logger will be instantiated by the
  22772. <paramref name="factory"/> parameter and linked with its existing
  22773. ancestors as well as children.
  22774. </para>
  22775. </remarks>
  22776. </member>
  22777. <member name="M:log4net.Repository.Hierarchy.Hierarchy.OnLoggerCreationEvent(log4net.Repository.Hierarchy.Logger)">
  22778. <summary>
  22779. Sends a logger creation event to all registered listeners
  22780. </summary>
  22781. <param name="logger">The newly created logger</param>
  22782. <remarks>
  22783. Raises the logger creation event.
  22784. </remarks>
  22785. </member>
  22786. <member name="M:log4net.Repository.Hierarchy.Hierarchy.UpdateParents(log4net.Repository.Hierarchy.Logger)">
  22787. <summary>
  22788. Updates all the parents of the specified logger
  22789. </summary>
  22790. <param name="log">The logger to update the parents for</param>
  22791. <remarks>
  22792. <para>
  22793. This method loops through all the <i>potential</i> parents of
  22794. <paramref name="log"/>. There 3 possible cases:
  22795. </para>
  22796. <list type="number">
  22797. <item>
  22798. <term>No entry for the potential parent of <paramref name="log"/> exists</term>
  22799. <description>
  22800. We create a ProvisionNode for this potential
  22801. parent and insert <paramref name="log"/> in that provision node.
  22802. </description>
  22803. </item>
  22804. <item>
  22805. <term>The entry is of type Logger for the potential parent.</term>
  22806. <description>
  22807. The entry is <paramref name="log"/>'s nearest existing parent. We
  22808. update <paramref name="log"/>'s parent field with this entry. We also break from
  22809. he loop because updating our parent's parent is our parent's
  22810. responsibility.
  22811. </description>
  22812. </item>
  22813. <item>
  22814. <term>The entry is of type ProvisionNode for this potential parent.</term>
  22815. <description>
  22816. We add <paramref name="log"/> to the list of children for this
  22817. potential parent.
  22818. </description>
  22819. </item>
  22820. </list>
  22821. </remarks>
  22822. </member>
  22823. <member name="M:log4net.Repository.Hierarchy.Hierarchy.UpdateChildren(log4net.Repository.Hierarchy.ProvisionNode,log4net.Repository.Hierarchy.Logger)">
  22824. <summary>
  22825. Replace a <see cref="T:log4net.Repository.Hierarchy.ProvisionNode"/> with a <see cref="T:log4net.Repository.Hierarchy.Logger"/> in the hierarchy.
  22826. </summary>
  22827. <param name="pn"></param>
  22828. <param name="log"></param>
  22829. <remarks>
  22830. <para>
  22831. We update the links for all the children that placed themselves
  22832. in the provision node 'pn'. The second argument 'log' is a
  22833. reference for the newly created Logger, parent of all the
  22834. children in 'pn'.
  22835. </para>
  22836. <para>
  22837. We loop on all the children 'c' in 'pn'.
  22838. </para>
  22839. <para>
  22840. If the child 'c' has been already linked to a child of
  22841. 'log' then there is no need to update 'c'.
  22842. </para>
  22843. <para>
  22844. Otherwise, we set log's parent field to c's parent and set
  22845. c's parent field to log.
  22846. </para>
  22847. </remarks>
  22848. </member>
  22849. <member name="M:log4net.Repository.Hierarchy.Hierarchy.AddLevel(log4net.Repository.Hierarchy.Hierarchy.LevelEntry)">
  22850. <summary>
  22851. Define or redefine a Level using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument
  22852. </summary>
  22853. <param name="levelEntry">the level values</param>
  22854. <remarks>
  22855. <para>
  22856. Define or redefine a Level using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument
  22857. </para>
  22858. <para>
  22859. Supports setting levels via the configuration file.
  22860. </para>
  22861. </remarks>
  22862. </member>
  22863. <member name="M:log4net.Repository.Hierarchy.Hierarchy.AddProperty(log4net.Util.PropertyEntry)">
  22864. <summary>
  22865. Set a Property using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument
  22866. </summary>
  22867. <param name="propertyEntry">the property value</param>
  22868. <remarks>
  22869. <para>
  22870. Set a Property using the values in the <see cref="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry"/> argument.
  22871. </para>
  22872. <para>
  22873. Supports setting property values via the configuration file.
  22874. </para>
  22875. </remarks>
  22876. </member>
  22877. <member name="F:log4net.Repository.Hierarchy.Hierarchy.declaringType">
  22878. <summary>
  22879. The fully qualified type of the Hierarchy class.
  22880. </summary>
  22881. <remarks>
  22882. Used by the internal logger to record the Type of the
  22883. log message.
  22884. </remarks>
  22885. </member>
  22886. <member name="E:log4net.Repository.Hierarchy.Hierarchy.LoggerCreatedEvent">
  22887. <summary>
  22888. Event used to notify that a logger has been created.
  22889. </summary>
  22890. <remarks>
  22891. <para>
  22892. Event raised when a logger is created.
  22893. </para>
  22894. </remarks>
  22895. </member>
  22896. <member name="P:log4net.Repository.Hierarchy.Hierarchy.EmittedNoAppenderWarning">
  22897. <summary>
  22898. Has no appender warning been emitted
  22899. </summary>
  22900. <remarks>
  22901. <para>
  22902. Flag to indicate if we have already issued a warning
  22903. about not having an appender warning.
  22904. </para>
  22905. </remarks>
  22906. </member>
  22907. <member name="P:log4net.Repository.Hierarchy.Hierarchy.Root">
  22908. <summary>
  22909. Get the root of this hierarchy
  22910. </summary>
  22911. <remarks>
  22912. <para>
  22913. Get the root of this hierarchy.
  22914. </para>
  22915. </remarks>
  22916. </member>
  22917. <member name="P:log4net.Repository.Hierarchy.Hierarchy.LoggerFactory">
  22918. <summary>
  22919. Gets or sets the default <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/> instance.
  22920. </summary>
  22921. <value>The default <see cref="T:log4net.Repository.Hierarchy.ILoggerFactory"/></value>
  22922. <remarks>
  22923. <para>
  22924. The logger factory is used to create logger instances.
  22925. </para>
  22926. </remarks>
  22927. </member>
  22928. <member name="T:log4net.Repository.Hierarchy.Hierarchy.LevelEntry">
  22929. <summary>
  22930. A class to hold the value, name and display name for a level
  22931. </summary>
  22932. <remarks>
  22933. <para>
  22934. A class to hold the value, name and display name for a level
  22935. </para>
  22936. </remarks>
  22937. </member>
  22938. <member name="M:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.ToString">
  22939. <summary>
  22940. Override <c>Object.ToString</c> to return sensible debug info
  22941. </summary>
  22942. <returns>string info about this object</returns>
  22943. </member>
  22944. <member name="P:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.Value">
  22945. <summary>
  22946. Value of the level
  22947. </summary>
  22948. <remarks>
  22949. <para>
  22950. If the value is not set (defaults to -1) the value will be looked
  22951. up for the current level with the same name.
  22952. </para>
  22953. </remarks>
  22954. </member>
  22955. <member name="P:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.Name">
  22956. <summary>
  22957. Name of the level
  22958. </summary>
  22959. <value>
  22960. The name of the level
  22961. </value>
  22962. <remarks>
  22963. <para>
  22964. The name of the level.
  22965. </para>
  22966. </remarks>
  22967. </member>
  22968. <member name="P:log4net.Repository.Hierarchy.Hierarchy.LevelEntry.DisplayName">
  22969. <summary>
  22970. Display name for the level
  22971. </summary>
  22972. <value>
  22973. The display name of the level
  22974. </value>
  22975. <remarks>
  22976. <para>
  22977. The display name of the level.
  22978. </para>
  22979. </remarks>
  22980. </member>
  22981. <member name="T:log4net.Repository.Hierarchy.LoggerKey">
  22982. <summary>
  22983. Used internally to accelerate hash table searches.
  22984. </summary>
  22985. <remarks>
  22986. <para>
  22987. Internal class used to improve performance of
  22988. string keyed hashtables.
  22989. </para>
  22990. <para>
  22991. The hashcode of the string is cached for reuse.
  22992. The string is stored as an interned value.
  22993. When comparing two <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/> objects for equality
  22994. the reference equality of the interned strings is compared.
  22995. </para>
  22996. </remarks>
  22997. <author>Nicko Cadell</author>
  22998. <author>Gert Driesen</author>
  22999. </member>
  23000. <member name="M:log4net.Repository.Hierarchy.LoggerKey.#ctor(System.String)">
  23001. <summary>
  23002. Construct key with string name
  23003. </summary>
  23004. <remarks>
  23005. <para>
  23006. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/> class
  23007. with the specified name.
  23008. </para>
  23009. <para>
  23010. Stores the hashcode of the string and interns
  23011. the string key to optimize comparisons.
  23012. </para>
  23013. <note>
  23014. The Compact Framework 1.0 the <see cref="M:System.String.Intern(System.String)"/>
  23015. method does not work. On the Compact Framework
  23016. the string keys are not interned nor are they
  23017. compared by reference.
  23018. </note>
  23019. </remarks>
  23020. <param name="name">The name of the logger.</param>
  23021. </member>
  23022. <member name="M:log4net.Repository.Hierarchy.LoggerKey.GetHashCode">
  23023. <summary>
  23024. Returns a hash code for the current instance.
  23025. </summary>
  23026. <returns>A hash code for the current instance.</returns>
  23027. <remarks>
  23028. <para>
  23029. Returns the cached hashcode.
  23030. </para>
  23031. </remarks>
  23032. </member>
  23033. <member name="M:log4net.Repository.Hierarchy.LoggerKey.Equals(System.Object)">
  23034. <summary>
  23035. Determines whether two <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/> instances
  23036. are equal.
  23037. </summary>
  23038. <param name="obj">The <see cref="T:System.Object"/> to compare with the current <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/>.</param>
  23039. <returns>
  23040. <c>true</c> if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:log4net.Repository.Hierarchy.LoggerKey"/>; otherwise, <c>false</c>.
  23041. </returns>
  23042. <remarks>
  23043. <para>
  23044. Compares the references of the interned strings.
  23045. </para>
  23046. </remarks>
  23047. </member>
  23048. <member name="T:log4net.Repository.Hierarchy.ProvisionNode">
  23049. <summary>
  23050. Provision nodes are used where no logger instance has been specified
  23051. </summary>
  23052. <remarks>
  23053. <para>
  23054. <see cref="T:log4net.Repository.Hierarchy.ProvisionNode"/> instances are used in the
  23055. <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> when there is no specified
  23056. <see cref="T:log4net.Repository.Hierarchy.Logger"/> for that node.
  23057. </para>
  23058. <para>
  23059. A provision node holds a list of child loggers on behalf of
  23060. a logger that does not exist.
  23061. </para>
  23062. </remarks>
  23063. <author>Nicko Cadell</author>
  23064. <author>Gert Driesen</author>
  23065. </member>
  23066. <member name="M:log4net.Repository.Hierarchy.ProvisionNode.#ctor(log4net.Repository.Hierarchy.Logger)">
  23067. <summary>
  23068. Create a new provision node with child node
  23069. </summary>
  23070. <param name="log">A child logger to add to this node.</param>
  23071. <remarks>
  23072. <para>
  23073. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.ProvisionNode"/> class
  23074. with the specified child logger.
  23075. </para>
  23076. </remarks>
  23077. </member>
  23078. <member name="T:log4net.Repository.Hierarchy.RootLogger">
  23079. <summary>
  23080. The <see cref="T:log4net.Repository.Hierarchy.RootLogger"/> sits at the root of the logger hierarchy tree.
  23081. </summary>
  23082. <remarks>
  23083. <para>
  23084. The <see cref="T:log4net.Repository.Hierarchy.RootLogger"/> is a regular <see cref="T:log4net.Repository.Hierarchy.Logger"/> except
  23085. that it provides several guarantees.
  23086. </para>
  23087. <para>
  23088. First, it cannot be assigned a <c>null</c>
  23089. level. Second, since the root logger cannot have a parent, the
  23090. <see cref="P:log4net.Repository.Hierarchy.RootLogger.EffectiveLevel"/> property always returns the value of the
  23091. level field without walking the hierarchy.
  23092. </para>
  23093. </remarks>
  23094. <author>Nicko Cadell</author>
  23095. <author>Gert Driesen</author>
  23096. </member>
  23097. <member name="M:log4net.Repository.Hierarchy.RootLogger.#ctor(log4net.Core.Level)">
  23098. <summary>
  23099. Construct a <see cref="T:log4net.Repository.Hierarchy.RootLogger"/>
  23100. </summary>
  23101. <param name="level">The level to assign to the root logger.</param>
  23102. <remarks>
  23103. <para>
  23104. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.RootLogger"/> class with
  23105. the specified logging level.
  23106. </para>
  23107. <para>
  23108. The root logger names itself as "root". However, the root
  23109. logger cannot be retrieved by name.
  23110. </para>
  23111. </remarks>
  23112. </member>
  23113. <member name="F:log4net.Repository.Hierarchy.RootLogger.declaringType">
  23114. <summary>
  23115. The fully qualified type of the RootLogger class.
  23116. </summary>
  23117. <remarks>
  23118. Used by the internal logger to record the Type of the
  23119. log message.
  23120. </remarks>
  23121. </member>
  23122. <member name="P:log4net.Repository.Hierarchy.RootLogger.EffectiveLevel">
  23123. <summary>
  23124. Gets the assigned level value without walking the logger hierarchy.
  23125. </summary>
  23126. <value>The assigned level value without walking the logger hierarchy.</value>
  23127. <remarks>
  23128. <para>
  23129. Because the root logger cannot have a parent and its level
  23130. must not be <c>null</c> this property just returns the
  23131. value of <see cref="P:log4net.Repository.Hierarchy.Logger.Level"/>.
  23132. </para>
  23133. </remarks>
  23134. </member>
  23135. <member name="P:log4net.Repository.Hierarchy.RootLogger.Level">
  23136. <summary>
  23137. Gets or sets the assigned <see cref="P:log4net.Repository.Hierarchy.RootLogger.Level"/> for the root logger.
  23138. </summary>
  23139. <value>
  23140. The <see cref="P:log4net.Repository.Hierarchy.RootLogger.Level"/> of the root logger.
  23141. </value>
  23142. <remarks>
  23143. <para>
  23144. Setting the level of the root logger to a <c>null</c> reference
  23145. may have catastrophic results. We prevent this here.
  23146. </para>
  23147. </remarks>
  23148. </member>
  23149. <member name="T:log4net.Repository.Hierarchy.XmlHierarchyConfigurator">
  23150. <summary>
  23151. Initializes the log4net environment using an XML DOM.
  23152. </summary>
  23153. <remarks>
  23154. <para>
  23155. Configures a <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> using an XML DOM.
  23156. </para>
  23157. </remarks>
  23158. <author>Nicko Cadell</author>
  23159. <author>Gert Driesen</author>
  23160. </member>
  23161. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.#ctor(log4net.Repository.Hierarchy.Hierarchy)">
  23162. <summary>
  23163. Construct the configurator for a hierarchy
  23164. </summary>
  23165. <param name="hierarchy">The hierarchy to build.</param>
  23166. <remarks>
  23167. <para>
  23168. Initializes a new instance of the <see cref="T:log4net.Repository.Hierarchy.XmlHierarchyConfigurator"/> class
  23169. with the specified <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/>.
  23170. </para>
  23171. </remarks>
  23172. </member>
  23173. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.Configure(System.Xml.XmlElement)">
  23174. <summary>
  23175. Configure the hierarchy by parsing a DOM tree of XML elements.
  23176. </summary>
  23177. <param name="element">The root element to parse.</param>
  23178. <remarks>
  23179. <para>
  23180. Configure the hierarchy by parsing a DOM tree of XML elements.
  23181. </para>
  23182. </remarks>
  23183. </member>
  23184. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.FindAppenderByReference(System.Xml.XmlElement)">
  23185. <summary>
  23186. Parse appenders by IDREF.
  23187. </summary>
  23188. <param name="appenderRef">The appender ref element.</param>
  23189. <returns>The instance of the appender that the ref refers to.</returns>
  23190. <remarks>
  23191. <para>
  23192. Parse an XML element that represents an appender and return
  23193. the appender.
  23194. </para>
  23195. </remarks>
  23196. </member>
  23197. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender(System.Xml.XmlElement)">
  23198. <summary>
  23199. Parses an appender element.
  23200. </summary>
  23201. <param name="appenderElement">The appender element.</param>
  23202. <returns>The appender instance or <c>null</c> when parsing failed.</returns>
  23203. <remarks>
  23204. <para>
  23205. Parse an XML element that represents an appender and return
  23206. the appender instance.
  23207. </para>
  23208. </remarks>
  23209. </member>
  23210. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLogger(System.Xml.XmlElement)">
  23211. <summary>
  23212. Parses a logger element.
  23213. </summary>
  23214. <param name="loggerElement">The logger element.</param>
  23215. <remarks>
  23216. <para>
  23217. Parse an XML element that represents a logger.
  23218. </para>
  23219. </remarks>
  23220. </member>
  23221. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseRoot(System.Xml.XmlElement)">
  23222. <summary>
  23223. Parses the root logger element.
  23224. </summary>
  23225. <param name="rootElement">The root element.</param>
  23226. <remarks>
  23227. <para>
  23228. Parse an XML element that represents the root logger.
  23229. </para>
  23230. </remarks>
  23231. </member>
  23232. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseChildrenOfLoggerElement(System.Xml.XmlElement,log4net.Repository.Hierarchy.Logger,System.Boolean)">
  23233. <summary>
  23234. Parses the children of a logger element.
  23235. </summary>
  23236. <param name="catElement">The category element.</param>
  23237. <param name="log">The logger instance.</param>
  23238. <param name="isRoot">Flag to indicate if the logger is the root logger.</param>
  23239. <remarks>
  23240. <para>
  23241. Parse the child elements of a &lt;logger&gt; element.
  23242. </para>
  23243. </remarks>
  23244. </member>
  23245. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseRenderer(System.Xml.XmlElement)">
  23246. <summary>
  23247. Parses an object renderer.
  23248. </summary>
  23249. <param name="element">The renderer element.</param>
  23250. <remarks>
  23251. <para>
  23252. Parse an XML element that represents a renderer.
  23253. </para>
  23254. </remarks>
  23255. </member>
  23256. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLevel(System.Xml.XmlElement,log4net.Repository.Hierarchy.Logger,System.Boolean)">
  23257. <summary>
  23258. Parses a level element.
  23259. </summary>
  23260. <param name="element">The level element.</param>
  23261. <param name="log">The logger object to set the level on.</param>
  23262. <param name="isRoot">Flag to indicate if the logger is the root logger.</param>
  23263. <remarks>
  23264. <para>
  23265. Parse an XML element that represents a level.
  23266. </para>
  23267. </remarks>
  23268. </member>
  23269. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.SetParameter(System.Xml.XmlElement,System.Object)">
  23270. <summary>
  23271. Sets a parameter on an object.
  23272. </summary>
  23273. <param name="element">The parameter element.</param>
  23274. <param name="target">The object to set the parameter on.</param>
  23275. <remarks>
  23276. The parameter name must correspond to a writable property
  23277. on the object. The value of the parameter is a string,
  23278. therefore this function will attempt to set a string
  23279. property first. If unable to set a string property it
  23280. will inspect the property and its argument type. It will
  23281. attempt to call a static method called <c>Parse</c> on the
  23282. type of the property. This method will take a single
  23283. string argument and return a value that can be used to
  23284. set the property.
  23285. </remarks>
  23286. </member>
  23287. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.HasAttributesOrElements(System.Xml.XmlElement)">
  23288. <summary>
  23289. Test if an element has no attributes or child elements
  23290. </summary>
  23291. <param name="element">the element to inspect</param>
  23292. <returns><c>true</c> if the element has any attributes or child elements, <c>false</c> otherwise</returns>
  23293. </member>
  23294. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.IsTypeConstructible(System.Type)">
  23295. <summary>
  23296. Test if a <see cref="T:System.Type"/> is constructible with <c>Activator.CreateInstance</c>.
  23297. </summary>
  23298. <param name="type">the type to inspect</param>
  23299. <returns><c>true</c> if the type is creatable using a default constructor, <c>false</c> otherwise</returns>
  23300. </member>
  23301. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.FindMethodInfo(System.Type,System.String)">
  23302. <summary>
  23303. Look for a method on the <paramref name="targetType"/> that matches the <paramref name="name"/> supplied
  23304. </summary>
  23305. <param name="targetType">the type that has the method</param>
  23306. <param name="name">the name of the method</param>
  23307. <returns>the method info found</returns>
  23308. <remarks>
  23309. <para>
  23310. The method must be a public instance method on the <paramref name="targetType"/>.
  23311. The method must be named <paramref name="name"/> or "Add" followed by <paramref name="name"/>.
  23312. The method must take a single parameter.
  23313. </para>
  23314. </remarks>
  23315. </member>
  23316. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ConvertStringTo(System.Type,System.String)">
  23317. <summary>
  23318. Converts a string value to a target type.
  23319. </summary>
  23320. <param name="type">The type of object to convert the string to.</param>
  23321. <param name="value">The string value to use as the value of the object.</param>
  23322. <returns>
  23323. <para>
  23324. An object of type <paramref name="type"/> with value <paramref name="value"/> or
  23325. <c>null</c> when the conversion could not be performed.
  23326. </para>
  23327. </returns>
  23328. </member>
  23329. <member name="M:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.CreateObjectFromXml(System.Xml.XmlElement,System.Type,System.Type)">
  23330. <summary>
  23331. Creates an object as specified in XML.
  23332. </summary>
  23333. <param name="element">The XML element that contains the definition of the object.</param>
  23334. <param name="defaultTargetType">The object type to use if not explicitly specified.</param>
  23335. <param name="typeConstraint">The type that the returned object must be or must inherit from.</param>
  23336. <returns>The object or <c>null</c></returns>
  23337. <remarks>
  23338. <para>
  23339. Parse an XML element and create an object instance based on the configuration
  23340. data.
  23341. </para>
  23342. <para>
  23343. The type of the instance may be specified in the XML. If not
  23344. specified then the <paramref name="defaultTargetType"/> is used
  23345. as the type. However the type is specified it must support the
  23346. <paramref name="typeConstraint"/> type.
  23347. </para>
  23348. </remarks>
  23349. </member>
  23350. <member name="F:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.m_appenderBag">
  23351. <summary>
  23352. key: appenderName, value: appender.
  23353. </summary>
  23354. </member>
  23355. <member name="F:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.m_hierarchy">
  23356. <summary>
  23357. The Hierarchy being configured.
  23358. </summary>
  23359. </member>
  23360. <member name="F:log4net.Repository.Hierarchy.XmlHierarchyConfigurator.declaringType">
  23361. <summary>
  23362. The fully qualified type of the XmlHierarchyConfigurator class.
  23363. </summary>
  23364. <remarks>
  23365. Used by the internal logger to record the Type of the
  23366. log message.
  23367. </remarks>
  23368. </member>
  23369. <member name="T:log4net.Repository.ConfigurationChangedEventArgs">
  23370. <summary>
  23371. </summary>
  23372. </member>
  23373. <member name="M:log4net.Repository.ConfigurationChangedEventArgs.#ctor(System.Collections.ICollection)">
  23374. <summary>
  23375. </summary>
  23376. <param name="configurationMessages"></param>
  23377. </member>
  23378. <member name="P:log4net.Repository.ConfigurationChangedEventArgs.ConfigurationMessages">
  23379. <summary>
  23380. </summary>
  23381. </member>
  23382. <member name="T:log4net.Repository.LoggerRepositoryShutdownEventHandler">
  23383. <summary>
  23384. Delegate used to handle logger repository shutdown event notifications
  23385. </summary>
  23386. <param name="sender">The <see cref="T:log4net.Repository.ILoggerRepository"/> that is shutting down.</param>
  23387. <param name="e">Empty event args</param>
  23388. <remarks>
  23389. <para>
  23390. Delegate used to handle logger repository shutdown event notifications.
  23391. </para>
  23392. </remarks>
  23393. </member>
  23394. <member name="T:log4net.Repository.LoggerRepositoryConfigurationResetEventHandler">
  23395. <summary>
  23396. Delegate used to handle logger repository configuration reset event notifications
  23397. </summary>
  23398. <param name="sender">The <see cref="T:log4net.Repository.ILoggerRepository"/> that has had its configuration reset.</param>
  23399. <param name="e">Empty event args</param>
  23400. <remarks>
  23401. <para>
  23402. Delegate used to handle logger repository configuration reset event notifications.
  23403. </para>
  23404. </remarks>
  23405. </member>
  23406. <member name="T:log4net.Repository.LoggerRepositoryConfigurationChangedEventHandler">
  23407. <summary>
  23408. Delegate used to handle event notifications for logger repository configuration changes.
  23409. </summary>
  23410. <param name="sender">The <see cref="T:log4net.Repository.ILoggerRepository"/> that has had its configuration changed.</param>
  23411. <param name="e">Empty event arguments.</param>
  23412. <remarks>
  23413. <para>
  23414. Delegate used to handle event notifications for logger repository configuration changes.
  23415. </para>
  23416. </remarks>
  23417. </member>
  23418. <member name="T:log4net.Util.PatternStringConverters.AppDomainPatternConverter">
  23419. <summary>
  23420. Write the name of the current AppDomain to the output
  23421. </summary>
  23422. <remarks>
  23423. <para>
  23424. Write the name of the current AppDomain to the output writer
  23425. </para>
  23426. </remarks>
  23427. <author>Nicko Cadell</author>
  23428. </member>
  23429. <member name="M:log4net.Util.PatternStringConverters.AppDomainPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23430. <summary>
  23431. Write the name of the current AppDomain to the output
  23432. </summary>
  23433. <param name="writer">the writer to write to</param>
  23434. <param name="state">null, state is not set</param>
  23435. <remarks>
  23436. <para>
  23437. Writes name of the current AppDomain to the output <paramref name="writer"/>.
  23438. </para>
  23439. </remarks>
  23440. </member>
  23441. <member name="T:log4net.Util.PatternStringConverters.DatePatternConverter">
  23442. <summary>
  23443. Write the current date to the output
  23444. </summary>
  23445. <remarks>
  23446. <para>
  23447. Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format
  23448. the current date and time to the writer as a string.
  23449. </para>
  23450. <para>
  23451. The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines
  23452. the formatting of the date. The following values are allowed:
  23453. <list type="definition">
  23454. <listheader>
  23455. <term>Option value</term>
  23456. <description>Output</description>
  23457. </listheader>
  23458. <item>
  23459. <term>ISO8601</term>
  23460. <description>
  23461. Uses the <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/> formatter.
  23462. Formats using the <c>"yyyy-MM-dd HH:mm:ss,fff"</c> pattern.
  23463. </description>
  23464. </item>
  23465. <item>
  23466. <term>DATE</term>
  23467. <description>
  23468. Uses the <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> formatter.
  23469. Formats using the <c>"dd MMM yyyy HH:mm:ss,fff"</c> for example, <c>"06 Nov 1994 15:49:37,459"</c>.
  23470. </description>
  23471. </item>
  23472. <item>
  23473. <term>ABSOLUTE</term>
  23474. <description>
  23475. Uses the <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/> formatter.
  23476. Formats using the <c>"HH:mm:ss,fff"</c> for example, <c>"15:49:37,459"</c>.
  23477. </description>
  23478. </item>
  23479. <item>
  23480. <term>other</term>
  23481. <description>
  23482. Any other pattern string uses the <see cref="T:log4net.DateFormatter.SimpleDateFormatter"/> formatter.
  23483. This formatter passes the pattern string to the <see cref="T:System.DateTime"/>
  23484. <see cref="M:DateTime.ToString(string)"/> method.
  23485. For details on valid patterns see
  23486. <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.asp">DateTimeFormatInfo Class</a>.
  23487. </description>
  23488. </item>
  23489. </list>
  23490. </para>
  23491. <para>
  23492. The date and time is in the local time zone and is rendered in that zone.
  23493. To output the time in Universal time see <see cref="T:log4net.Util.PatternStringConverters.UtcDatePatternConverter"/>.
  23494. </para>
  23495. </remarks>
  23496. <author>Nicko Cadell</author>
  23497. </member>
  23498. <member name="F:log4net.Util.PatternStringConverters.DatePatternConverter.m_dateFormatter">
  23499. <summary>
  23500. The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
  23501. </summary>
  23502. <remarks>
  23503. <para>
  23504. The <see cref="T:log4net.DateFormatter.IDateFormatter"/> used to render the date to a string
  23505. </para>
  23506. </remarks>
  23507. </member>
  23508. <member name="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions">
  23509. <summary>
  23510. Initialize the converter options
  23511. </summary>
  23512. <remarks>
  23513. <para>
  23514. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  23515. activation scheme. The <see cref="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions"/> method must
  23516. be called on this object after the configuration properties have
  23517. been set. Until <see cref="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions"/> is called this
  23518. object is in an undefined state and must not be used.
  23519. </para>
  23520. <para>
  23521. If any of the configuration properties are modified then
  23522. <see cref="M:log4net.Util.PatternStringConverters.DatePatternConverter.ActivateOptions"/> must be called again.
  23523. </para>
  23524. </remarks>
  23525. </member>
  23526. <member name="M:log4net.Util.PatternStringConverters.DatePatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23527. <summary>
  23528. Write the current date to the output
  23529. </summary>
  23530. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  23531. <param name="state">null, state is not set</param>
  23532. <remarks>
  23533. <para>
  23534. Pass the current date and time to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
  23535. for it to render it to the writer.
  23536. </para>
  23537. <para>
  23538. The date and time passed is in the local time zone.
  23539. </para>
  23540. </remarks>
  23541. </member>
  23542. <member name="F:log4net.Util.PatternStringConverters.DatePatternConverter.declaringType">
  23543. <summary>
  23544. The fully qualified type of the DatePatternConverter class.
  23545. </summary>
  23546. <remarks>
  23547. Used by the internal logger to record the Type of the
  23548. log message.
  23549. </remarks>
  23550. </member>
  23551. <member name="T:log4net.Util.PatternStringConverters.EnvironmentFolderPathPatternConverter">
  23552. <summary>
  23553. Write an <see cref="T:System.Environment.SpecialFolder"/> folder path to the output
  23554. </summary>
  23555. <remarks>
  23556. <para>
  23557. Write an special path environment folder path to the output writer.
  23558. The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines
  23559. the name of the variable to output. <see cref="P:log4net.Util.PatternConverter.Option"/>
  23560. should be a value in the <see cref="T:System.Environment.SpecialFolder"/> enumeration.
  23561. </para>
  23562. </remarks>
  23563. <author>Ron Grabowski</author>
  23564. </member>
  23565. <member name="M:log4net.Util.PatternStringConverters.EnvironmentFolderPathPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23566. <summary>
  23567. Write an special path environment folder path to the output
  23568. </summary>
  23569. <param name="writer">the writer to write to</param>
  23570. <param name="state">null, state is not set</param>
  23571. <remarks>
  23572. <para>
  23573. Writes the special path environment folder path to the output <paramref name="writer"/>.
  23574. The name of the special path environment folder path to output must be set
  23575. using the <see cref="P:log4net.Util.PatternConverter.Option"/>
  23576. property.
  23577. </para>
  23578. </remarks>
  23579. </member>
  23580. <member name="F:log4net.Util.PatternStringConverters.EnvironmentFolderPathPatternConverter.declaringType">
  23581. <summary>
  23582. The fully qualified type of the EnvironmentFolderPathPatternConverter class.
  23583. </summary>
  23584. <remarks>
  23585. Used by the internal logger to record the Type of the
  23586. log message.
  23587. </remarks>
  23588. </member>
  23589. <member name="T:log4net.Util.PatternStringConverters.EnvironmentPatternConverter">
  23590. <summary>
  23591. Write an environment variable to the output
  23592. </summary>
  23593. <remarks>
  23594. <para>
  23595. Write an environment variable to the output writer.
  23596. The value of the <see cref="P:log4net.Util.PatternConverter.Option"/> determines
  23597. the name of the variable to output.
  23598. </para>
  23599. </remarks>
  23600. <author>Nicko Cadell</author>
  23601. </member>
  23602. <member name="M:log4net.Util.PatternStringConverters.EnvironmentPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23603. <summary>
  23604. Write an environment variable to the output
  23605. </summary>
  23606. <param name="writer">the writer to write to</param>
  23607. <param name="state">null, state is not set</param>
  23608. <remarks>
  23609. <para>
  23610. Writes the environment variable to the output <paramref name="writer"/>.
  23611. The name of the environment variable to output must be set
  23612. using the <see cref="P:log4net.Util.PatternConverter.Option"/>
  23613. property.
  23614. </para>
  23615. </remarks>
  23616. </member>
  23617. <member name="F:log4net.Util.PatternStringConverters.EnvironmentPatternConverter.declaringType">
  23618. <summary>
  23619. The fully qualified type of the EnvironmentPatternConverter class.
  23620. </summary>
  23621. <remarks>
  23622. Used by the internal logger to record the Type of the
  23623. log message.
  23624. </remarks>
  23625. </member>
  23626. <member name="T:log4net.Util.PatternStringConverters.IdentityPatternConverter">
  23627. <summary>
  23628. Write the current thread identity to the output
  23629. </summary>
  23630. <remarks>
  23631. <para>
  23632. Write the current thread identity to the output writer
  23633. </para>
  23634. </remarks>
  23635. <author>Nicko Cadell</author>
  23636. </member>
  23637. <member name="M:log4net.Util.PatternStringConverters.IdentityPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23638. <summary>
  23639. Write the current thread identity to the output
  23640. </summary>
  23641. <param name="writer">the writer to write to</param>
  23642. <param name="state">null, state is not set</param>
  23643. <remarks>
  23644. <para>
  23645. Writes the current thread identity to the output <paramref name="writer"/>.
  23646. </para>
  23647. </remarks>
  23648. </member>
  23649. <member name="F:log4net.Util.PatternStringConverters.IdentityPatternConverter.declaringType">
  23650. <summary>
  23651. The fully qualified type of the IdentityPatternConverter class.
  23652. </summary>
  23653. <remarks>
  23654. Used by the internal logger to record the Type of the
  23655. log message.
  23656. </remarks>
  23657. </member>
  23658. <member name="T:log4net.Util.PatternStringConverters.LiteralPatternConverter">
  23659. <summary>
  23660. Pattern converter for literal string instances in the pattern
  23661. </summary>
  23662. <remarks>
  23663. <para>
  23664. Writes the literal string value specified in the
  23665. <see cref="P:log4net.Util.PatternConverter.Option"/> property to
  23666. the output.
  23667. </para>
  23668. </remarks>
  23669. <author>Nicko Cadell</author>
  23670. </member>
  23671. <member name="M:log4net.Util.PatternStringConverters.LiteralPatternConverter.SetNext(log4net.Util.PatternConverter)">
  23672. <summary>
  23673. Set the next converter in the chain
  23674. </summary>
  23675. <param name="pc">The next pattern converter in the chain</param>
  23676. <returns>The next pattern converter</returns>
  23677. <remarks>
  23678. <para>
  23679. Special case the building of the pattern converter chain
  23680. for <see cref="T:log4net.Util.PatternStringConverters.LiteralPatternConverter"/> instances. Two adjacent
  23681. literals in the pattern can be represented by a single combined
  23682. pattern converter. This implementation detects when a
  23683. <see cref="T:log4net.Util.PatternStringConverters.LiteralPatternConverter"/> is added to the chain
  23684. after this converter and combines its value with this converter's
  23685. literal value.
  23686. </para>
  23687. </remarks>
  23688. </member>
  23689. <member name="M:log4net.Util.PatternStringConverters.LiteralPatternConverter.Format(System.IO.TextWriter,System.Object)">
  23690. <summary>
  23691. Write the literal to the output
  23692. </summary>
  23693. <param name="writer">the writer to write to</param>
  23694. <param name="state">null, not set</param>
  23695. <remarks>
  23696. <para>
  23697. Override the formatting behavior to ignore the FormattingInfo
  23698. because we have a literal instead.
  23699. </para>
  23700. <para>
  23701. Writes the value of <see cref="P:log4net.Util.PatternConverter.Option"/>
  23702. to the output <paramref name="writer"/>.
  23703. </para>
  23704. </remarks>
  23705. </member>
  23706. <member name="M:log4net.Util.PatternStringConverters.LiteralPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23707. <summary>
  23708. Convert this pattern into the rendered message
  23709. </summary>
  23710. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  23711. <param name="state">null, not set</param>
  23712. <remarks>
  23713. <para>
  23714. This method is not used.
  23715. </para>
  23716. </remarks>
  23717. </member>
  23718. <member name="T:log4net.Util.PatternStringConverters.NewLinePatternConverter">
  23719. <summary>
  23720. Writes a newline to the output
  23721. </summary>
  23722. <remarks>
  23723. <para>
  23724. Writes the system dependent line terminator to the output.
  23725. This behavior can be overridden by setting the <see cref="P:log4net.Util.PatternConverter.Option"/>:
  23726. </para>
  23727. <list type="definition">
  23728. <listheader>
  23729. <term>Option Value</term>
  23730. <description>Output</description>
  23731. </listheader>
  23732. <item>
  23733. <term>DOS</term>
  23734. <description>DOS or Windows line terminator <c>"\r\n"</c></description>
  23735. </item>
  23736. <item>
  23737. <term>UNIX</term>
  23738. <description>UNIX line terminator <c>"\n"</c></description>
  23739. </item>
  23740. </list>
  23741. </remarks>
  23742. <author>Nicko Cadell</author>
  23743. </member>
  23744. <member name="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions">
  23745. <summary>
  23746. Initialize the converter
  23747. </summary>
  23748. <remarks>
  23749. <para>
  23750. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  23751. activation scheme. The <see cref="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions"/> method must
  23752. be called on this object after the configuration properties have
  23753. been set. Until <see cref="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions"/> is called this
  23754. object is in an undefined state and must not be used.
  23755. </para>
  23756. <para>
  23757. If any of the configuration properties are modified then
  23758. <see cref="M:log4net.Util.PatternStringConverters.NewLinePatternConverter.ActivateOptions"/> must be called again.
  23759. </para>
  23760. </remarks>
  23761. </member>
  23762. <member name="T:log4net.Util.PatternStringConverters.ProcessIdPatternConverter">
  23763. <summary>
  23764. Write the current process ID to the output
  23765. </summary>
  23766. <remarks>
  23767. <para>
  23768. Write the current process ID to the output writer
  23769. </para>
  23770. </remarks>
  23771. <author>Nicko Cadell</author>
  23772. </member>
  23773. <member name="M:log4net.Util.PatternStringConverters.ProcessIdPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23774. <summary>
  23775. Write the current process ID to the output
  23776. </summary>
  23777. <param name="writer">the writer to write to</param>
  23778. <param name="state">null, state is not set</param>
  23779. <remarks>
  23780. <para>
  23781. Write the current process ID to the output <paramref name="writer"/>.
  23782. </para>
  23783. </remarks>
  23784. </member>
  23785. <member name="F:log4net.Util.PatternStringConverters.ProcessIdPatternConverter.declaringType">
  23786. <summary>
  23787. The fully qualified type of the ProcessIdPatternConverter class.
  23788. </summary>
  23789. <remarks>
  23790. Used by the internal logger to record the Type of the
  23791. log message.
  23792. </remarks>
  23793. </member>
  23794. <member name="T:log4net.Util.PatternStringConverters.PropertyPatternConverter">
  23795. <summary>
  23796. Property pattern converter
  23797. </summary>
  23798. <remarks>
  23799. <para>
  23800. This pattern converter reads the thread and global properties.
  23801. The thread properties take priority over global properties.
  23802. See <see cref="P:log4net.ThreadContext.Properties"/> for details of the
  23803. thread properties. See <see cref="P:log4net.GlobalContext.Properties"/> for
  23804. details of the global properties.
  23805. </para>
  23806. <para>
  23807. If the <see cref="P:log4net.Util.PatternConverter.Option"/> is specified then that will be used to
  23808. lookup a single property. If no <see cref="P:log4net.Util.PatternConverter.Option"/> is specified
  23809. then all properties will be dumped as a list of key value pairs.
  23810. </para>
  23811. </remarks>
  23812. <author>Nicko Cadell</author>
  23813. </member>
  23814. <member name="M:log4net.Util.PatternStringConverters.PropertyPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23815. <summary>
  23816. Write the property value to the output
  23817. </summary>
  23818. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  23819. <param name="state">null, state is not set</param>
  23820. <remarks>
  23821. <para>
  23822. Writes out the value of a named property. The property name
  23823. should be set in the <see cref="P:log4net.Util.PatternConverter.Option"/>
  23824. property.
  23825. </para>
  23826. <para>
  23827. If the <see cref="P:log4net.Util.PatternConverter.Option"/> is set to <c>null</c>
  23828. then all the properties are written as key value pairs.
  23829. </para>
  23830. </remarks>
  23831. </member>
  23832. <member name="T:log4net.Util.PatternStringConverters.RandomStringPatternConverter">
  23833. <summary>
  23834. A Pattern converter that generates a string of random characters
  23835. </summary>
  23836. <remarks>
  23837. <para>
  23838. The converter generates a string of random characters. By default
  23839. the string is length 4. This can be changed by setting the <see cref="P:log4net.Util.PatternConverter.Option"/>
  23840. to the string value of the length required.
  23841. </para>
  23842. <para>
  23843. The random characters in the string are limited to uppercase letters
  23844. and numbers only.
  23845. </para>
  23846. <para>
  23847. The random number generator used by this class is not cryptographically secure.
  23848. </para>
  23849. </remarks>
  23850. <author>Nicko Cadell</author>
  23851. </member>
  23852. <member name="F:log4net.Util.PatternStringConverters.RandomStringPatternConverter.s_random">
  23853. <summary>
  23854. Shared random number generator
  23855. </summary>
  23856. </member>
  23857. <member name="F:log4net.Util.PatternStringConverters.RandomStringPatternConverter.m_length">
  23858. <summary>
  23859. Length of random string to generate. Default length 4.
  23860. </summary>
  23861. </member>
  23862. <member name="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions">
  23863. <summary>
  23864. Initialize the converter options
  23865. </summary>
  23866. <remarks>
  23867. <para>
  23868. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  23869. activation scheme. The <see cref="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions"/> method must
  23870. be called on this object after the configuration properties have
  23871. been set. Until <see cref="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions"/> is called this
  23872. object is in an undefined state and must not be used.
  23873. </para>
  23874. <para>
  23875. If any of the configuration properties are modified then
  23876. <see cref="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.ActivateOptions"/> must be called again.
  23877. </para>
  23878. </remarks>
  23879. </member>
  23880. <member name="M:log4net.Util.PatternStringConverters.RandomStringPatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23881. <summary>
  23882. Write a randoim string to the output
  23883. </summary>
  23884. <param name="writer">the writer to write to</param>
  23885. <param name="state">null, state is not set</param>
  23886. <remarks>
  23887. <para>
  23888. Write a randoim string to the output <paramref name="writer"/>.
  23889. </para>
  23890. </remarks>
  23891. </member>
  23892. <member name="F:log4net.Util.PatternStringConverters.RandomStringPatternConverter.declaringType">
  23893. <summary>
  23894. The fully qualified type of the RandomStringPatternConverter class.
  23895. </summary>
  23896. <remarks>
  23897. Used by the internal logger to record the Type of the
  23898. log message.
  23899. </remarks>
  23900. </member>
  23901. <member name="T:log4net.Util.PatternStringConverters.UserNamePatternConverter">
  23902. <summary>
  23903. Write the current threads username to the output
  23904. </summary>
  23905. <remarks>
  23906. <para>
  23907. Write the current threads username to the output writer
  23908. </para>
  23909. </remarks>
  23910. <author>Nicko Cadell</author>
  23911. </member>
  23912. <member name="M:log4net.Util.PatternStringConverters.UserNamePatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23913. <summary>
  23914. Write the current threads username to the output
  23915. </summary>
  23916. <param name="writer">the writer to write to</param>
  23917. <param name="state">null, state is not set</param>
  23918. <remarks>
  23919. <para>
  23920. Write the current threads username to the output <paramref name="writer"/>.
  23921. </para>
  23922. </remarks>
  23923. </member>
  23924. <member name="F:log4net.Util.PatternStringConverters.UserNamePatternConverter.declaringType">
  23925. <summary>
  23926. The fully qualified type of the UserNamePatternConverter class.
  23927. </summary>
  23928. <remarks>
  23929. Used by the internal logger to record the Type of the
  23930. log message.
  23931. </remarks>
  23932. </member>
  23933. <member name="T:log4net.Util.PatternStringConverters.UtcDatePatternConverter">
  23934. <summary>
  23935. Write the UTC date time to the output
  23936. </summary>
  23937. <remarks>
  23938. <para>
  23939. Date pattern converter, uses a <see cref="T:log4net.DateFormatter.IDateFormatter"/> to format
  23940. the current date and time in Universal time.
  23941. </para>
  23942. <para>
  23943. See the <see cref="T:log4net.Util.PatternStringConverters.DatePatternConverter"/> for details on the date pattern syntax.
  23944. </para>
  23945. </remarks>
  23946. <seealso cref="T:log4net.Util.PatternStringConverters.DatePatternConverter"/>
  23947. <author>Nicko Cadell</author>
  23948. </member>
  23949. <member name="M:log4net.Util.PatternStringConverters.UtcDatePatternConverter.Convert(System.IO.TextWriter,System.Object)">
  23950. <summary>
  23951. Write the current date and time to the output
  23952. </summary>
  23953. <param name="writer"><see cref="T:System.IO.TextWriter"/> that will receive the formatted result.</param>
  23954. <param name="state">null, state is not set</param>
  23955. <remarks>
  23956. <para>
  23957. Pass the current date and time to the <see cref="T:log4net.DateFormatter.IDateFormatter"/>
  23958. for it to render it to the writer.
  23959. </para>
  23960. <para>
  23961. The date is in Universal time when it is rendered.
  23962. </para>
  23963. </remarks>
  23964. <seealso cref="T:log4net.Util.PatternStringConverters.DatePatternConverter"/>
  23965. </member>
  23966. <member name="F:log4net.Util.PatternStringConverters.UtcDatePatternConverter.declaringType">
  23967. <summary>
  23968. The fully qualified type of the UtcDatePatternConverter class.
  23969. </summary>
  23970. <remarks>
  23971. Used by the internal logger to record the Type of the
  23972. log message.
  23973. </remarks>
  23974. </member>
  23975. <member name="T:log4net.Util.TypeConverters.BooleanConverter">
  23976. <summary>
  23977. Type converter for Boolean.
  23978. </summary>
  23979. <remarks>
  23980. <para>
  23981. Supports conversion from string to <c>bool</c> type.
  23982. </para>
  23983. </remarks>
  23984. <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
  23985. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  23986. <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
  23987. <author>Nicko Cadell</author>
  23988. <author>Gert Driesen</author>
  23989. </member>
  23990. <member name="M:log4net.Util.TypeConverters.BooleanConverter.CanConvertFrom(System.Type)">
  23991. <summary>
  23992. Can the source type be converted to the type supported by this object
  23993. </summary>
  23994. <param name="sourceType">the type to convert</param>
  23995. <returns>true if the conversion is possible</returns>
  23996. <remarks>
  23997. <para>
  23998. Returns <c>true</c> if the <paramref name="sourceType"/> is
  23999. the <see cref="T:System.String"/> type.
  24000. </para>
  24001. </remarks>
  24002. </member>
  24003. <member name="M:log4net.Util.TypeConverters.BooleanConverter.ConvertFrom(System.Object)">
  24004. <summary>
  24005. Convert the source object to the type supported by this object
  24006. </summary>
  24007. <param name="source">the object to convert</param>
  24008. <returns>the converted object</returns>
  24009. <remarks>
  24010. <para>
  24011. Uses the <see cref="M:System.Boolean.Parse(System.String)"/> method to convert the
  24012. <see cref="T:System.String"/> argument to a <see cref="T:System.Boolean"/>.
  24013. </para>
  24014. </remarks>
  24015. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24016. The <paramref name="source"/> object cannot be converted to the
  24017. target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.BooleanConverter.CanConvertFrom(System.Type)"/>
  24018. method.
  24019. </exception>
  24020. </member>
  24021. <member name="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24022. <summary>
  24023. Exception base type for conversion errors.
  24024. </summary>
  24025. <remarks>
  24026. <para>
  24027. This type extends <see cref="T:System.ApplicationException"/>. It
  24028. does not add any new functionality but does differentiate the
  24029. type of exception being thrown.
  24030. </para>
  24031. </remarks>
  24032. <author>Nicko Cadell</author>
  24033. <author>Gert Driesen</author>
  24034. </member>
  24035. <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor">
  24036. <summary>
  24037. Constructor
  24038. </summary>
  24039. <remarks>
  24040. <para>
  24041. Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
  24042. </para>
  24043. </remarks>
  24044. </member>
  24045. <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor(System.String)">
  24046. <summary>
  24047. Constructor
  24048. </summary>
  24049. <param name="message">A message to include with the exception.</param>
  24050. <remarks>
  24051. <para>
  24052. Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class
  24053. with the specified message.
  24054. </para>
  24055. </remarks>
  24056. </member>
  24057. <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor(System.String,System.Exception)">
  24058. <summary>
  24059. Constructor
  24060. </summary>
  24061. <param name="message">A message to include with the exception.</param>
  24062. <param name="innerException">A nested exception to include.</param>
  24063. <remarks>
  24064. <para>
  24065. Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class
  24066. with the specified message and inner exception.
  24067. </para>
  24068. </remarks>
  24069. </member>
  24070. <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  24071. <summary>
  24072. Serialization constructor
  24073. </summary>
  24074. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
  24075. <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  24076. <remarks>
  24077. <para>
  24078. Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class
  24079. with serialized data.
  24080. </para>
  24081. </remarks>
  24082. </member>
  24083. <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.Create(System.Type,System.Object)">
  24084. <summary>
  24085. Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
  24086. </summary>
  24087. <param name="destinationType">The conversion destination type.</param>
  24088. <param name="sourceValue">The value to convert.</param>
  24089. <returns>An instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/>.</returns>
  24090. <remarks>
  24091. <para>
  24092. Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
  24093. </para>
  24094. </remarks>
  24095. </member>
  24096. <member name="M:log4net.Util.TypeConverters.ConversionNotSupportedException.Create(System.Type,System.Object,System.Exception)">
  24097. <summary>
  24098. Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
  24099. </summary>
  24100. <param name="destinationType">The conversion destination type.</param>
  24101. <param name="sourceValue">The value to convert.</param>
  24102. <param name="innerException">A nested exception to include.</param>
  24103. <returns>An instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/>.</returns>
  24104. <remarks>
  24105. <para>
  24106. Creates a new instance of the <see cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException"/> class.
  24107. </para>
  24108. </remarks>
  24109. </member>
  24110. <member name="T:log4net.Util.TypeConverters.ConverterRegistry">
  24111. <summary>
  24112. Register of type converters for specific types.
  24113. </summary>
  24114. <remarks>
  24115. <para>
  24116. Maintains a registry of type converters used to convert between
  24117. types.
  24118. </para>
  24119. <para>
  24120. Use the <see cref="M:AddConverter(Type, object)"/> and
  24121. <see cref="M:AddConverter(Type, Type)"/> methods to register new converters.
  24122. The <see cref="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertTo(System.Type,System.Type)"/> and <see cref="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertFrom(System.Type)"/> methods
  24123. lookup appropriate converters to use.
  24124. </para>
  24125. </remarks>
  24126. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24127. <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
  24128. <author>Nicko Cadell</author>
  24129. <author>Gert Driesen</author>
  24130. </member>
  24131. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.#ctor">
  24132. <summary>
  24133. Private constructor
  24134. </summary>
  24135. <remarks>
  24136. Initializes a new instance of the <see cref="T:log4net.Util.TypeConverters.ConverterRegistry"/> class.
  24137. </remarks>
  24138. </member>
  24139. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.#cctor">
  24140. <summary>
  24141. Static constructor.
  24142. </summary>
  24143. <remarks>
  24144. <para>
  24145. This constructor defines the intrinsic type converters.
  24146. </para>
  24147. </remarks>
  24148. </member>
  24149. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.AddConverter(System.Type,System.Object)">
  24150. <summary>
  24151. Adds a converter for a specific type.
  24152. </summary>
  24153. <param name="destinationType">The type being converted to.</param>
  24154. <param name="converter">The type converter to use to convert to the destination type.</param>
  24155. <remarks>
  24156. <para>
  24157. Adds a converter instance for a specific type.
  24158. </para>
  24159. </remarks>
  24160. </member>
  24161. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.AddConverter(System.Type,System.Type)">
  24162. <summary>
  24163. Adds a converter for a specific type.
  24164. </summary>
  24165. <param name="destinationType">The type being converted to.</param>
  24166. <param name="converterType">The type of the type converter to use to convert to the destination type.</param>
  24167. <remarks>
  24168. <para>
  24169. Adds a converter <see cref="T:System.Type"/> for a specific type.
  24170. </para>
  24171. </remarks>
  24172. </member>
  24173. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertTo(System.Type,System.Type)">
  24174. <summary>
  24175. Gets the type converter to use to convert values to the destination type.
  24176. </summary>
  24177. <param name="sourceType">The type being converted from.</param>
  24178. <param name="destinationType">The type being converted to.</param>
  24179. <returns>
  24180. The type converter instance to use for type conversions or <c>null</c>
  24181. if no type converter is found.
  24182. </returns>
  24183. <remarks>
  24184. <para>
  24185. Gets the type converter to use to convert values to the destination type.
  24186. </para>
  24187. </remarks>
  24188. </member>
  24189. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.GetConvertFrom(System.Type)">
  24190. <summary>
  24191. Gets the type converter to use to convert values to the destination type.
  24192. </summary>
  24193. <param name="destinationType">The type being converted to.</param>
  24194. <returns>
  24195. The type converter instance to use for type conversions or <c>null</c>
  24196. if no type converter is found.
  24197. </returns>
  24198. <remarks>
  24199. <para>
  24200. Gets the type converter to use to convert values to the destination type.
  24201. </para>
  24202. </remarks>
  24203. </member>
  24204. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.GetConverterFromAttribute(System.Type)">
  24205. <summary>
  24206. Lookups the type converter to use as specified by the attributes on the
  24207. destination type.
  24208. </summary>
  24209. <param name="destinationType">The type being converted to.</param>
  24210. <returns>
  24211. The type converter instance to use for type conversions or <c>null</c>
  24212. if no type converter is found.
  24213. </returns>
  24214. </member>
  24215. <member name="M:log4net.Util.TypeConverters.ConverterRegistry.CreateConverterInstance(System.Type)">
  24216. <summary>
  24217. Creates the instance of the type converter.
  24218. </summary>
  24219. <param name="converterType">The type of the type converter.</param>
  24220. <returns>
  24221. The type converter instance to use for type conversions or <c>null</c>
  24222. if no type converter is found.
  24223. </returns>
  24224. <remarks>
  24225. <para>
  24226. The type specified for the type converter must implement
  24227. the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/> or <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces
  24228. and must have a public default (no argument) constructor.
  24229. </para>
  24230. </remarks>
  24231. </member>
  24232. <member name="F:log4net.Util.TypeConverters.ConverterRegistry.declaringType">
  24233. <summary>
  24234. The fully qualified type of the ConverterRegistry class.
  24235. </summary>
  24236. <remarks>
  24237. Used by the internal logger to record the Type of the
  24238. log message.
  24239. </remarks>
  24240. </member>
  24241. <member name="F:log4net.Util.TypeConverters.ConverterRegistry.s_type2converter">
  24242. <summary>
  24243. Mapping from <see cref="T:System.Type"/> to type converter.
  24244. </summary>
  24245. </member>
  24246. <member name="T:log4net.Util.TypeConverters.EncodingConverter">
  24247. <summary>
  24248. Supports conversion from string to <see cref="T:System.Text.Encoding"/> type.
  24249. </summary>
  24250. <remarks>
  24251. <para>
  24252. Supports conversion from string to <see cref="T:System.Text.Encoding"/> type.
  24253. </para>
  24254. </remarks>
  24255. <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
  24256. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24257. <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
  24258. <author>Nicko Cadell</author>
  24259. <author>Gert Driesen</author>
  24260. </member>
  24261. <member name="M:log4net.Util.TypeConverters.EncodingConverter.CanConvertFrom(System.Type)">
  24262. <summary>
  24263. Can the source type be converted to the type supported by this object
  24264. </summary>
  24265. <param name="sourceType">the type to convert</param>
  24266. <returns>true if the conversion is possible</returns>
  24267. <remarks>
  24268. <para>
  24269. Returns <c>true</c> if the <paramref name="sourceType"/> is
  24270. the <see cref="T:System.String"/> type.
  24271. </para>
  24272. </remarks>
  24273. </member>
  24274. <member name="M:log4net.Util.TypeConverters.EncodingConverter.ConvertFrom(System.Object)">
  24275. <summary>
  24276. Overrides the ConvertFrom method of IConvertFrom.
  24277. </summary>
  24278. <param name="source">the object to convert to an encoding</param>
  24279. <returns>the encoding</returns>
  24280. <remarks>
  24281. <para>
  24282. Uses the <see cref="M:Encoding.GetEncoding(string)"/> method to
  24283. convert the <see cref="T:System.String"/> argument to an <see cref="T:System.Text.Encoding"/>.
  24284. </para>
  24285. </remarks>
  24286. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24287. The <paramref name="source"/> object cannot be converted to the
  24288. target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.EncodingConverter.CanConvertFrom(System.Type)"/>
  24289. method.
  24290. </exception>
  24291. </member>
  24292. <member name="T:log4net.Util.TypeConverters.IConvertTo">
  24293. <summary>
  24294. Interface supported by type converters
  24295. </summary>
  24296. <remarks>
  24297. <para>
  24298. This interface supports conversion from a single type to arbitrary types.
  24299. See <see cref="T:log4net.Util.TypeConverters.TypeConverterAttribute"/>.
  24300. </para>
  24301. </remarks>
  24302. <author>Nicko Cadell</author>
  24303. </member>
  24304. <member name="M:log4net.Util.TypeConverters.IConvertTo.CanConvertTo(System.Type)">
  24305. <summary>
  24306. Returns whether this converter can convert the object to the specified type
  24307. </summary>
  24308. <param name="targetType">A Type that represents the type you want to convert to</param>
  24309. <returns>true if the conversion is possible</returns>
  24310. <remarks>
  24311. <para>
  24312. Test if the type supported by this converter can be converted to the
  24313. <paramref name="targetType"/>.
  24314. </para>
  24315. </remarks>
  24316. </member>
  24317. <member name="M:log4net.Util.TypeConverters.IConvertTo.ConvertTo(System.Object,System.Type)">
  24318. <summary>
  24319. Converts the given value object to the specified type, using the arguments
  24320. </summary>
  24321. <param name="source">the object to convert</param>
  24322. <param name="targetType">The Type to convert the value parameter to</param>
  24323. <returns>the converted object</returns>
  24324. <remarks>
  24325. <para>
  24326. Converts the <paramref name="source"/> (which must be of the type supported
  24327. by this converter) to the <paramref name="targetType"/> specified..
  24328. </para>
  24329. </remarks>
  24330. </member>
  24331. <member name="T:log4net.Util.TypeConverters.IPAddressConverter">
  24332. <summary>
  24333. Supports conversion from string to <see cref="T:System.Net.IPAddress"/> type.
  24334. </summary>
  24335. <remarks>
  24336. <para>
  24337. Supports conversion from string to <see cref="T:System.Net.IPAddress"/> type.
  24338. </para>
  24339. </remarks>
  24340. <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
  24341. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24342. <author>Nicko Cadell</author>
  24343. </member>
  24344. <member name="M:log4net.Util.TypeConverters.IPAddressConverter.CanConvertFrom(System.Type)">
  24345. <summary>
  24346. Can the source type be converted to the type supported by this object
  24347. </summary>
  24348. <param name="sourceType">the type to convert</param>
  24349. <returns>true if the conversion is possible</returns>
  24350. <remarks>
  24351. <para>
  24352. Returns <c>true</c> if the <paramref name="sourceType"/> is
  24353. the <see cref="T:System.String"/> type.
  24354. </para>
  24355. </remarks>
  24356. </member>
  24357. <member name="M:log4net.Util.TypeConverters.IPAddressConverter.ConvertFrom(System.Object)">
  24358. <summary>
  24359. Overrides the ConvertFrom method of IConvertFrom.
  24360. </summary>
  24361. <param name="source">the object to convert to an IPAddress</param>
  24362. <returns>the IPAddress</returns>
  24363. <remarks>
  24364. <para>
  24365. Uses the <see cref="M:System.Net.IPAddress.Parse(System.String)"/> method to convert the
  24366. <see cref="T:System.String"/> argument to an <see cref="T:System.Net.IPAddress"/>.
  24367. If that fails then the string is resolved as a DNS hostname.
  24368. </para>
  24369. </remarks>
  24370. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24371. The <paramref name="source"/> object cannot be converted to the
  24372. target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.IPAddressConverter.CanConvertFrom(System.Type)"/>
  24373. method.
  24374. </exception>
  24375. </member>
  24376. <member name="F:log4net.Util.TypeConverters.IPAddressConverter.validIpAddressChars">
  24377. <summary>
  24378. Valid characters in an IPv4 or IPv6 address string. (Does not support subnets)
  24379. </summary>
  24380. </member>
  24381. <member name="T:log4net.Util.TypeConverters.PatternLayoutConverter">
  24382. <summary>
  24383. Supports conversion from string to <see cref="T:log4net.Layout.PatternLayout"/> type.
  24384. </summary>
  24385. <remarks>
  24386. <para>
  24387. Supports conversion from string to <see cref="T:log4net.Layout.PatternLayout"/> type.
  24388. </para>
  24389. <para>
  24390. The string is used as the <see cref="P:log4net.Layout.PatternLayout.ConversionPattern"/>
  24391. of the <see cref="T:log4net.Layout.PatternLayout"/>.
  24392. </para>
  24393. </remarks>
  24394. <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
  24395. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24396. <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
  24397. <author>Nicko Cadell</author>
  24398. </member>
  24399. <member name="M:log4net.Util.TypeConverters.PatternLayoutConverter.CanConvertFrom(System.Type)">
  24400. <summary>
  24401. Can the source type be converted to the type supported by this object
  24402. </summary>
  24403. <param name="sourceType">the type to convert</param>
  24404. <returns>true if the conversion is possible</returns>
  24405. <remarks>
  24406. <para>
  24407. Returns <c>true</c> if the <paramref name="sourceType"/> is
  24408. the <see cref="T:System.String"/> type.
  24409. </para>
  24410. </remarks>
  24411. </member>
  24412. <member name="M:log4net.Util.TypeConverters.PatternLayoutConverter.ConvertFrom(System.Object)">
  24413. <summary>
  24414. Overrides the ConvertFrom method of IConvertFrom.
  24415. </summary>
  24416. <param name="source">the object to convert to a PatternLayout</param>
  24417. <returns>the PatternLayout</returns>
  24418. <remarks>
  24419. <para>
  24420. Creates and returns a new <see cref="T:log4net.Layout.PatternLayout"/> using
  24421. the <paramref name="source"/> <see cref="T:System.String"/> as the
  24422. <see cref="P:log4net.Layout.PatternLayout.ConversionPattern"/>.
  24423. </para>
  24424. </remarks>
  24425. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24426. The <paramref name="source"/> object cannot be converted to the
  24427. target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.PatternLayoutConverter.CanConvertFrom(System.Type)"/>
  24428. method.
  24429. </exception>
  24430. </member>
  24431. <member name="T:log4net.Util.TypeConverters.PatternStringConverter">
  24432. <summary>
  24433. Convert between string and <see cref="T:log4net.Util.PatternString"/>
  24434. </summary>
  24435. <remarks>
  24436. <para>
  24437. Supports conversion from string to <see cref="T:log4net.Util.PatternString"/> type,
  24438. and from a <see cref="T:log4net.Util.PatternString"/> type to a string.
  24439. </para>
  24440. <para>
  24441. The string is used as the <see cref="P:log4net.Util.PatternString.ConversionPattern"/>
  24442. of the <see cref="T:log4net.Util.PatternString"/>.
  24443. </para>
  24444. </remarks>
  24445. <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
  24446. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24447. <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
  24448. <author>Nicko Cadell</author>
  24449. </member>
  24450. <member name="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertTo(System.Type)">
  24451. <summary>
  24452. Can the target type be converted to the type supported by this object
  24453. </summary>
  24454. <param name="targetType">A <see cref="T:System.Type"/> that represents the type you want to convert to</param>
  24455. <returns>true if the conversion is possible</returns>
  24456. <remarks>
  24457. <para>
  24458. Returns <c>true</c> if the <paramref name="targetType"/> is
  24459. assignable from a <see cref="T:System.String"/> type.
  24460. </para>
  24461. </remarks>
  24462. </member>
  24463. <member name="M:log4net.Util.TypeConverters.PatternStringConverter.ConvertTo(System.Object,System.Type)">
  24464. <summary>
  24465. Converts the given value object to the specified type, using the arguments
  24466. </summary>
  24467. <param name="source">the object to convert</param>
  24468. <param name="targetType">The Type to convert the value parameter to</param>
  24469. <returns>the converted object</returns>
  24470. <remarks>
  24471. <para>
  24472. Uses the <see cref="M:PatternString.Format()"/> method to convert the
  24473. <see cref="T:log4net.Util.PatternString"/> argument to a <see cref="T:System.String"/>.
  24474. </para>
  24475. </remarks>
  24476. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24477. The <paramref name="source"/> object cannot be converted to the
  24478. <paramref name="targetType"/>. To check for this condition use the
  24479. <see cref="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertTo(System.Type)"/> method.
  24480. </exception>
  24481. </member>
  24482. <member name="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertFrom(System.Type)">
  24483. <summary>
  24484. Can the source type be converted to the type supported by this object
  24485. </summary>
  24486. <param name="sourceType">the type to convert</param>
  24487. <returns>true if the conversion is possible</returns>
  24488. <remarks>
  24489. <para>
  24490. Returns <c>true</c> if the <paramref name="sourceType"/> is
  24491. the <see cref="T:System.String"/> type.
  24492. </para>
  24493. </remarks>
  24494. </member>
  24495. <member name="M:log4net.Util.TypeConverters.PatternStringConverter.ConvertFrom(System.Object)">
  24496. <summary>
  24497. Overrides the ConvertFrom method of IConvertFrom.
  24498. </summary>
  24499. <param name="source">the object to convert to a PatternString</param>
  24500. <returns>the PatternString</returns>
  24501. <remarks>
  24502. <para>
  24503. Creates and returns a new <see cref="T:log4net.Util.PatternString"/> using
  24504. the <paramref name="source"/> <see cref="T:System.String"/> as the
  24505. <see cref="P:log4net.Util.PatternString.ConversionPattern"/>.
  24506. </para>
  24507. </remarks>
  24508. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24509. The <paramref name="source"/> object cannot be converted to the
  24510. target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.PatternStringConverter.CanConvertFrom(System.Type)"/>
  24511. method.
  24512. </exception>
  24513. </member>
  24514. <member name="T:log4net.Util.TypeConverters.TypeConverter">
  24515. <summary>
  24516. Supports conversion from string to <see cref="T:System.Type"/> type.
  24517. </summary>
  24518. <remarks>
  24519. <para>
  24520. Supports conversion from string to <see cref="T:System.Type"/> type.
  24521. </para>
  24522. </remarks>
  24523. <seealso cref="T:log4net.Util.TypeConverters.ConverterRegistry"/>
  24524. <seealso cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24525. <seealso cref="T:log4net.Util.TypeConverters.IConvertTo"/>
  24526. <author>Nicko Cadell</author>
  24527. </member>
  24528. <member name="M:log4net.Util.TypeConverters.TypeConverter.CanConvertFrom(System.Type)">
  24529. <summary>
  24530. Can the source type be converted to the type supported by this object
  24531. </summary>
  24532. <param name="sourceType">the type to convert</param>
  24533. <returns>true if the conversion is possible</returns>
  24534. <remarks>
  24535. <para>
  24536. Returns <c>true</c> if the <paramref name="sourceType"/> is
  24537. the <see cref="T:System.String"/> type.
  24538. </para>
  24539. </remarks>
  24540. </member>
  24541. <member name="M:log4net.Util.TypeConverters.TypeConverter.ConvertFrom(System.Object)">
  24542. <summary>
  24543. Overrides the ConvertFrom method of IConvertFrom.
  24544. </summary>
  24545. <param name="source">the object to convert to a Type</param>
  24546. <returns>the Type</returns>
  24547. <remarks>
  24548. <para>
  24549. Uses the <see cref="M:Type.GetType(string,bool)"/> method to convert the
  24550. <see cref="T:System.String"/> argument to a <see cref="T:System.Type"/>.
  24551. Additional effort is made to locate partially specified types
  24552. by searching the loaded assemblies.
  24553. </para>
  24554. </remarks>
  24555. <exception cref="T:log4net.Util.TypeConverters.ConversionNotSupportedException">
  24556. The <paramref name="source"/> object cannot be converted to the
  24557. target type. To check for this condition use the <see cref="M:log4net.Util.TypeConverters.TypeConverter.CanConvertFrom(System.Type)"/>
  24558. method.
  24559. </exception>
  24560. </member>
  24561. <member name="T:log4net.Util.TypeConverters.TypeConverterAttribute">
  24562. <summary>
  24563. Attribute used to associate a type converter
  24564. </summary>
  24565. <remarks>
  24566. <para>
  24567. Class and Interface level attribute that specifies a type converter
  24568. to use with the associated type.
  24569. </para>
  24570. <para>
  24571. To associate a type converter with a target type apply a
  24572. <c>TypeConverterAttribute</c> to the target type. Specify the
  24573. type of the type converter on the attribute.
  24574. </para>
  24575. </remarks>
  24576. <author>Nicko Cadell</author>
  24577. <author>Gert Driesen</author>
  24578. </member>
  24579. <member name="F:log4net.Util.TypeConverters.TypeConverterAttribute.m_typeName">
  24580. <summary>
  24581. The string type name of the type converter
  24582. </summary>
  24583. </member>
  24584. <member name="M:log4net.Util.TypeConverters.TypeConverterAttribute.#ctor">
  24585. <summary>
  24586. Default constructor
  24587. </summary>
  24588. <remarks>
  24589. <para>
  24590. Default constructor
  24591. </para>
  24592. </remarks>
  24593. </member>
  24594. <member name="M:log4net.Util.TypeConverters.TypeConverterAttribute.#ctor(System.String)">
  24595. <summary>
  24596. Create a new type converter attribute for the specified type name
  24597. </summary>
  24598. <param name="typeName">The string type name of the type converter</param>
  24599. <remarks>
  24600. <para>
  24601. The type specified must implement the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24602. or the <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces.
  24603. </para>
  24604. </remarks>
  24605. </member>
  24606. <member name="M:log4net.Util.TypeConverters.TypeConverterAttribute.#ctor(System.Type)">
  24607. <summary>
  24608. Create a new type converter attribute for the specified type
  24609. </summary>
  24610. <param name="converterType">The type of the type converter</param>
  24611. <remarks>
  24612. <para>
  24613. The type specified must implement the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24614. or the <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces.
  24615. </para>
  24616. </remarks>
  24617. </member>
  24618. <member name="P:log4net.Util.TypeConverters.TypeConverterAttribute.ConverterTypeName">
  24619. <summary>
  24620. The string type name of the type converter
  24621. </summary>
  24622. <value>
  24623. The string type name of the type converter
  24624. </value>
  24625. <remarks>
  24626. <para>
  24627. The type specified must implement the <see cref="T:log4net.Util.TypeConverters.IConvertFrom"/>
  24628. or the <see cref="T:log4net.Util.TypeConverters.IConvertTo"/> interfaces.
  24629. </para>
  24630. </remarks>
  24631. </member>
  24632. <member name="T:log4net.Util.AppenderAttachedImpl">
  24633. <summary>
  24634. A straightforward implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface.
  24635. </summary>
  24636. <remarks>
  24637. <para>
  24638. This is the default implementation of the <see cref="T:log4net.Core.IAppenderAttachable"/>
  24639. interface. Implementors of the <see cref="T:log4net.Core.IAppenderAttachable"/> interface
  24640. should aggregate an instance of this type.
  24641. </para>
  24642. </remarks>
  24643. <author>Nicko Cadell</author>
  24644. <author>Gert Driesen</author>
  24645. </member>
  24646. <member name="M:log4net.Util.AppenderAttachedImpl.#ctor">
  24647. <summary>
  24648. Constructor
  24649. </summary>
  24650. <remarks>
  24651. <para>
  24652. Initializes a new instance of the <see cref="T:log4net.Util.AppenderAttachedImpl"/> class.
  24653. </para>
  24654. </remarks>
  24655. </member>
  24656. <member name="M:log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders(log4net.Core.LoggingEvent)">
  24657. <summary>
  24658. Append on on all attached appenders.
  24659. </summary>
  24660. <param name="loggingEvent">The event being logged.</param>
  24661. <returns>The number of appenders called.</returns>
  24662. <remarks>
  24663. <para>
  24664. Calls the <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method on all
  24665. attached appenders.
  24666. </para>
  24667. </remarks>
  24668. </member>
  24669. <member name="M:log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders(log4net.Core.LoggingEvent[])">
  24670. <summary>
  24671. Append on on all attached appenders.
  24672. </summary>
  24673. <param name="loggingEvents">The array of events being logged.</param>
  24674. <returns>The number of appenders called.</returns>
  24675. <remarks>
  24676. <para>
  24677. Calls the <see cref="M:log4net.Appender.IAppender.DoAppend(log4net.Core.LoggingEvent)"/> method on all
  24678. attached appenders.
  24679. </para>
  24680. </remarks>
  24681. </member>
  24682. <member name="M:log4net.Util.AppenderAttachedImpl.CallAppend(log4net.Appender.IAppender,log4net.Core.LoggingEvent[])">
  24683. <summary>
  24684. Calls the DoAppende method on the <see cref="T:log4net.Appender.IAppender"/> with
  24685. the <see cref="T:log4net.Core.LoggingEvent"/> objects supplied.
  24686. </summary>
  24687. <param name="appender">The appender</param>
  24688. <param name="loggingEvents">The events</param>
  24689. <remarks>
  24690. <para>
  24691. If the <paramref name="appender"/> supports the <see cref="T:log4net.Appender.IBulkAppender"/>
  24692. interface then the <paramref name="loggingEvents"/> will be passed
  24693. through using that interface. Otherwise the <see cref="T:log4net.Core.LoggingEvent"/>
  24694. objects in the array will be passed one at a time.
  24695. </para>
  24696. </remarks>
  24697. </member>
  24698. <member name="M:log4net.Util.AppenderAttachedImpl.AddAppender(log4net.Appender.IAppender)">
  24699. <summary>
  24700. Attaches an appender.
  24701. </summary>
  24702. <param name="newAppender">The appender to add.</param>
  24703. <remarks>
  24704. <para>
  24705. If the appender is already in the list it won't be added again.
  24706. </para>
  24707. </remarks>
  24708. </member>
  24709. <member name="M:log4net.Util.AppenderAttachedImpl.GetAppender(System.String)">
  24710. <summary>
  24711. Gets an attached appender with the specified name.
  24712. </summary>
  24713. <param name="name">The name of the appender to get.</param>
  24714. <returns>
  24715. The appender with the name specified, or <c>null</c> if no appender with the
  24716. specified name is found.
  24717. </returns>
  24718. <remarks>
  24719. <para>
  24720. Lookup an attached appender by name.
  24721. </para>
  24722. </remarks>
  24723. </member>
  24724. <member name="M:log4net.Util.AppenderAttachedImpl.RemoveAllAppenders">
  24725. <summary>
  24726. Removes all attached appenders.
  24727. </summary>
  24728. <remarks>
  24729. <para>
  24730. Removes and closes all attached appenders
  24731. </para>
  24732. </remarks>
  24733. </member>
  24734. <member name="M:log4net.Util.AppenderAttachedImpl.RemoveAppender(log4net.Appender.IAppender)">
  24735. <summary>
  24736. Removes the specified appender from the list of attached appenders.
  24737. </summary>
  24738. <param name="appender">The appender to remove.</param>
  24739. <returns>The appender removed from the list</returns>
  24740. <remarks>
  24741. <para>
  24742. The appender removed is not closed.
  24743. If you are discarding the appender you must call
  24744. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  24745. </para>
  24746. </remarks>
  24747. </member>
  24748. <member name="M:log4net.Util.AppenderAttachedImpl.RemoveAppender(System.String)">
  24749. <summary>
  24750. Removes the appender with the specified name from the list of appenders.
  24751. </summary>
  24752. <param name="name">The name of the appender to remove.</param>
  24753. <returns>The appender removed from the list</returns>
  24754. <remarks>
  24755. <para>
  24756. The appender removed is not closed.
  24757. If you are discarding the appender you must call
  24758. <see cref="M:log4net.Appender.IAppender.Close"/> on the appender removed.
  24759. </para>
  24760. </remarks>
  24761. </member>
  24762. <member name="F:log4net.Util.AppenderAttachedImpl.m_appenderList">
  24763. <summary>
  24764. List of appenders
  24765. </summary>
  24766. </member>
  24767. <member name="F:log4net.Util.AppenderAttachedImpl.m_appenderArray">
  24768. <summary>
  24769. Array of appenders, used to cache the m_appenderList
  24770. </summary>
  24771. </member>
  24772. <member name="F:log4net.Util.AppenderAttachedImpl.declaringType">
  24773. <summary>
  24774. The fully qualified type of the AppenderAttachedImpl class.
  24775. </summary>
  24776. <remarks>
  24777. Used by the internal logger to record the Type of the
  24778. log message.
  24779. </remarks>
  24780. </member>
  24781. <member name="P:log4net.Util.AppenderAttachedImpl.Appenders">
  24782. <summary>
  24783. Gets all attached appenders.
  24784. </summary>
  24785. <returns>
  24786. A collection of attached appenders, or <c>null</c> if there
  24787. are no attached appenders.
  24788. </returns>
  24789. <remarks>
  24790. <para>
  24791. The read only collection of all currently attached appenders.
  24792. </para>
  24793. </remarks>
  24794. </member>
  24795. <member name="T:log4net.Util.CompositeProperties">
  24796. <summary>
  24797. This class aggregates several PropertiesDictionary collections together.
  24798. </summary>
  24799. <remarks>
  24800. <para>
  24801. Provides a dictionary style lookup over an ordered list of
  24802. <see cref="T:log4net.Util.PropertiesDictionary"/> collections.
  24803. </para>
  24804. </remarks>
  24805. <author>Nicko Cadell</author>
  24806. </member>
  24807. <member name="M:log4net.Util.CompositeProperties.#ctor">
  24808. <summary>
  24809. Constructor
  24810. </summary>
  24811. <remarks>
  24812. <para>
  24813. Initializes a new instance of the <see cref="T:log4net.Util.CompositeProperties"/> class.
  24814. </para>
  24815. </remarks>
  24816. </member>
  24817. <member name="M:log4net.Util.CompositeProperties.Add(log4net.Util.ReadOnlyPropertiesDictionary)">
  24818. <summary>
  24819. Add a Properties Dictionary to this composite collection
  24820. </summary>
  24821. <param name="properties">the properties to add</param>
  24822. <remarks>
  24823. <para>
  24824. Properties dictionaries added first take precedence over dictionaries added
  24825. later.
  24826. </para>
  24827. </remarks>
  24828. </member>
  24829. <member name="M:log4net.Util.CompositeProperties.Flatten">
  24830. <summary>
  24831. Flatten this composite collection into a single properties dictionary
  24832. </summary>
  24833. <returns>the flattened dictionary</returns>
  24834. <remarks>
  24835. <para>
  24836. Reduces the collection of ordered dictionaries to a single dictionary
  24837. containing the resultant values for the keys.
  24838. </para>
  24839. </remarks>
  24840. </member>
  24841. <member name="P:log4net.Util.CompositeProperties.Item(System.String)">
  24842. <summary>
  24843. Gets the value of a property
  24844. </summary>
  24845. <value>
  24846. The value for the property with the specified key
  24847. </value>
  24848. <remarks>
  24849. <para>
  24850. Looks up the value for the <paramref name="key"/> specified.
  24851. The <see cref="T:log4net.Util.PropertiesDictionary"/> collections are searched
  24852. in the order in which they were added to this collection. The value
  24853. returned is the value held by the first collection that contains
  24854. the specified key.
  24855. </para>
  24856. <para>
  24857. If none of the collections contain the specified key then
  24858. <c>null</c> is returned.
  24859. </para>
  24860. </remarks>
  24861. </member>
  24862. <member name="T:log4net.Util.ContextPropertiesBase">
  24863. <summary>
  24864. Base class for Context Properties implementations
  24865. </summary>
  24866. <remarks>
  24867. <para>
  24868. This class defines a basic property get set accessor
  24869. </para>
  24870. </remarks>
  24871. <author>Nicko Cadell</author>
  24872. </member>
  24873. <member name="P:log4net.Util.ContextPropertiesBase.Item(System.String)">
  24874. <summary>
  24875. Gets or sets the value of a property
  24876. </summary>
  24877. <value>
  24878. The value for the property with the specified key
  24879. </value>
  24880. <remarks>
  24881. <para>
  24882. Gets or sets the value of a property
  24883. </para>
  24884. </remarks>
  24885. </member>
  24886. <member name="T:log4net.Util.ConverterInfo">
  24887. <summary>
  24888. Wrapper class used to map converter names to converter types
  24889. </summary>
  24890. <remarks>
  24891. <para>
  24892. Pattern converter info class used during configuration by custom
  24893. PatternString and PatternLayer converters.
  24894. </para>
  24895. </remarks>
  24896. </member>
  24897. <member name="M:log4net.Util.ConverterInfo.#ctor">
  24898. <summary>
  24899. default constructor
  24900. </summary>
  24901. </member>
  24902. <member name="M:log4net.Util.ConverterInfo.AddProperty(log4net.Util.PropertyEntry)">
  24903. <summary>
  24904. </summary>
  24905. <param name="entry"></param>
  24906. </member>
  24907. <member name="P:log4net.Util.ConverterInfo.Name">
  24908. <summary>
  24909. Gets or sets the name of the conversion pattern
  24910. </summary>
  24911. <remarks>
  24912. <para>
  24913. The name of the pattern in the format string
  24914. </para>
  24915. </remarks>
  24916. </member>
  24917. <member name="P:log4net.Util.ConverterInfo.Type">
  24918. <summary>
  24919. Gets or sets the type of the converter
  24920. </summary>
  24921. <remarks>
  24922. <para>
  24923. The value specified must extend the
  24924. <see cref="T:log4net.Util.PatternConverter"/> type.
  24925. </para>
  24926. </remarks>
  24927. </member>
  24928. <member name="P:log4net.Util.ConverterInfo.Properties">
  24929. <summary>
  24930. </summary>
  24931. </member>
  24932. <member name="T:log4net.Util.CountingQuietTextWriter">
  24933. <summary>
  24934. Subclass of <see cref="T:log4net.Util.QuietTextWriter"/> that maintains a count of
  24935. the number of bytes written.
  24936. </summary>
  24937. <remarks>
  24938. <para>
  24939. This writer counts the number of bytes written.
  24940. </para>
  24941. </remarks>
  24942. <author>Nicko Cadell</author>
  24943. <author>Gert Driesen</author>
  24944. </member>
  24945. <member name="T:log4net.Util.QuietTextWriter">
  24946. <summary>
  24947. <see cref="T:System.IO.TextWriter"/> that does not leak exceptions
  24948. </summary>
  24949. <remarks>
  24950. <para>
  24951. <see cref="T:log4net.Util.QuietTextWriter"/> does not throw exceptions when things go wrong.
  24952. Instead, it delegates error handling to its <see cref="T:log4net.Core.IErrorHandler"/>.
  24953. </para>
  24954. </remarks>
  24955. <author>Nicko Cadell</author>
  24956. <author>Gert Driesen</author>
  24957. </member>
  24958. <member name="T:log4net.Util.TextWriterAdapter">
  24959. <summary>
  24960. Adapter that extends <see cref="T:System.IO.TextWriter"/> and forwards all
  24961. messages to an instance of <see cref="T:System.IO.TextWriter"/>.
  24962. </summary>
  24963. <remarks>
  24964. <para>
  24965. Adapter that extends <see cref="T:System.IO.TextWriter"/> and forwards all
  24966. messages to an instance of <see cref="T:System.IO.TextWriter"/>.
  24967. </para>
  24968. </remarks>
  24969. <author>Nicko Cadell</author>
  24970. </member>
  24971. <member name="F:log4net.Util.TextWriterAdapter.m_writer">
  24972. <summary>
  24973. The writer to forward messages to
  24974. </summary>
  24975. </member>
  24976. <member name="M:log4net.Util.TextWriterAdapter.#ctor(System.IO.TextWriter)">
  24977. <summary>
  24978. Create an instance of <see cref="T:log4net.Util.TextWriterAdapter"/> that forwards all
  24979. messages to a <see cref="T:System.IO.TextWriter"/>.
  24980. </summary>
  24981. <param name="writer">The <see cref="T:System.IO.TextWriter"/> to forward to</param>
  24982. <remarks>
  24983. <para>
  24984. Create an instance of <see cref="T:log4net.Util.TextWriterAdapter"/> that forwards all
  24985. messages to a <see cref="T:System.IO.TextWriter"/>.
  24986. </para>
  24987. </remarks>
  24988. </member>
  24989. <member name="M:log4net.Util.TextWriterAdapter.Close">
  24990. <summary>
  24991. Closes the writer and releases any system resources associated with the writer
  24992. </summary>
  24993. <remarks>
  24994. <para>
  24995. </para>
  24996. </remarks>
  24997. </member>
  24998. <member name="M:log4net.Util.TextWriterAdapter.Dispose(System.Boolean)">
  24999. <summary>
  25000. Dispose this writer
  25001. </summary>
  25002. <param name="disposing">flag indicating if we are being disposed</param>
  25003. <remarks>
  25004. <para>
  25005. Dispose this writer
  25006. </para>
  25007. </remarks>
  25008. </member>
  25009. <member name="M:log4net.Util.TextWriterAdapter.Flush">
  25010. <summary>
  25011. Flushes any buffered output
  25012. </summary>
  25013. <remarks>
  25014. <para>
  25015. Clears all buffers for the writer and causes any buffered data to be written
  25016. to the underlying device
  25017. </para>
  25018. </remarks>
  25019. </member>
  25020. <member name="M:log4net.Util.TextWriterAdapter.Write(System.Char)">
  25021. <summary>
  25022. Writes a character to the wrapped TextWriter
  25023. </summary>
  25024. <param name="value">the value to write to the TextWriter</param>
  25025. <remarks>
  25026. <para>
  25027. Writes a character to the wrapped TextWriter
  25028. </para>
  25029. </remarks>
  25030. </member>
  25031. <member name="M:log4net.Util.TextWriterAdapter.Write(System.Char[],System.Int32,System.Int32)">
  25032. <summary>
  25033. Writes a character buffer to the wrapped TextWriter
  25034. </summary>
  25035. <param name="buffer">the data buffer</param>
  25036. <param name="index">the start index</param>
  25037. <param name="count">the number of characters to write</param>
  25038. <remarks>
  25039. <para>
  25040. Writes a character buffer to the wrapped TextWriter
  25041. </para>
  25042. </remarks>
  25043. </member>
  25044. <member name="M:log4net.Util.TextWriterAdapter.Write(System.String)">
  25045. <summary>
  25046. Writes a string to the wrapped TextWriter
  25047. </summary>
  25048. <param name="value">the value to write to the TextWriter</param>
  25049. <remarks>
  25050. <para>
  25051. Writes a string to the wrapped TextWriter
  25052. </para>
  25053. </remarks>
  25054. </member>
  25055. <member name="P:log4net.Util.TextWriterAdapter.Writer">
  25056. <summary>
  25057. Gets or sets the underlying <see cref="T:System.IO.TextWriter"/>.
  25058. </summary>
  25059. <value>
  25060. The underlying <see cref="T:System.IO.TextWriter"/>.
  25061. </value>
  25062. <remarks>
  25063. <para>
  25064. Gets or sets the underlying <see cref="T:System.IO.TextWriter"/>.
  25065. </para>
  25066. </remarks>
  25067. </member>
  25068. <member name="P:log4net.Util.TextWriterAdapter.Encoding">
  25069. <summary>
  25070. The Encoding in which the output is written
  25071. </summary>
  25072. <value>
  25073. The <see cref="P:log4net.Util.TextWriterAdapter.Encoding"/>
  25074. </value>
  25075. <remarks>
  25076. <para>
  25077. The Encoding in which the output is written
  25078. </para>
  25079. </remarks>
  25080. </member>
  25081. <member name="P:log4net.Util.TextWriterAdapter.FormatProvider">
  25082. <summary>
  25083. Gets an object that controls formatting
  25084. </summary>
  25085. <value>
  25086. The format provider
  25087. </value>
  25088. <remarks>
  25089. <para>
  25090. Gets an object that controls formatting
  25091. </para>
  25092. </remarks>
  25093. </member>
  25094. <member name="P:log4net.Util.TextWriterAdapter.NewLine">
  25095. <summary>
  25096. Gets or sets the line terminator string used by the TextWriter
  25097. </summary>
  25098. <value>
  25099. The line terminator to use
  25100. </value>
  25101. <remarks>
  25102. <para>
  25103. Gets or sets the line terminator string used by the TextWriter
  25104. </para>
  25105. </remarks>
  25106. </member>
  25107. <member name="M:log4net.Util.QuietTextWriter.#ctor(System.IO.TextWriter,log4net.Core.IErrorHandler)">
  25108. <summary>
  25109. Constructor
  25110. </summary>
  25111. <param name="writer">the writer to actually write to</param>
  25112. <param name="errorHandler">the error handler to report error to</param>
  25113. <remarks>
  25114. <para>
  25115. Create a new QuietTextWriter using a writer and error handler
  25116. </para>
  25117. </remarks>
  25118. </member>
  25119. <member name="M:log4net.Util.QuietTextWriter.Write(System.Char)">
  25120. <summary>
  25121. Writes a character to the underlying writer
  25122. </summary>
  25123. <param name="value">the char to write</param>
  25124. <remarks>
  25125. <para>
  25126. Writes a character to the underlying writer
  25127. </para>
  25128. </remarks>
  25129. </member>
  25130. <member name="M:log4net.Util.QuietTextWriter.Write(System.Char[],System.Int32,System.Int32)">
  25131. <summary>
  25132. Writes a buffer to the underlying writer
  25133. </summary>
  25134. <param name="buffer">the buffer to write</param>
  25135. <param name="index">the start index to write from</param>
  25136. <param name="count">the number of characters to write</param>
  25137. <remarks>
  25138. <para>
  25139. Writes a buffer to the underlying writer
  25140. </para>
  25141. </remarks>
  25142. </member>
  25143. <member name="M:log4net.Util.QuietTextWriter.Write(System.String)">
  25144. <summary>
  25145. Writes a string to the output.
  25146. </summary>
  25147. <param name="value">The string data to write to the output.</param>
  25148. <remarks>
  25149. <para>
  25150. Writes a string to the output.
  25151. </para>
  25152. </remarks>
  25153. </member>
  25154. <member name="M:log4net.Util.QuietTextWriter.Close">
  25155. <summary>
  25156. Closes the underlying output writer.
  25157. </summary>
  25158. <remarks>
  25159. <para>
  25160. Closes the underlying output writer.
  25161. </para>
  25162. </remarks>
  25163. </member>
  25164. <member name="F:log4net.Util.QuietTextWriter.m_errorHandler">
  25165. <summary>
  25166. The error handler instance to pass all errors to
  25167. </summary>
  25168. </member>
  25169. <member name="F:log4net.Util.QuietTextWriter.m_closed">
  25170. <summary>
  25171. Flag to indicate if this writer is closed
  25172. </summary>
  25173. </member>
  25174. <member name="P:log4net.Util.QuietTextWriter.ErrorHandler">
  25175. <summary>
  25176. Gets or sets the error handler that all errors are passed to.
  25177. </summary>
  25178. <value>
  25179. The error handler that all errors are passed to.
  25180. </value>
  25181. <remarks>
  25182. <para>
  25183. Gets or sets the error handler that all errors are passed to.
  25184. </para>
  25185. </remarks>
  25186. </member>
  25187. <member name="P:log4net.Util.QuietTextWriter.Closed">
  25188. <summary>
  25189. Gets a value indicating whether this writer is closed.
  25190. </summary>
  25191. <value>
  25192. <c>true</c> if this writer is closed, otherwise <c>false</c>.
  25193. </value>
  25194. <remarks>
  25195. <para>
  25196. Gets a value indicating whether this writer is closed.
  25197. </para>
  25198. </remarks>
  25199. </member>
  25200. <member name="M:log4net.Util.CountingQuietTextWriter.#ctor(System.IO.TextWriter,log4net.Core.IErrorHandler)">
  25201. <summary>
  25202. Constructor
  25203. </summary>
  25204. <param name="writer">The <see cref="T:System.IO.TextWriter"/> to actually write to.</param>
  25205. <param name="errorHandler">The <see cref="T:log4net.Core.IErrorHandler"/> to report errors to.</param>
  25206. <remarks>
  25207. <para>
  25208. Creates a new instance of the <see cref="T:log4net.Util.CountingQuietTextWriter"/> class
  25209. with the specified <see cref="T:System.IO.TextWriter"/> and <see cref="T:log4net.Core.IErrorHandler"/>.
  25210. </para>
  25211. </remarks>
  25212. </member>
  25213. <member name="M:log4net.Util.CountingQuietTextWriter.Write(System.Char)">
  25214. <summary>
  25215. Writes a character to the underlying writer and counts the number of bytes written.
  25216. </summary>
  25217. <param name="value">the char to write</param>
  25218. <remarks>
  25219. <para>
  25220. Overrides implementation of <see cref="T:log4net.Util.QuietTextWriter"/>. Counts
  25221. the number of bytes written.
  25222. </para>
  25223. </remarks>
  25224. </member>
  25225. <member name="M:log4net.Util.CountingQuietTextWriter.Write(System.Char[],System.Int32,System.Int32)">
  25226. <summary>
  25227. Writes a buffer to the underlying writer and counts the number of bytes written.
  25228. </summary>
  25229. <param name="buffer">the buffer to write</param>
  25230. <param name="index">the start index to write from</param>
  25231. <param name="count">the number of characters to write</param>
  25232. <remarks>
  25233. <para>
  25234. Overrides implementation of <see cref="T:log4net.Util.QuietTextWriter"/>. Counts
  25235. the number of bytes written.
  25236. </para>
  25237. </remarks>
  25238. </member>
  25239. <member name="M:log4net.Util.CountingQuietTextWriter.Write(System.String)">
  25240. <summary>
  25241. Writes a string to the output and counts the number of bytes written.
  25242. </summary>
  25243. <param name="str">The string data to write to the output.</param>
  25244. <remarks>
  25245. <para>
  25246. Overrides implementation of <see cref="T:log4net.Util.QuietTextWriter"/>. Counts
  25247. the number of bytes written.
  25248. </para>
  25249. </remarks>
  25250. </member>
  25251. <member name="F:log4net.Util.CountingQuietTextWriter.m_countBytes">
  25252. <summary>
  25253. Total number of bytes written.
  25254. </summary>
  25255. </member>
  25256. <member name="P:log4net.Util.CountingQuietTextWriter.Count">
  25257. <summary>
  25258. Gets or sets the total number of bytes written.
  25259. </summary>
  25260. <value>
  25261. The total number of bytes written.
  25262. </value>
  25263. <remarks>
  25264. <para>
  25265. Gets or sets the total number of bytes written.
  25266. </para>
  25267. </remarks>
  25268. </member>
  25269. <member name="T:log4net.Util.CyclicBuffer">
  25270. <summary>
  25271. A fixed size rolling buffer of logging events.
  25272. </summary>
  25273. <remarks>
  25274. <para>
  25275. An array backed fixed size leaky bucket.
  25276. </para>
  25277. </remarks>
  25278. <author>Nicko Cadell</author>
  25279. <author>Gert Driesen</author>
  25280. </member>
  25281. <member name="M:log4net.Util.CyclicBuffer.#ctor(System.Int32)">
  25282. <summary>
  25283. Constructor
  25284. </summary>
  25285. <param name="maxSize">The maximum number of logging events in the buffer.</param>
  25286. <remarks>
  25287. <para>
  25288. Initializes a new instance of the <see cref="T:log4net.Util.CyclicBuffer"/> class with
  25289. the specified maximum number of buffered logging events.
  25290. </para>
  25291. </remarks>
  25292. <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="maxSize"/> argument is not a positive integer.</exception>
  25293. </member>
  25294. <member name="M:log4net.Util.CyclicBuffer.Append(log4net.Core.LoggingEvent)">
  25295. <summary>
  25296. Appends a <paramref name="loggingEvent"/> to the buffer.
  25297. </summary>
  25298. <param name="loggingEvent">The event to append to the buffer.</param>
  25299. <returns>The event discarded from the buffer, if the buffer is full, otherwise <c>null</c>.</returns>
  25300. <remarks>
  25301. <para>
  25302. Append an event to the buffer. If the buffer still contains free space then
  25303. <c>null</c> is returned. If the buffer is full then an event will be dropped
  25304. to make space for the new event, the event dropped is returned.
  25305. </para>
  25306. </remarks>
  25307. </member>
  25308. <member name="M:log4net.Util.CyclicBuffer.PopOldest">
  25309. <summary>
  25310. Get and remove the oldest event in the buffer.
  25311. </summary>
  25312. <returns>The oldest logging event in the buffer</returns>
  25313. <remarks>
  25314. <para>
  25315. Gets the oldest (first) logging event in the buffer and removes it
  25316. from the buffer.
  25317. </para>
  25318. </remarks>
  25319. </member>
  25320. <member name="M:log4net.Util.CyclicBuffer.PopAll">
  25321. <summary>
  25322. Pops all the logging events from the buffer into an array.
  25323. </summary>
  25324. <returns>An array of all the logging events in the buffer.</returns>
  25325. <remarks>
  25326. <para>
  25327. Get all the events in the buffer and clear the buffer.
  25328. </para>
  25329. </remarks>
  25330. </member>
  25331. <member name="M:log4net.Util.CyclicBuffer.Clear">
  25332. <summary>
  25333. Clear the buffer
  25334. </summary>
  25335. <remarks>
  25336. <para>
  25337. Clear the buffer of all events. The events in the buffer are lost.
  25338. </para>
  25339. </remarks>
  25340. </member>
  25341. <member name="P:log4net.Util.CyclicBuffer.Item(System.Int32)">
  25342. <summary>
  25343. Gets the <paramref name="i"/>th oldest event currently in the buffer.
  25344. </summary>
  25345. <value>The <paramref name="i"/>th oldest event currently in the buffer.</value>
  25346. <remarks>
  25347. <para>
  25348. If <paramref name="i"/> is outside the range 0 to the number of events
  25349. currently in the buffer, then <c>null</c> is returned.
  25350. </para>
  25351. </remarks>
  25352. </member>
  25353. <member name="P:log4net.Util.CyclicBuffer.MaxSize">
  25354. <summary>
  25355. Gets the maximum size of the buffer.
  25356. </summary>
  25357. <value>The maximum size of the buffer.</value>
  25358. <remarks>
  25359. <para>
  25360. Gets the maximum size of the buffer
  25361. </para>
  25362. </remarks>
  25363. </member>
  25364. <member name="P:log4net.Util.CyclicBuffer.Length">
  25365. <summary>
  25366. Gets the number of logging events in the buffer.
  25367. </summary>
  25368. <value>The number of logging events in the buffer.</value>
  25369. <remarks>
  25370. <para>
  25371. This number is guaranteed to be in the range 0 to <see cref="P:log4net.Util.CyclicBuffer.MaxSize"/>
  25372. (inclusive).
  25373. </para>
  25374. </remarks>
  25375. </member>
  25376. <member name="T:log4net.Util.EmptyCollection">
  25377. <summary>
  25378. An always empty <see cref="T:System.Collections.ICollection"/>.
  25379. </summary>
  25380. <remarks>
  25381. <para>
  25382. A singleton implementation of the <see cref="T:System.Collections.ICollection"/>
  25383. interface that always represents an empty collection.
  25384. </para>
  25385. </remarks>
  25386. <author>Nicko Cadell</author>
  25387. <author>Gert Driesen</author>
  25388. </member>
  25389. <member name="M:log4net.Util.EmptyCollection.#ctor">
  25390. <summary>
  25391. Initializes a new instance of the <see cref="T:log4net.Util.EmptyCollection"/> class.
  25392. </summary>
  25393. <remarks>
  25394. <para>
  25395. Uses a private access modifier to enforce the singleton pattern.
  25396. </para>
  25397. </remarks>
  25398. </member>
  25399. <member name="M:log4net.Util.EmptyCollection.CopyTo(System.Array,System.Int32)">
  25400. <summary>
  25401. Copies the elements of the <see cref="T:System.Collections.ICollection"/> to an
  25402. <see cref="T:System.Array"/>, starting at a particular Array index.
  25403. </summary>
  25404. <param name="array">The one-dimensional <see cref="T:System.Array"/>
  25405. that is the destination of the elements copied from
  25406. <see cref="T:System.Collections.ICollection"/>. The Array must have zero-based
  25407. indexing.</param>
  25408. <param name="index">The zero-based index in array at which
  25409. copying begins.</param>
  25410. <remarks>
  25411. <para>
  25412. As the collection is empty no values are copied into the array.
  25413. </para>
  25414. </remarks>
  25415. </member>
  25416. <member name="M:log4net.Util.EmptyCollection.GetEnumerator">
  25417. <summary>
  25418. Returns an enumerator that can iterate through a collection.
  25419. </summary>
  25420. <returns>
  25421. An <see cref="T:System.Collections.IEnumerator"/> that can be used to
  25422. iterate through the collection.
  25423. </returns>
  25424. <remarks>
  25425. <para>
  25426. As the collection is empty a <see cref="T:log4net.Util.NullEnumerator"/> is returned.
  25427. </para>
  25428. </remarks>
  25429. </member>
  25430. <member name="F:log4net.Util.EmptyCollection.s_instance">
  25431. <summary>
  25432. The singleton instance of the empty collection.
  25433. </summary>
  25434. </member>
  25435. <member name="P:log4net.Util.EmptyCollection.Instance">
  25436. <summary>
  25437. Gets the singleton instance of the empty collection.
  25438. </summary>
  25439. <returns>The singleton instance of the empty collection.</returns>
  25440. <remarks>
  25441. <para>
  25442. Gets the singleton instance of the empty collection.
  25443. </para>
  25444. </remarks>
  25445. </member>
  25446. <member name="P:log4net.Util.EmptyCollection.IsSynchronized">
  25447. <summary>
  25448. Gets a value indicating if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe).
  25449. </summary>
  25450. <value>
  25451. <b>true</b> if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe); otherwise, <b>false</b>.
  25452. </value>
  25453. <remarks>
  25454. <para>
  25455. For the <see cref="T:log4net.Util.EmptyCollection"/> this property is always <c>true</c>.
  25456. </para>
  25457. </remarks>
  25458. </member>
  25459. <member name="P:log4net.Util.EmptyCollection.Count">
  25460. <summary>
  25461. Gets the number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
  25462. </summary>
  25463. <value>
  25464. The number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
  25465. </value>
  25466. <remarks>
  25467. <para>
  25468. As the collection is empty the <see cref="P:log4net.Util.EmptyCollection.Count"/> is always <c>0</c>.
  25469. </para>
  25470. </remarks>
  25471. </member>
  25472. <member name="P:log4net.Util.EmptyCollection.SyncRoot">
  25473. <summary>
  25474. Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
  25475. </summary>
  25476. <value>
  25477. An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
  25478. </value>
  25479. <remarks>
  25480. <para>
  25481. As the collection is empty and thread safe and synchronized this instance is also
  25482. the <see cref="P:log4net.Util.EmptyCollection.SyncRoot"/> object.
  25483. </para>
  25484. </remarks>
  25485. </member>
  25486. <member name="T:log4net.Util.EmptyDictionary">
  25487. <summary>
  25488. An always empty <see cref="T:System.Collections.IDictionary"/>.
  25489. </summary>
  25490. <remarks>
  25491. <para>
  25492. A singleton implementation of the <see cref="T:System.Collections.IDictionary"/>
  25493. interface that always represents an empty collection.
  25494. </para>
  25495. </remarks>
  25496. <author>Nicko Cadell</author>
  25497. <author>Gert Driesen</author>
  25498. </member>
  25499. <member name="M:log4net.Util.EmptyDictionary.#ctor">
  25500. <summary>
  25501. Initializes a new instance of the <see cref="T:log4net.Util.EmptyDictionary"/> class.
  25502. </summary>
  25503. <remarks>
  25504. <para>
  25505. Uses a private access modifier to enforce the singleton pattern.
  25506. </para>
  25507. </remarks>
  25508. </member>
  25509. <member name="M:log4net.Util.EmptyDictionary.CopyTo(System.Array,System.Int32)">
  25510. <summary>
  25511. Copies the elements of the <see cref="T:System.Collections.ICollection"/> to an
  25512. <see cref="T:System.Array"/>, starting at a particular Array index.
  25513. </summary>
  25514. <param name="array">The one-dimensional <see cref="T:System.Array"/>
  25515. that is the destination of the elements copied from
  25516. <see cref="T:System.Collections.ICollection"/>. The Array must have zero-based
  25517. indexing.</param>
  25518. <param name="index">The zero-based index in array at which
  25519. copying begins.</param>
  25520. <remarks>
  25521. <para>
  25522. As the collection is empty no values are copied into the array.
  25523. </para>
  25524. </remarks>
  25525. </member>
  25526. <member name="M:log4net.Util.EmptyDictionary.System#Collections#IEnumerable#GetEnumerator">
  25527. <summary>
  25528. Returns an enumerator that can iterate through a collection.
  25529. </summary>
  25530. <returns>
  25531. An <see cref="T:System.Collections.IEnumerator"/> that can be used to
  25532. iterate through the collection.
  25533. </returns>
  25534. <remarks>
  25535. <para>
  25536. As the collection is empty a <see cref="T:log4net.Util.NullEnumerator"/> is returned.
  25537. </para>
  25538. </remarks>
  25539. </member>
  25540. <member name="M:log4net.Util.EmptyDictionary.Add(System.Object,System.Object)">
  25541. <summary>
  25542. Adds an element with the provided key and value to the
  25543. <see cref="T:log4net.Util.EmptyDictionary"/>.
  25544. </summary>
  25545. <param name="key">The <see cref="T:System.Object"/> to use as the key of the element to add.</param>
  25546. <param name="value">The <see cref="T:System.Object"/> to use as the value of the element to add.</param>
  25547. <remarks>
  25548. <para>
  25549. As the collection is empty no new values can be added. A <see cref="T:System.InvalidOperationException"/>
  25550. is thrown if this method is called.
  25551. </para>
  25552. </remarks>
  25553. <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
  25554. </member>
  25555. <member name="M:log4net.Util.EmptyDictionary.Clear">
  25556. <summary>
  25557. Removes all elements from the <see cref="T:log4net.Util.EmptyDictionary"/>.
  25558. </summary>
  25559. <remarks>
  25560. <para>
  25561. As the collection is empty no values can be removed. A <see cref="T:System.InvalidOperationException"/>
  25562. is thrown if this method is called.
  25563. </para>
  25564. </remarks>
  25565. <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
  25566. </member>
  25567. <member name="M:log4net.Util.EmptyDictionary.Contains(System.Object)">
  25568. <summary>
  25569. Determines whether the <see cref="T:log4net.Util.EmptyDictionary"/> contains an element
  25570. with the specified key.
  25571. </summary>
  25572. <param name="key">The key to locate in the <see cref="T:log4net.Util.EmptyDictionary"/>.</param>
  25573. <returns><c>false</c></returns>
  25574. <remarks>
  25575. <para>
  25576. As the collection is empty the <see cref="M:log4net.Util.EmptyDictionary.Contains(System.Object)"/> method always returns <c>false</c>.
  25577. </para>
  25578. </remarks>
  25579. </member>
  25580. <member name="M:log4net.Util.EmptyDictionary.GetEnumerator">
  25581. <summary>
  25582. Returns an enumerator that can iterate through a collection.
  25583. </summary>
  25584. <returns>
  25585. An <see cref="T:System.Collections.IEnumerator"/> that can be used to
  25586. iterate through the collection.
  25587. </returns>
  25588. <remarks>
  25589. <para>
  25590. As the collection is empty a <see cref="T:log4net.Util.NullEnumerator"/> is returned.
  25591. </para>
  25592. </remarks>
  25593. </member>
  25594. <member name="M:log4net.Util.EmptyDictionary.Remove(System.Object)">
  25595. <summary>
  25596. Removes the element with the specified key from the <see cref="T:log4net.Util.EmptyDictionary"/>.
  25597. </summary>
  25598. <param name="key">The key of the element to remove.</param>
  25599. <remarks>
  25600. <para>
  25601. As the collection is empty no values can be removed. A <see cref="T:System.InvalidOperationException"/>
  25602. is thrown if this method is called.
  25603. </para>
  25604. </remarks>
  25605. <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
  25606. </member>
  25607. <member name="F:log4net.Util.EmptyDictionary.s_instance">
  25608. <summary>
  25609. The singleton instance of the empty dictionary.
  25610. </summary>
  25611. </member>
  25612. <member name="P:log4net.Util.EmptyDictionary.Instance">
  25613. <summary>
  25614. Gets the singleton instance of the <see cref="T:log4net.Util.EmptyDictionary"/>.
  25615. </summary>
  25616. <returns>The singleton instance of the <see cref="T:log4net.Util.EmptyDictionary"/>.</returns>
  25617. <remarks>
  25618. <para>
  25619. Gets the singleton instance of the <see cref="T:log4net.Util.EmptyDictionary"/>.
  25620. </para>
  25621. </remarks>
  25622. </member>
  25623. <member name="P:log4net.Util.EmptyDictionary.IsSynchronized">
  25624. <summary>
  25625. Gets a value indicating if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe).
  25626. </summary>
  25627. <value>
  25628. <b>true</b> if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread-safe); otherwise, <b>false</b>.
  25629. </value>
  25630. <remarks>
  25631. <para>
  25632. For the <see cref="T:log4net.Util.EmptyCollection"/> this property is always <b>true</b>.
  25633. </para>
  25634. </remarks>
  25635. </member>
  25636. <member name="P:log4net.Util.EmptyDictionary.Count">
  25637. <summary>
  25638. Gets the number of elements contained in the <see cref="T:System.Collections.ICollection"/>
  25639. </summary>
  25640. <value>
  25641. The number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
  25642. </value>
  25643. <remarks>
  25644. <para>
  25645. As the collection is empty the <see cref="P:log4net.Util.EmptyDictionary.Count"/> is always <c>0</c>.
  25646. </para>
  25647. </remarks>
  25648. </member>
  25649. <member name="P:log4net.Util.EmptyDictionary.SyncRoot">
  25650. <summary>
  25651. Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
  25652. </summary>
  25653. <value>
  25654. An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
  25655. </value>
  25656. <remarks>
  25657. <para>
  25658. As the collection is empty and thread safe and synchronized this instance is also
  25659. the <see cref="P:log4net.Util.EmptyDictionary.SyncRoot"/> object.
  25660. </para>
  25661. </remarks>
  25662. </member>
  25663. <member name="P:log4net.Util.EmptyDictionary.IsFixedSize">
  25664. <summary>
  25665. Gets a value indicating whether the <see cref="T:log4net.Util.EmptyDictionary"/> has a fixed size.
  25666. </summary>
  25667. <value><c>true</c></value>
  25668. <remarks>
  25669. <para>
  25670. As the collection is empty <see cref="P:log4net.Util.EmptyDictionary.IsFixedSize"/> always returns <c>true</c>.
  25671. </para>
  25672. </remarks>
  25673. </member>
  25674. <member name="P:log4net.Util.EmptyDictionary.IsReadOnly">
  25675. <summary>
  25676. Gets a value indicating whether the <see cref="T:log4net.Util.EmptyDictionary"/> is read-only.
  25677. </summary>
  25678. <value><c>true</c></value>
  25679. <remarks>
  25680. <para>
  25681. As the collection is empty <see cref="P:log4net.Util.EmptyDictionary.IsReadOnly"/> always returns <c>true</c>.
  25682. </para>
  25683. </remarks>
  25684. </member>
  25685. <member name="P:log4net.Util.EmptyDictionary.Keys">
  25686. <summary>
  25687. Gets an <see cref="T:System.Collections.ICollection"/> containing the keys of the <see cref="T:log4net.Util.EmptyDictionary"/>.
  25688. </summary>
  25689. <value>An <see cref="T:System.Collections.ICollection"/> containing the keys of the <see cref="T:log4net.Util.EmptyDictionary"/>.</value>
  25690. <remarks>
  25691. <para>
  25692. As the collection is empty a <see cref="T:log4net.Util.EmptyCollection"/> is returned.
  25693. </para>
  25694. </remarks>
  25695. </member>
  25696. <member name="P:log4net.Util.EmptyDictionary.Values">
  25697. <summary>
  25698. Gets an <see cref="T:System.Collections.ICollection"/> containing the values of the <see cref="T:log4net.Util.EmptyDictionary"/>.
  25699. </summary>
  25700. <value>An <see cref="T:System.Collections.ICollection"/> containing the values of the <see cref="T:log4net.Util.EmptyDictionary"/>.</value>
  25701. <remarks>
  25702. <para>
  25703. As the collection is empty a <see cref="T:log4net.Util.EmptyCollection"/> is returned.
  25704. </para>
  25705. </remarks>
  25706. </member>
  25707. <member name="P:log4net.Util.EmptyDictionary.Item(System.Object)">
  25708. <summary>
  25709. Gets or sets the element with the specified key.
  25710. </summary>
  25711. <param name="key">The key of the element to get or set.</param>
  25712. <value><c>null</c></value>
  25713. <remarks>
  25714. <para>
  25715. As the collection is empty no values can be looked up or stored.
  25716. If the index getter is called then <c>null</c> is returned.
  25717. A <see cref="T:System.InvalidOperationException"/> is thrown if the setter is called.
  25718. </para>
  25719. </remarks>
  25720. <exception cref="T:System.InvalidOperationException">This dictionary is always empty and cannot be modified.</exception>
  25721. </member>
  25722. <member name="T:log4net.Util.FormattingInfo">
  25723. <summary>
  25724. Contain the information obtained when parsing formatting modifiers
  25725. in conversion modifiers.
  25726. </summary>
  25727. <remarks>
  25728. <para>
  25729. Holds the formatting information extracted from the format string by
  25730. the <see cref="T:log4net.Util.PatternParser"/>. This is used by the <see cref="T:log4net.Util.PatternConverter"/>
  25731. objects when rendering the output.
  25732. </para>
  25733. </remarks>
  25734. <author>Nicko Cadell</author>
  25735. <author>Gert Driesen</author>
  25736. </member>
  25737. <member name="M:log4net.Util.FormattingInfo.#ctor">
  25738. <summary>
  25739. Defaut Constructor
  25740. </summary>
  25741. <remarks>
  25742. <para>
  25743. Initializes a new instance of the <see cref="T:log4net.Util.FormattingInfo"/> class.
  25744. </para>
  25745. </remarks>
  25746. </member>
  25747. <member name="M:log4net.Util.FormattingInfo.#ctor(System.Int32,System.Int32,System.Boolean)">
  25748. <summary>
  25749. Constructor
  25750. </summary>
  25751. <remarks>
  25752. <para>
  25753. Initializes a new instance of the <see cref="T:log4net.Util.FormattingInfo"/> class
  25754. with the specified parameters.
  25755. </para>
  25756. </remarks>
  25757. </member>
  25758. <member name="P:log4net.Util.FormattingInfo.Min">
  25759. <summary>
  25760. Gets or sets the minimum value.
  25761. </summary>
  25762. <value>
  25763. The minimum value.
  25764. </value>
  25765. <remarks>
  25766. <para>
  25767. Gets or sets the minimum value.
  25768. </para>
  25769. </remarks>
  25770. </member>
  25771. <member name="P:log4net.Util.FormattingInfo.Max">
  25772. <summary>
  25773. Gets or sets the maximum value.
  25774. </summary>
  25775. <value>
  25776. The maximum value.
  25777. </value>
  25778. <remarks>
  25779. <para>
  25780. Gets or sets the maximum value.
  25781. </para>
  25782. </remarks>
  25783. </member>
  25784. <member name="P:log4net.Util.FormattingInfo.LeftAlign">
  25785. <summary>
  25786. Gets or sets a flag indicating whether left align is enabled
  25787. or not.
  25788. </summary>
  25789. <value>
  25790. A flag indicating whether left align is enabled or not.
  25791. </value>
  25792. <remarks>
  25793. <para>
  25794. Gets or sets a flag indicating whether left align is enabled or not.
  25795. </para>
  25796. </remarks>
  25797. </member>
  25798. <member name="T:log4net.Util.GlobalContextProperties">
  25799. <summary>
  25800. Implementation of Properties collection for the <see cref="T:log4net.GlobalContext"/>
  25801. </summary>
  25802. <remarks>
  25803. <para>
  25804. This class implements a properties collection that is thread safe and supports both
  25805. storing properties and capturing a read only copy of the current propertied.
  25806. </para>
  25807. <para>
  25808. This class is optimized to the scenario where the properties are read frequently
  25809. and are modified infrequently.
  25810. </para>
  25811. </remarks>
  25812. <author>Nicko Cadell</author>
  25813. </member>
  25814. <member name="F:log4net.Util.GlobalContextProperties.m_readOnlyProperties">
  25815. <summary>
  25816. The read only copy of the properties.
  25817. </summary>
  25818. <remarks>
  25819. <para>
  25820. This variable is declared <c>volatile</c> to prevent the compiler and JIT from
  25821. reordering reads and writes of this thread performed on different threads.
  25822. </para>
  25823. </remarks>
  25824. </member>
  25825. <member name="F:log4net.Util.GlobalContextProperties.m_syncRoot">
  25826. <summary>
  25827. Lock object used to synchronize updates within this instance
  25828. </summary>
  25829. </member>
  25830. <member name="M:log4net.Util.GlobalContextProperties.#ctor">
  25831. <summary>
  25832. Constructor
  25833. </summary>
  25834. <remarks>
  25835. <para>
  25836. Initializes a new instance of the <see cref="T:log4net.Util.GlobalContextProperties"/> class.
  25837. </para>
  25838. </remarks>
  25839. </member>
  25840. <member name="M:log4net.Util.GlobalContextProperties.Remove(System.String)">
  25841. <summary>
  25842. Remove a property from the global context
  25843. </summary>
  25844. <param name="key">the key for the entry to remove</param>
  25845. <remarks>
  25846. <para>
  25847. Removing an entry from the global context properties is relatively expensive compared
  25848. with reading a value.
  25849. </para>
  25850. </remarks>
  25851. </member>
  25852. <member name="M:log4net.Util.GlobalContextProperties.Clear">
  25853. <summary>
  25854. Clear the global context properties
  25855. </summary>
  25856. </member>
  25857. <member name="M:log4net.Util.GlobalContextProperties.GetReadOnlyProperties">
  25858. <summary>
  25859. Get a readonly immutable copy of the properties
  25860. </summary>
  25861. <returns>the current global context properties</returns>
  25862. <remarks>
  25863. <para>
  25864. This implementation is fast because the GlobalContextProperties class
  25865. stores a readonly copy of the properties.
  25866. </para>
  25867. </remarks>
  25868. </member>
  25869. <member name="P:log4net.Util.GlobalContextProperties.Item(System.String)">
  25870. <summary>
  25871. Gets or sets the value of a property
  25872. </summary>
  25873. <value>
  25874. The value for the property with the specified key
  25875. </value>
  25876. <remarks>
  25877. <para>
  25878. Reading the value for a key is faster than setting the value.
  25879. When the value is written a new read only copy of
  25880. the properties is created.
  25881. </para>
  25882. </remarks>
  25883. </member>
  25884. <member name="T:log4net.Util.ILogExtensions">
  25885. <summary>
  25886. The static class ILogExtensions contains a set of widely used
  25887. methods that ease the interaction with the ILog interface implementations.
  25888. </summary>
  25889. <remarks>
  25890. <para>
  25891. This class contains methods for logging at different levels and checks the
  25892. properties for determining if those logging levels are enabled in the current
  25893. configuration.
  25894. </para>
  25895. </remarks>
  25896. <example>Simple example of logging messages
  25897. <code lang="C#">
  25898. using log4net.Util;
  25899. ILog log = LogManager.GetLogger("application-log");
  25900. log.InfoExt("Application Start");
  25901. log.DebugExt("This is a debug message");
  25902. </code>
  25903. </example>
  25904. </member>
  25905. <member name="F:log4net.Util.ILogExtensions.declaringType">
  25906. <summary>
  25907. The fully qualified type of the Logger class.
  25908. </summary>
  25909. </member>
  25910. <member name="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Func{System.Object})">
  25911. <summary>
  25912. Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.
  25913. </summary>
  25914. <param name="logger">The logger on which the message is logged.</param>
  25915. <param name="callback">The lambda expression that gets the object to log.</param>
  25916. <remarks>
  25917. <para>
  25918. This method first checks if this logger is <c>INFO</c>
  25919. enabled by reading the value <seealso cref="P:log4net.ILog.IsDebugEnabled"/> property.
  25920. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  25921. implementation. If this logger is <c>INFO</c> enabled, then it converts
  25922. the message object (retrieved by invocation of the provided callback) to a
  25923. string by invoking the appropriate <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
  25924. It then proceeds to call all the registered appenders in this logger
  25925. and also higher in the hierarchy depending on the value of
  25926. the additivity flag.
  25927. </para>
  25928. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  25929. to this method will print the name of the <see cref="T:System.Exception"/>
  25930. but no stack trace. To print a stack trace use the
  25931. <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Func{System.Object},System.Exception)"/> form instead.
  25932. </para>
  25933. </remarks>
  25934. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25935. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25936. </member>
  25937. <member name="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Func{System.Object},System.Exception)">
  25938. <summary>
  25939. Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level including
  25940. the stack trace of the <see cref="T:System.Exception"/> passed
  25941. as a parameter.
  25942. </summary>
  25943. <param name="logger">The logger on which the message is logged.</param>
  25944. <param name="callback">The lambda expression that gets the object to log.</param>
  25945. <param name="exception">The exception to log, including its stack trace.</param>
  25946. <remarks>
  25947. <para>
  25948. See the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object)"/> form for more detailed information.
  25949. </para>
  25950. </remarks>
  25951. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25952. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25953. </member>
  25954. <member name="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object)">
  25955. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.</overloads> //TODO
  25956. <summary>
  25957. Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level.
  25958. </summary>
  25959. <param name="logger">The logger on which the message is logged.</param>
  25960. <param name="message">The message object to log.</param>
  25961. <remarks>
  25962. <para>
  25963. This method first checks if this logger is <c>INFO</c>
  25964. enabled by reading the value <seealso cref="P:log4net.ILog.IsDebugEnabled"/> property.
  25965. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  25966. implementation. If this logger is <c>INFO</c> enabled, then it converts
  25967. the message object (passed as parameter) to a string by invoking the appropriate
  25968. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  25969. proceeds to call all the registered appenders in this logger
  25970. and also higher in the hierarchy depending on the value of
  25971. the additivity flag.
  25972. </para>
  25973. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  25974. to this method will print the name of the <see cref="T:System.Exception"/>
  25975. but no stack trace. To print a stack trace use the
  25976. <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)"/> form instead.
  25977. </para>
  25978. </remarks>
  25979. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25980. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25981. </member>
  25982. <member name="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)">
  25983. <summary>
  25984. Log a message object with the <see cref="F:log4net.Core.Level.Debug"/> level including
  25985. the stack trace of the <see cref="T:System.Exception"/> passed
  25986. as a parameter.
  25987. </summary>
  25988. <param name="logger">The logger on which the message is logged.</param>
  25989. <param name="message">The message object to log.</param>
  25990. <param name="exception">The exception to log, including its stack trace.</param>
  25991. <remarks>
  25992. <para>
  25993. See the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object)"/> form for more detailed information.
  25994. </para>
  25995. </remarks>
  25996. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  25997. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  25998. </member>
  25999. <member name="M:log4net.Util.ILogExtensions.DebugFormatExt(log4net.ILog,System.String,System.Object)">
  26000. <summary>
  26001. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  26002. </summary>
  26003. <param name="logger">The logger on which the message is logged.</param>
  26004. <param name="format">A String containing zero or more format items</param>
  26005. <param name="arg0">An Object to format</param>
  26006. <remarks>
  26007. <para>
  26008. The message is formatted using the <c>String.Format</c> method. See
  26009. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26010. of the formatting.
  26011. </para>
  26012. <para>
  26013. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26014. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)"/>
  26015. methods instead.
  26016. </para>
  26017. </remarks>
  26018. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  26019. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  26020. </member>
  26021. <member name="M:log4net.Util.ILogExtensions.DebugFormatExt(log4net.ILog,System.String,System.Object[])">
  26022. <summary>
  26023. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  26024. </summary>
  26025. <param name="logger">The logger on which the message is logged.</param>
  26026. <param name="format">A String containing zero or more format items</param>
  26027. <param name="args">An Object array containing zero or more objects to format</param>
  26028. <remarks>
  26029. <para>
  26030. The message is formatted using the <c>String.Format</c> method. See
  26031. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26032. of the formatting.
  26033. </para>
  26034. <para>
  26035. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26036. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)"/>
  26037. methods instead.
  26038. </para>
  26039. </remarks>
  26040. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  26041. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  26042. </member>
  26043. <member name="M:log4net.Util.ILogExtensions.DebugFormatExt(log4net.ILog,System.IFormatProvider,System.String,System.Object[])">
  26044. <summary>
  26045. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  26046. </summary>
  26047. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  26048. <param name="logger">The logger on which the message is logged.</param>
  26049. <param name="format">A String containing zero or more format items</param>
  26050. <param name="args">An Object array containing zero or more objects to format</param>
  26051. <remarks>
  26052. <para>
  26053. The message is formatted using the <c>String.Format</c> method. See
  26054. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26055. of the formatting.
  26056. </para>
  26057. <para>
  26058. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26059. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)"/>
  26060. methods instead.
  26061. </para>
  26062. </remarks>
  26063. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  26064. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  26065. </member>
  26066. <member name="M:log4net.Util.ILogExtensions.DebugFormatExt(log4net.ILog,System.String,System.Object,System.Object)">
  26067. <summary>
  26068. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  26069. </summary>
  26070. <param name="logger">The logger on which the message is logged.</param>
  26071. <param name="format">A String containing zero or more format items</param>
  26072. <param name="arg0">An Object to format</param>
  26073. <param name="arg1">An Object to format</param>
  26074. <remarks>
  26075. <para>
  26076. The message is formatted using the <c>String.Format</c> method. See
  26077. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26078. of the formatting.
  26079. </para>
  26080. <para>
  26081. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26082. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)"/>
  26083. methods instead.
  26084. </para>
  26085. </remarks>
  26086. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  26087. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  26088. </member>
  26089. <member name="M:log4net.Util.ILogExtensions.DebugFormatExt(log4net.ILog,System.String,System.Object,System.Object,System.Object)">
  26090. <summary>
  26091. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Debug"/> level.
  26092. </summary>
  26093. <param name="logger">The logger on which the message is logged.</param>
  26094. <param name="format">A String containing zero or more format items</param>
  26095. <param name="arg0">An Object to format</param>
  26096. <param name="arg1">An Object to format</param>
  26097. <param name="arg2">An Object to format</param>
  26098. <remarks>
  26099. <para>
  26100. The message is formatted using the <c>String.Format</c> method. See
  26101. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26102. of the formatting.
  26103. </para>
  26104. <para>
  26105. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26106. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.DebugExt(log4net.ILog,System.Object,System.Exception)"/>
  26107. methods instead.
  26108. </para>
  26109. </remarks>
  26110. <seealso cref="M:log4net.ILog.Debug(System.Object)"/>
  26111. <seealso cref="P:log4net.ILog.IsDebugEnabled"/>
  26112. </member>
  26113. <member name="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Func{System.Object})">
  26114. <summary>
  26115. Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level.
  26116. </summary>
  26117. <param name="logger">The logger on which the message is logged.</param>
  26118. <param name="callback">The lambda expression that gets the object to log.</param>
  26119. <remarks>
  26120. <para>
  26121. This method first checks if this logger is <c>INFO</c>
  26122. enabled by reading the value <seealso cref="P:log4net.ILog.IsInfoEnabled"/> property.
  26123. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26124. implementation. If this logger is <c>INFO</c> enabled, then it converts
  26125. the message object (retrieved by invocation of the provided callback) to a
  26126. string by invoking the appropriate <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
  26127. It then proceeds to call all the registered appenders in this logger
  26128. and also higher in the hierarchy depending on the value of
  26129. the additivity flag.
  26130. </para>
  26131. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26132. to this method will print the name of the <see cref="T:System.Exception"/>
  26133. but no stack trace. To print a stack trace use the
  26134. <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Func{System.Object},System.Exception)"/> form instead.
  26135. </para>
  26136. </remarks>
  26137. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26138. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26139. </member>
  26140. <member name="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Func{System.Object},System.Exception)">
  26141. <summary>
  26142. Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level including
  26143. the stack trace of the <see cref="T:System.Exception"/> passed
  26144. as a parameter.
  26145. </summary>
  26146. <param name="logger">The logger on which the message is logged.</param>
  26147. <param name="callback">The lambda expression that gets the object to log.</param>
  26148. <param name="exception">The exception to log, including its stack trace.</param>
  26149. <remarks>
  26150. <para>
  26151. See the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26152. </para>
  26153. </remarks>
  26154. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26155. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26156. </member>
  26157. <member name="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object)">
  26158. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level.</overloads> //TODO
  26159. <summary>
  26160. Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level.
  26161. </summary>
  26162. <param name="logger">The logger on which the message is logged.</param>
  26163. <param name="message">The message object to log.</param>
  26164. <remarks>
  26165. <para>
  26166. This method first checks if this logger is <c>INFO</c>
  26167. enabled by reading the value <seealso cref="P:log4net.ILog.IsInfoEnabled"/> property.
  26168. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26169. implementation. If this logger is <c>INFO</c> enabled, then it converts
  26170. the message object (passed as parameter) to a string by invoking the appropriate
  26171. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  26172. proceeds to call all the registered appenders in this logger
  26173. and also higher in the hierarchy depending on the value of
  26174. the additivity flag.
  26175. </para>
  26176. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26177. to this method will print the name of the <see cref="T:System.Exception"/>
  26178. but no stack trace. To print a stack trace use the
  26179. <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)"/> form instead.
  26180. </para>
  26181. </remarks>
  26182. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26183. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26184. </member>
  26185. <member name="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)">
  26186. <summary>
  26187. Log a message object with the <see cref="F:log4net.Core.Level.Info"/> level including
  26188. the stack trace of the <see cref="T:System.Exception"/> passed
  26189. as a parameter.
  26190. </summary>
  26191. <param name="logger">The logger on which the message is logged.</param>
  26192. <param name="message">The message object to log.</param>
  26193. <param name="exception">The exception to log, including its stack trace.</param>
  26194. <remarks>
  26195. <para>
  26196. See the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26197. </para>
  26198. </remarks>
  26199. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26200. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26201. </member>
  26202. <member name="M:log4net.Util.ILogExtensions.InfoFormatExt(log4net.ILog,System.String,System.Object)">
  26203. <summary>
  26204. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  26205. </summary>
  26206. <param name="logger">The logger on which the message is logged.</param>
  26207. <param name="format">A String containing zero or more format items</param>
  26208. <param name="arg0">An Object to format</param>
  26209. <remarks>
  26210. <para>
  26211. The message is formatted using the <c>String.Format</c> method. See
  26212. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26213. of the formatting.
  26214. </para>
  26215. <para>
  26216. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26217. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)"/>
  26218. methods instead.
  26219. </para>
  26220. </remarks>
  26221. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26222. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26223. </member>
  26224. <member name="M:log4net.Util.ILogExtensions.InfoFormatExt(log4net.ILog,System.String,System.Object[])">
  26225. <summary>
  26226. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  26227. </summary>
  26228. <param name="logger">The logger on which the message is logged.</param>
  26229. <param name="format">A String containing zero or more format items</param>
  26230. <param name="args">An Object array containing zero or more objects to format</param>
  26231. <remarks>
  26232. <para>
  26233. The message is formatted using the <c>String.Format</c> method. See
  26234. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26235. of the formatting.
  26236. </para>
  26237. <para>
  26238. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26239. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)"/>
  26240. methods instead.
  26241. </para>
  26242. </remarks>
  26243. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26244. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26245. </member>
  26246. <member name="M:log4net.Util.ILogExtensions.InfoFormatExt(log4net.ILog,System.IFormatProvider,System.String,System.Object[])">
  26247. <summary>
  26248. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  26249. </summary>
  26250. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  26251. <param name="logger">The logger on which the message is logged.</param>
  26252. <param name="format">A String containing zero or more format items</param>
  26253. <param name="args">An Object array containing zero or more objects to format</param>
  26254. <remarks>
  26255. <para>
  26256. The message is formatted using the <c>String.Format</c> method. See
  26257. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26258. of the formatting.
  26259. </para>
  26260. <para>
  26261. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26262. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)"/>
  26263. methods instead.
  26264. </para>
  26265. </remarks>
  26266. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26267. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26268. </member>
  26269. <member name="M:log4net.Util.ILogExtensions.InfoFormatExt(log4net.ILog,System.String,System.Object,System.Object)">
  26270. <summary>
  26271. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  26272. </summary>
  26273. <param name="logger">The logger on which the message is logged.</param>
  26274. <param name="format">A String containing zero or more format items</param>
  26275. <param name="arg0">An Object to format</param>
  26276. <param name="arg1">An Object to format</param>
  26277. <remarks>
  26278. <para>
  26279. The message is formatted using the <c>String.Format</c> method. See
  26280. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26281. of the formatting.
  26282. </para>
  26283. <para>
  26284. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26285. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)"/>
  26286. methods instead.
  26287. </para>
  26288. </remarks>
  26289. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26290. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26291. </member>
  26292. <member name="M:log4net.Util.ILogExtensions.InfoFormatExt(log4net.ILog,System.String,System.Object,System.Object,System.Object)">
  26293. <summary>
  26294. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Info"/> level.
  26295. </summary>
  26296. <param name="logger">The logger on which the message is logged.</param>
  26297. <param name="format">A String containing zero or more format items</param>
  26298. <param name="arg0">An Object to format</param>
  26299. <param name="arg1">An Object to format</param>
  26300. <param name="arg2">An Object to format</param>
  26301. <remarks>
  26302. <para>
  26303. The message is formatted using the <c>String.Format</c> method. See
  26304. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26305. of the formatting.
  26306. </para>
  26307. <para>
  26308. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26309. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.InfoExt(log4net.ILog,System.Object,System.Exception)"/>
  26310. methods instead.
  26311. </para>
  26312. </remarks>
  26313. <seealso cref="M:log4net.ILog.Info(System.Object)"/>
  26314. <seealso cref="P:log4net.ILog.IsInfoEnabled"/>
  26315. </member>
  26316. <member name="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Func{System.Object})">
  26317. <summary>
  26318. Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26319. </summary>
  26320. <param name="logger">The logger on which the message is logged.</param>
  26321. <param name="callback">The lambda expression that gets the object to log.</param>
  26322. <remarks>
  26323. <para>
  26324. This method first checks if this logger is <c>WARN</c>
  26325. enabled by reading the value <seealso cref="P:log4net.ILog.IsWarnEnabled"/> property.
  26326. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26327. implementation. If this logger is <c>WARN</c> enabled, then it converts
  26328. the message object (retrieved by invocation of the provided callback) to a
  26329. string by invoking the appropriate <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
  26330. It then proceeds to call all the registered appenders in this logger
  26331. and also higher in the hierarchy depending on the value of
  26332. the additivity flag.
  26333. </para>
  26334. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26335. to this method will print the name of the <see cref="T:System.Exception"/>
  26336. but no stack trace. To print a stack trace use the
  26337. <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Func{System.Object},System.Exception)"/> form instead.
  26338. </para>
  26339. </remarks>
  26340. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26341. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26342. </member>
  26343. <member name="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Func{System.Object},System.Exception)">
  26344. <summary>
  26345. Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level including
  26346. the stack trace of the <see cref="T:System.Exception"/> passed
  26347. as a parameter.
  26348. </summary>
  26349. <param name="logger">The logger on which the message is logged.</param>
  26350. <param name="callback">The lambda expression that gets the object to log.</param>
  26351. <param name="exception">The exception to log, including its stack trace.</param>
  26352. <remarks>
  26353. <para>
  26354. See the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26355. </para>
  26356. </remarks>
  26357. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26358. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26359. </member>
  26360. <member name="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object)">
  26361. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.</overloads> //TODO
  26362. <summary>
  26363. Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26364. </summary>
  26365. <param name="logger">The logger on which the message is logged.</param>
  26366. <param name="message">The message object to log.</param>
  26367. <remarks>
  26368. <para>
  26369. This method first checks if this logger is <c>WARN</c>
  26370. enabled by reading the value <seealso cref="P:log4net.ILog.IsWarnEnabled"/> property.
  26371. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26372. implementation. If this logger is <c>WARN</c> enabled, then it converts
  26373. the message object (passed as parameter) to a string by invoking the appropriate
  26374. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  26375. proceeds to call all the registered appenders in this logger
  26376. and also higher in the hierarchy depending on the value of
  26377. the additivity flag.
  26378. </para>
  26379. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26380. to this method will print the name of the <see cref="T:System.Exception"/>
  26381. but no stack trace. To print a stack trace use the
  26382. <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)"/> form instead.
  26383. </para>
  26384. </remarks>
  26385. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26386. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26387. </member>
  26388. <member name="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)">
  26389. <summary>
  26390. Log a message object with the <see cref="F:log4net.Core.Level.Warn"/> level including
  26391. the stack trace of the <see cref="T:System.Exception"/> passed
  26392. as a parameter.
  26393. </summary>
  26394. <param name="logger">The logger on which the message is logged.</param>
  26395. <param name="message">The message object to log.</param>
  26396. <param name="exception">The exception to log, including its stack trace.</param>
  26397. <remarks>
  26398. <para>
  26399. See the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26400. </para>
  26401. </remarks>
  26402. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26403. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26404. </member>
  26405. <member name="M:log4net.Util.ILogExtensions.WarnFormatExt(log4net.ILog,System.String,System.Object)">
  26406. <summary>
  26407. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26408. </summary>
  26409. <param name="logger">The logger on which the message is logged.</param>
  26410. <param name="format">A String containing zero or more format items</param>
  26411. <param name="arg0">An Object to format</param>
  26412. <remarks>
  26413. <para>
  26414. The message is formatted using the <c>String.Format</c> method. See
  26415. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26416. of the formatting.
  26417. </para>
  26418. <para>
  26419. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26420. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)"/>
  26421. methods instead.
  26422. </para>
  26423. </remarks>
  26424. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26425. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26426. </member>
  26427. <member name="M:log4net.Util.ILogExtensions.WarnFormatExt(log4net.ILog,System.String,System.Object[])">
  26428. <summary>
  26429. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26430. </summary>
  26431. <param name="logger">The logger on which the message is logged.</param>
  26432. <param name="format">A String containing zero or more format items</param>
  26433. <param name="args">An Object array containing zero or more objects to format</param>
  26434. <remarks>
  26435. <para>
  26436. The message is formatted using the <c>String.Format</c> method. See
  26437. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26438. of the formatting.
  26439. </para>
  26440. <para>
  26441. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26442. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)"/>
  26443. methods instead.
  26444. </para>
  26445. </remarks>
  26446. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26447. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26448. </member>
  26449. <member name="M:log4net.Util.ILogExtensions.WarnFormatExt(log4net.ILog,System.IFormatProvider,System.String,System.Object[])">
  26450. <summary>
  26451. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26452. </summary>
  26453. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  26454. <param name="logger">The logger on which the message is logged.</param>
  26455. <param name="format">A String containing zero or more format items</param>
  26456. <param name="args">An Object array containing zero or more objects to format</param>
  26457. <remarks>
  26458. <para>
  26459. The message is formatted using the <c>String.Format</c> method. See
  26460. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26461. of the formatting.
  26462. </para>
  26463. <para>
  26464. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26465. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)"/>
  26466. methods instead.
  26467. </para>
  26468. </remarks>
  26469. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26470. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26471. </member>
  26472. <member name="M:log4net.Util.ILogExtensions.WarnFormatExt(log4net.ILog,System.String,System.Object,System.Object)">
  26473. <summary>
  26474. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26475. </summary>
  26476. <param name="logger">The logger on which the message is logged.</param>
  26477. <param name="format">A String containing zero or more format items</param>
  26478. <param name="arg0">An Object to format</param>
  26479. <param name="arg1">An Object to format</param>
  26480. <remarks>
  26481. <para>
  26482. The message is formatted using the <c>String.Format</c> method. See
  26483. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26484. of the formatting.
  26485. </para>
  26486. <para>
  26487. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26488. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)"/>
  26489. methods instead.
  26490. </para>
  26491. </remarks>
  26492. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26493. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26494. </member>
  26495. <member name="M:log4net.Util.ILogExtensions.WarnFormatExt(log4net.ILog,System.String,System.Object,System.Object,System.Object)">
  26496. <summary>
  26497. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Warn"/> level.
  26498. </summary>
  26499. <param name="logger">The logger on which the message is logged.</param>
  26500. <param name="format">A String containing zero or more format items</param>
  26501. <param name="arg0">An Object to format</param>
  26502. <param name="arg1">An Object to format</param>
  26503. <param name="arg2">An Object to format</param>
  26504. <remarks>
  26505. <para>
  26506. The message is formatted using the <c>String.Format</c> method. See
  26507. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26508. of the formatting.
  26509. </para>
  26510. <para>
  26511. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26512. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.WarnExt(log4net.ILog,System.Object,System.Exception)"/>
  26513. methods instead.
  26514. </para>
  26515. </remarks>
  26516. <seealso cref="M:log4net.ILog.Warn(System.Object)"/>
  26517. <seealso cref="P:log4net.ILog.IsWarnEnabled"/>
  26518. </member>
  26519. <member name="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Func{System.Object})">
  26520. <summary>
  26521. Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level.
  26522. </summary>
  26523. <param name="logger">The logger on which the message is logged.</param>
  26524. <param name="callback">The lambda expression that gets the object to log.</param>
  26525. <remarks>
  26526. <para>
  26527. This method first checks if this logger is <c>ERROR</c>
  26528. enabled by reading the value <seealso cref="P:log4net.ILog.IsErrorEnabled"/> property.
  26529. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26530. implementation. If this logger is <c>ERROR</c> enabled, then it converts
  26531. the message object (retrieved by invocation of the provided callback) to a
  26532. string by invoking the appropriate <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
  26533. It then proceeds to call all the registered appenders in this logger
  26534. and also higher in the hierarchy depending on the value of
  26535. the additivity flag.
  26536. </para>
  26537. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26538. to this method will print the name of the <see cref="T:System.Exception"/>
  26539. but no stack trace. To print a stack trace use the
  26540. <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Func{System.Object},System.Exception)"/> form instead.
  26541. </para>
  26542. </remarks>
  26543. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26544. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26545. </member>
  26546. <member name="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Func{System.Object},System.Exception)">
  26547. <summary>
  26548. Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level including
  26549. the stack trace of the <see cref="T:System.Exception"/> passed
  26550. as a parameter.
  26551. </summary>
  26552. <param name="logger">The logger on which the message is logged.</param>
  26553. <param name="callback">The lambda expression that gets the object to log.</param>
  26554. <param name="exception">The exception to log, including its stack trace.</param>
  26555. <remarks>
  26556. <para>
  26557. See the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26558. </para>
  26559. </remarks>
  26560. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26561. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26562. </member>
  26563. <member name="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object)">
  26564. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level.</overloads> //TODO
  26565. <summary>
  26566. Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level.
  26567. </summary>
  26568. <param name="logger">The logger on which the message is logged.</param>
  26569. <param name="message">The message object to log.</param>
  26570. <remarks>
  26571. <para>
  26572. This method first checks if this logger is <c>ERROR</c>
  26573. enabled by reading the value <seealso cref="P:log4net.ILog.IsErrorEnabled"/> property.
  26574. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26575. implementation. If this logger is <c>ERROR</c> enabled, then it converts
  26576. the message object (passed as parameter) to a string by invoking the appropriate
  26577. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  26578. proceeds to call all the registered appenders in this logger
  26579. and also higher in the hierarchy depending on the value of
  26580. the additivity flag.
  26581. </para>
  26582. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26583. to this method will print the name of the <see cref="T:System.Exception"/>
  26584. but no stack trace. To print a stack trace use the
  26585. <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)"/> form instead.
  26586. </para>
  26587. </remarks>
  26588. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26589. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26590. </member>
  26591. <member name="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)">
  26592. <summary>
  26593. Log a message object with the <see cref="F:log4net.Core.Level.Error"/> level including
  26594. the stack trace of the <see cref="T:System.Exception"/> passed
  26595. as a parameter.
  26596. </summary>
  26597. <param name="logger">The logger on which the message is logged.</param>
  26598. <param name="message">The message object to log.</param>
  26599. <param name="exception">The exception to log, including its stack trace.</param>
  26600. <remarks>
  26601. <para>
  26602. See the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26603. </para>
  26604. </remarks>
  26605. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26606. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26607. </member>
  26608. <member name="M:log4net.Util.ILogExtensions.ErrorFormatExt(log4net.ILog,System.String,System.Object)">
  26609. <summary>
  26610. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  26611. </summary>
  26612. <param name="logger">The logger on which the message is logged.</param>
  26613. <param name="format">A String containing zero or more format items</param>
  26614. <param name="arg0">An Object to format</param>
  26615. <remarks>
  26616. <para>
  26617. The message is formatted using the <c>String.Format</c> method. See
  26618. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26619. of the formatting.
  26620. </para>
  26621. <para>
  26622. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26623. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)"/>
  26624. methods instead.
  26625. </para>
  26626. </remarks>
  26627. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26628. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26629. </member>
  26630. <member name="M:log4net.Util.ILogExtensions.ErrorFormatExt(log4net.ILog,System.String,System.Object[])">
  26631. <summary>
  26632. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  26633. </summary>
  26634. <param name="logger">The logger on which the message is logged.</param>
  26635. <param name="format">A String containing zero or more format items</param>
  26636. <param name="args">An Object array containing zero or more objects to format</param>
  26637. <remarks>
  26638. <para>
  26639. The message is formatted using the <c>String.Format</c> method. See
  26640. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26641. of the formatting.
  26642. </para>
  26643. <para>
  26644. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26645. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)"/>
  26646. methods instead.
  26647. </para>
  26648. </remarks>
  26649. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26650. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26651. </member>
  26652. <member name="M:log4net.Util.ILogExtensions.ErrorFormatExt(log4net.ILog,System.IFormatProvider,System.String,System.Object[])">
  26653. <summary>
  26654. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  26655. </summary>
  26656. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  26657. <param name="logger">The logger on which the message is logged.</param>
  26658. <param name="format">A String containing zero or more format items</param>
  26659. <param name="args">An Object array containing zero or more objects to format</param>
  26660. <remarks>
  26661. <para>
  26662. The message is formatted using the <c>String.Format</c> method. See
  26663. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26664. of the formatting.
  26665. </para>
  26666. <para>
  26667. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26668. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)"/>
  26669. methods instead.
  26670. </para>
  26671. </remarks>
  26672. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26673. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26674. </member>
  26675. <member name="M:log4net.Util.ILogExtensions.ErrorFormatExt(log4net.ILog,System.String,System.Object,System.Object)">
  26676. <summary>
  26677. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  26678. </summary>
  26679. <param name="logger">The logger on which the message is logged.</param>
  26680. <param name="format">A String containing zero or more format items</param>
  26681. <param name="arg0">An Object to format</param>
  26682. <param name="arg1">An Object to format</param>
  26683. <remarks>
  26684. <para>
  26685. The message is formatted using the <c>String.Format</c> method. See
  26686. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26687. of the formatting.
  26688. </para>
  26689. <para>
  26690. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26691. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)"/>
  26692. methods instead.
  26693. </para>
  26694. </remarks>
  26695. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26696. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26697. </member>
  26698. <member name="M:log4net.Util.ILogExtensions.ErrorFormatExt(log4net.ILog,System.String,System.Object,System.Object,System.Object)">
  26699. <summary>
  26700. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Error"/> level.
  26701. </summary>
  26702. <param name="logger">The logger on which the message is logged.</param>
  26703. <param name="format">A String containing zero or more format items</param>
  26704. <param name="arg0">An Object to format</param>
  26705. <param name="arg1">An Object to format</param>
  26706. <param name="arg2">An Object to format</param>
  26707. <remarks>
  26708. <para>
  26709. The message is formatted using the <c>String.Format</c> method. See
  26710. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26711. of the formatting.
  26712. </para>
  26713. <para>
  26714. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26715. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.ErrorExt(log4net.ILog,System.Object,System.Exception)"/>
  26716. methods instead.
  26717. </para>
  26718. </remarks>
  26719. <seealso cref="M:log4net.ILog.Error(System.Object)"/>
  26720. <seealso cref="P:log4net.ILog.IsErrorEnabled"/>
  26721. </member>
  26722. <member name="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Func{System.Object})">
  26723. <summary>
  26724. Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26725. </summary>
  26726. <param name="logger">The logger on which the message is logged.</param>
  26727. <param name="callback">The lambda expression that gets the object to log.</param>
  26728. <remarks>
  26729. <para>
  26730. This method first checks if this logger is <c>FATAL</c>
  26731. enabled by reading the value <seealso cref="P:log4net.ILog.IsFatalEnabled"/> property.
  26732. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26733. implementation. If this logger is <c>FATAL</c> enabled, then it converts
  26734. the message object (retrieved by invocation of the provided callback) to a
  26735. string by invoking the appropriate <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>.
  26736. It then proceeds to call all the registered appenders in this logger
  26737. and also higher in the hierarchy depending on the value of
  26738. the additivity flag.
  26739. </para>
  26740. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26741. to this method will print the name of the <see cref="T:System.Exception"/>
  26742. but no stack trace. To print a stack trace use the
  26743. <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Func{System.Object},System.Exception)"/> form instead.
  26744. </para>
  26745. </remarks>
  26746. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26747. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26748. </member>
  26749. <member name="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Func{System.Object},System.Exception)">
  26750. <summary>
  26751. Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level including
  26752. the stack trace of the <see cref="T:System.Exception"/> passed
  26753. as a parameter.
  26754. </summary>
  26755. <param name="logger">The logger on which the message is logged.</param>
  26756. <param name="callback">The lambda expression that gets the object to log.</param>
  26757. <param name="exception">The exception to log, including its stack trace.</param>
  26758. <remarks>
  26759. <para>
  26760. See the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26761. </para>
  26762. </remarks>
  26763. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26764. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26765. </member>
  26766. <member name="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object)">
  26767. <overloads>Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.</overloads> //TODO
  26768. <summary>
  26769. Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26770. </summary>
  26771. <param name="logger">The logger on which the message is logged.</param>
  26772. <param name="message">The message object to log.</param>
  26773. <remarks>
  26774. <para>
  26775. This method first checks if this logger is <c>FATAL</c>
  26776. enabled by reading the value <seealso cref="P:log4net.ILog.IsFatalEnabled"/> property.
  26777. This check happens always and does not depend on the <seealso cref="T:log4net.ILog"/>
  26778. implementation. If this logger is <c>FATAL</c> enabled, then it converts
  26779. the message object (passed as parameter) to a string by invoking the appropriate
  26780. <see cref="T:log4net.ObjectRenderer.IObjectRenderer"/>. It then
  26781. proceeds to call all the registered appenders in this logger
  26782. and also higher in the hierarchy depending on the value of
  26783. the additivity flag.
  26784. </para>
  26785. <para><b>WARNING</b> Note that passing an <see cref="T:System.Exception"/>
  26786. to this method will print the name of the <see cref="T:System.Exception"/>
  26787. but no stack trace. To print a stack trace use the
  26788. <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)"/> form instead.
  26789. </para>
  26790. </remarks>
  26791. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26792. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26793. </member>
  26794. <member name="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)">
  26795. <summary>
  26796. Log a message object with the <see cref="F:log4net.Core.Level.Fatal"/> level including
  26797. the stack trace of the <see cref="T:System.Exception"/> passed
  26798. as a parameter.
  26799. </summary>
  26800. <param name="logger">The logger on which the message is logged.</param>
  26801. <param name="message">The message object to log.</param>
  26802. <param name="exception">The exception to log, including its stack trace.</param>
  26803. <remarks>
  26804. <para>
  26805. See the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object)"/> form for more detailed information.
  26806. </para>
  26807. </remarks>
  26808. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26809. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26810. </member>
  26811. <member name="M:log4net.Util.ILogExtensions.FatalFormatExt(log4net.ILog,System.String,System.Object)">
  26812. <summary>
  26813. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26814. </summary>
  26815. <param name="logger">The logger on which the message is logged.</param>
  26816. <param name="format">A String containing zero or more format items</param>
  26817. <param name="arg0">An Object to format</param>
  26818. <remarks>
  26819. <para>
  26820. The message is formatted using the <c>String.Format</c> method. See
  26821. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26822. of the formatting.
  26823. </para>
  26824. <para>
  26825. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26826. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)"/>
  26827. methods instead.
  26828. </para>
  26829. </remarks>
  26830. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26831. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26832. </member>
  26833. <member name="M:log4net.Util.ILogExtensions.FatalFormatExt(log4net.ILog,System.String,System.Object[])">
  26834. <summary>
  26835. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26836. </summary>
  26837. <param name="logger">The logger on which the message is logged.</param>
  26838. <param name="format">A String containing zero or more format items</param>
  26839. <param name="args">An Object array containing zero or more objects to format</param>
  26840. <remarks>
  26841. <para>
  26842. The message is formatted using the <c>String.Format</c> method. See
  26843. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26844. of the formatting.
  26845. </para>
  26846. <para>
  26847. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26848. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)"/>
  26849. methods instead.
  26850. </para>
  26851. </remarks>
  26852. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26853. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26854. </member>
  26855. <member name="M:log4net.Util.ILogExtensions.FatalFormatExt(log4net.ILog,System.IFormatProvider,System.String,System.Object[])">
  26856. <summary>
  26857. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26858. </summary>
  26859. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information</param>
  26860. <param name="logger">The logger on which the message is logged.</param>
  26861. <param name="format">A String containing zero or more format items</param>
  26862. <param name="args">An Object array containing zero or more objects to format</param>
  26863. <remarks>
  26864. <para>
  26865. The message is formatted using the <c>String.Format</c> method. See
  26866. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26867. of the formatting.
  26868. </para>
  26869. <para>
  26870. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26871. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)"/>
  26872. methods instead.
  26873. </para>
  26874. </remarks>
  26875. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26876. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26877. </member>
  26878. <member name="M:log4net.Util.ILogExtensions.FatalFormatExt(log4net.ILog,System.String,System.Object,System.Object)">
  26879. <summary>
  26880. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26881. </summary>
  26882. <param name="logger">The logger on which the message is logged.</param>
  26883. <param name="format">A String containing zero or more format items</param>
  26884. <param name="arg0">An Object to format</param>
  26885. <param name="arg1">An Object to format</param>
  26886. <remarks>
  26887. <para>
  26888. The message is formatted using the <c>String.Format</c> method. See
  26889. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26890. of the formatting.
  26891. </para>
  26892. <para>
  26893. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26894. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)"/>
  26895. methods instead.
  26896. </para>
  26897. </remarks>
  26898. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26899. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26900. </member>
  26901. <member name="M:log4net.Util.ILogExtensions.FatalFormatExt(log4net.ILog,System.String,System.Object,System.Object,System.Object)">
  26902. <summary>
  26903. Logs a formatted message string with the <see cref="F:log4net.Core.Level.Fatal"/> level.
  26904. </summary>
  26905. <param name="logger">The logger on which the message is logged.</param>
  26906. <param name="format">A String containing zero or more format items</param>
  26907. <param name="arg0">An Object to format</param>
  26908. <param name="arg1">An Object to format</param>
  26909. <param name="arg2">An Object to format</param>
  26910. <remarks>
  26911. <para>
  26912. The message is formatted using the <c>String.Format</c> method. See
  26913. <see cref="M:System.String.Format(System.String,System.Object[])"/> for details of the syntax of the format string and the behavior
  26914. of the formatting.
  26915. </para>
  26916. <para>
  26917. This method does not take an <see cref="T:System.Exception"/> object to include in the
  26918. log event. To pass an <see cref="T:System.Exception"/> use one of the <see cref="M:log4net.Util.ILogExtensions.FatalExt(log4net.ILog,System.Object,System.Exception)"/>
  26919. methods instead.
  26920. </para>
  26921. </remarks>
  26922. <seealso cref="M:log4net.ILog.Fatal(System.Object)"/>
  26923. <seealso cref="P:log4net.ILog.IsFatalEnabled"/>
  26924. </member>
  26925. <member name="T:log4net.Util.LevelMapping">
  26926. <summary>
  26927. Manages a mapping from levels to <see cref="T:log4net.Util.LevelMappingEntry"/>
  26928. </summary>
  26929. <remarks>
  26930. <para>
  26931. Manages an ordered mapping from <see cref="T:log4net.Core.Level"/> instances
  26932. to <see cref="T:log4net.Util.LevelMappingEntry"/> subclasses.
  26933. </para>
  26934. </remarks>
  26935. <author>Nicko Cadell</author>
  26936. </member>
  26937. <member name="M:log4net.Util.LevelMapping.#ctor">
  26938. <summary>
  26939. Default constructor
  26940. </summary>
  26941. <remarks>
  26942. <para>
  26943. Initialise a new instance of <see cref="T:log4net.Util.LevelMapping"/>.
  26944. </para>
  26945. </remarks>
  26946. </member>
  26947. <member name="M:log4net.Util.LevelMapping.Add(log4net.Util.LevelMappingEntry)">
  26948. <summary>
  26949. Add a <see cref="T:log4net.Util.LevelMappingEntry"/> to this mapping
  26950. </summary>
  26951. <param name="entry">the entry to add</param>
  26952. <remarks>
  26953. <para>
  26954. If a <see cref="T:log4net.Util.LevelMappingEntry"/> has previously been added
  26955. for the same <see cref="T:log4net.Core.Level"/> then that entry will be
  26956. overwritten.
  26957. </para>
  26958. </remarks>
  26959. </member>
  26960. <member name="M:log4net.Util.LevelMapping.Lookup(log4net.Core.Level)">
  26961. <summary>
  26962. Lookup the mapping for the specified level
  26963. </summary>
  26964. <param name="level">the level to lookup</param>
  26965. <returns>the <see cref="T:log4net.Util.LevelMappingEntry"/> for the level or <c>null</c> if no mapping found</returns>
  26966. <remarks>
  26967. <para>
  26968. Lookup the value for the specified level. Finds the nearest
  26969. mapping value for the level that is equal to or less than the
  26970. <paramref name="level"/> specified.
  26971. </para>
  26972. <para>
  26973. If no mapping could be found then <c>null</c> is returned.
  26974. </para>
  26975. </remarks>
  26976. </member>
  26977. <member name="M:log4net.Util.LevelMapping.ActivateOptions">
  26978. <summary>
  26979. Initialize options
  26980. </summary>
  26981. <remarks>
  26982. <para>
  26983. Caches the sorted list of <see cref="T:log4net.Util.LevelMappingEntry"/> in an array
  26984. </para>
  26985. </remarks>
  26986. </member>
  26987. <member name="T:log4net.Util.LogicalThreadContextProperties">
  26988. <summary>
  26989. Implementation of Properties collection for the <see cref="T:log4net.LogicalThreadContext"/>
  26990. </summary>
  26991. <remarks>
  26992. <para>
  26993. Class implements a collection of properties that is specific to each thread.
  26994. The class is not synchronized as each thread has its own <see cref="T:log4net.Util.PropertiesDictionary"/>.
  26995. </para>
  26996. <para>
  26997. This class stores its properties in a slot on the <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> named
  26998. <c>log4net.Util.LogicalThreadContextProperties</c>.
  26999. </para>
  27000. <para>
  27001. The <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> requires a link time
  27002. <see cref="T:System.Security.Permissions.SecurityPermission"/> for the
  27003. <see cref="F:System.Security.Permissions.SecurityPermissionFlag.Infrastructure"/>.
  27004. If the calling code does not have this permission then this context will be disabled.
  27005. It will not store any property values set on it.
  27006. </para>
  27007. </remarks>
  27008. <author>Nicko Cadell</author>
  27009. </member>
  27010. <member name="F:log4net.Util.LogicalThreadContextProperties.m_disabled">
  27011. <summary>
  27012. Flag used to disable this context if we don't have permission to access the CallContext.
  27013. </summary>
  27014. </member>
  27015. <member name="M:log4net.Util.LogicalThreadContextProperties.#ctor">
  27016. <summary>
  27017. Constructor
  27018. </summary>
  27019. <remarks>
  27020. <para>
  27021. Initializes a new instance of the <see cref="T:log4net.Util.LogicalThreadContextProperties"/> class.
  27022. </para>
  27023. </remarks>
  27024. </member>
  27025. <member name="M:log4net.Util.LogicalThreadContextProperties.Remove(System.String)">
  27026. <summary>
  27027. Remove a property
  27028. </summary>
  27029. <param name="key">the key for the entry to remove</param>
  27030. <remarks>
  27031. <para>
  27032. Remove the value for the specified <paramref name="key"/> from the context.
  27033. </para>
  27034. </remarks>
  27035. </member>
  27036. <member name="M:log4net.Util.LogicalThreadContextProperties.Clear">
  27037. <summary>
  27038. Clear all the context properties
  27039. </summary>
  27040. <remarks>
  27041. <para>
  27042. Clear all the context properties
  27043. </para>
  27044. </remarks>
  27045. </member>
  27046. <member name="M:log4net.Util.LogicalThreadContextProperties.GetProperties(System.Boolean)">
  27047. <summary>
  27048. Get the PropertiesDictionary stored in the LocalDataStoreSlot for this thread.
  27049. </summary>
  27050. <param name="create">create the dictionary if it does not exist, otherwise return null if is does not exist</param>
  27051. <returns>the properties for this thread</returns>
  27052. <remarks>
  27053. <para>
  27054. The collection returned is only to be used on the calling thread. If the
  27055. caller needs to share the collection between different threads then the
  27056. caller must clone the collection before doings so.
  27057. </para>
  27058. </remarks>
  27059. </member>
  27060. <member name="M:log4net.Util.LogicalThreadContextProperties.GetCallContextData">
  27061. <summary>
  27062. Gets the call context get data.
  27063. </summary>
  27064. <returns>The peroperties dictionary stored in the call context</returns>
  27065. <remarks>
  27066. The <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> method <see cref="M:System.Runtime.Remoting.Messaging.CallContext.GetData(System.String)"/> has a
  27067. security link demand, therfore we must put the method call in a seperate method
  27068. that we can wrap in an exception handler.
  27069. </remarks>
  27070. </member>
  27071. <member name="M:log4net.Util.LogicalThreadContextProperties.SetCallContextData(log4net.Util.PropertiesDictionary)">
  27072. <summary>
  27073. Sets the call context data.
  27074. </summary>
  27075. <param name="properties">The properties.</param>
  27076. <remarks>
  27077. The <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> method <see cref="M:System.Runtime.Remoting.Messaging.CallContext.SetData(System.String,System.Object)"/> has a
  27078. security link demand, therfore we must put the method call in a seperate method
  27079. that we can wrap in an exception handler.
  27080. </remarks>
  27081. </member>
  27082. <member name="F:log4net.Util.LogicalThreadContextProperties.declaringType">
  27083. <summary>
  27084. The fully qualified type of the LogicalThreadContextProperties class.
  27085. </summary>
  27086. <remarks>
  27087. Used by the internal logger to record the Type of the
  27088. log message.
  27089. </remarks>
  27090. </member>
  27091. <member name="P:log4net.Util.LogicalThreadContextProperties.Item(System.String)">
  27092. <summary>
  27093. Gets or sets the value of a property
  27094. </summary>
  27095. <value>
  27096. The value for the property with the specified key
  27097. </value>
  27098. <remarks>
  27099. <para>
  27100. Get or set the property value for the <paramref name="key"/> specified.
  27101. </para>
  27102. </remarks>
  27103. </member>
  27104. <member name="T:log4net.Util.LogReceivedEventHandler">
  27105. <summary>
  27106. </summary>
  27107. <param name="source"></param>
  27108. <param name="e"></param>
  27109. </member>
  27110. <member name="T:log4net.Util.LogLog">
  27111. <summary>
  27112. Outputs log statements from within the log4net assembly.
  27113. </summary>
  27114. <remarks>
  27115. <para>
  27116. Log4net components cannot make log4net logging calls. However, it is
  27117. sometimes useful for the user to learn about what log4net is
  27118. doing.
  27119. </para>
  27120. <para>
  27121. All log4net internal debug calls go to the standard output stream
  27122. whereas internal error messages are sent to the standard error output
  27123. stream.
  27124. </para>
  27125. </remarks>
  27126. <author>Nicko Cadell</author>
  27127. <author>Gert Driesen</author>
  27128. </member>
  27129. <member name="M:log4net.Util.LogLog.ToString">
  27130. <summary>
  27131. Formats Prefix, Source, and Message in the same format as the value
  27132. sent to Console.Out and Trace.Write.
  27133. </summary>
  27134. <returns></returns>
  27135. </member>
  27136. <member name="M:log4net.Util.LogLog.#ctor(System.Type,System.String,System.String,System.Exception)">
  27137. <summary>
  27138. Initializes a new instance of the <see cref="T:log4net.Util.LogLog"/> class.
  27139. </summary>
  27140. <param name="source"></param>
  27141. <param name="prefix"></param>
  27142. <param name="message"></param>
  27143. <param name="exception"></param>
  27144. </member>
  27145. <member name="M:log4net.Util.LogLog.#cctor">
  27146. <summary>
  27147. Static constructor that initializes logging by reading
  27148. settings from the application configuration file.
  27149. </summary>
  27150. <remarks>
  27151. <para>
  27152. The <c>log4net.Internal.Debug</c> application setting
  27153. controls internal debugging. This setting should be set
  27154. to <c>true</c> to enable debugging.
  27155. </para>
  27156. <para>
  27157. The <c>log4net.Internal.Quiet</c> application setting
  27158. suppresses all internal logging including error messages.
  27159. This setting should be set to <c>true</c> to enable message
  27160. suppression.
  27161. </para>
  27162. </remarks>
  27163. </member>
  27164. <member name="M:log4net.Util.LogLog.OnLogReceived(System.Type,System.String,System.String,System.Exception)">
  27165. <summary>
  27166. Raises the LogReceived event when an internal messages is received.
  27167. </summary>
  27168. <param name="source"></param>
  27169. <param name="prefix"></param>
  27170. <param name="message"></param>
  27171. <param name="exception"></param>
  27172. </member>
  27173. <member name="M:log4net.Util.LogLog.Debug(System.Type,System.String)">
  27174. <summary>
  27175. Writes log4net internal debug messages to the
  27176. standard output stream.
  27177. </summary>
  27178. <param name="source"></param>
  27179. <param name="message">The message to log.</param>
  27180. <remarks>
  27181. <para>
  27182. All internal debug messages are prepended with
  27183. the string "log4net: ".
  27184. </para>
  27185. </remarks>
  27186. </member>
  27187. <member name="M:log4net.Util.LogLog.Debug(System.Type,System.String,System.Exception)">
  27188. <summary>
  27189. Writes log4net internal debug messages to the
  27190. standard output stream.
  27191. </summary>
  27192. <param name="source">The Type that generated this message.</param>
  27193. <param name="message">The message to log.</param>
  27194. <param name="exception">An exception to log.</param>
  27195. <remarks>
  27196. <para>
  27197. All internal debug messages are prepended with
  27198. the string "log4net: ".
  27199. </para>
  27200. </remarks>
  27201. </member>
  27202. <member name="M:log4net.Util.LogLog.Warn(System.Type,System.String)">
  27203. <summary>
  27204. Writes log4net internal warning messages to the
  27205. standard error stream.
  27206. </summary>
  27207. <param name="source">The Type that generated this message.</param>
  27208. <param name="message">The message to log.</param>
  27209. <remarks>
  27210. <para>
  27211. All internal warning messages are prepended with
  27212. the string "log4net:WARN ".
  27213. </para>
  27214. </remarks>
  27215. </member>
  27216. <member name="M:log4net.Util.LogLog.Warn(System.Type,System.String,System.Exception)">
  27217. <summary>
  27218. Writes log4net internal warning messages to the
  27219. standard error stream.
  27220. </summary>
  27221. <param name="source">The Type that generated this message.</param>
  27222. <param name="message">The message to log.</param>
  27223. <param name="exception">An exception to log.</param>
  27224. <remarks>
  27225. <para>
  27226. All internal warning messages are prepended with
  27227. the string "log4net:WARN ".
  27228. </para>
  27229. </remarks>
  27230. </member>
  27231. <member name="M:log4net.Util.LogLog.Error(System.Type,System.String)">
  27232. <summary>
  27233. Writes log4net internal error messages to the
  27234. standard error stream.
  27235. </summary>
  27236. <param name="source">The Type that generated this message.</param>
  27237. <param name="message">The message to log.</param>
  27238. <remarks>
  27239. <para>
  27240. All internal error messages are prepended with
  27241. the string "log4net:ERROR ".
  27242. </para>
  27243. </remarks>
  27244. </member>
  27245. <member name="M:log4net.Util.LogLog.Error(System.Type,System.String,System.Exception)">
  27246. <summary>
  27247. Writes log4net internal error messages to the
  27248. standard error stream.
  27249. </summary>
  27250. <param name="source">The Type that generated this message.</param>
  27251. <param name="message">The message to log.</param>
  27252. <param name="exception">An exception to log.</param>
  27253. <remarks>
  27254. <para>
  27255. All internal debug messages are prepended with
  27256. the string "log4net:ERROR ".
  27257. </para>
  27258. </remarks>
  27259. </member>
  27260. <member name="M:log4net.Util.LogLog.EmitOutLine(System.String)">
  27261. <summary>
  27262. Writes output to the standard output stream.
  27263. </summary>
  27264. <param name="message">The message to log.</param>
  27265. <remarks>
  27266. <para>
  27267. Writes to both Console.Out and System.Diagnostics.Trace.
  27268. Note that the System.Diagnostics.Trace is not supported
  27269. on the Compact Framework.
  27270. </para>
  27271. <para>
  27272. If the AppDomain is not configured with a config file then
  27273. the call to System.Diagnostics.Trace may fail. This is only
  27274. an issue if you are programmatically creating your own AppDomains.
  27275. </para>
  27276. </remarks>
  27277. </member>
  27278. <member name="M:log4net.Util.LogLog.EmitErrorLine(System.String)">
  27279. <summary>
  27280. Writes output to the standard error stream.
  27281. </summary>
  27282. <param name="message">The message to log.</param>
  27283. <remarks>
  27284. <para>
  27285. Writes to both Console.Error and System.Diagnostics.Trace.
  27286. Note that the System.Diagnostics.Trace is not supported
  27287. on the Compact Framework.
  27288. </para>
  27289. <para>
  27290. If the AppDomain is not configured with a config file then
  27291. the call to System.Diagnostics.Trace may fail. This is only
  27292. an issue if you are programmatically creating your own AppDomains.
  27293. </para>
  27294. </remarks>
  27295. </member>
  27296. <member name="F:log4net.Util.LogLog.s_debugEnabled">
  27297. <summary>
  27298. Default debug level
  27299. </summary>
  27300. </member>
  27301. <member name="F:log4net.Util.LogLog.s_quietMode">
  27302. <summary>
  27303. In quietMode not even errors generate any output.
  27304. </summary>
  27305. </member>
  27306. <member name="E:log4net.Util.LogLog.LogReceived">
  27307. <summary>
  27308. The event raised when an internal message has been received.
  27309. </summary>
  27310. </member>
  27311. <member name="P:log4net.Util.LogLog.Source">
  27312. <summary>
  27313. The Type that generated the internal message.
  27314. </summary>
  27315. </member>
  27316. <member name="P:log4net.Util.LogLog.TimeStamp">
  27317. <summary>
  27318. The DateTime stamp of when the internal message was received.
  27319. </summary>
  27320. </member>
  27321. <member name="P:log4net.Util.LogLog.Prefix">
  27322. <summary>
  27323. A string indicating the severity of the internal message.
  27324. </summary>
  27325. <remarks>
  27326. "log4net: ",
  27327. "log4net:ERROR ",
  27328. "log4net:WARN "
  27329. </remarks>
  27330. </member>
  27331. <member name="P:log4net.Util.LogLog.Message">
  27332. <summary>
  27333. The internal log message.
  27334. </summary>
  27335. </member>
  27336. <member name="P:log4net.Util.LogLog.Exception">
  27337. <summary>
  27338. The Exception related to the message.
  27339. </summary>
  27340. <remarks>
  27341. Optional. Will be null if no Exception was passed.
  27342. </remarks>
  27343. </member>
  27344. <member name="P:log4net.Util.LogLog.InternalDebugging">
  27345. <summary>
  27346. Gets or sets a value indicating whether log4net internal logging
  27347. is enabled or disabled.
  27348. </summary>
  27349. <value>
  27350. <c>true</c> if log4net internal logging is enabled, otherwise
  27351. <c>false</c>.
  27352. </value>
  27353. <remarks>
  27354. <para>
  27355. When set to <c>true</c>, internal debug level logging will be
  27356. displayed.
  27357. </para>
  27358. <para>
  27359. This value can be set by setting the application setting
  27360. <c>log4net.Internal.Debug</c> in the application configuration
  27361. file.
  27362. </para>
  27363. <para>
  27364. The default value is <c>false</c>, i.e. debugging is
  27365. disabled.
  27366. </para>
  27367. </remarks>
  27368. <example>
  27369. <para>
  27370. The following example enables internal debugging using the
  27371. application configuration file :
  27372. </para>
  27373. <code lang="XML" escaped="true">
  27374. <configuration>
  27375. <appSettings>
  27376. <add key="log4net.Internal.Debug" value="true" />
  27377. </appSettings>
  27378. </configuration>
  27379. </code>
  27380. </example>
  27381. </member>
  27382. <member name="P:log4net.Util.LogLog.QuietMode">
  27383. <summary>
  27384. Gets or sets a value indicating whether log4net should generate no output
  27385. from internal logging, not even for errors.
  27386. </summary>
  27387. <value>
  27388. <c>true</c> if log4net should generate no output at all from internal
  27389. logging, otherwise <c>false</c>.
  27390. </value>
  27391. <remarks>
  27392. <para>
  27393. When set to <c>true</c> will cause internal logging at all levels to be
  27394. suppressed. This means that no warning or error reports will be logged.
  27395. This option overrides the <see cref="P:log4net.Util.LogLog.InternalDebugging"/> setting and
  27396. disables all debug also.
  27397. </para>
  27398. <para>This value can be set by setting the application setting
  27399. <c>log4net.Internal.Quiet</c> in the application configuration file.
  27400. </para>
  27401. <para>
  27402. The default value is <c>false</c>, i.e. internal logging is not
  27403. disabled.
  27404. </para>
  27405. </remarks>
  27406. <example>
  27407. The following example disables internal logging using the
  27408. application configuration file :
  27409. <code lang="XML" escaped="true">
  27410. <configuration>
  27411. <appSettings>
  27412. <add key="log4net.Internal.Quiet" value="true"/>
  27413. </appSettings>
  27414. </configuration>
  27415. </code>
  27416. </example>
  27417. </member>
  27418. <member name="P:log4net.Util.LogLog.EmitInternalMessages">
  27419. <summary>
  27420. </summary>
  27421. </member>
  27422. <member name="P:log4net.Util.LogLog.IsDebugEnabled">
  27423. <summary>
  27424. Test if LogLog.Debug is enabled for output.
  27425. </summary>
  27426. <value>
  27427. <c>true</c> if Debug is enabled
  27428. </value>
  27429. <remarks>
  27430. <para>
  27431. Test if LogLog.Debug is enabled for output.
  27432. </para>
  27433. </remarks>
  27434. </member>
  27435. <member name="P:log4net.Util.LogLog.IsWarnEnabled">
  27436. <summary>
  27437. Test if LogLog.Warn is enabled for output.
  27438. </summary>
  27439. <value>
  27440. <c>true</c> if Warn is enabled
  27441. </value>
  27442. <remarks>
  27443. <para>
  27444. Test if LogLog.Warn is enabled for output.
  27445. </para>
  27446. </remarks>
  27447. </member>
  27448. <member name="P:log4net.Util.LogLog.IsErrorEnabled">
  27449. <summary>
  27450. Test if LogLog.Error is enabled for output.
  27451. </summary>
  27452. <value>
  27453. <c>true</c> if Error is enabled
  27454. </value>
  27455. <remarks>
  27456. <para>
  27457. Test if LogLog.Error is enabled for output.
  27458. </para>
  27459. </remarks>
  27460. </member>
  27461. <member name="T:log4net.Util.LogLog.LogReceivedAdapter">
  27462. <summary>
  27463. Subscribes to the LogLog.LogReceived event and stores messages
  27464. to the supplied IList instance.
  27465. </summary>
  27466. </member>
  27467. <member name="M:log4net.Util.LogLog.LogReceivedAdapter.#ctor(System.Collections.IList)">
  27468. <summary>
  27469. </summary>
  27470. <param name="items"></param>
  27471. </member>
  27472. <member name="M:log4net.Util.LogLog.LogReceivedAdapter.Dispose">
  27473. <summary>
  27474. </summary>
  27475. </member>
  27476. <member name="P:log4net.Util.LogLog.LogReceivedAdapter.Items">
  27477. <summary>
  27478. </summary>
  27479. </member>
  27480. <member name="T:log4net.Util.LogReceivedEventArgs">
  27481. <summary>
  27482. </summary>
  27483. </member>
  27484. <member name="M:log4net.Util.LogReceivedEventArgs.#ctor(log4net.Util.LogLog)">
  27485. <summary>
  27486. </summary>
  27487. <param name="loglog"></param>
  27488. </member>
  27489. <member name="P:log4net.Util.LogReceivedEventArgs.LogLog">
  27490. <summary>
  27491. </summary>
  27492. </member>
  27493. <member name="T:log4net.Util.NativeError">
  27494. <summary>
  27495. Represents a native error code and message.
  27496. </summary>
  27497. <remarks>
  27498. <para>
  27499. Represents a Win32 platform native error.
  27500. </para>
  27501. </remarks>
  27502. <author>Nicko Cadell</author>
  27503. <author>Gert Driesen</author>
  27504. </member>
  27505. <member name="M:log4net.Util.NativeError.#ctor(System.Int32,System.String)">
  27506. <summary>
  27507. Create an instance of the <see cref="T:log4net.Util.NativeError"/> class with the specified
  27508. error number and message.
  27509. </summary>
  27510. <param name="number">The number of the native error.</param>
  27511. <param name="message">The message of the native error.</param>
  27512. <remarks>
  27513. <para>
  27514. Create an instance of the <see cref="T:log4net.Util.NativeError"/> class with the specified
  27515. error number and message.
  27516. </para>
  27517. </remarks>
  27518. </member>
  27519. <member name="M:log4net.Util.NativeError.GetLastError">
  27520. <summary>
  27521. Create a new instance of the <see cref="T:log4net.Util.NativeError"/> class for the last Windows error.
  27522. </summary>
  27523. <returns>
  27524. An instance of the <see cref="T:log4net.Util.NativeError"/> class for the last windows error.
  27525. </returns>
  27526. <remarks>
  27527. <para>
  27528. The message for the <see cref="M:System.Runtime.InteropServices.Marshal.GetLastWin32Error"/> error number is lookup up using the
  27529. native Win32 <c>FormatMessage</c> function.
  27530. </para>
  27531. </remarks>
  27532. </member>
  27533. <member name="M:log4net.Util.NativeError.GetError(System.Int32)">
  27534. <summary>
  27535. Create a new instance of the <see cref="T:log4net.Util.NativeError"/> class.
  27536. </summary>
  27537. <param name="number">the error number for the native error</param>
  27538. <returns>
  27539. An instance of the <see cref="T:log4net.Util.NativeError"/> class for the specified
  27540. error number.
  27541. </returns>
  27542. <remarks>
  27543. <para>
  27544. The message for the specified error number is lookup up using the
  27545. native Win32 <c>FormatMessage</c> function.
  27546. </para>
  27547. </remarks>
  27548. </member>
  27549. <member name="M:log4net.Util.NativeError.GetErrorMessage(System.Int32)">
  27550. <summary>
  27551. Retrieves the message corresponding with a Win32 message identifier.
  27552. </summary>
  27553. <param name="messageId">Message identifier for the requested message.</param>
  27554. <returns>
  27555. The message corresponding with the specified message identifier.
  27556. </returns>
  27557. <remarks>
  27558. <para>
  27559. The message will be searched for in system message-table resource(s)
  27560. using the native <c>FormatMessage</c> function.
  27561. </para>
  27562. </remarks>
  27563. </member>
  27564. <member name="M:log4net.Util.NativeError.ToString">
  27565. <summary>
  27566. Return error information string
  27567. </summary>
  27568. <returns>error information string</returns>
  27569. <remarks>
  27570. <para>
  27571. Return error information string
  27572. </para>
  27573. </remarks>
  27574. </member>
  27575. <member name="M:log4net.Util.NativeError.FormatMessage(System.Int32,System.IntPtr@,System.Int32,System.Int32,System.String@,System.Int32,System.IntPtr)">
  27576. <summary>
  27577. Formats a message string.
  27578. </summary>
  27579. <param name="dwFlags">Formatting options, and how to interpret the <paramref name="lpSource" /> parameter.</param>
  27580. <param name="lpSource">Location of the message definition.</param>
  27581. <param name="dwMessageId">Message identifier for the requested message.</param>
  27582. <param name="dwLanguageId">Language identifier for the requested message.</param>
  27583. <param name="lpBuffer">If <paramref name="dwFlags" /> includes FORMAT_MESSAGE_ALLOCATE_BUFFER, the function allocates a buffer using the <c>LocalAlloc</c> function, and places the pointer to the buffer at the address specified in <paramref name="lpBuffer" />.</param>
  27584. <param name="nSize">If the FORMAT_MESSAGE_ALLOCATE_BUFFER flag is not set, this parameter specifies the maximum number of TCHARs that can be stored in the output buffer. If FORMAT_MESSAGE_ALLOCATE_BUFFER is set, this parameter specifies the minimum number of TCHARs to allocate for an output buffer.</param>
  27585. <param name="Arguments">Pointer to an array of values that are used as insert values in the formatted message.</param>
  27586. <remarks>
  27587. <para>
  27588. The function requires a message definition as input. The message definition can come from a
  27589. buffer passed into the function. It can come from a message table resource in an
  27590. already-loaded module. Or the caller can ask the function to search the system's message
  27591. table resource(s) for the message definition. The function finds the message definition
  27592. in a message table resource based on a message identifier and a language identifier.
  27593. The function copies the formatted message text to an output buffer, processing any embedded
  27594. insert sequences if requested.
  27595. </para>
  27596. <para>
  27597. To prevent the usage of unsafe code, this stub does not support inserting values in the formatted message.
  27598. </para>
  27599. </remarks>
  27600. <returns>
  27601. <para>
  27602. If the function succeeds, the return value is the number of TCHARs stored in the output
  27603. buffer, excluding the terminating null character.
  27604. </para>
  27605. <para>
  27606. If the function fails, the return value is zero. To get extended error information,
  27607. call <see cref="M:Marshal.GetLastWin32Error()" />.
  27608. </para>
  27609. </returns>
  27610. </member>
  27611. <member name="P:log4net.Util.NativeError.Number">
  27612. <summary>
  27613. Gets the number of the native error.
  27614. </summary>
  27615. <value>
  27616. The number of the native error.
  27617. </value>
  27618. <remarks>
  27619. <para>
  27620. Gets the number of the native error.
  27621. </para>
  27622. </remarks>
  27623. </member>
  27624. <member name="P:log4net.Util.NativeError.Message">
  27625. <summary>
  27626. Gets the message of the native error.
  27627. </summary>
  27628. <value>
  27629. The message of the native error.
  27630. </value>
  27631. <remarks>
  27632. <para>
  27633. </para>
  27634. Gets the message of the native error.
  27635. </remarks>
  27636. </member>
  27637. <member name="T:log4net.Util.NullDictionaryEnumerator">
  27638. <summary>
  27639. An always empty <see cref="T:System.Collections.IDictionaryEnumerator"/>.
  27640. </summary>
  27641. <remarks>
  27642. <para>
  27643. A singleton implementation of the <see cref="T:System.Collections.IDictionaryEnumerator"/> over a collection
  27644. that is empty and not modifiable.
  27645. </para>
  27646. </remarks>
  27647. <author>Nicko Cadell</author>
  27648. <author>Gert Driesen</author>
  27649. </member>
  27650. <member name="M:log4net.Util.NullDictionaryEnumerator.#ctor">
  27651. <summary>
  27652. Initializes a new instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/> class.
  27653. </summary>
  27654. <remarks>
  27655. <para>
  27656. Uses a private access modifier to enforce the singleton pattern.
  27657. </para>
  27658. </remarks>
  27659. </member>
  27660. <member name="M:log4net.Util.NullDictionaryEnumerator.MoveNext">
  27661. <summary>
  27662. Test if the enumerator can advance, if so advance.
  27663. </summary>
  27664. <returns><c>false</c> as the <see cref="T:log4net.Util.NullDictionaryEnumerator"/> cannot advance.</returns>
  27665. <remarks>
  27666. <para>
  27667. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27668. value cannot be moved over a valid position, therefore <see cref="M:log4net.Util.NullDictionaryEnumerator.MoveNext"/>
  27669. will always return <c>false</c>.
  27670. </para>
  27671. </remarks>
  27672. </member>
  27673. <member name="M:log4net.Util.NullDictionaryEnumerator.Reset">
  27674. <summary>
  27675. Resets the enumerator back to the start.
  27676. </summary>
  27677. <remarks>
  27678. <para>
  27679. As the enumerator is over an empty collection <see cref="M:log4net.Util.NullDictionaryEnumerator.Reset"/> does nothing.
  27680. </para>
  27681. </remarks>
  27682. </member>
  27683. <member name="F:log4net.Util.NullDictionaryEnumerator.s_instance">
  27684. <summary>
  27685. The singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.
  27686. </summary>
  27687. </member>
  27688. <member name="P:log4net.Util.NullDictionaryEnumerator.Instance">
  27689. <summary>
  27690. Gets the singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.
  27691. </summary>
  27692. <returns>The singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.</returns>
  27693. <remarks>
  27694. <para>
  27695. Gets the singleton instance of the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>.
  27696. </para>
  27697. </remarks>
  27698. </member>
  27699. <member name="P:log4net.Util.NullDictionaryEnumerator.Current">
  27700. <summary>
  27701. Gets the current object from the enumerator.
  27702. </summary>
  27703. <remarks>
  27704. Throws an <see cref="T:System.InvalidOperationException"/> because the
  27705. <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current value.
  27706. </remarks>
  27707. <remarks>
  27708. <para>
  27709. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27710. value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27711. will throw an <see cref="T:System.InvalidOperationException"/>.
  27712. </para>
  27713. </remarks>
  27714. <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27715. cannot be positioned over a valid location.</exception>
  27716. </member>
  27717. <member name="P:log4net.Util.NullDictionaryEnumerator.Key">
  27718. <summary>
  27719. Gets the current key from the enumerator.
  27720. </summary>
  27721. <remarks>
  27722. Throws an exception because the <see cref="T:log4net.Util.NullDictionaryEnumerator"/>
  27723. never has a current value.
  27724. </remarks>
  27725. <remarks>
  27726. <para>
  27727. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27728. value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Key"/>
  27729. will throw an <see cref="T:System.InvalidOperationException"/>.
  27730. </para>
  27731. </remarks>
  27732. <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27733. cannot be positioned over a valid location.</exception>
  27734. </member>
  27735. <member name="P:log4net.Util.NullDictionaryEnumerator.Value">
  27736. <summary>
  27737. Gets the current value from the enumerator.
  27738. </summary>
  27739. <value>The current value from the enumerator.</value>
  27740. <remarks>
  27741. Throws an <see cref="T:System.InvalidOperationException"/> because the
  27742. <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current value.
  27743. </remarks>
  27744. <remarks>
  27745. <para>
  27746. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27747. value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Value"/>
  27748. will throw an <see cref="T:System.InvalidOperationException"/>.
  27749. </para>
  27750. </remarks>
  27751. <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27752. cannot be positioned over a valid location.</exception>
  27753. </member>
  27754. <member name="P:log4net.Util.NullDictionaryEnumerator.Entry">
  27755. <summary>
  27756. Gets the current entry from the enumerator.
  27757. </summary>
  27758. <remarks>
  27759. Throws an <see cref="T:System.InvalidOperationException"/> because the
  27760. <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current entry.
  27761. </remarks>
  27762. <remarks>
  27763. <para>
  27764. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27765. value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullDictionaryEnumerator.Entry"/>
  27766. will throw an <see cref="T:System.InvalidOperationException"/>.
  27767. </para>
  27768. </remarks>
  27769. <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullDictionaryEnumerator.Current"/>
  27770. cannot be positioned over a valid location.</exception>
  27771. </member>
  27772. <member name="T:log4net.Util.NullEnumerator">
  27773. <summary>
  27774. An always empty <see cref="T:System.Collections.IEnumerator"/>.
  27775. </summary>
  27776. <remarks>
  27777. <para>
  27778. A singleton implementation of the <see cref="T:System.Collections.IEnumerator"/> over a collection
  27779. that is empty and not modifiable.
  27780. </para>
  27781. </remarks>
  27782. <author>Nicko Cadell</author>
  27783. <author>Gert Driesen</author>
  27784. </member>
  27785. <member name="M:log4net.Util.NullEnumerator.#ctor">
  27786. <summary>
  27787. Initializes a new instance of the <see cref="T:log4net.Util.NullEnumerator"/> class.
  27788. </summary>
  27789. <remarks>
  27790. <para>
  27791. Uses a private access modifier to enforce the singleton pattern.
  27792. </para>
  27793. </remarks>
  27794. </member>
  27795. <member name="M:log4net.Util.NullEnumerator.MoveNext">
  27796. <summary>
  27797. Test if the enumerator can advance, if so advance
  27798. </summary>
  27799. <returns><c>false</c> as the <see cref="T:log4net.Util.NullEnumerator"/> cannot advance.</returns>
  27800. <remarks>
  27801. <para>
  27802. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullEnumerator.Current"/>
  27803. value cannot be moved over a valid position, therefore <see cref="M:log4net.Util.NullEnumerator.MoveNext"/>
  27804. will always return <c>false</c>.
  27805. </para>
  27806. </remarks>
  27807. </member>
  27808. <member name="M:log4net.Util.NullEnumerator.Reset">
  27809. <summary>
  27810. Resets the enumerator back to the start.
  27811. </summary>
  27812. <remarks>
  27813. <para>
  27814. As the enumerator is over an empty collection <see cref="M:log4net.Util.NullEnumerator.Reset"/> does nothing.
  27815. </para>
  27816. </remarks>
  27817. </member>
  27818. <member name="F:log4net.Util.NullEnumerator.s_instance">
  27819. <summary>
  27820. The singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.
  27821. </summary>
  27822. </member>
  27823. <member name="P:log4net.Util.NullEnumerator.Instance">
  27824. <summary>
  27825. Get the singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.
  27826. </summary>
  27827. <returns>The singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.</returns>
  27828. <remarks>
  27829. <para>
  27830. Gets the singleton instance of the <see cref="T:log4net.Util.NullEnumerator"/>.
  27831. </para>
  27832. </remarks>
  27833. </member>
  27834. <member name="P:log4net.Util.NullEnumerator.Current">
  27835. <summary>
  27836. Gets the current object from the enumerator.
  27837. </summary>
  27838. <remarks>
  27839. Throws an <see cref="T:System.InvalidOperationException"/> because the
  27840. <see cref="T:log4net.Util.NullDictionaryEnumerator"/> never has a current value.
  27841. </remarks>
  27842. <remarks>
  27843. <para>
  27844. As the enumerator is over an empty collection its <see cref="P:log4net.Util.NullEnumerator.Current"/>
  27845. value cannot be moved over a valid position, therefore <see cref="P:log4net.Util.NullEnumerator.Current"/>
  27846. will throw an <see cref="T:System.InvalidOperationException"/>.
  27847. </para>
  27848. </remarks>
  27849. <exception cref="T:System.InvalidOperationException">The collection is empty and <see cref="P:log4net.Util.NullEnumerator.Current"/>
  27850. cannot be positioned over a valid location.</exception>
  27851. </member>
  27852. <member name="T:log4net.Util.NullSecurityContext">
  27853. <summary>
  27854. A SecurityContext used when a SecurityContext is not required
  27855. </summary>
  27856. <remarks>
  27857. <para>
  27858. The <see cref="T:log4net.Util.NullSecurityContext"/> is a no-op implementation of the
  27859. <see cref="T:log4net.Core.SecurityContext"/> base class. It is used where a <see cref="T:log4net.Core.SecurityContext"/>
  27860. is required but one has not been provided.
  27861. </para>
  27862. </remarks>
  27863. <author>Nicko Cadell</author>
  27864. </member>
  27865. <member name="F:log4net.Util.NullSecurityContext.Instance">
  27866. <summary>
  27867. Singleton instance of <see cref="T:log4net.Util.NullSecurityContext"/>
  27868. </summary>
  27869. <remarks>
  27870. <para>
  27871. Singleton instance of <see cref="T:log4net.Util.NullSecurityContext"/>
  27872. </para>
  27873. </remarks>
  27874. </member>
  27875. <member name="M:log4net.Util.NullSecurityContext.#ctor">
  27876. <summary>
  27877. Private constructor
  27878. </summary>
  27879. <remarks>
  27880. <para>
  27881. Private constructor for singleton pattern.
  27882. </para>
  27883. </remarks>
  27884. </member>
  27885. <member name="M:log4net.Util.NullSecurityContext.Impersonate(System.Object)">
  27886. <summary>
  27887. Impersonate this SecurityContext
  27888. </summary>
  27889. <param name="state">State supplied by the caller</param>
  27890. <returns><c>null</c></returns>
  27891. <remarks>
  27892. <para>
  27893. No impersonation is done and <c>null</c> is always returned.
  27894. </para>
  27895. </remarks>
  27896. </member>
  27897. <member name="T:log4net.Util.OnlyOnceErrorHandler">
  27898. <summary>
  27899. Implements log4net's default error handling policy which consists
  27900. of emitting a message for the first error in an appender and
  27901. ignoring all subsequent errors.
  27902. </summary>
  27903. <remarks>
  27904. <para>
  27905. The error message is processed using the LogLog sub-system by default.
  27906. </para>
  27907. <para>
  27908. This policy aims at protecting an otherwise working application
  27909. from being flooded with error messages when logging fails.
  27910. </para>
  27911. </remarks>
  27912. <author>Nicko Cadell</author>
  27913. <author>Gert Driesen</author>
  27914. <author>Ron Grabowski</author>
  27915. </member>
  27916. <member name="M:log4net.Util.OnlyOnceErrorHandler.#ctor">
  27917. <summary>
  27918. Default Constructor
  27919. </summary>
  27920. <remarks>
  27921. <para>
  27922. Initializes a new instance of the <see cref="T:log4net.Util.OnlyOnceErrorHandler"/> class.
  27923. </para>
  27924. </remarks>
  27925. </member>
  27926. <member name="M:log4net.Util.OnlyOnceErrorHandler.#ctor(System.String)">
  27927. <summary>
  27928. Constructor
  27929. </summary>
  27930. <param name="prefix">The prefix to use for each message.</param>
  27931. <remarks>
  27932. <para>
  27933. Initializes a new instance of the <see cref="T:log4net.Util.OnlyOnceErrorHandler"/> class
  27934. with the specified prefix.
  27935. </para>
  27936. </remarks>
  27937. </member>
  27938. <member name="M:log4net.Util.OnlyOnceErrorHandler.Reset">
  27939. <summary>
  27940. Reset the error handler back to its initial disabled state.
  27941. </summary>
  27942. </member>
  27943. <member name="M:log4net.Util.OnlyOnceErrorHandler.Error(System.String,System.Exception,log4net.Core.ErrorCode)">
  27944. <summary>
  27945. Log an Error
  27946. </summary>
  27947. <param name="message">The error message.</param>
  27948. <param name="e">The exception.</param>
  27949. <param name="errorCode">The internal error code.</param>
  27950. <remarks>
  27951. <para>
  27952. Invokes <see cref="M:log4net.Util.OnlyOnceErrorHandler.FirstError(System.String,System.Exception,log4net.Core.ErrorCode)"/> if and only if this is the first error or the first error after <see cref="M:log4net.Util.OnlyOnceErrorHandler.Reset"/> has been called.
  27953. </para>
  27954. </remarks>
  27955. </member>
  27956. <member name="M:log4net.Util.OnlyOnceErrorHandler.FirstError(System.String,System.Exception,log4net.Core.ErrorCode)">
  27957. <summary>
  27958. Log the very first error
  27959. </summary>
  27960. <param name="message">The error message.</param>
  27961. <param name="e">The exception.</param>
  27962. <param name="errorCode">The internal error code.</param>
  27963. <remarks>
  27964. <para>
  27965. Sends the error information to <see cref="T:log4net.Util.LogLog"/>'s Error method.
  27966. </para>
  27967. </remarks>
  27968. </member>
  27969. <member name="M:log4net.Util.OnlyOnceErrorHandler.Error(System.String,System.Exception)">
  27970. <summary>
  27971. Log an Error
  27972. </summary>
  27973. <param name="message">The error message.</param>
  27974. <param name="e">The exception.</param>
  27975. <remarks>
  27976. <para>
  27977. Invokes <see cref="M:log4net.Util.OnlyOnceErrorHandler.FirstError(System.String,System.Exception,log4net.Core.ErrorCode)"/> if and only if this is the first error or the first error after <see cref="M:log4net.Util.OnlyOnceErrorHandler.Reset"/> has been called.
  27978. </para>
  27979. </remarks>
  27980. </member>
  27981. <member name="M:log4net.Util.OnlyOnceErrorHandler.Error(System.String)">
  27982. <summary>
  27983. Log an error
  27984. </summary>
  27985. <param name="message">The error message.</param>
  27986. <remarks>
  27987. <para>
  27988. Invokes <see cref="M:log4net.Util.OnlyOnceErrorHandler.FirstError(System.String,System.Exception,log4net.Core.ErrorCode)"/> if and only if this is the first error or the first error after <see cref="M:log4net.Util.OnlyOnceErrorHandler.Reset"/> has been called.
  27989. </para>
  27990. </remarks>
  27991. </member>
  27992. <member name="F:log4net.Util.OnlyOnceErrorHandler.m_enabledDate">
  27993. <summary>
  27994. The date the error was recorded.
  27995. </summary>
  27996. </member>
  27997. <member name="F:log4net.Util.OnlyOnceErrorHandler.m_firstTime">
  27998. <summary>
  27999. Flag to indicate if it is the first error
  28000. </summary>
  28001. </member>
  28002. <member name="F:log4net.Util.OnlyOnceErrorHandler.m_message">
  28003. <summary>
  28004. The message recorded during the first error.
  28005. </summary>
  28006. </member>
  28007. <member name="F:log4net.Util.OnlyOnceErrorHandler.m_exception">
  28008. <summary>
  28009. The exception recorded during the first error.
  28010. </summary>
  28011. </member>
  28012. <member name="F:log4net.Util.OnlyOnceErrorHandler.m_errorCode">
  28013. <summary>
  28014. The error code recorded during the first error.
  28015. </summary>
  28016. </member>
  28017. <member name="F:log4net.Util.OnlyOnceErrorHandler.m_prefix">
  28018. <summary>
  28019. String to prefix each message with
  28020. </summary>
  28021. </member>
  28022. <member name="F:log4net.Util.OnlyOnceErrorHandler.declaringType">
  28023. <summary>
  28024. The fully qualified type of the OnlyOnceErrorHandler class.
  28025. </summary>
  28026. <remarks>
  28027. Used by the internal logger to record the Type of the
  28028. log message.
  28029. </remarks>
  28030. </member>
  28031. <member name="P:log4net.Util.OnlyOnceErrorHandler.IsEnabled">
  28032. <summary>
  28033. Is error logging enabled
  28034. </summary>
  28035. <remarks>
  28036. <para>
  28037. Is error logging enabled. Logging is only enabled for the
  28038. first error delivered to the <see cref="T:log4net.Util.OnlyOnceErrorHandler"/>.
  28039. </para>
  28040. </remarks>
  28041. </member>
  28042. <member name="P:log4net.Util.OnlyOnceErrorHandler.EnabledDate">
  28043. <summary>
  28044. The date the first error that trigged this error handler occured.
  28045. </summary>
  28046. </member>
  28047. <member name="P:log4net.Util.OnlyOnceErrorHandler.ErrorMessage">
  28048. <summary>
  28049. The message from the first error that trigged this error handler.
  28050. </summary>
  28051. </member>
  28052. <member name="P:log4net.Util.OnlyOnceErrorHandler.Exception">
  28053. <summary>
  28054. The exception from the first error that trigged this error handler.
  28055. </summary>
  28056. <remarks>
  28057. May be <see langword="null" />.
  28058. </remarks>
  28059. </member>
  28060. <member name="P:log4net.Util.OnlyOnceErrorHandler.ErrorCode">
  28061. <summary>
  28062. The error code from the first error that trigged this error handler.
  28063. </summary>
  28064. <remarks>
  28065. Defaults to <see cref="F:log4net.Core.ErrorCode.GenericFailure"/>
  28066. </remarks>
  28067. </member>
  28068. <member name="T:log4net.Util.OptionConverter">
  28069. <summary>
  28070. A convenience class to convert property values to specific types.
  28071. </summary>
  28072. <remarks>
  28073. <para>
  28074. Utility functions for converting types and parsing values.
  28075. </para>
  28076. </remarks>
  28077. <author>Nicko Cadell</author>
  28078. <author>Gert Driesen</author>
  28079. </member>
  28080. <member name="M:log4net.Util.OptionConverter.#ctor">
  28081. <summary>
  28082. Initializes a new instance of the <see cref="T:log4net.Util.OptionConverter"/> class.
  28083. </summary>
  28084. <remarks>
  28085. <para>
  28086. Uses a private access modifier to prevent instantiation of this class.
  28087. </para>
  28088. </remarks>
  28089. </member>
  28090. <member name="M:log4net.Util.OptionConverter.ToBoolean(System.String,System.Boolean)">
  28091. <summary>
  28092. Converts a string to a <see cref="T:System.Boolean"/> value.
  28093. </summary>
  28094. <param name="argValue">String to convert.</param>
  28095. <param name="defaultValue">The default value.</param>
  28096. <returns>The <see cref="T:System.Boolean"/> value of <paramref name="argValue"/>.</returns>
  28097. <remarks>
  28098. <para>
  28099. If <paramref name="argValue"/> is "true", then <c>true</c> is returned.
  28100. If <paramref name="argValue"/> is "false", then <c>false</c> is returned.
  28101. Otherwise, <paramref name="defaultValue"/> is returned.
  28102. </para>
  28103. </remarks>
  28104. </member>
  28105. <member name="M:log4net.Util.OptionConverter.ToFileSize(System.String,System.Int64)">
  28106. <summary>
  28107. Parses a file size into a number.
  28108. </summary>
  28109. <param name="argValue">String to parse.</param>
  28110. <param name="defaultValue">The default value.</param>
  28111. <returns>The <see cref="T:System.Int64"/> value of <paramref name="argValue"/>.</returns>
  28112. <remarks>
  28113. <para>
  28114. Parses a file size of the form: number[KB|MB|GB] into a
  28115. long value. It is scaled with the appropriate multiplier.
  28116. </para>
  28117. <para>
  28118. <paramref name="defaultValue"/> is returned when <paramref name="argValue"/>
  28119. cannot be converted to a <see cref="T:System.Int64"/> value.
  28120. </para>
  28121. </remarks>
  28122. </member>
  28123. <member name="M:log4net.Util.OptionConverter.ConvertStringTo(System.Type,System.String)">
  28124. <summary>
  28125. Converts a string to an object.
  28126. </summary>
  28127. <param name="target">The target type to convert to.</param>
  28128. <param name="txt">The string to convert to an object.</param>
  28129. <returns>
  28130. The object converted from a string or <c>null</c> when the
  28131. conversion failed.
  28132. </returns>
  28133. <remarks>
  28134. <para>
  28135. Converts a string to an object. Uses the converter registry to try
  28136. to convert the string value into the specified target type.
  28137. </para>
  28138. </remarks>
  28139. </member>
  28140. <member name="M:log4net.Util.OptionConverter.CanConvertTypeTo(System.Type,System.Type)">
  28141. <summary>
  28142. Checks if there is an appropriate type conversion from the source type to the target type.
  28143. </summary>
  28144. <param name="sourceType">The type to convert from.</param>
  28145. <param name="targetType">The type to convert to.</param>
  28146. <returns><c>true</c> if there is a conversion from the source type to the target type.</returns>
  28147. <remarks>
  28148. Checks if there is an appropriate type conversion from the source type to the target type.
  28149. <para>
  28150. </para>
  28151. </remarks>
  28152. </member>
  28153. <member name="M:log4net.Util.OptionConverter.ConvertTypeTo(System.Object,System.Type)">
  28154. <summary>
  28155. Converts an object to the target type.
  28156. </summary>
  28157. <param name="sourceInstance">The object to convert to the target type.</param>
  28158. <param name="targetType">The type to convert to.</param>
  28159. <returns>The converted object.</returns>
  28160. <remarks>
  28161. <para>
  28162. Converts an object to the target type.
  28163. </para>
  28164. </remarks>
  28165. </member>
  28166. <member name="M:log4net.Util.OptionConverter.InstantiateByClassName(System.String,System.Type,System.Object)">
  28167. <summary>
  28168. Instantiates an object given a class name.
  28169. </summary>
  28170. <param name="className">The fully qualified class name of the object to instantiate.</param>
  28171. <param name="superClass">The class to which the new object should belong.</param>
  28172. <param name="defaultValue">The object to return in case of non-fulfillment.</param>
  28173. <returns>
  28174. An instance of the <paramref name="className"/> or <paramref name="defaultValue"/>
  28175. if the object could not be instantiated.
  28176. </returns>
  28177. <remarks>
  28178. <para>
  28179. Checks that the <paramref name="className"/> is a subclass of
  28180. <paramref name="superClass"/>. If that test fails or the object could
  28181. not be instantiated, then <paramref name="defaultValue"/> is returned.
  28182. </para>
  28183. </remarks>
  28184. </member>
  28185. <member name="M:log4net.Util.OptionConverter.SubstituteVariables(System.String,System.Collections.IDictionary)">
  28186. <summary>
  28187. Performs variable substitution in string <paramref name="value"/> from the
  28188. values of keys found in <paramref name="props"/>.
  28189. </summary>
  28190. <param name="value">The string on which variable substitution is performed.</param>
  28191. <param name="props">The dictionary to use to lookup variables.</param>
  28192. <returns>The result of the substitutions.</returns>
  28193. <remarks>
  28194. <para>
  28195. The variable substitution delimiters are <b>${</b> and <b>}</b>.
  28196. </para>
  28197. <para>
  28198. For example, if props contains <c>key=value</c>, then the call
  28199. </para>
  28200. <para>
  28201. <code lang="C#">
  28202. string s = OptionConverter.SubstituteVariables("Value of key is ${key}.");
  28203. </code>
  28204. </para>
  28205. <para>
  28206. will set the variable <c>s</c> to "Value of key is value.".
  28207. </para>
  28208. <para>
  28209. If no value could be found for the specified key, then substitution
  28210. defaults to an empty string.
  28211. </para>
  28212. <para>
  28213. For example, if system properties contains no value for the key
  28214. "nonExistentKey", then the call
  28215. </para>
  28216. <para>
  28217. <code lang="C#">
  28218. string s = OptionConverter.SubstituteVariables("Value of nonExistentKey is [${nonExistentKey}]");
  28219. </code>
  28220. </para>
  28221. <para>
  28222. will set <s>s</s> to "Value of nonExistentKey is []".
  28223. </para>
  28224. <para>
  28225. An Exception is thrown if <paramref name="value"/> contains a start
  28226. delimiter "${" which is not balanced by a stop delimiter "}".
  28227. </para>
  28228. </remarks>
  28229. </member>
  28230. <member name="M:log4net.Util.OptionConverter.ParseEnum(System.Type,System.String,System.Boolean)">
  28231. <summary>
  28232. Converts the string representation of the name or numeric value of one or
  28233. more enumerated constants to an equivalent enumerated object.
  28234. </summary>
  28235. <param name="enumType">The type to convert to.</param>
  28236. <param name="value">The enum string value.</param>
  28237. <param name="ignoreCase">If <c>true</c>, ignore case; otherwise, regard case.</param>
  28238. <returns>An object of type <paramref name="enumType" /> whose value is represented by <paramref name="value" />.</returns>
  28239. </member>
  28240. <member name="F:log4net.Util.OptionConverter.declaringType">
  28241. <summary>
  28242. The fully qualified type of the OptionConverter class.
  28243. </summary>
  28244. <remarks>
  28245. Used by the internal logger to record the Type of the
  28246. log message.
  28247. </remarks>
  28248. </member>
  28249. <member name="T:log4net.Util.PatternParser">
  28250. <summary>
  28251. Most of the work of the <see cref="T:log4net.Layout.PatternLayout"/> class
  28252. is delegated to the PatternParser class.
  28253. </summary>
  28254. <remarks>
  28255. <para>
  28256. The <c>PatternParser</c> processes a pattern string and
  28257. returns a chain of <see cref="T:log4net.Util.PatternConverter"/> objects.
  28258. </para>
  28259. </remarks>
  28260. <author>Nicko Cadell</author>
  28261. <author>Gert Driesen</author>
  28262. </member>
  28263. <member name="M:log4net.Util.PatternParser.#ctor(System.String)">
  28264. <summary>
  28265. Constructor
  28266. </summary>
  28267. <param name="pattern">The pattern to parse.</param>
  28268. <remarks>
  28269. <para>
  28270. Initializes a new instance of the <see cref="T:log4net.Util.PatternParser"/> class
  28271. with the specified pattern string.
  28272. </para>
  28273. </remarks>
  28274. </member>
  28275. <member name="M:log4net.Util.PatternParser.Parse">
  28276. <summary>
  28277. Parses the pattern into a chain of pattern converters.
  28278. </summary>
  28279. <returns>The head of a chain of pattern converters.</returns>
  28280. <remarks>
  28281. <para>
  28282. Parses the pattern into a chain of pattern converters.
  28283. </para>
  28284. </remarks>
  28285. </member>
  28286. <member name="M:log4net.Util.PatternParser.BuildCache">
  28287. <summary>
  28288. Build the unified cache of converters from the static and instance maps
  28289. </summary>
  28290. <returns>the list of all the converter names</returns>
  28291. <remarks>
  28292. <para>
  28293. Build the unified cache of converters from the static and instance maps
  28294. </para>
  28295. </remarks>
  28296. </member>
  28297. <member name="M:log4net.Util.PatternParser.ParseInternal(System.String,System.String[])">
  28298. <summary>
  28299. Internal method to parse the specified pattern to find specified matches
  28300. </summary>
  28301. <param name="pattern">the pattern to parse</param>
  28302. <param name="matches">the converter names to match in the pattern</param>
  28303. <remarks>
  28304. <para>
  28305. The matches param must be sorted such that longer strings come before shorter ones.
  28306. </para>
  28307. </remarks>
  28308. </member>
  28309. <member name="M:log4net.Util.PatternParser.ProcessLiteral(System.String)">
  28310. <summary>
  28311. Process a parsed literal
  28312. </summary>
  28313. <param name="text">the literal text</param>
  28314. </member>
  28315. <member name="M:log4net.Util.PatternParser.ProcessConverter(System.String,System.String,log4net.Util.FormattingInfo)">
  28316. <summary>
  28317. Process a parsed converter pattern
  28318. </summary>
  28319. <param name="converterName">the name of the converter</param>
  28320. <param name="option">the optional option for the converter</param>
  28321. <param name="formattingInfo">the formatting info for the converter</param>
  28322. </member>
  28323. <member name="M:log4net.Util.PatternParser.AddConverter(log4net.Util.PatternConverter)">
  28324. <summary>
  28325. Resets the internal state of the parser and adds the specified pattern converter
  28326. to the chain.
  28327. </summary>
  28328. <param name="pc">The pattern converter to add.</param>
  28329. </member>
  28330. <member name="F:log4net.Util.PatternParser.m_head">
  28331. <summary>
  28332. The first pattern converter in the chain
  28333. </summary>
  28334. </member>
  28335. <member name="F:log4net.Util.PatternParser.m_tail">
  28336. <summary>
  28337. the last pattern converter in the chain
  28338. </summary>
  28339. </member>
  28340. <member name="F:log4net.Util.PatternParser.m_pattern">
  28341. <summary>
  28342. The pattern
  28343. </summary>
  28344. </member>
  28345. <member name="F:log4net.Util.PatternParser.m_patternConverters">
  28346. <summary>
  28347. Internal map of converter identifiers to converter types
  28348. </summary>
  28349. <remarks>
  28350. <para>
  28351. This map overrides the static s_globalRulesRegistry map.
  28352. </para>
  28353. </remarks>
  28354. </member>
  28355. <member name="F:log4net.Util.PatternParser.declaringType">
  28356. <summary>
  28357. The fully qualified type of the PatternParser class.
  28358. </summary>
  28359. <remarks>
  28360. Used by the internal logger to record the Type of the
  28361. log message.
  28362. </remarks>
  28363. </member>
  28364. <member name="P:log4net.Util.PatternParser.PatternConverters">
  28365. <summary>
  28366. Get the converter registry used by this parser
  28367. </summary>
  28368. <value>
  28369. The converter registry used by this parser
  28370. </value>
  28371. <remarks>
  28372. <para>
  28373. Get the converter registry used by this parser
  28374. </para>
  28375. </remarks>
  28376. </member>
  28377. <member name="T:log4net.Util.PatternParser.StringLengthComparer">
  28378. <summary>
  28379. Sort strings by length
  28380. </summary>
  28381. <remarks>
  28382. <para>
  28383. <see cref="T:System.Collections.IComparer"/> that orders strings by string length.
  28384. The longest strings are placed first
  28385. </para>
  28386. </remarks>
  28387. </member>
  28388. <member name="T:log4net.Util.PatternString">
  28389. <summary>
  28390. This class implements a patterned string.
  28391. </summary>
  28392. <remarks>
  28393. <para>
  28394. This string has embedded patterns that are resolved and expanded
  28395. when the string is formatted.
  28396. </para>
  28397. <para>
  28398. This class functions similarly to the <see cref="T:log4net.Layout.PatternLayout"/>
  28399. in that it accepts a pattern and renders it to a string. Unlike the
  28400. <see cref="T:log4net.Layout.PatternLayout"/> however the <c>PatternString</c>
  28401. does not render the properties of a specific <see cref="T:log4net.Core.LoggingEvent"/> but
  28402. of the process in general.
  28403. </para>
  28404. <para>
  28405. The recognized conversion pattern names are:
  28406. </para>
  28407. <list type="table">
  28408. <listheader>
  28409. <term>Conversion Pattern Name</term>
  28410. <description>Effect</description>
  28411. </listheader>
  28412. <item>
  28413. <term>appdomain</term>
  28414. <description>
  28415. <para>
  28416. Used to output the friendly name of the current AppDomain.
  28417. </para>
  28418. </description>
  28419. </item>
  28420. <item>
  28421. <term>date</term>
  28422. <description>
  28423. <para>
  28424. Used to output the current date and time in the local time zone.
  28425. To output the date in universal time use the <c>%utcdate</c> pattern.
  28426. The date conversion
  28427. specifier may be followed by a <i>date format specifier</i> enclosed
  28428. between braces. For example, <b>%date{HH:mm:ss,fff}</b> or
  28429. <b>%date{dd MMM yyyy HH:mm:ss,fff}</b>. If no date format specifier is
  28430. given then ISO8601 format is
  28431. assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
  28432. </para>
  28433. <para>
  28434. The date format specifier admits the same syntax as the
  28435. time pattern string of the <see cref="M:DateTime.ToString(string)"/>.
  28436. </para>
  28437. <para>
  28438. For better results it is recommended to use the log4net date
  28439. formatters. These can be specified using one of the strings
  28440. "ABSOLUTE", "DATE" and "ISO8601" for specifying
  28441. <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>,
  28442. <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively
  28443. <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example,
  28444. <b>%date{ISO8601}</b> or <b>%date{ABSOLUTE}</b>.
  28445. </para>
  28446. <para>
  28447. These dedicated date formatters perform significantly
  28448. better than <see cref="M:DateTime.ToString(string)"/>.
  28449. </para>
  28450. </description>
  28451. </item>
  28452. <item>
  28453. <term>env</term>
  28454. <description>
  28455. <para>
  28456. Used to output the a specific environment variable. The key to
  28457. lookup must be specified within braces and directly following the
  28458. pattern specifier, e.g. <b>%env{COMPUTERNAME}</b> would include the value
  28459. of the <c>COMPUTERNAME</c> environment variable.
  28460. </para>
  28461. <para>
  28462. The <c>env</c> pattern is not supported on the .NET Compact Framework.
  28463. </para>
  28464. </description>
  28465. </item>
  28466. <item>
  28467. <term>identity</term>
  28468. <description>
  28469. <para>
  28470. Used to output the user name for the currently active user
  28471. (Principal.Identity.Name).
  28472. </para>
  28473. </description>
  28474. </item>
  28475. <item>
  28476. <term>newline</term>
  28477. <description>
  28478. <para>
  28479. Outputs the platform dependent line separator character or
  28480. characters.
  28481. </para>
  28482. <para>
  28483. This conversion pattern name offers the same performance as using
  28484. non-portable line separator strings such as "\n", or "\r\n".
  28485. Thus, it is the preferred way of specifying a line separator.
  28486. </para>
  28487. </description>
  28488. </item>
  28489. <item>
  28490. <term>processid</term>
  28491. <description>
  28492. <para>
  28493. Used to output the system process ID for the current process.
  28494. </para>
  28495. </description>
  28496. </item>
  28497. <item>
  28498. <term>property</term>
  28499. <description>
  28500. <para>
  28501. Used to output a specific context property. The key to
  28502. lookup must be specified within braces and directly following the
  28503. pattern specifier, e.g. <b>%property{user}</b> would include the value
  28504. from the property that is keyed by the string 'user'. Each property value
  28505. that is to be included in the log must be specified separately.
  28506. Properties are stored in logging contexts. By default
  28507. the <c>log4net:HostName</c> property is set to the name of machine on
  28508. which the event was originally logged.
  28509. </para>
  28510. <para>
  28511. If no key is specified, e.g. <b>%property</b> then all the keys and their
  28512. values are printed in a comma separated list.
  28513. </para>
  28514. <para>
  28515. The properties of an event are combined from a number of different
  28516. contexts. These are listed below in the order in which they are searched.
  28517. </para>
  28518. <list type="definition">
  28519. <item>
  28520. <term>the thread properties</term>
  28521. <description>
  28522. The <see cref="P:log4net.ThreadContext.Properties"/> that are set on the current
  28523. thread. These properties are shared by all events logged on this thread.
  28524. </description>
  28525. </item>
  28526. <item>
  28527. <term>the global properties</term>
  28528. <description>
  28529. The <see cref="P:log4net.GlobalContext.Properties"/> that are set globally. These
  28530. properties are shared by all the threads in the AppDomain.
  28531. </description>
  28532. </item>
  28533. </list>
  28534. </description>
  28535. </item>
  28536. <item>
  28537. <term>random</term>
  28538. <description>
  28539. <para>
  28540. Used to output a random string of characters. The string is made up of
  28541. uppercase letters and numbers. By default the string is 4 characters long.
  28542. The length of the string can be specified within braces directly following the
  28543. pattern specifier, e.g. <b>%random{8}</b> would output an 8 character string.
  28544. </para>
  28545. </description>
  28546. </item>
  28547. <item>
  28548. <term>username</term>
  28549. <description>
  28550. <para>
  28551. Used to output the WindowsIdentity for the currently
  28552. active user.
  28553. </para>
  28554. </description>
  28555. </item>
  28556. <item>
  28557. <term>utcdate</term>
  28558. <description>
  28559. <para>
  28560. Used to output the date of the logging event in universal time.
  28561. The date conversion
  28562. specifier may be followed by a <i>date format specifier</i> enclosed
  28563. between braces. For example, <b>%utcdate{HH:mm:ss,fff}</b> or
  28564. <b>%utcdate{dd MMM yyyy HH:mm:ss,fff}</b>. If no date format specifier is
  28565. given then ISO8601 format is
  28566. assumed (<see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>).
  28567. </para>
  28568. <para>
  28569. The date format specifier admits the same syntax as the
  28570. time pattern string of the <see cref="M:DateTime.ToString(string)"/>.
  28571. </para>
  28572. <para>
  28573. For better results it is recommended to use the log4net date
  28574. formatters. These can be specified using one of the strings
  28575. "ABSOLUTE", "DATE" and "ISO8601" for specifying
  28576. <see cref="T:log4net.DateFormatter.AbsoluteTimeDateFormatter"/>,
  28577. <see cref="T:log4net.DateFormatter.DateTimeDateFormatter"/> and respectively
  28578. <see cref="T:log4net.DateFormatter.Iso8601DateFormatter"/>. For example,
  28579. <b>%utcdate{ISO8601}</b> or <b>%utcdate{ABSOLUTE}</b>.
  28580. </para>
  28581. <para>
  28582. These dedicated date formatters perform significantly
  28583. better than <see cref="M:DateTime.ToString(string)"/>.
  28584. </para>
  28585. </description>
  28586. </item>
  28587. <item>
  28588. <term>%</term>
  28589. <description>
  28590. <para>
  28591. The sequence %% outputs a single percent sign.
  28592. </para>
  28593. </description>
  28594. </item>
  28595. </list>
  28596. <para>
  28597. Additional pattern converters may be registered with a specific <see cref="T:log4net.Util.PatternString"/>
  28598. instance using <see cref="M:AddConverter(ConverterInfo)"/> or
  28599. <see cref="M:AddConverter(string, Type)"/>.
  28600. </para>
  28601. <para>
  28602. See the <see cref="T:log4net.Layout.PatternLayout"/> for details on the
  28603. <i>format modifiers</i> supported by the patterns.
  28604. </para>
  28605. </remarks>
  28606. <author>Nicko Cadell</author>
  28607. </member>
  28608. <member name="F:log4net.Util.PatternString.s_globalRulesRegistry">
  28609. <summary>
  28610. Internal map of converter identifiers to converter types.
  28611. </summary>
  28612. </member>
  28613. <member name="F:log4net.Util.PatternString.m_pattern">
  28614. <summary>
  28615. the pattern
  28616. </summary>
  28617. </member>
  28618. <member name="F:log4net.Util.PatternString.m_head">
  28619. <summary>
  28620. the head of the pattern converter chain
  28621. </summary>
  28622. </member>
  28623. <member name="F:log4net.Util.PatternString.m_instanceRulesRegistry">
  28624. <summary>
  28625. patterns defined on this PatternString only
  28626. </summary>
  28627. </member>
  28628. <member name="M:log4net.Util.PatternString.#cctor">
  28629. <summary>
  28630. Initialize the global registry
  28631. </summary>
  28632. </member>
  28633. <member name="M:log4net.Util.PatternString.#ctor">
  28634. <summary>
  28635. Default constructor
  28636. </summary>
  28637. <remarks>
  28638. <para>
  28639. Initialize a new instance of <see cref="T:log4net.Util.PatternString"/>
  28640. </para>
  28641. </remarks>
  28642. </member>
  28643. <member name="M:log4net.Util.PatternString.#ctor(System.String)">
  28644. <summary>
  28645. Constructs a PatternString
  28646. </summary>
  28647. <param name="pattern">The pattern to use with this PatternString</param>
  28648. <remarks>
  28649. <para>
  28650. Initialize a new instance of <see cref="T:log4net.Util.PatternString"/> with the pattern specified.
  28651. </para>
  28652. </remarks>
  28653. </member>
  28654. <member name="M:log4net.Util.PatternString.ActivateOptions">
  28655. <summary>
  28656. Initialize object options
  28657. </summary>
  28658. <remarks>
  28659. <para>
  28660. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  28661. activation scheme. The <see cref="M:log4net.Util.PatternString.ActivateOptions"/> method must
  28662. be called on this object after the configuration properties have
  28663. been set. Until <see cref="M:log4net.Util.PatternString.ActivateOptions"/> is called this
  28664. object is in an undefined state and must not be used.
  28665. </para>
  28666. <para>
  28667. If any of the configuration properties are modified then
  28668. <see cref="M:log4net.Util.PatternString.ActivateOptions"/> must be called again.
  28669. </para>
  28670. </remarks>
  28671. </member>
  28672. <member name="M:log4net.Util.PatternString.CreatePatternParser(System.String)">
  28673. <summary>
  28674. Create the <see cref="T:log4net.Util.PatternParser"/> used to parse the pattern
  28675. </summary>
  28676. <param name="pattern">the pattern to parse</param>
  28677. <returns>The <see cref="T:log4net.Util.PatternParser"/></returns>
  28678. <remarks>
  28679. <para>
  28680. Returns PatternParser used to parse the conversion string. Subclasses
  28681. may override this to return a subclass of PatternParser which recognize
  28682. custom conversion pattern name.
  28683. </para>
  28684. </remarks>
  28685. </member>
  28686. <member name="M:log4net.Util.PatternString.Format(System.IO.TextWriter)">
  28687. <summary>
  28688. Produces a formatted string as specified by the conversion pattern.
  28689. </summary>
  28690. <param name="writer">The TextWriter to write the formatted event to</param>
  28691. <remarks>
  28692. <para>
  28693. Format the pattern to the <paramref name="writer"/>.
  28694. </para>
  28695. </remarks>
  28696. </member>
  28697. <member name="M:log4net.Util.PatternString.Format">
  28698. <summary>
  28699. Format the pattern as a string
  28700. </summary>
  28701. <returns>the pattern formatted as a string</returns>
  28702. <remarks>
  28703. <para>
  28704. Format the pattern to a string.
  28705. </para>
  28706. </remarks>
  28707. </member>
  28708. <member name="M:log4net.Util.PatternString.AddConverter(log4net.Util.ConverterInfo)">
  28709. <summary>
  28710. Add a converter to this PatternString
  28711. </summary>
  28712. <param name="converterInfo">the converter info</param>
  28713. <remarks>
  28714. <para>
  28715. This version of the method is used by the configurator.
  28716. Programmatic users should use the alternative <see cref="M:AddConverter(string,Type)"/> method.
  28717. </para>
  28718. </remarks>
  28719. </member>
  28720. <member name="M:log4net.Util.PatternString.AddConverter(System.String,System.Type)">
  28721. <summary>
  28722. Add a converter to this PatternString
  28723. </summary>
  28724. <param name="name">the name of the conversion pattern for this converter</param>
  28725. <param name="type">the type of the converter</param>
  28726. <remarks>
  28727. <para>
  28728. Add a converter to this PatternString
  28729. </para>
  28730. </remarks>
  28731. </member>
  28732. <member name="P:log4net.Util.PatternString.ConversionPattern">
  28733. <summary>
  28734. Gets or sets the pattern formatting string
  28735. </summary>
  28736. <value>
  28737. The pattern formatting string
  28738. </value>
  28739. <remarks>
  28740. <para>
  28741. The <b>ConversionPattern</b> option. This is the string which
  28742. controls formatting and consists of a mix of literal content and
  28743. conversion specifiers.
  28744. </para>
  28745. </remarks>
  28746. </member>
  28747. <member name="T:log4net.Util.PropertiesDictionary">
  28748. <summary>
  28749. String keyed object map.
  28750. </summary>
  28751. <remarks>
  28752. <para>
  28753. While this collection is serializable only member
  28754. objects that are serializable will
  28755. be serialized along with this collection.
  28756. </para>
  28757. </remarks>
  28758. <author>Nicko Cadell</author>
  28759. <author>Gert Driesen</author>
  28760. </member>
  28761. <member name="T:log4net.Util.ReadOnlyPropertiesDictionary">
  28762. <summary>
  28763. String keyed object map that is read only.
  28764. </summary>
  28765. <remarks>
  28766. <para>
  28767. This collection is readonly and cannot be modified.
  28768. </para>
  28769. <para>
  28770. While this collection is serializable only member
  28771. objects that are serializable will
  28772. be serialized along with this collection.
  28773. </para>
  28774. </remarks>
  28775. <author>Nicko Cadell</author>
  28776. <author>Gert Driesen</author>
  28777. </member>
  28778. <member name="F:log4net.Util.ReadOnlyPropertiesDictionary.m_hashtable">
  28779. <summary>
  28780. The Hashtable used to store the properties data
  28781. </summary>
  28782. </member>
  28783. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.#ctor">
  28784. <summary>
  28785. Constructor
  28786. </summary>
  28787. <remarks>
  28788. <para>
  28789. Initializes a new instance of the <see cref="T:log4net.Util.ReadOnlyPropertiesDictionary"/> class.
  28790. </para>
  28791. </remarks>
  28792. </member>
  28793. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.#ctor(log4net.Util.ReadOnlyPropertiesDictionary)">
  28794. <summary>
  28795. Copy Constructor
  28796. </summary>
  28797. <param name="propertiesDictionary">properties to copy</param>
  28798. <remarks>
  28799. <para>
  28800. Initializes a new instance of the <see cref="T:log4net.Util.ReadOnlyPropertiesDictionary"/> class.
  28801. </para>
  28802. </remarks>
  28803. </member>
  28804. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  28805. <summary>
  28806. Deserialization constructor
  28807. </summary>
  28808. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data.</param>
  28809. <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  28810. <remarks>
  28811. <para>
  28812. Initializes a new instance of the <see cref="T:log4net.Util.ReadOnlyPropertiesDictionary"/> class
  28813. with serialized data.
  28814. </para>
  28815. </remarks>
  28816. </member>
  28817. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.GetKeys">
  28818. <summary>
  28819. Gets the key names.
  28820. </summary>
  28821. <returns>An array of all the keys.</returns>
  28822. <remarks>
  28823. <para>
  28824. Gets the key names.
  28825. </para>
  28826. </remarks>
  28827. </member>
  28828. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.Contains(System.String)">
  28829. <summary>
  28830. Test if the dictionary contains a specified key
  28831. </summary>
  28832. <param name="key">the key to look for</param>
  28833. <returns>true if the dictionary contains the specified key</returns>
  28834. <remarks>
  28835. <para>
  28836. Test if the dictionary contains a specified key
  28837. </para>
  28838. </remarks>
  28839. </member>
  28840. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  28841. <summary>
  28842. Serializes this object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> provided.
  28843. </summary>
  28844. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> to populate with data.</param>
  28845. <param name="context">The destination for this serialization.</param>
  28846. <remarks>
  28847. <para>
  28848. Serializes this object into the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> provided.
  28849. </para>
  28850. </remarks>
  28851. </member>
  28852. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#GetEnumerator">
  28853. <summary>
  28854. See <see cref="M:System.Collections.IDictionary.GetEnumerator"/>
  28855. </summary>
  28856. </member>
  28857. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Remove(System.Object)">
  28858. <summary>
  28859. See <see cref="M:System.Collections.IDictionary.Remove(System.Object)"/>
  28860. </summary>
  28861. <param name="key"></param>
  28862. </member>
  28863. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Contains(System.Object)">
  28864. <summary>
  28865. See <see cref="M:System.Collections.IDictionary.Contains(System.Object)"/>
  28866. </summary>
  28867. <param name="key"></param>
  28868. <returns></returns>
  28869. </member>
  28870. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.Clear">
  28871. <summary>
  28872. Remove all properties from the properties collection
  28873. </summary>
  28874. </member>
  28875. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Add(System.Object,System.Object)">
  28876. <summary>
  28877. See <see cref="M:System.Collections.IDictionary.Add(System.Object,System.Object)"/>
  28878. </summary>
  28879. <param name="key"></param>
  28880. <param name="value"></param>
  28881. </member>
  28882. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  28883. <summary>
  28884. See <see cref="M:System.Collections.ICollection.CopyTo(System.Array,System.Int32)"/>
  28885. </summary>
  28886. <param name="array"></param>
  28887. <param name="index"></param>
  28888. </member>
  28889. <member name="M:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IEnumerable#GetEnumerator">
  28890. <summary>
  28891. See <see cref="M:System.Collections.IEnumerable.GetEnumerator"/>
  28892. </summary>
  28893. </member>
  28894. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.Item(System.String)">
  28895. <summary>
  28896. Gets or sets the value of the property with the specified key.
  28897. </summary>
  28898. <value>
  28899. The value of the property with the specified key.
  28900. </value>
  28901. <param name="key">The key of the property to get or set.</param>
  28902. <remarks>
  28903. <para>
  28904. The property value will only be serialized if it is serializable.
  28905. If it cannot be serialized it will be silently ignored if
  28906. a serialization operation is performed.
  28907. </para>
  28908. </remarks>
  28909. </member>
  28910. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.InnerHashtable">
  28911. <summary>
  28912. The hashtable used to store the properties
  28913. </summary>
  28914. <value>
  28915. The internal collection used to store the properties
  28916. </value>
  28917. <remarks>
  28918. <para>
  28919. The hashtable used to store the properties
  28920. </para>
  28921. </remarks>
  28922. </member>
  28923. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#IsReadOnly">
  28924. <summary>
  28925. See <see cref="P:System.Collections.IDictionary.IsReadOnly"/>
  28926. </summary>
  28927. </member>
  28928. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Item(System.Object)">
  28929. <summary>
  28930. See <see cref="P:System.Collections.IDictionary.Item(System.Object)"/>
  28931. </summary>
  28932. </member>
  28933. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Values">
  28934. <summary>
  28935. See <see cref="P:System.Collections.IDictionary.Values"/>
  28936. </summary>
  28937. </member>
  28938. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#Keys">
  28939. <summary>
  28940. See <see cref="P:System.Collections.IDictionary.Keys"/>
  28941. </summary>
  28942. </member>
  28943. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#IDictionary#IsFixedSize">
  28944. <summary>
  28945. See <see cref="P:System.Collections.IDictionary.IsFixedSize"/>
  28946. </summary>
  28947. </member>
  28948. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#ICollection#IsSynchronized">
  28949. <summary>
  28950. See <see cref="P:System.Collections.ICollection.IsSynchronized"/>
  28951. </summary>
  28952. </member>
  28953. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.Count">
  28954. <summary>
  28955. The number of properties in this collection
  28956. </summary>
  28957. </member>
  28958. <member name="P:log4net.Util.ReadOnlyPropertiesDictionary.System#Collections#ICollection#SyncRoot">
  28959. <summary>
  28960. See <see cref="P:System.Collections.ICollection.SyncRoot"/>
  28961. </summary>
  28962. </member>
  28963. <member name="M:log4net.Util.PropertiesDictionary.#ctor">
  28964. <summary>
  28965. Constructor
  28966. </summary>
  28967. <remarks>
  28968. <para>
  28969. Initializes a new instance of the <see cref="T:log4net.Util.PropertiesDictionary"/> class.
  28970. </para>
  28971. </remarks>
  28972. </member>
  28973. <member name="M:log4net.Util.PropertiesDictionary.#ctor(log4net.Util.ReadOnlyPropertiesDictionary)">
  28974. <summary>
  28975. Constructor
  28976. </summary>
  28977. <param name="propertiesDictionary">properties to copy</param>
  28978. <remarks>
  28979. <para>
  28980. Initializes a new instance of the <see cref="T:log4net.Util.PropertiesDictionary"/> class.
  28981. </para>
  28982. </remarks>
  28983. </member>
  28984. <member name="M:log4net.Util.PropertiesDictionary.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
  28985. <summary>
  28986. Initializes a new instance of the <see cref="T:log4net.Util.PropertiesDictionary"/> class
  28987. with serialized data.
  28988. </summary>
  28989. <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data.</param>
  28990. <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  28991. <remarks>
  28992. <para>
  28993. Because this class is sealed the serialization constructor is private.
  28994. </para>
  28995. </remarks>
  28996. </member>
  28997. <member name="M:log4net.Util.PropertiesDictionary.Remove(System.String)">
  28998. <summary>
  28999. Remove the entry with the specified key from this dictionary
  29000. </summary>
  29001. <param name="key">the key for the entry to remove</param>
  29002. <remarks>
  29003. <para>
  29004. Remove the entry with the specified key from this dictionary
  29005. </para>
  29006. </remarks>
  29007. </member>
  29008. <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#GetEnumerator">
  29009. <summary>
  29010. See <see cref="M:System.Collections.IDictionary.GetEnumerator"/>
  29011. </summary>
  29012. <returns>an enumerator</returns>
  29013. <remarks>
  29014. <para>
  29015. Returns a <see cref="T:System.Collections.IDictionaryEnumerator"/> over the contest of this collection.
  29016. </para>
  29017. </remarks>
  29018. </member>
  29019. <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Remove(System.Object)">
  29020. <summary>
  29021. See <see cref="M:System.Collections.IDictionary.Remove(System.Object)"/>
  29022. </summary>
  29023. <param name="key">the key to remove</param>
  29024. <remarks>
  29025. <para>
  29026. Remove the entry with the specified key from this dictionary
  29027. </para>
  29028. </remarks>
  29029. </member>
  29030. <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Contains(System.Object)">
  29031. <summary>
  29032. See <see cref="M:System.Collections.IDictionary.Contains(System.Object)"/>
  29033. </summary>
  29034. <param name="key">the key to lookup in the collection</param>
  29035. <returns><c>true</c> if the collection contains the specified key</returns>
  29036. <remarks>
  29037. <para>
  29038. Test if this collection contains a specified key.
  29039. </para>
  29040. </remarks>
  29041. </member>
  29042. <member name="M:log4net.Util.PropertiesDictionary.Clear">
  29043. <summary>
  29044. Remove all properties from the properties collection
  29045. </summary>
  29046. <remarks>
  29047. <para>
  29048. Remove all properties from the properties collection
  29049. </para>
  29050. </remarks>
  29051. </member>
  29052. <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Add(System.Object,System.Object)">
  29053. <summary>
  29054. See <see cref="M:System.Collections.IDictionary.Add(System.Object,System.Object)"/>
  29055. </summary>
  29056. <param name="key">the key</param>
  29057. <param name="value">the value to store for the key</param>
  29058. <remarks>
  29059. <para>
  29060. Store a value for the specified <see cref="T:System.String"/> <paramref name="key"/>.
  29061. </para>
  29062. </remarks>
  29063. <exception cref="T:System.ArgumentException">Thrown if the <paramref name="key"/> is not a string</exception>
  29064. </member>
  29065. <member name="M:log4net.Util.PropertiesDictionary.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  29066. <summary>
  29067. See <see cref="M:System.Collections.ICollection.CopyTo(System.Array,System.Int32)"/>
  29068. </summary>
  29069. <param name="array"></param>
  29070. <param name="index"></param>
  29071. </member>
  29072. <member name="M:log4net.Util.PropertiesDictionary.System#Collections#IEnumerable#GetEnumerator">
  29073. <summary>
  29074. See <see cref="M:System.Collections.IEnumerable.GetEnumerator"/>
  29075. </summary>
  29076. </member>
  29077. <member name="P:log4net.Util.PropertiesDictionary.Item(System.String)">
  29078. <summary>
  29079. Gets or sets the value of the property with the specified key.
  29080. </summary>
  29081. <value>
  29082. The value of the property with the specified key.
  29083. </value>
  29084. <param name="key">The key of the property to get or set.</param>
  29085. <remarks>
  29086. <para>
  29087. The property value will only be serialized if it is serializable.
  29088. If it cannot be serialized it will be silently ignored if
  29089. a serialization operation is performed.
  29090. </para>
  29091. </remarks>
  29092. </member>
  29093. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#IsReadOnly">
  29094. <summary>
  29095. See <see cref="P:System.Collections.IDictionary.IsReadOnly"/>
  29096. </summary>
  29097. <value>
  29098. <c>false</c>
  29099. </value>
  29100. <remarks>
  29101. <para>
  29102. This collection is modifiable. This property always
  29103. returns <c>false</c>.
  29104. </para>
  29105. </remarks>
  29106. </member>
  29107. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Item(System.Object)">
  29108. <summary>
  29109. See <see cref="P:System.Collections.IDictionary.Item(System.Object)"/>
  29110. </summary>
  29111. <value>
  29112. The value for the key specified.
  29113. </value>
  29114. <remarks>
  29115. <para>
  29116. Get or set a value for the specified <see cref="T:System.String"/> <paramref name="key"/>.
  29117. </para>
  29118. </remarks>
  29119. <exception cref="T:System.ArgumentException">Thrown if the <paramref name="key"/> is not a string</exception>
  29120. </member>
  29121. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Values">
  29122. <summary>
  29123. See <see cref="P:System.Collections.IDictionary.Values"/>
  29124. </summary>
  29125. </member>
  29126. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#Keys">
  29127. <summary>
  29128. See <see cref="P:System.Collections.IDictionary.Keys"/>
  29129. </summary>
  29130. </member>
  29131. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#IDictionary#IsFixedSize">
  29132. <summary>
  29133. See <see cref="P:System.Collections.IDictionary.IsFixedSize"/>
  29134. </summary>
  29135. </member>
  29136. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#ICollection#IsSynchronized">
  29137. <summary>
  29138. See <see cref="P:System.Collections.ICollection.IsSynchronized"/>
  29139. </summary>
  29140. </member>
  29141. <member name="P:log4net.Util.PropertiesDictionary.System#Collections#ICollection#SyncRoot">
  29142. <summary>
  29143. See <see cref="P:System.Collections.ICollection.SyncRoot"/>
  29144. </summary>
  29145. </member>
  29146. <member name="T:log4net.Util.PropertyEntry">
  29147. <summary>
  29148. A class to hold the key and data for a property set in the config file
  29149. </summary>
  29150. <remarks>
  29151. <para>
  29152. A class to hold the key and data for a property set in the config file
  29153. </para>
  29154. </remarks>
  29155. </member>
  29156. <member name="M:log4net.Util.PropertyEntry.ToString">
  29157. <summary>
  29158. Override <c>Object.ToString</c> to return sensible debug info
  29159. </summary>
  29160. <returns>string info about this object</returns>
  29161. </member>
  29162. <member name="P:log4net.Util.PropertyEntry.Key">
  29163. <summary>
  29164. Property Key
  29165. </summary>
  29166. <value>
  29167. Property Key
  29168. </value>
  29169. <remarks>
  29170. <para>
  29171. Property Key.
  29172. </para>
  29173. </remarks>
  29174. </member>
  29175. <member name="P:log4net.Util.PropertyEntry.Value">
  29176. <summary>
  29177. Property Value
  29178. </summary>
  29179. <value>
  29180. Property Value
  29181. </value>
  29182. <remarks>
  29183. <para>
  29184. Property Value.
  29185. </para>
  29186. </remarks>
  29187. </member>
  29188. <member name="T:log4net.Util.ProtectCloseTextWriter">
  29189. <summary>
  29190. A <see cref="T:System.IO.TextWriter"/> that ignores the <see cref="M:log4net.Util.ProtectCloseTextWriter.Close"/> message
  29191. </summary>
  29192. <remarks>
  29193. <para>
  29194. This writer is used in special cases where it is necessary
  29195. to protect a writer from being closed by a client.
  29196. </para>
  29197. </remarks>
  29198. <author>Nicko Cadell</author>
  29199. </member>
  29200. <member name="M:log4net.Util.ProtectCloseTextWriter.#ctor(System.IO.TextWriter)">
  29201. <summary>
  29202. Constructor
  29203. </summary>
  29204. <param name="writer">the writer to actually write to</param>
  29205. <remarks>
  29206. <para>
  29207. Create a new ProtectCloseTextWriter using a writer
  29208. </para>
  29209. </remarks>
  29210. </member>
  29211. <member name="M:log4net.Util.ProtectCloseTextWriter.Attach(System.IO.TextWriter)">
  29212. <summary>
  29213. Attach this instance to a different underlying <see cref="T:System.IO.TextWriter"/>
  29214. </summary>
  29215. <param name="writer">the writer to attach to</param>
  29216. <remarks>
  29217. <para>
  29218. Attach this instance to a different underlying <see cref="T:System.IO.TextWriter"/>
  29219. </para>
  29220. </remarks>
  29221. </member>
  29222. <member name="M:log4net.Util.ProtectCloseTextWriter.Close">
  29223. <summary>
  29224. Does not close the underlying output writer.
  29225. </summary>
  29226. <remarks>
  29227. <para>
  29228. Does not close the underlying output writer.
  29229. This method does nothing.
  29230. </para>
  29231. </remarks>
  29232. </member>
  29233. <member name="T:log4net.Util.ReaderWriterLock">
  29234. <summary>
  29235. Defines a lock that supports single writers and multiple readers
  29236. </summary>
  29237. <remarks>
  29238. <para>
  29239. <c>ReaderWriterLock</c> is used to synchronize access to a resource.
  29240. At any given time, it allows either concurrent read access for
  29241. multiple threads, or write access for a single thread. In a
  29242. situation where a resource is changed infrequently, a
  29243. <c>ReaderWriterLock</c> provides better throughput than a simple
  29244. one-at-a-time lock, such as <see cref="T:System.Threading.Monitor"/>.
  29245. </para>
  29246. <para>
  29247. If a platform does not support a <c>System.Threading.ReaderWriterLock</c>
  29248. implementation then all readers and writers are serialized. Therefore
  29249. the caller must not rely on multiple simultaneous readers.
  29250. </para>
  29251. </remarks>
  29252. <author>Nicko Cadell</author>
  29253. </member>
  29254. <member name="M:log4net.Util.ReaderWriterLock.#ctor">
  29255. <summary>
  29256. Constructor
  29257. </summary>
  29258. <remarks>
  29259. <para>
  29260. Initializes a new instance of the <see cref="T:log4net.Util.ReaderWriterLock"/> class.
  29261. </para>
  29262. </remarks>
  29263. </member>
  29264. <member name="M:log4net.Util.ReaderWriterLock.AcquireReaderLock">
  29265. <summary>
  29266. Acquires a reader lock
  29267. </summary>
  29268. <remarks>
  29269. <para>
  29270. <see cref="M:log4net.Util.ReaderWriterLock.AcquireReaderLock"/> blocks if a different thread has the writer
  29271. lock, or if at least one thread is waiting for the writer lock.
  29272. </para>
  29273. </remarks>
  29274. </member>
  29275. <member name="M:log4net.Util.ReaderWriterLock.ReleaseReaderLock">
  29276. <summary>
  29277. Decrements the lock count
  29278. </summary>
  29279. <remarks>
  29280. <para>
  29281. <see cref="M:log4net.Util.ReaderWriterLock.ReleaseReaderLock"/> decrements the lock count. When the count
  29282. reaches zero, the lock is released.
  29283. </para>
  29284. </remarks>
  29285. </member>
  29286. <member name="M:log4net.Util.ReaderWriterLock.AcquireWriterLock">
  29287. <summary>
  29288. Acquires the writer lock
  29289. </summary>
  29290. <remarks>
  29291. <para>
  29292. This method blocks if another thread has a reader lock or writer lock.
  29293. </para>
  29294. </remarks>
  29295. </member>
  29296. <member name="M:log4net.Util.ReaderWriterLock.ReleaseWriterLock">
  29297. <summary>
  29298. Decrements the lock count on the writer lock
  29299. </summary>
  29300. <remarks>
  29301. <para>
  29302. ReleaseWriterLock decrements the writer lock count.
  29303. When the count reaches zero, the writer lock is released.
  29304. </para>
  29305. </remarks>
  29306. </member>
  29307. <member name="T:log4net.Util.ReusableStringWriter">
  29308. <summary>
  29309. A <see cref="T:System.IO.StringWriter"/> that can be <see cref="M:log4net.Util.ReusableStringWriter.Reset(System.Int32,System.Int32)"/> and reused
  29310. </summary>
  29311. <remarks>
  29312. <para>
  29313. A <see cref="T:System.IO.StringWriter"/> that can be <see cref="M:log4net.Util.ReusableStringWriter.Reset(System.Int32,System.Int32)"/> and reused.
  29314. This uses a single buffer for string operations.
  29315. </para>
  29316. </remarks>
  29317. <author>Nicko Cadell</author>
  29318. </member>
  29319. <member name="M:log4net.Util.ReusableStringWriter.#ctor(System.IFormatProvider)">
  29320. <summary>
  29321. Create an instance of <see cref="T:log4net.Util.ReusableStringWriter"/>
  29322. </summary>
  29323. <param name="formatProvider">the format provider to use</param>
  29324. <remarks>
  29325. <para>
  29326. Create an instance of <see cref="T:log4net.Util.ReusableStringWriter"/>
  29327. </para>
  29328. </remarks>
  29329. </member>
  29330. <member name="M:log4net.Util.ReusableStringWriter.Dispose(System.Boolean)">
  29331. <summary>
  29332. Override Dispose to prevent closing of writer
  29333. </summary>
  29334. <param name="disposing">flag</param>
  29335. <remarks>
  29336. <para>
  29337. Override Dispose to prevent closing of writer
  29338. </para>
  29339. </remarks>
  29340. </member>
  29341. <member name="M:log4net.Util.ReusableStringWriter.Reset(System.Int32,System.Int32)">
  29342. <summary>
  29343. Reset this string writer so that it can be reused.
  29344. </summary>
  29345. <param name="maxCapacity">the maximum buffer capacity before it is trimmed</param>
  29346. <param name="defaultSize">the default size to make the buffer</param>
  29347. <remarks>
  29348. <para>
  29349. Reset this string writer so that it can be reused.
  29350. The internal buffers are cleared and reset.
  29351. </para>
  29352. </remarks>
  29353. </member>
  29354. <member name="T:log4net.Util.SystemInfo">
  29355. <summary>
  29356. Utility class for system specific information.
  29357. </summary>
  29358. <remarks>
  29359. <para>
  29360. Utility class of static methods for system specific information.
  29361. </para>
  29362. </remarks>
  29363. <author>Nicko Cadell</author>
  29364. <author>Gert Driesen</author>
  29365. <author>Alexey Solofnenko</author>
  29366. </member>
  29367. <member name="M:log4net.Util.SystemInfo.#ctor">
  29368. <summary>
  29369. Private constructor to prevent instances.
  29370. </summary>
  29371. <remarks>
  29372. <para>
  29373. Only static methods are exposed from this type.
  29374. </para>
  29375. </remarks>
  29376. </member>
  29377. <member name="M:log4net.Util.SystemInfo.#cctor">
  29378. <summary>
  29379. Initialize default values for private static fields.
  29380. </summary>
  29381. <remarks>
  29382. <para>
  29383. Only static methods are exposed from this type.
  29384. </para>
  29385. </remarks>
  29386. </member>
  29387. <member name="M:log4net.Util.SystemInfo.AssemblyLocationInfo(System.Reflection.Assembly)">
  29388. <summary>
  29389. Gets the assembly location path for the specified assembly.
  29390. </summary>
  29391. <param name="myAssembly">The assembly to get the location for.</param>
  29392. <returns>The location of the assembly.</returns>
  29393. <remarks>
  29394. <para>
  29395. This method does not guarantee to return the correct path
  29396. to the assembly. If only tries to give an indication as to
  29397. where the assembly was loaded from.
  29398. </para>
  29399. </remarks>
  29400. </member>
  29401. <member name="M:log4net.Util.SystemInfo.AssemblyQualifiedName(System.Type)">
  29402. <summary>
  29403. Gets the fully qualified name of the <see cref="T:System.Type"/>, including
  29404. the name of the assembly from which the <see cref="T:System.Type"/> was
  29405. loaded.
  29406. </summary>
  29407. <param name="type">The <see cref="T:System.Type"/> to get the fully qualified name for.</param>
  29408. <returns>The fully qualified name for the <see cref="T:System.Type"/>.</returns>
  29409. <remarks>
  29410. <para>
  29411. This is equivalent to the <c>Type.AssemblyQualifiedName</c> property,
  29412. but this method works on the .NET Compact Framework 1.0 as well as
  29413. the full .NET runtime.
  29414. </para>
  29415. </remarks>
  29416. </member>
  29417. <member name="M:log4net.Util.SystemInfo.AssemblyShortName(System.Reflection.Assembly)">
  29418. <summary>
  29419. Gets the short name of the <see cref="T:System.Reflection.Assembly"/>.
  29420. </summary>
  29421. <param name="myAssembly">The <see cref="T:System.Reflection.Assembly"/> to get the name for.</param>
  29422. <returns>The short name of the <see cref="T:System.Reflection.Assembly"/>.</returns>
  29423. <remarks>
  29424. <para>
  29425. The short name of the assembly is the <see cref="P:System.Reflection.Assembly.FullName"/>
  29426. without the version, culture, or public key. i.e. it is just the
  29427. assembly's file name without the extension.
  29428. </para>
  29429. <para>
  29430. Use this rather than <c>Assembly.GetName().Name</c> because that
  29431. is not available on the Compact Framework.
  29432. </para>
  29433. <para>
  29434. Because of a FileIOPermission security demand we cannot do
  29435. the obvious Assembly.GetName().Name. We are allowed to get
  29436. the <see cref="P:System.Reflection.Assembly.FullName"/> of the assembly so we
  29437. start from there and strip out just the assembly name.
  29438. </para>
  29439. </remarks>
  29440. </member>
  29441. <member name="M:log4net.Util.SystemInfo.AssemblyFileName(System.Reflection.Assembly)">
  29442. <summary>
  29443. Gets the file name portion of the <see cref="T:System.Reflection.Assembly"/>, including the extension.
  29444. </summary>
  29445. <param name="myAssembly">The <see cref="T:System.Reflection.Assembly"/> to get the file name for.</param>
  29446. <returns>The file name of the assembly.</returns>
  29447. <remarks>
  29448. <para>
  29449. Gets the file name portion of the <see cref="T:System.Reflection.Assembly"/>, including the extension.
  29450. </para>
  29451. </remarks>
  29452. </member>
  29453. <member name="M:log4net.Util.SystemInfo.GetTypeFromString(System.Type,System.String,System.Boolean,System.Boolean)">
  29454. <summary>
  29455. Loads the type specified in the type string.
  29456. </summary>
  29457. <param name="relativeType">A sibling type to use to load the type.</param>
  29458. <param name="typeName">The name of the type to load.</param>
  29459. <param name="throwOnError">Flag set to <c>true</c> to throw an exception if the type cannot be loaded.</param>
  29460. <param name="ignoreCase"><c>true</c> to ignore the case of the type name; otherwise, <c>false</c></param>
  29461. <returns>The type loaded or <c>null</c> if it could not be loaded.</returns>
  29462. <remarks>
  29463. <para>
  29464. If the type name is fully qualified, i.e. if contains an assembly name in
  29465. the type name, the type will be loaded from the system using
  29466. <see cref="M:Type.GetType(string,bool)"/>.
  29467. </para>
  29468. <para>
  29469. If the type name is not fully qualified, it will be loaded from the assembly
  29470. containing the specified relative type. If the type is not found in the assembly
  29471. then all the loaded assemblies will be searched for the type.
  29472. </para>
  29473. </remarks>
  29474. </member>
  29475. <member name="M:log4net.Util.SystemInfo.GetTypeFromString(System.String,System.Boolean,System.Boolean)">
  29476. <summary>
  29477. Loads the type specified in the type string.
  29478. </summary>
  29479. <param name="typeName">The name of the type to load.</param>
  29480. <param name="throwOnError">Flag set to <c>true</c> to throw an exception if the type cannot be loaded.</param>
  29481. <param name="ignoreCase"><c>true</c> to ignore the case of the type name; otherwise, <c>false</c></param>
  29482. <returns>The type loaded or <c>null</c> if it could not be loaded.</returns>
  29483. <remarks>
  29484. <para>
  29485. If the type name is fully qualified, i.e. if contains an assembly name in
  29486. the type name, the type will be loaded from the system using
  29487. <see cref="M:Type.GetType(string,bool)"/>.
  29488. </para>
  29489. <para>
  29490. If the type name is not fully qualified it will be loaded from the
  29491. assembly that is directly calling this method. If the type is not found
  29492. in the assembly then all the loaded assemblies will be searched for the type.
  29493. </para>
  29494. </remarks>
  29495. </member>
  29496. <member name="M:log4net.Util.SystemInfo.GetTypeFromString(System.Reflection.Assembly,System.String,System.Boolean,System.Boolean)">
  29497. <summary>
  29498. Loads the type specified in the type string.
  29499. </summary>
  29500. <param name="relativeAssembly">An assembly to load the type from.</param>
  29501. <param name="typeName">The name of the type to load.</param>
  29502. <param name="throwOnError">Flag set to <c>true</c> to throw an exception if the type cannot be loaded.</param>
  29503. <param name="ignoreCase"><c>true</c> to ignore the case of the type name; otherwise, <c>false</c></param>
  29504. <returns>The type loaded or <c>null</c> if it could not be loaded.</returns>
  29505. <remarks>
  29506. <para>
  29507. If the type name is fully qualified, i.e. if contains an assembly name in
  29508. the type name, the type will be loaded from the system using
  29509. <see cref="M:Type.GetType(string,bool)"/>.
  29510. </para>
  29511. <para>
  29512. If the type name is not fully qualified it will be loaded from the specified
  29513. assembly. If the type is not found in the assembly then all the loaded assemblies
  29514. will be searched for the type.
  29515. </para>
  29516. </remarks>
  29517. </member>
  29518. <member name="M:log4net.Util.SystemInfo.NewGuid">
  29519. <summary>
  29520. Generate a new guid
  29521. </summary>
  29522. <returns>A new Guid</returns>
  29523. <remarks>
  29524. <para>
  29525. Generate a new guid
  29526. </para>
  29527. </remarks>
  29528. </member>
  29529. <member name="M:log4net.Util.SystemInfo.CreateArgumentOutOfRangeException(System.String,System.Object,System.String)">
  29530. <summary>
  29531. Create an <see cref="T:System.ArgumentOutOfRangeException"/>
  29532. </summary>
  29533. <param name="parameterName">The name of the parameter that caused the exception</param>
  29534. <param name="actualValue">The value of the argument that causes this exception</param>
  29535. <param name="message">The message that describes the error</param>
  29536. <returns>the ArgumentOutOfRangeException object</returns>
  29537. <remarks>
  29538. <para>
  29539. Create a new instance of the <see cref="T:System.ArgumentOutOfRangeException"/> class
  29540. with a specified error message, the parameter name, and the value
  29541. of the argument.
  29542. </para>
  29543. <para>
  29544. The Compact Framework does not support the 3 parameter constructor for the
  29545. <see cref="T:System.ArgumentOutOfRangeException"/> type. This method provides an
  29546. implementation that works for all platforms.
  29547. </para>
  29548. </remarks>
  29549. </member>
  29550. <member name="M:log4net.Util.SystemInfo.TryParse(System.String,System.Int32@)">
  29551. <summary>
  29552. Parse a string into an <see cref="T:System.Int32"/> value
  29553. </summary>
  29554. <param name="s">the string to parse</param>
  29555. <param name="val">out param where the parsed value is placed</param>
  29556. <returns><c>true</c> if the string was able to be parsed into an integer</returns>
  29557. <remarks>
  29558. <para>
  29559. Attempts to parse the string into an integer. If the string cannot
  29560. be parsed then this method returns <c>false</c>. The method does not throw an exception.
  29561. </para>
  29562. </remarks>
  29563. </member>
  29564. <member name="M:log4net.Util.SystemInfo.TryParse(System.String,System.Int64@)">
  29565. <summary>
  29566. Parse a string into an <see cref="T:System.Int64"/> value
  29567. </summary>
  29568. <param name="s">the string to parse</param>
  29569. <param name="val">out param where the parsed value is placed</param>
  29570. <returns><c>true</c> if the string was able to be parsed into an integer</returns>
  29571. <remarks>
  29572. <para>
  29573. Attempts to parse the string into an integer. If the string cannot
  29574. be parsed then this method returns <c>false</c>. The method does not throw an exception.
  29575. </para>
  29576. </remarks>
  29577. </member>
  29578. <member name="M:log4net.Util.SystemInfo.TryParse(System.String,System.Int16@)">
  29579. <summary>
  29580. Parse a string into an <see cref="T:System.Int16"/> value
  29581. </summary>
  29582. <param name="s">the string to parse</param>
  29583. <param name="val">out param where the parsed value is placed</param>
  29584. <returns><c>true</c> if the string was able to be parsed into an integer</returns>
  29585. <remarks>
  29586. <para>
  29587. Attempts to parse the string into an integer. If the string cannot
  29588. be parsed then this method returns <c>false</c>. The method does not throw an exception.
  29589. </para>
  29590. </remarks>
  29591. </member>
  29592. <member name="M:log4net.Util.SystemInfo.GetAppSetting(System.String)">
  29593. <summary>
  29594. Lookup an application setting
  29595. </summary>
  29596. <param name="key">the application settings key to lookup</param>
  29597. <returns>the value for the key, or <c>null</c></returns>
  29598. <remarks>
  29599. <para>
  29600. Configuration APIs are not supported under the Compact Framework
  29601. </para>
  29602. </remarks>
  29603. </member>
  29604. <member name="M:log4net.Util.SystemInfo.ConvertToFullPath(System.String)">
  29605. <summary>
  29606. Convert a path into a fully qualified local file path.
  29607. </summary>
  29608. <param name="path">The path to convert.</param>
  29609. <returns>The fully qualified path.</returns>
  29610. <remarks>
  29611. <para>
  29612. Converts the path specified to a fully
  29613. qualified path. If the path is relative it is
  29614. taken as relative from the application base
  29615. directory.
  29616. </para>
  29617. <para>
  29618. The path specified must be a local file path, a URI is not supported.
  29619. </para>
  29620. </remarks>
  29621. </member>
  29622. <member name="M:log4net.Util.SystemInfo.CreateCaseInsensitiveHashtable">
  29623. <summary>
  29624. Creates a new case-insensitive instance of the <see cref="T:System.Collections.Hashtable"/> class with the default initial capacity.
  29625. </summary>
  29626. <returns>A new case-insensitive instance of the <see cref="T:System.Collections.Hashtable"/> class with the default initial capacity</returns>
  29627. <remarks>
  29628. <para>
  29629. The new Hashtable instance uses the default load factor, the CaseInsensitiveHashCodeProvider, and the CaseInsensitiveComparer.
  29630. </para>
  29631. </remarks>
  29632. </member>
  29633. <member name="F:log4net.Util.SystemInfo.EmptyTypes">
  29634. <summary>
  29635. Gets an empty array of types.
  29636. </summary>
  29637. <remarks>
  29638. <para>
  29639. The <c>Type.EmptyTypes</c> field is not available on
  29640. the .NET Compact Framework 1.0.
  29641. </para>
  29642. </remarks>
  29643. </member>
  29644. <member name="F:log4net.Util.SystemInfo.declaringType">
  29645. <summary>
  29646. The fully qualified type of the SystemInfo class.
  29647. </summary>
  29648. <remarks>
  29649. Used by the internal logger to record the Type of the
  29650. log message.
  29651. </remarks>
  29652. </member>
  29653. <member name="F:log4net.Util.SystemInfo.s_hostName">
  29654. <summary>
  29655. Cache the host name for the current machine
  29656. </summary>
  29657. </member>
  29658. <member name="F:log4net.Util.SystemInfo.s_appFriendlyName">
  29659. <summary>
  29660. Cache the application friendly name
  29661. </summary>
  29662. </member>
  29663. <member name="F:log4net.Util.SystemInfo.s_nullText">
  29664. <summary>
  29665. Text to output when a <c>null</c> is encountered.
  29666. </summary>
  29667. </member>
  29668. <member name="F:log4net.Util.SystemInfo.s_notAvailableText">
  29669. <summary>
  29670. Text to output when an unsupported feature is requested.
  29671. </summary>
  29672. </member>
  29673. <member name="F:log4net.Util.SystemInfo.s_processStartTime">
  29674. <summary>
  29675. Start time for the current process.
  29676. </summary>
  29677. </member>
  29678. <member name="P:log4net.Util.SystemInfo.NewLine">
  29679. <summary>
  29680. Gets the system dependent line terminator.
  29681. </summary>
  29682. <value>
  29683. The system dependent line terminator.
  29684. </value>
  29685. <remarks>
  29686. <para>
  29687. Gets the system dependent line terminator.
  29688. </para>
  29689. </remarks>
  29690. </member>
  29691. <member name="P:log4net.Util.SystemInfo.ApplicationBaseDirectory">
  29692. <summary>
  29693. Gets the base directory for this <see cref="T:System.AppDomain"/>.
  29694. </summary>
  29695. <value>The base directory path for the current <see cref="T:System.AppDomain"/>.</value>
  29696. <remarks>
  29697. <para>
  29698. Gets the base directory for this <see cref="T:System.AppDomain"/>.
  29699. </para>
  29700. <para>
  29701. The value returned may be either a local file path or a URI.
  29702. </para>
  29703. </remarks>
  29704. </member>
  29705. <member name="P:log4net.Util.SystemInfo.ConfigurationFileLocation">
  29706. <summary>
  29707. Gets the path to the configuration file for the current <see cref="T:System.AppDomain"/>.
  29708. </summary>
  29709. <value>The path to the configuration file for the current <see cref="T:System.AppDomain"/>.</value>
  29710. <remarks>
  29711. <para>
  29712. The .NET Compact Framework 1.0 does not have a concept of a configuration
  29713. file. For this runtime, we use the entry assembly location as the root for
  29714. the configuration file name.
  29715. </para>
  29716. <para>
  29717. The value returned may be either a local file path or a URI.
  29718. </para>
  29719. </remarks>
  29720. </member>
  29721. <member name="P:log4net.Util.SystemInfo.EntryAssemblyLocation">
  29722. <summary>
  29723. Gets the path to the file that first executed in the current <see cref="T:System.AppDomain"/>.
  29724. </summary>
  29725. <value>The path to the entry assembly.</value>
  29726. <remarks>
  29727. <para>
  29728. Gets the path to the file that first executed in the current <see cref="T:System.AppDomain"/>.
  29729. </para>
  29730. </remarks>
  29731. </member>
  29732. <member name="P:log4net.Util.SystemInfo.CurrentThreadId">
  29733. <summary>
  29734. Gets the ID of the current thread.
  29735. </summary>
  29736. <value>The ID of the current thread.</value>
  29737. <remarks>
  29738. <para>
  29739. On the .NET framework, the <c>AppDomain.GetCurrentThreadId</c> method
  29740. is used to obtain the thread ID for the current thread. This is the
  29741. operating system ID for the thread.
  29742. </para>
  29743. <para>
  29744. On the .NET Compact Framework 1.0 it is not possible to get the
  29745. operating system thread ID for the current thread. The native method
  29746. <c>GetCurrentThreadId</c> is implemented inline in a header file
  29747. and cannot be called.
  29748. </para>
  29749. <para>
  29750. On the .NET Framework 2.0 the <c>Thread.ManagedThreadId</c> is used as this
  29751. gives a stable id unrelated to the operating system thread ID which may
  29752. change if the runtime is using fibers.
  29753. </para>
  29754. </remarks>
  29755. </member>
  29756. <member name="P:log4net.Util.SystemInfo.HostName">
  29757. <summary>
  29758. Get the host name or machine name for the current machine
  29759. </summary>
  29760. <value>
  29761. The hostname or machine name
  29762. </value>
  29763. <remarks>
  29764. <para>
  29765. Get the host name or machine name for the current machine
  29766. </para>
  29767. <para>
  29768. The host name (<see cref="M:System.Net.Dns.GetHostName"/>) or
  29769. the machine name (<c>Environment.MachineName</c>) for
  29770. the current machine, or if neither of these are available
  29771. then <c>NOT AVAILABLE</c> is returned.
  29772. </para>
  29773. </remarks>
  29774. </member>
  29775. <member name="P:log4net.Util.SystemInfo.ApplicationFriendlyName">
  29776. <summary>
  29777. Get this application's friendly name
  29778. </summary>
  29779. <value>
  29780. The friendly name of this application as a string
  29781. </value>
  29782. <remarks>
  29783. <para>
  29784. If available the name of the application is retrieved from
  29785. the <c>AppDomain</c> using <c>AppDomain.CurrentDomain.FriendlyName</c>.
  29786. </para>
  29787. <para>
  29788. Otherwise the file name of the entry assembly is used.
  29789. </para>
  29790. </remarks>
  29791. </member>
  29792. <member name="P:log4net.Util.SystemInfo.ProcessStartTime">
  29793. <summary>
  29794. Get the start time for the current process.
  29795. </summary>
  29796. <remarks>
  29797. <para>
  29798. This is the time at which the log4net library was loaded into the
  29799. AppDomain. Due to reports of a hang in the call to <c>System.Diagnostics.Process.StartTime</c>
  29800. this is not the start time for the current process.
  29801. </para>
  29802. <para>
  29803. The log4net library should be loaded by an application early during its
  29804. startup, therefore this start time should be a good approximation for
  29805. the actual start time.
  29806. </para>
  29807. <para>
  29808. Note that AppDomains may be loaded and unloaded within the
  29809. same process without the process terminating, however this start time
  29810. will be set per AppDomain.
  29811. </para>
  29812. </remarks>
  29813. </member>
  29814. <member name="P:log4net.Util.SystemInfo.NullText">
  29815. <summary>
  29816. Text to output when a <c>null</c> is encountered.
  29817. </summary>
  29818. <remarks>
  29819. <para>
  29820. Use this value to indicate a <c>null</c> has been encountered while
  29821. outputting a string representation of an item.
  29822. </para>
  29823. <para>
  29824. The default value is <c>(null)</c>. This value can be overridden by specifying
  29825. a value for the <c>log4net.NullText</c> appSetting in the application's
  29826. .config file.
  29827. </para>
  29828. </remarks>
  29829. </member>
  29830. <member name="P:log4net.Util.SystemInfo.NotAvailableText">
  29831. <summary>
  29832. Text to output when an unsupported feature is requested.
  29833. </summary>
  29834. <remarks>
  29835. <para>
  29836. Use this value when an unsupported feature is requested.
  29837. </para>
  29838. <para>
  29839. The default value is <c>NOT AVAILABLE</c>. This value can be overridden by specifying
  29840. a value for the <c>log4net.NotAvailableText</c> appSetting in the application's
  29841. .config file.
  29842. </para>
  29843. </remarks>
  29844. </member>
  29845. <member name="T:log4net.Util.SystemStringFormat">
  29846. <summary>
  29847. Utility class that represents a format string.
  29848. </summary>
  29849. <remarks>
  29850. <para>
  29851. Utility class that represents a format string.
  29852. </para>
  29853. </remarks>
  29854. <author>Nicko Cadell</author>
  29855. </member>
  29856. <member name="M:log4net.Util.SystemStringFormat.#ctor(System.IFormatProvider,System.String,System.Object[])">
  29857. <summary>
  29858. Initialise the <see cref="T:log4net.Util.SystemStringFormat"/>
  29859. </summary>
  29860. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  29861. <param name="format">A <see cref="T:System.String"/> containing zero or more format items.</param>
  29862. <param name="args">An <see cref="T:System.Object"/> array containing zero or more objects to format.</param>
  29863. </member>
  29864. <member name="M:log4net.Util.SystemStringFormat.ToString">
  29865. <summary>
  29866. Format the string and arguments
  29867. </summary>
  29868. <returns>the formatted string</returns>
  29869. </member>
  29870. <member name="M:log4net.Util.SystemStringFormat.StringFormat(System.IFormatProvider,System.String,System.Object[])">
  29871. <summary>
  29872. Replaces the format item in a specified <see cref="T:System.String"/> with the text equivalent
  29873. of the value of a corresponding <see cref="T:System.Object"/> instance in a specified array.
  29874. A specified parameter supplies culture-specific formatting information.
  29875. </summary>
  29876. <param name="provider">An <see cref="T:System.IFormatProvider"/> that supplies culture-specific formatting information.</param>
  29877. <param name="format">A <see cref="T:System.String"/> containing zero or more format items.</param>
  29878. <param name="args">An <see cref="T:System.Object"/> array containing zero or more objects to format.</param>
  29879. <returns>
  29880. A copy of format in which the format items have been replaced by the <see cref="T:System.String"/>
  29881. equivalent of the corresponding instances of <see cref="T:System.Object"/> in args.
  29882. </returns>
  29883. <remarks>
  29884. <para>
  29885. This method does not throw exceptions. If an exception thrown while formatting the result the
  29886. exception and arguments are returned in the result string.
  29887. </para>
  29888. </remarks>
  29889. </member>
  29890. <member name="M:log4net.Util.SystemStringFormat.StringFormatError(System.Exception,System.String,System.Object[])">
  29891. <summary>
  29892. Process an error during StringFormat
  29893. </summary>
  29894. </member>
  29895. <member name="M:log4net.Util.SystemStringFormat.RenderArray(System.Array,System.Text.StringBuilder)">
  29896. <summary>
  29897. Dump the contents of an array into a string builder
  29898. </summary>
  29899. </member>
  29900. <member name="M:log4net.Util.SystemStringFormat.RenderObject(System.Object,System.Text.StringBuilder)">
  29901. <summary>
  29902. Dump an object to a string
  29903. </summary>
  29904. </member>
  29905. <member name="F:log4net.Util.SystemStringFormat.declaringType">
  29906. <summary>
  29907. The fully qualified type of the SystemStringFormat class.
  29908. </summary>
  29909. <remarks>
  29910. Used by the internal logger to record the Type of the
  29911. log message.
  29912. </remarks>
  29913. </member>
  29914. <member name="T:log4net.Util.ThreadContextProperties">
  29915. <summary>
  29916. Implementation of Properties collection for the <see cref="T:log4net.ThreadContext"/>
  29917. </summary>
  29918. <remarks>
  29919. <para>
  29920. Class implements a collection of properties that is specific to each thread.
  29921. The class is not synchronized as each thread has its own <see cref="T:log4net.Util.PropertiesDictionary"/>.
  29922. </para>
  29923. </remarks>
  29924. <author>Nicko Cadell</author>
  29925. </member>
  29926. <member name="F:log4net.Util.ThreadContextProperties._dictionary">
  29927. <summary>
  29928. Each thread will automatically have its instance.
  29929. </summary>
  29930. </member>
  29931. <member name="M:log4net.Util.ThreadContextProperties.#ctor">
  29932. <summary>
  29933. Internal constructor
  29934. </summary>
  29935. <remarks>
  29936. <para>
  29937. Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextProperties"/> class.
  29938. </para>
  29939. </remarks>
  29940. </member>
  29941. <member name="M:log4net.Util.ThreadContextProperties.Remove(System.String)">
  29942. <summary>
  29943. Remove a property
  29944. </summary>
  29945. <param name="key">the key for the entry to remove</param>
  29946. <remarks>
  29947. <para>
  29948. Remove a property
  29949. </para>
  29950. </remarks>
  29951. </member>
  29952. <member name="M:log4net.Util.ThreadContextProperties.GetKeys">
  29953. <summary>
  29954. Get the keys stored in the properties.
  29955. </summary>
  29956. <para>
  29957. Gets the keys stored in the properties.
  29958. </para>
  29959. <returns>a set of the defined keys</returns>
  29960. </member>
  29961. <member name="M:log4net.Util.ThreadContextProperties.Clear">
  29962. <summary>
  29963. Clear all properties
  29964. </summary>
  29965. <remarks>
  29966. <para>
  29967. Clear all properties
  29968. </para>
  29969. </remarks>
  29970. </member>
  29971. <member name="M:log4net.Util.ThreadContextProperties.GetProperties(System.Boolean)">
  29972. <summary>
  29973. Get the <c>PropertiesDictionary</c> for this thread.
  29974. </summary>
  29975. <param name="create">create the dictionary if it does not exist, otherwise return null if does not exist</param>
  29976. <returns>the properties for this thread</returns>
  29977. <remarks>
  29978. <para>
  29979. The collection returned is only to be used on the calling thread. If the
  29980. caller needs to share the collection between different threads then the
  29981. caller must clone the collection before doing so.
  29982. </para>
  29983. </remarks>
  29984. </member>
  29985. <member name="P:log4net.Util.ThreadContextProperties.Item(System.String)">
  29986. <summary>
  29987. Gets or sets the value of a property
  29988. </summary>
  29989. <value>
  29990. The value for the property with the specified key
  29991. </value>
  29992. <remarks>
  29993. <para>
  29994. Gets or sets the value of a property
  29995. </para>
  29996. </remarks>
  29997. </member>
  29998. <member name="T:log4net.Util.ThreadContextStack">
  29999. <summary>
  30000. Implementation of Stack for the <see cref="T:log4net.ThreadContext"/>
  30001. </summary>
  30002. <remarks>
  30003. <para>
  30004. Implementation of Stack for the <see cref="T:log4net.ThreadContext"/>
  30005. </para>
  30006. </remarks>
  30007. <author>Nicko Cadell</author>
  30008. </member>
  30009. <member name="F:log4net.Util.ThreadContextStack.m_stack">
  30010. <summary>
  30011. The stack store.
  30012. </summary>
  30013. </member>
  30014. <member name="M:log4net.Util.ThreadContextStack.#ctor">
  30015. <summary>
  30016. Internal constructor
  30017. </summary>
  30018. <remarks>
  30019. <para>
  30020. Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStack"/> class.
  30021. </para>
  30022. </remarks>
  30023. </member>
  30024. <member name="M:log4net.Util.ThreadContextStack.Clear">
  30025. <summary>
  30026. Clears all the contextual information held in this stack.
  30027. </summary>
  30028. <remarks>
  30029. <para>
  30030. Clears all the contextual information held in this stack.
  30031. Only call this if you think that this tread is being reused after
  30032. a previous call execution which may not have completed correctly.
  30033. You do not need to use this method if you always guarantee to call
  30034. the <see cref="M:System.IDisposable.Dispose"/> method of the <see cref="T:System.IDisposable"/>
  30035. returned from <see cref="M:log4net.Util.ThreadContextStack.Push(System.String)"/> even in exceptional circumstances,
  30036. for example by using the <c>using(log4net.ThreadContext.Stacks["NDC"].Push("Stack_Message"))</c>
  30037. syntax.
  30038. </para>
  30039. </remarks>
  30040. </member>
  30041. <member name="M:log4net.Util.ThreadContextStack.Pop">
  30042. <summary>
  30043. Removes the top context from this stack.
  30044. </summary>
  30045. <returns>The message in the context that was removed from the top of this stack.</returns>
  30046. <remarks>
  30047. <para>
  30048. Remove the top context from this stack, and return
  30049. it to the caller. If this stack is empty then an
  30050. empty string (not <see langword="null"/>) is returned.
  30051. </para>
  30052. </remarks>
  30053. </member>
  30054. <member name="M:log4net.Util.ThreadContextStack.Push(System.String)">
  30055. <summary>
  30056. Pushes a new context message into this stack.
  30057. </summary>
  30058. <param name="message">The new context message.</param>
  30059. <returns>
  30060. An <see cref="T:System.IDisposable"/> that can be used to clean up the context stack.
  30061. </returns>
  30062. <remarks>
  30063. <para>
  30064. Pushes a new context onto this stack. An <see cref="T:System.IDisposable"/>
  30065. is returned that can be used to clean up this stack. This
  30066. can be easily combined with the <c>using</c> keyword to scope the
  30067. context.
  30068. </para>
  30069. </remarks>
  30070. <example>Simple example of using the <c>Push</c> method with the <c>using</c> keyword.
  30071. <code lang="C#">
  30072. using(log4net.ThreadContext.Stacks["NDC"].Push("Stack_Message"))
  30073. {
  30074. log.Warn("This should have an ThreadContext Stack message");
  30075. }
  30076. </code>
  30077. </example>
  30078. </member>
  30079. <member name="M:log4net.Util.ThreadContextStack.GetFullMessage">
  30080. <summary>
  30081. Gets the current context information for this stack.
  30082. </summary>
  30083. <returns>The current context information.</returns>
  30084. </member>
  30085. <member name="M:log4net.Util.ThreadContextStack.ToString">
  30086. <summary>
  30087. Gets the current context information for this stack.
  30088. </summary>
  30089. <returns>Gets the current context information</returns>
  30090. <remarks>
  30091. <para>
  30092. Gets the current context information for this stack.
  30093. </para>
  30094. </remarks>
  30095. </member>
  30096. <member name="M:log4net.Util.ThreadContextStack.log4net#Core#IFixingRequired#GetFixedObject">
  30097. <summary>
  30098. Get a portable version of this object
  30099. </summary>
  30100. <returns>the portable instance of this object</returns>
  30101. <remarks>
  30102. <para>
  30103. Get a cross thread portable version of this object
  30104. </para>
  30105. </remarks>
  30106. </member>
  30107. <member name="P:log4net.Util.ThreadContextStack.Count">
  30108. <summary>
  30109. The number of messages in the stack
  30110. </summary>
  30111. <value>
  30112. The current number of messages in the stack
  30113. </value>
  30114. <remarks>
  30115. <para>
  30116. The current number of messages in the stack. That is
  30117. the number of times <see cref="M:log4net.Util.ThreadContextStack.Push(System.String)"/> has been called
  30118. minus the number of times <see cref="M:log4net.Util.ThreadContextStack.Pop"/> has been called.
  30119. </para>
  30120. </remarks>
  30121. </member>
  30122. <member name="P:log4net.Util.ThreadContextStack.InternalStack">
  30123. <summary>
  30124. Gets and sets the internal stack used by this <see cref="T:log4net.Util.ThreadContextStack"/>
  30125. </summary>
  30126. <value>The internal storage stack</value>
  30127. <remarks>
  30128. <para>
  30129. This property is provided only to support backward compatability
  30130. of the <see cref="T:log4net.NDC"/>. Tytpically the internal stack should not
  30131. be modified.
  30132. </para>
  30133. </remarks>
  30134. </member>
  30135. <member name="T:log4net.Util.ThreadContextStack.StackFrame">
  30136. <summary>
  30137. Inner class used to represent a single context frame in the stack.
  30138. </summary>
  30139. <remarks>
  30140. <para>
  30141. Inner class used to represent a single context frame in the stack.
  30142. </para>
  30143. </remarks>
  30144. </member>
  30145. <member name="M:log4net.Util.ThreadContextStack.StackFrame.#ctor(System.String,log4net.Util.ThreadContextStack.StackFrame)">
  30146. <summary>
  30147. Constructor
  30148. </summary>
  30149. <param name="message">The message for this context.</param>
  30150. <param name="parent">The parent context in the chain.</param>
  30151. <remarks>
  30152. <para>
  30153. Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStack.StackFrame"/> class
  30154. with the specified message and parent context.
  30155. </para>
  30156. </remarks>
  30157. </member>
  30158. <member name="P:log4net.Util.ThreadContextStack.StackFrame.Message">
  30159. <summary>
  30160. Get the message.
  30161. </summary>
  30162. <value>The message.</value>
  30163. <remarks>
  30164. <para>
  30165. Get the message.
  30166. </para>
  30167. </remarks>
  30168. </member>
  30169. <member name="P:log4net.Util.ThreadContextStack.StackFrame.FullMessage">
  30170. <summary>
  30171. Gets the full text of the context down to the root level.
  30172. </summary>
  30173. <value>
  30174. The full text of the context down to the root level.
  30175. </value>
  30176. <remarks>
  30177. <para>
  30178. Gets the full text of the context down to the root level.
  30179. </para>
  30180. </remarks>
  30181. </member>
  30182. <member name="T:log4net.Util.ThreadContextStack.AutoPopStackFrame">
  30183. <summary>
  30184. Struct returned from the <see cref="M:log4net.Util.ThreadContextStack.Push(System.String)"/> method.
  30185. </summary>
  30186. <remarks>
  30187. <para>
  30188. This struct implements the <see cref="T:System.IDisposable"/> and is designed to be used
  30189. with the <see langword="using"/> pattern to remove the stack frame at the end of the scope.
  30190. </para>
  30191. </remarks>
  30192. </member>
  30193. <member name="F:log4net.Util.ThreadContextStack.AutoPopStackFrame.m_frameStack">
  30194. <summary>
  30195. The ThreadContextStack internal stack
  30196. </summary>
  30197. </member>
  30198. <member name="F:log4net.Util.ThreadContextStack.AutoPopStackFrame.m_frameDepth">
  30199. <summary>
  30200. The depth to trim the stack to when this instance is disposed
  30201. </summary>
  30202. </member>
  30203. <member name="M:log4net.Util.ThreadContextStack.AutoPopStackFrame.#ctor(System.Collections.Stack,System.Int32)">
  30204. <summary>
  30205. Constructor
  30206. </summary>
  30207. <param name="frameStack">The internal stack used by the ThreadContextStack.</param>
  30208. <param name="frameDepth">The depth to return the stack to when this object is disposed.</param>
  30209. <remarks>
  30210. <para>
  30211. Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStack.AutoPopStackFrame"/> class with
  30212. the specified stack and return depth.
  30213. </para>
  30214. </remarks>
  30215. </member>
  30216. <member name="M:log4net.Util.ThreadContextStack.AutoPopStackFrame.Dispose">
  30217. <summary>
  30218. Returns the stack to the correct depth.
  30219. </summary>
  30220. <remarks>
  30221. <para>
  30222. Returns the stack to the correct depth.
  30223. </para>
  30224. </remarks>
  30225. </member>
  30226. <member name="T:log4net.Util.ThreadContextStacks">
  30227. <summary>
  30228. Implementation of Stacks collection for the <see cref="T:log4net.ThreadContext"/>
  30229. </summary>
  30230. <remarks>
  30231. <para>
  30232. Implementation of Stacks collection for the <see cref="T:log4net.ThreadContext"/>
  30233. </para>
  30234. </remarks>
  30235. <author>Nicko Cadell</author>
  30236. </member>
  30237. <member name="M:log4net.Util.ThreadContextStacks.#ctor(log4net.Util.ContextPropertiesBase)">
  30238. <summary>
  30239. Internal constructor
  30240. </summary>
  30241. <remarks>
  30242. <para>
  30243. Initializes a new instance of the <see cref="T:log4net.Util.ThreadContextStacks"/> class.
  30244. </para>
  30245. </remarks>
  30246. </member>
  30247. <member name="F:log4net.Util.ThreadContextStacks.declaringType">
  30248. <summary>
  30249. The fully qualified type of the ThreadContextStacks class.
  30250. </summary>
  30251. <remarks>
  30252. Used by the internal logger to record the Type of the
  30253. log message.
  30254. </remarks>
  30255. </member>
  30256. <member name="P:log4net.Util.ThreadContextStacks.Item(System.String)">
  30257. <summary>
  30258. Gets the named thread context stack
  30259. </summary>
  30260. <value>
  30261. The named stack
  30262. </value>
  30263. <remarks>
  30264. <para>
  30265. Gets the named thread context stack
  30266. </para>
  30267. </remarks>
  30268. </member>
  30269. <member name="T:log4net.Util.Transform">
  30270. <summary>
  30271. Utility class for transforming strings.
  30272. </summary>
  30273. <remarks>
  30274. <para>
  30275. Utility class for transforming strings.
  30276. </para>
  30277. </remarks>
  30278. <author>Nicko Cadell</author>
  30279. <author>Gert Driesen</author>
  30280. </member>
  30281. <member name="M:log4net.Util.Transform.#ctor">
  30282. <summary>
  30283. Initializes a new instance of the <see cref="T:log4net.Util.Transform"/> class.
  30284. </summary>
  30285. <remarks>
  30286. <para>
  30287. Uses a private access modifier to prevent instantiation of this class.
  30288. </para>
  30289. </remarks>
  30290. </member>
  30291. <member name="M:log4net.Util.Transform.WriteEscapedXmlString(System.Xml.XmlWriter,System.String,System.String)">
  30292. <summary>
  30293. Write a string to an <see cref="T:System.Xml.XmlWriter"/>
  30294. </summary>
  30295. <param name="writer">the writer to write to</param>
  30296. <param name="textData">the string to write</param>
  30297. <param name="invalidCharReplacement">The string to replace non XML compliant chars with</param>
  30298. <remarks>
  30299. <para>
  30300. The test is escaped either using XML escape entities
  30301. or using CDATA sections.
  30302. </para>
  30303. </remarks>
  30304. </member>
  30305. <member name="M:log4net.Util.Transform.MaskXmlInvalidCharacters(System.String,System.String)">
  30306. <summary>
  30307. Replace invalid XML characters in text string
  30308. </summary>
  30309. <param name="textData">the XML text input string</param>
  30310. <param name="mask">the string to use in place of invalid characters</param>
  30311. <returns>A string that does not contain invalid XML characters.</returns>
  30312. <remarks>
  30313. <para>
  30314. Certain Unicode code points are not allowed in the XML InfoSet, for
  30315. details see: <a href="http://www.w3.org/TR/REC-xml/#charsets">http://www.w3.org/TR/REC-xml/#charsets</a>.
  30316. </para>
  30317. <para>
  30318. This method replaces any illegal characters in the input string
  30319. with the mask string specified.
  30320. </para>
  30321. </remarks>
  30322. </member>
  30323. <member name="M:log4net.Util.Transform.CountSubstrings(System.String,System.String)">
  30324. <summary>
  30325. Count the number of times that the substring occurs in the text
  30326. </summary>
  30327. <param name="text">the text to search</param>
  30328. <param name="substring">the substring to find</param>
  30329. <returns>the number of times the substring occurs in the text</returns>
  30330. <remarks>
  30331. <para>
  30332. The substring is assumed to be non repeating within itself.
  30333. </para>
  30334. </remarks>
  30335. </member>
  30336. <member name="F:log4net.Util.Transform.INVALIDCHARS">
  30337. <summary>
  30338. Characters illegal in XML 1.0
  30339. </summary>
  30340. </member>
  30341. <member name="T:log4net.Util.WindowsSecurityContext">
  30342. <summary>
  30343. Impersonate a Windows Account
  30344. </summary>
  30345. <remarks>
  30346. <para>
  30347. This <see cref="T:log4net.Core.SecurityContext"/> impersonates a Windows account.
  30348. </para>
  30349. <para>
  30350. How the impersonation is done depends on the value of <see cref="M:log4net.Util.WindowsSecurityContext.Impersonate(System.Object)"/>.
  30351. This allows the context to either impersonate a set of user credentials specified
  30352. using username, domain name and password or to revert to the process credentials.
  30353. </para>
  30354. </remarks>
  30355. </member>
  30356. <member name="M:log4net.Util.WindowsSecurityContext.#ctor">
  30357. <summary>
  30358. Default constructor
  30359. </summary>
  30360. <remarks>
  30361. <para>
  30362. Default constructor
  30363. </para>
  30364. </remarks>
  30365. </member>
  30366. <member name="M:log4net.Util.WindowsSecurityContext.ActivateOptions">
  30367. <summary>
  30368. Initialize the SecurityContext based on the options set.
  30369. </summary>
  30370. <remarks>
  30371. <para>
  30372. This is part of the <see cref="T:log4net.Core.IOptionHandler"/> delayed object
  30373. activation scheme. The <see cref="M:log4net.Util.WindowsSecurityContext.ActivateOptions"/> method must
  30374. be called on this object after the configuration properties have
  30375. been set. Until <see cref="M:log4net.Util.WindowsSecurityContext.ActivateOptions"/> is called this
  30376. object is in an undefined state and must not be used.
  30377. </para>
  30378. <para>
  30379. If any of the configuration properties are modified then
  30380. <see cref="M:log4net.Util.WindowsSecurityContext.ActivateOptions"/> must be called again.
  30381. </para>
  30382. <para>
  30383. The security context will try to Logon the specified user account and
  30384. capture a primary token for impersonation.
  30385. </para>
  30386. </remarks>
  30387. <exception cref="T:System.ArgumentNullException">The required <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/>,
  30388. <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> or <see cref="P:log4net.Util.WindowsSecurityContext.Password"/> properties were not specified.</exception>
  30389. </member>
  30390. <member name="M:log4net.Util.WindowsSecurityContext.Impersonate(System.Object)">
  30391. <summary>
  30392. Impersonate the Windows account specified by the <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> properties.
  30393. </summary>
  30394. <param name="state">caller provided state</param>
  30395. <returns>
  30396. An <see cref="T:System.IDisposable"/> instance that will revoke the impersonation of this SecurityContext
  30397. </returns>
  30398. <remarks>
  30399. <para>
  30400. Depending on the <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/> property either
  30401. impersonate a user using credentials supplied or revert
  30402. to the process credentials.
  30403. </para>
  30404. </remarks>
  30405. </member>
  30406. <member name="M:log4net.Util.WindowsSecurityContext.LogonUser(System.String,System.String,System.String)">
  30407. <summary>
  30408. Create a <see cref="T:System.Security.Principal.WindowsIdentity"/> given the userName, domainName and password.
  30409. </summary>
  30410. <param name="userName">the user name</param>
  30411. <param name="domainName">the domain name</param>
  30412. <param name="password">the password</param>
  30413. <returns>the <see cref="T:System.Security.Principal.WindowsIdentity"/> for the account specified</returns>
  30414. <remarks>
  30415. <para>
  30416. Uses the Windows API call LogonUser to get a principal token for the account. This
  30417. token is used to initialize the WindowsIdentity.
  30418. </para>
  30419. </remarks>
  30420. </member>
  30421. <member name="P:log4net.Util.WindowsSecurityContext.Credentials">
  30422. <summary>
  30423. Gets or sets the impersonation mode for this security context
  30424. </summary>
  30425. <value>
  30426. The impersonation mode for this security context
  30427. </value>
  30428. <remarks>
  30429. <para>
  30430. Impersonate either a user with user credentials or
  30431. revert this thread to the credentials of the process.
  30432. The value is one of the <see cref="T:log4net.Util.WindowsSecurityContext.ImpersonationMode"/>
  30433. enum.
  30434. </para>
  30435. <para>
  30436. The default value is <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/>
  30437. </para>
  30438. <para>
  30439. When the mode is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/>
  30440. the user's credentials are established using the
  30441. <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/>, <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.Password"/>
  30442. values.
  30443. </para>
  30444. <para>
  30445. When the mode is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.Process"/>
  30446. no other properties need to be set. If the calling thread is
  30447. impersonating then it will be reverted back to the process credentials.
  30448. </para>
  30449. </remarks>
  30450. </member>
  30451. <member name="P:log4net.Util.WindowsSecurityContext.UserName">
  30452. <summary>
  30453. Gets or sets the Windows username for this security context
  30454. </summary>
  30455. <value>
  30456. The Windows username for this security context
  30457. </value>
  30458. <remarks>
  30459. <para>
  30460. This property must be set if <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/>
  30461. is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/> (the default setting).
  30462. </para>
  30463. </remarks>
  30464. </member>
  30465. <member name="P:log4net.Util.WindowsSecurityContext.DomainName">
  30466. <summary>
  30467. Gets or sets the Windows domain name for this security context
  30468. </summary>
  30469. <value>
  30470. The Windows domain name for this security context
  30471. </value>
  30472. <remarks>
  30473. <para>
  30474. The default value for <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> is the local machine name
  30475. taken from the <see cref="P:System.Environment.MachineName"/> property.
  30476. </para>
  30477. <para>
  30478. This property must be set if <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/>
  30479. is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/> (the default setting).
  30480. </para>
  30481. </remarks>
  30482. </member>
  30483. <member name="P:log4net.Util.WindowsSecurityContext.Password">
  30484. <summary>
  30485. Sets the password for the Windows account specified by the <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> properties.
  30486. </summary>
  30487. <value>
  30488. The password for the Windows account specified by the <see cref="P:log4net.Util.WindowsSecurityContext.UserName"/> and <see cref="P:log4net.Util.WindowsSecurityContext.DomainName"/> properties.
  30489. </value>
  30490. <remarks>
  30491. <para>
  30492. This property must be set if <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/>
  30493. is set to <see cref="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User"/> (the default setting).
  30494. </para>
  30495. </remarks>
  30496. </member>
  30497. <member name="T:log4net.Util.WindowsSecurityContext.ImpersonationMode">
  30498. <summary>
  30499. The impersonation modes for the <see cref="T:log4net.Util.WindowsSecurityContext"/>
  30500. </summary>
  30501. <remarks>
  30502. <para>
  30503. See the <see cref="P:log4net.Util.WindowsSecurityContext.Credentials"/> property for
  30504. details.
  30505. </para>
  30506. </remarks>
  30507. </member>
  30508. <member name="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.User">
  30509. <summary>
  30510. Impersonate a user using the credentials supplied
  30511. </summary>
  30512. </member>
  30513. <member name="F:log4net.Util.WindowsSecurityContext.ImpersonationMode.Process">
  30514. <summary>
  30515. Revert this the thread to the credentials of the process
  30516. </summary>
  30517. </member>
  30518. <member name="T:log4net.Util.WindowsSecurityContext.DisposableImpersonationContext">
  30519. <summary>
  30520. Adds <see cref="T:System.IDisposable"/> to <see cref="T:System.Security.Principal.WindowsImpersonationContext"/>
  30521. </summary>
  30522. <remarks>
  30523. <para>
  30524. Helper class to expose the <see cref="T:System.Security.Principal.WindowsImpersonationContext"/>
  30525. through the <see cref="T:System.IDisposable"/> interface.
  30526. </para>
  30527. </remarks>
  30528. </member>
  30529. <member name="M:log4net.Util.WindowsSecurityContext.DisposableImpersonationContext.#ctor(System.Security.Principal.WindowsImpersonationContext)">
  30530. <summary>
  30531. Constructor
  30532. </summary>
  30533. <param name="impersonationContext">the impersonation context being wrapped</param>
  30534. <remarks>
  30535. <para>
  30536. Constructor
  30537. </para>
  30538. </remarks>
  30539. </member>
  30540. <member name="M:log4net.Util.WindowsSecurityContext.DisposableImpersonationContext.Dispose">
  30541. <summary>
  30542. Revert the impersonation
  30543. </summary>
  30544. <remarks>
  30545. <para>
  30546. Revert the impersonation
  30547. </para>
  30548. </remarks>
  30549. </member>
  30550. <member name="T:log4net.GlobalContext">
  30551. <summary>
  30552. The log4net Global Context.
  30553. </summary>
  30554. <remarks>
  30555. <para>
  30556. The <c>GlobalContext</c> provides a location for global debugging
  30557. information to be stored.
  30558. </para>
  30559. <para>
  30560. The global context has a properties map and these properties can
  30561. be included in the output of log messages. The <see cref="T:log4net.Layout.PatternLayout"/>
  30562. supports selecting and outputing these properties.
  30563. </para>
  30564. <para>
  30565. By default the <c>log4net:HostName</c> property is set to the name of
  30566. the current machine.
  30567. </para>
  30568. </remarks>
  30569. <example>
  30570. <code lang="C#">
  30571. GlobalContext.Properties["hostname"] = Environment.MachineName;
  30572. </code>
  30573. </example>
  30574. <threadsafety static="true" instance="true"/>
  30575. <author>Nicko Cadell</author>
  30576. </member>
  30577. <member name="M:log4net.GlobalContext.#ctor">
  30578. <summary>
  30579. Private Constructor.
  30580. </summary>
  30581. <remarks>
  30582. Uses a private access modifier to prevent instantiation of this class.
  30583. </remarks>
  30584. </member>
  30585. <member name="F:log4net.GlobalContext.s_properties">
  30586. <summary>
  30587. The global context properties instance
  30588. </summary>
  30589. </member>
  30590. <member name="P:log4net.GlobalContext.Properties">
  30591. <summary>
  30592. The global properties map.
  30593. </summary>
  30594. <value>
  30595. The global properties map.
  30596. </value>
  30597. <remarks>
  30598. <para>
  30599. The global properties map.
  30600. </para>
  30601. </remarks>
  30602. </member>
  30603. <member name="T:log4net.AssemblyInfo">
  30604. <summary>
  30605. Provides information about the environment the assembly has
  30606. been built for.
  30607. </summary>
  30608. </member>
  30609. <member name="F:log4net.AssemblyInfo.Version">
  30610. <summary>Version of the assembly</summary>
  30611. </member>
  30612. <member name="F:log4net.AssemblyInfo.TargetFrameworkVersion">
  30613. <summary>Version of the framework targeted</summary>
  30614. </member>
  30615. <member name="F:log4net.AssemblyInfo.TargetFramework">
  30616. <summary>Type of framework targeted</summary>
  30617. </member>
  30618. <member name="F:log4net.AssemblyInfo.ClientProfile">
  30619. <summary>Does it target a client profile?</summary>
  30620. </member>
  30621. <member name="P:log4net.AssemblyInfo.Info">
  30622. <summary>
  30623. Identifies the version and target for this assembly.
  30624. </summary>
  30625. </member>
  30626. <member name="T:log4net.LogicalThreadContext">
  30627. <summary>
  30628. The log4net Logical Thread Context.
  30629. </summary>
  30630. <remarks>
  30631. <para>
  30632. The <c>LogicalThreadContext</c> provides a location for <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> specific debugging
  30633. information to be stored.
  30634. The <c>LogicalThreadContext</c> properties override any <see cref="T:log4net.ThreadContext"/> or <see cref="T:log4net.GlobalContext"/>
  30635. properties with the same name.
  30636. </para>
  30637. <para>
  30638. The Logical Thread Context has a properties map and a stack.
  30639. The properties and stack can
  30640. be included in the output of log messages. The <see cref="T:log4net.Layout.PatternLayout"/>
  30641. supports selecting and outputting these properties.
  30642. </para>
  30643. <para>
  30644. The Logical Thread Context provides a diagnostic context for the current call context.
  30645. This is an instrument for distinguishing interleaved log
  30646. output from different sources. Log output is typically interleaved
  30647. when a server handles multiple clients near-simultaneously.
  30648. </para>
  30649. <para>
  30650. The Logical Thread Context is managed on a per <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> basis.
  30651. </para>
  30652. <para>
  30653. The <see cref="T:System.Runtime.Remoting.Messaging.CallContext"/> requires a link time
  30654. <see cref="T:System.Security.Permissions.SecurityPermission"/> for the
  30655. <see cref="F:System.Security.Permissions.SecurityPermissionFlag.Infrastructure"/>.
  30656. If the calling code does not have this permission then this context will be disabled.
  30657. It will not store any property values set on it.
  30658. </para>
  30659. </remarks>
  30660. <example>Example of using the thread context properties to store a username.
  30661. <code lang="C#">
  30662. LogicalThreadContext.Properties["user"] = userName;
  30663. log.Info("This log message has a LogicalThreadContext Property called 'user'");
  30664. </code>
  30665. </example>
  30666. <example>Example of how to push a message into the context stack
  30667. <code lang="C#">
  30668. using(LogicalThreadContext.Stacks["LDC"].Push("my context message"))
  30669. {
  30670. log.Info("This log message has a LogicalThreadContext Stack message that includes 'my context message'");
  30671. } // at the end of the using block the message is automatically popped
  30672. </code>
  30673. </example>
  30674. <threadsafety static="true" instance="true"/>
  30675. <author>Nicko Cadell</author>
  30676. </member>
  30677. <member name="M:log4net.LogicalThreadContext.#ctor">
  30678. <summary>
  30679. Private Constructor.
  30680. </summary>
  30681. <remarks>
  30682. <para>
  30683. Uses a private access modifier to prevent instantiation of this class.
  30684. </para>
  30685. </remarks>
  30686. </member>
  30687. <member name="F:log4net.LogicalThreadContext.s_properties">
  30688. <summary>
  30689. The thread context properties instance
  30690. </summary>
  30691. </member>
  30692. <member name="F:log4net.LogicalThreadContext.s_stacks">
  30693. <summary>
  30694. The thread context stacks instance
  30695. </summary>
  30696. </member>
  30697. <member name="P:log4net.LogicalThreadContext.Properties">
  30698. <summary>
  30699. The thread properties map
  30700. </summary>
  30701. <value>
  30702. The thread properties map
  30703. </value>
  30704. <remarks>
  30705. <para>
  30706. The <c>LogicalThreadContext</c> properties override any <see cref="T:log4net.ThreadContext"/>
  30707. or <see cref="T:log4net.GlobalContext"/> properties with the same name.
  30708. </para>
  30709. </remarks>
  30710. </member>
  30711. <member name="P:log4net.LogicalThreadContext.Stacks">
  30712. <summary>
  30713. The thread stacks
  30714. </summary>
  30715. <value>
  30716. stack map
  30717. </value>
  30718. <remarks>
  30719. <para>
  30720. The logical thread stacks.
  30721. </para>
  30722. </remarks>
  30723. </member>
  30724. <member name="T:log4net.LogManager">
  30725. <summary>
  30726. This class is used by client applications to request logger instances.
  30727. </summary>
  30728. <remarks>
  30729. <para>
  30730. This class has static methods that are used by a client to request
  30731. a logger instance. The <see cref="M:GetLogger(string)"/> method is
  30732. used to retrieve a logger.
  30733. </para>
  30734. <para>
  30735. See the <see cref="T:log4net.ILog"/> interface for more details.
  30736. </para>
  30737. </remarks>
  30738. <example>Simple example of logging messages
  30739. <code lang="C#">
  30740. ILog log = LogManager.GetLogger("application-log");
  30741. log.Info("Application Start");
  30742. log.Debug("This is a debug message");
  30743. if (log.IsDebugEnabled)
  30744. {
  30745. log.Debug("This is another debug message");
  30746. }
  30747. </code>
  30748. </example>
  30749. <threadsafety static="true" instance="true"/>
  30750. <seealso cref="T:log4net.ILog"/>
  30751. <author>Nicko Cadell</author>
  30752. <author>Gert Driesen</author>
  30753. </member>
  30754. <member name="M:log4net.LogManager.#ctor">
  30755. <summary>
  30756. Initializes a new instance of the <see cref="T:log4net.LogManager"/> class.
  30757. </summary>
  30758. <remarks>
  30759. Uses a private access modifier to prevent instantiation of this class.
  30760. </remarks>
  30761. </member>
  30762. <member name="M:log4net.LogManager.Exists(System.String)">
  30763. <overloads>Returns the named logger if it exists.</overloads>
  30764. <summary>
  30765. Returns the named logger if it exists.
  30766. </summary>
  30767. <remarks>
  30768. <para>
  30769. If the named logger exists (in the default repository) then it
  30770. returns a reference to the logger, otherwise it returns <c>null</c>.
  30771. </para>
  30772. </remarks>
  30773. <param name="name">The fully qualified logger name to look for.</param>
  30774. <returns>The logger found, or <c>null</c> if no logger could be found.</returns>
  30775. </member>
  30776. <member name="M:log4net.LogManager.Exists(System.String,System.String)">
  30777. <summary>
  30778. Returns the named logger if it exists.
  30779. </summary>
  30780. <remarks>
  30781. <para>
  30782. If the named logger exists (in the specified repository) then it
  30783. returns a reference to the logger, otherwise it returns
  30784. <c>null</c>.
  30785. </para>
  30786. </remarks>
  30787. <param name="repository">The repository to lookup in.</param>
  30788. <param name="name">The fully qualified logger name to look for.</param>
  30789. <returns>
  30790. The logger found, or <c>null</c> if the logger doesn't exist in the specified
  30791. repository.
  30792. </returns>
  30793. </member>
  30794. <member name="M:log4net.LogManager.Exists(System.Reflection.Assembly,System.String)">
  30795. <summary>
  30796. Returns the named logger if it exists.
  30797. </summary>
  30798. <remarks>
  30799. <para>
  30800. If the named logger exists (in the repository for the specified assembly) then it
  30801. returns a reference to the logger, otherwise it returns
  30802. <c>null</c>.
  30803. </para>
  30804. </remarks>
  30805. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  30806. <param name="name">The fully qualified logger name to look for.</param>
  30807. <returns>
  30808. The logger, or <c>null</c> if the logger doesn't exist in the specified
  30809. assembly's repository.
  30810. </returns>
  30811. </member>
  30812. <member name="M:log4net.LogManager.GetCurrentLoggers">
  30813. <overloads>Get the currently defined loggers.</overloads>
  30814. <summary>
  30815. Returns all the currently defined loggers in the default repository.
  30816. </summary>
  30817. <remarks>
  30818. <para>The root logger is <b>not</b> included in the returned array.</para>
  30819. </remarks>
  30820. <returns>All the defined loggers.</returns>
  30821. </member>
  30822. <member name="M:log4net.LogManager.GetCurrentLoggers(System.String)">
  30823. <summary>
  30824. Returns all the currently defined loggers in the specified repository.
  30825. </summary>
  30826. <param name="repository">The repository to lookup in.</param>
  30827. <remarks>
  30828. The root logger is <b>not</b> included in the returned array.
  30829. </remarks>
  30830. <returns>All the defined loggers.</returns>
  30831. </member>
  30832. <member name="M:log4net.LogManager.GetCurrentLoggers(System.Reflection.Assembly)">
  30833. <summary>
  30834. Returns all the currently defined loggers in the specified assembly's repository.
  30835. </summary>
  30836. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  30837. <remarks>
  30838. The root logger is <b>not</b> included in the returned array.
  30839. </remarks>
  30840. <returns>All the defined loggers.</returns>
  30841. </member>
  30842. <member name="M:log4net.LogManager.GetLogger(System.String)">
  30843. <overloads>Get or create a logger.</overloads>
  30844. <summary>
  30845. Retrieves or creates a named logger.
  30846. </summary>
  30847. <remarks>
  30848. <para>
  30849. Retrieves a logger named as the <paramref name="name"/>
  30850. parameter. If the named logger already exists, then the
  30851. existing instance will be returned. Otherwise, a new instance is
  30852. created.
  30853. </para>
  30854. <para>By default, loggers do not have a set level but inherit
  30855. it from the hierarchy. This is one of the central features of
  30856. log4net.
  30857. </para>
  30858. </remarks>
  30859. <param name="name">The name of the logger to retrieve.</param>
  30860. <returns>The logger with the name specified.</returns>
  30861. </member>
  30862. <member name="M:log4net.LogManager.GetLogger(System.String,System.String)">
  30863. <summary>
  30864. Retrieves or creates a named logger.
  30865. </summary>
  30866. <remarks>
  30867. <para>
  30868. Retrieve a logger named as the <paramref name="name"/>
  30869. parameter. If the named logger already exists, then the
  30870. existing instance will be returned. Otherwise, a new instance is
  30871. created.
  30872. </para>
  30873. <para>
  30874. By default, loggers do not have a set level but inherit
  30875. it from the hierarchy. This is one of the central features of
  30876. log4net.
  30877. </para>
  30878. </remarks>
  30879. <param name="repository">The repository to lookup in.</param>
  30880. <param name="name">The name of the logger to retrieve.</param>
  30881. <returns>The logger with the name specified.</returns>
  30882. </member>
  30883. <member name="M:log4net.LogManager.GetLogger(System.Reflection.Assembly,System.String)">
  30884. <summary>
  30885. Retrieves or creates a named logger.
  30886. </summary>
  30887. <remarks>
  30888. <para>
  30889. Retrieve a logger named as the <paramref name="name"/>
  30890. parameter. If the named logger already exists, then the
  30891. existing instance will be returned. Otherwise, a new instance is
  30892. created.
  30893. </para>
  30894. <para>
  30895. By default, loggers do not have a set level but inherit
  30896. it from the hierarchy. This is one of the central features of
  30897. log4net.
  30898. </para>
  30899. </remarks>
  30900. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  30901. <param name="name">The name of the logger to retrieve.</param>
  30902. <returns>The logger with the name specified.</returns>
  30903. </member>
  30904. <member name="M:log4net.LogManager.GetLogger(System.Type)">
  30905. <summary>
  30906. Shorthand for <see cref="M:LogManager.GetLogger(string)"/>.
  30907. </summary>
  30908. <remarks>
  30909. Get the logger for the fully qualified name of the type specified.
  30910. </remarks>
  30911. <param name="type">The full name of <paramref name="type"/> will be used as the name of the logger to retrieve.</param>
  30912. <returns>The logger with the name specified.</returns>
  30913. </member>
  30914. <member name="M:log4net.LogManager.GetLogger(System.String,System.Type)">
  30915. <summary>
  30916. Shorthand for <see cref="M:LogManager.GetLogger(string)"/>.
  30917. </summary>
  30918. <remarks>
  30919. Gets the logger for the fully qualified name of the type specified.
  30920. </remarks>
  30921. <param name="repository">The repository to lookup in.</param>
  30922. <param name="type">The full name of <paramref name="type"/> will be used as the name of the logger to retrieve.</param>
  30923. <returns>The logger with the name specified.</returns>
  30924. </member>
  30925. <member name="M:log4net.LogManager.GetLogger(System.Reflection.Assembly,System.Type)">
  30926. <summary>
  30927. Shorthand for <see cref="M:LogManager.GetLogger(string)"/>.
  30928. </summary>
  30929. <remarks>
  30930. Gets the logger for the fully qualified name of the type specified.
  30931. </remarks>
  30932. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  30933. <param name="type">The full name of <paramref name="type"/> will be used as the name of the logger to retrieve.</param>
  30934. <returns>The logger with the name specified.</returns>
  30935. </member>
  30936. <member name="M:log4net.LogManager.Shutdown">
  30937. <summary>
  30938. Shuts down the log4net system.
  30939. </summary>
  30940. <remarks>
  30941. <para>
  30942. Calling this method will <b>safely</b> close and remove all
  30943. appenders in all the loggers including root contained in all the
  30944. default repositories.
  30945. </para>
  30946. <para>
  30947. Some appenders need to be closed before the application exists.
  30948. Otherwise, pending logging events might be lost.
  30949. </para>
  30950. <para>The <c>shutdown</c> method is careful to close nested
  30951. appenders before closing regular appenders. This is allows
  30952. configurations where a regular appender is attached to a logger
  30953. and again to a nested appender.
  30954. </para>
  30955. </remarks>
  30956. </member>
  30957. <member name="M:log4net.LogManager.ShutdownRepository">
  30958. <overloads>Shutdown a logger repository.</overloads>
  30959. <summary>
  30960. Shuts down the default repository.
  30961. </summary>
  30962. <remarks>
  30963. <para>
  30964. Calling this method will <b>safely</b> close and remove all
  30965. appenders in all the loggers including root contained in the
  30966. default repository.
  30967. </para>
  30968. <para>Some appenders need to be closed before the application exists.
  30969. Otherwise, pending logging events might be lost.
  30970. </para>
  30971. <para>The <c>shutdown</c> method is careful to close nested
  30972. appenders before closing regular appenders. This is allows
  30973. configurations where a regular appender is attached to a logger
  30974. and again to a nested appender.
  30975. </para>
  30976. </remarks>
  30977. </member>
  30978. <member name="M:log4net.LogManager.ShutdownRepository(System.String)">
  30979. <summary>
  30980. Shuts down the repository for the repository specified.
  30981. </summary>
  30982. <remarks>
  30983. <para>
  30984. Calling this method will <b>safely</b> close and remove all
  30985. appenders in all the loggers including root contained in the
  30986. <paramref name="repository"/> specified.
  30987. </para>
  30988. <para>
  30989. Some appenders need to be closed before the application exists.
  30990. Otherwise, pending logging events might be lost.
  30991. </para>
  30992. <para>The <c>shutdown</c> method is careful to close nested
  30993. appenders before closing regular appenders. This is allows
  30994. configurations where a regular appender is attached to a logger
  30995. and again to a nested appender.
  30996. </para>
  30997. </remarks>
  30998. <param name="repository">The repository to shutdown.</param>
  30999. </member>
  31000. <member name="M:log4net.LogManager.ShutdownRepository(System.Reflection.Assembly)">
  31001. <summary>
  31002. Shuts down the repository specified.
  31003. </summary>
  31004. <remarks>
  31005. <para>
  31006. Calling this method will <b>safely</b> close and remove all
  31007. appenders in all the loggers including root contained in the
  31008. repository. The repository is looked up using
  31009. the <paramref name="repositoryAssembly"/> specified.
  31010. </para>
  31011. <para>
  31012. Some appenders need to be closed before the application exists.
  31013. Otherwise, pending logging events might be lost.
  31014. </para>
  31015. <para>
  31016. The <c>shutdown</c> method is careful to close nested
  31017. appenders before closing regular appenders. This is allows
  31018. configurations where a regular appender is attached to a logger
  31019. and again to a nested appender.
  31020. </para>
  31021. </remarks>
  31022. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  31023. </member>
  31024. <member name="M:log4net.LogManager.ResetConfiguration">
  31025. <overloads>Reset the configuration of a repository</overloads>
  31026. <summary>
  31027. Resets all values contained in this repository instance to their defaults.
  31028. </summary>
  31029. <remarks>
  31030. <para>
  31031. Resets all values contained in the repository instance to their
  31032. defaults. This removes all appenders from all loggers, sets
  31033. the level of all non-root loggers to <c>null</c>,
  31034. sets their additivity flag to <c>true</c> and sets the level
  31035. of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
  31036. message disabling is set to its default "off" value.
  31037. </para>
  31038. </remarks>
  31039. </member>
  31040. <member name="M:log4net.LogManager.ResetConfiguration(System.String)">
  31041. <summary>
  31042. Resets all values contained in this repository instance to their defaults.
  31043. </summary>
  31044. <remarks>
  31045. <para>
  31046. Reset all values contained in the repository instance to their
  31047. defaults. This removes all appenders from all loggers, sets
  31048. the level of all non-root loggers to <c>null</c>,
  31049. sets their additivity flag to <c>true</c> and sets the level
  31050. of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
  31051. message disabling is set to its default "off" value.
  31052. </para>
  31053. </remarks>
  31054. <param name="repository">The repository to reset.</param>
  31055. </member>
  31056. <member name="M:log4net.LogManager.ResetConfiguration(System.Reflection.Assembly)">
  31057. <summary>
  31058. Resets all values contained in this repository instance to their defaults.
  31059. </summary>
  31060. <remarks>
  31061. <para>
  31062. Reset all values contained in the repository instance to their
  31063. defaults. This removes all appenders from all loggers, sets
  31064. the level of all non-root loggers to <c>null</c>,
  31065. sets their additivity flag to <c>true</c> and sets the level
  31066. of the root logger to <see cref="F:log4net.Core.Level.Debug"/>. Moreover,
  31067. message disabling is set to its default "off" value.
  31068. </para>
  31069. </remarks>
  31070. <param name="repositoryAssembly">The assembly to use to lookup the repository to reset.</param>
  31071. </member>
  31072. <member name="M:log4net.LogManager.GetLoggerRepository">
  31073. <overloads>Get the logger repository.</overloads>
  31074. <summary>
  31075. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  31076. </summary>
  31077. <remarks>
  31078. <para>
  31079. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  31080. by the callers assembly (<see cref="M:Assembly.GetCallingAssembly()"/>).
  31081. </para>
  31082. </remarks>
  31083. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> instance for the default repository.</returns>
  31084. </member>
  31085. <member name="M:log4net.LogManager.GetLoggerRepository(System.String)">
  31086. <summary>
  31087. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  31088. </summary>
  31089. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
  31090. <remarks>
  31091. <para>
  31092. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  31093. by the <paramref name="repository"/> argument.
  31094. </para>
  31095. </remarks>
  31096. <param name="repository">The repository to lookup in.</param>
  31097. </member>
  31098. <member name="M:log4net.LogManager.GetLoggerRepository(System.Reflection.Assembly)">
  31099. <summary>
  31100. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  31101. </summary>
  31102. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
  31103. <remarks>
  31104. <para>
  31105. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  31106. by the <paramref name="repositoryAssembly"/> argument.
  31107. </para>
  31108. </remarks>
  31109. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  31110. </member>
  31111. <member name="M:log4net.LogManager.GetRepository">
  31112. <overloads>Get a logger repository.</overloads>
  31113. <summary>
  31114. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  31115. </summary>
  31116. <remarks>
  31117. <para>
  31118. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  31119. by the callers assembly (<see cref="M:Assembly.GetCallingAssembly()"/>).
  31120. </para>
  31121. </remarks>
  31122. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> instance for the default repository.</returns>
  31123. </member>
  31124. <member name="M:log4net.LogManager.GetRepository(System.String)">
  31125. <summary>
  31126. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  31127. </summary>
  31128. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
  31129. <remarks>
  31130. <para>
  31131. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  31132. by the <paramref name="repository"/> argument.
  31133. </para>
  31134. </remarks>
  31135. <param name="repository">The repository to lookup in.</param>
  31136. </member>
  31137. <member name="M:log4net.LogManager.GetRepository(System.Reflection.Assembly)">
  31138. <summary>
  31139. Returns the default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.
  31140. </summary>
  31141. <returns>The default <see cref="T:log4net.Repository.ILoggerRepository"/> instance.</returns>
  31142. <remarks>
  31143. <para>
  31144. Gets the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified
  31145. by the <paramref name="repositoryAssembly"/> argument.
  31146. </para>
  31147. </remarks>
  31148. <param name="repositoryAssembly">The assembly to use to lookup the repository.</param>
  31149. </member>
  31150. <member name="M:log4net.LogManager.CreateDomain(System.Type)">
  31151. <overloads>Create a domain</overloads>
  31152. <summary>
  31153. Creates a repository with the specified repository type.
  31154. </summary>
  31155. <remarks>
  31156. <para>
  31157. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  31158. </para>
  31159. <para>
  31160. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  31161. specified such that a call to <see cref="M:GetRepository()"/> will return
  31162. the same repository instance.
  31163. </para>
  31164. </remarks>
  31165. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  31166. and has a no arg constructor. An instance of this type will be created to act
  31167. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  31168. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31169. </member>
  31170. <member name="M:log4net.LogManager.CreateRepository(System.Type)">
  31171. <overloads>Create a logger repository.</overloads>
  31172. <summary>
  31173. Creates a repository with the specified repository type.
  31174. </summary>
  31175. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  31176. and has a no arg constructor. An instance of this type will be created to act
  31177. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  31178. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31179. <remarks>
  31180. <para>
  31181. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  31182. specified such that a call to <see cref="M:GetRepository()"/> will return
  31183. the same repository instance.
  31184. </para>
  31185. </remarks>
  31186. </member>
  31187. <member name="M:log4net.LogManager.CreateDomain(System.String)">
  31188. <summary>
  31189. Creates a repository with the specified name.
  31190. </summary>
  31191. <remarks>
  31192. <para>
  31193. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  31194. </para>
  31195. <para>
  31196. Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
  31197. <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
  31198. </para>
  31199. <para>
  31200. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  31201. An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
  31202. </para>
  31203. </remarks>
  31204. <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
  31205. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31206. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  31207. </member>
  31208. <member name="M:log4net.LogManager.CreateRepository(System.String)">
  31209. <summary>
  31210. Creates a repository with the specified name.
  31211. </summary>
  31212. <remarks>
  31213. <para>
  31214. Creates the default type of <see cref="T:log4net.Repository.ILoggerRepository"/> which is a
  31215. <see cref="T:log4net.Repository.Hierarchy.Hierarchy"/> object.
  31216. </para>
  31217. <para>
  31218. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  31219. An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
  31220. </para>
  31221. </remarks>
  31222. <param name="repository">The name of the repository, this must be unique amongst repositories.</param>
  31223. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31224. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  31225. </member>
  31226. <member name="M:log4net.LogManager.CreateDomain(System.String,System.Type)">
  31227. <summary>
  31228. Creates a repository with the specified name and repository type.
  31229. </summary>
  31230. <remarks>
  31231. <para>
  31232. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  31233. </para>
  31234. <para>
  31235. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  31236. An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
  31237. </para>
  31238. </remarks>
  31239. <param name="repository">The name of the repository, this must be unique to the repository.</param>
  31240. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  31241. and has a no arg constructor. An instance of this type will be created to act
  31242. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  31243. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31244. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  31245. </member>
  31246. <member name="M:log4net.LogManager.CreateRepository(System.String,System.Type)">
  31247. <summary>
  31248. Creates a repository with the specified name and repository type.
  31249. </summary>
  31250. <remarks>
  31251. <para>
  31252. The <paramref name="repository"/> name must be unique. Repositories cannot be redefined.
  31253. An <see cref="T:System.Exception"/> will be thrown if the repository already exists.
  31254. </para>
  31255. </remarks>
  31256. <param name="repository">The name of the repository, this must be unique to the repository.</param>
  31257. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  31258. and has a no arg constructor. An instance of this type will be created to act
  31259. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  31260. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31261. <exception cref="T:log4net.Core.LogException">The specified repository already exists.</exception>
  31262. </member>
  31263. <member name="M:log4net.LogManager.CreateDomain(System.Reflection.Assembly,System.Type)">
  31264. <summary>
  31265. Creates a repository for the specified assembly and repository type.
  31266. </summary>
  31267. <remarks>
  31268. <para>
  31269. <b>CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.</b>
  31270. </para>
  31271. <para>
  31272. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  31273. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  31274. same assembly specified will return the same repository instance.
  31275. </para>
  31276. </remarks>
  31277. <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
  31278. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  31279. and has a no arg constructor. An instance of this type will be created to act
  31280. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  31281. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31282. </member>
  31283. <member name="M:log4net.LogManager.CreateRepository(System.Reflection.Assembly,System.Type)">
  31284. <summary>
  31285. Creates a repository for the specified assembly and repository type.
  31286. </summary>
  31287. <remarks>
  31288. <para>
  31289. The <see cref="T:log4net.Repository.ILoggerRepository"/> created will be associated with the repository
  31290. specified such that a call to <see cref="M:GetRepository(Assembly)"/> with the
  31291. same assembly specified will return the same repository instance.
  31292. </para>
  31293. </remarks>
  31294. <param name="repositoryAssembly">The assembly to use to get the name of the repository.</param>
  31295. <param name="repositoryType">A <see cref="T:System.Type"/> that implements <see cref="T:log4net.Repository.ILoggerRepository"/>
  31296. and has a no arg constructor. An instance of this type will be created to act
  31297. as the <see cref="T:log4net.Repository.ILoggerRepository"/> for the repository specified.</param>
  31298. <returns>The <see cref="T:log4net.Repository.ILoggerRepository"/> created for the repository.</returns>
  31299. </member>
  31300. <member name="M:log4net.LogManager.GetAllRepositories">
  31301. <summary>
  31302. Gets the list of currently defined repositories.
  31303. </summary>
  31304. <remarks>
  31305. <para>
  31306. Get an array of all the <see cref="T:log4net.Repository.ILoggerRepository"/> objects that have been created.
  31307. </para>
  31308. </remarks>
  31309. <returns>An array of all the known <see cref="T:log4net.Repository.ILoggerRepository"/> objects.</returns>
  31310. </member>
  31311. <member name="M:log4net.LogManager.WrapLogger(log4net.Core.ILogger)">
  31312. <summary>
  31313. Looks up the wrapper object for the logger specified.
  31314. </summary>
  31315. <param name="logger">The logger to get the wrapper for.</param>
  31316. <returns>The wrapper for the logger specified.</returns>
  31317. </member>
  31318. <member name="M:log4net.LogManager.WrapLoggers(log4net.Core.ILogger[])">
  31319. <summary>
  31320. Looks up the wrapper objects for the loggers specified.
  31321. </summary>
  31322. <param name="loggers">The loggers to get the wrappers for.</param>
  31323. <returns>The wrapper objects for the loggers specified.</returns>
  31324. </member>
  31325. <member name="M:log4net.LogManager.WrapperCreationHandler(log4net.Core.ILogger)">
  31326. <summary>
  31327. Create the <see cref="T:log4net.Core.ILoggerWrapper"/> objects used by
  31328. this manager.
  31329. </summary>
  31330. <param name="logger">The logger to wrap.</param>
  31331. <returns>The wrapper for the logger specified.</returns>
  31332. </member>
  31333. <member name="F:log4net.LogManager.s_wrapperMap">
  31334. <summary>
  31335. The wrapper map to use to hold the <see cref="T:log4net.Core.LogImpl"/> objects.
  31336. </summary>
  31337. </member>
  31338. <member name="T:log4net.MDC">
  31339. <summary>
  31340. Implementation of Mapped Diagnostic Contexts.
  31341. </summary>
  31342. <remarks>
  31343. <note>
  31344. <para>
  31345. The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
  31346. The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
  31347. </para>
  31348. </note>
  31349. <para>
  31350. The MDC class is similar to the <see cref="T:log4net.NDC"/> class except that it is
  31351. based on a map instead of a stack. It provides <i>mapped
  31352. diagnostic contexts</i>. A <i>Mapped Diagnostic Context</i>, or
  31353. MDC in short, is an instrument for distinguishing interleaved log
  31354. output from different sources. Log output is typically interleaved
  31355. when a server handles multiple clients near-simultaneously.
  31356. </para>
  31357. <para>
  31358. The MDC is managed on a per thread basis.
  31359. </para>
  31360. </remarks>
  31361. <threadsafety static="true" instance="true"/>
  31362. <author>Nicko Cadell</author>
  31363. <author>Gert Driesen</author>
  31364. </member>
  31365. <member name="M:log4net.MDC.#ctor">
  31366. <summary>
  31367. Initializes a new instance of the <see cref="T:log4net.MDC"/> class.
  31368. </summary>
  31369. <remarks>
  31370. Uses a private access modifier to prevent instantiation of this class.
  31371. </remarks>
  31372. </member>
  31373. <member name="M:log4net.MDC.Get(System.String)">
  31374. <summary>
  31375. Gets the context value identified by the <paramref name="key"/> parameter.
  31376. </summary>
  31377. <param name="key">The key to lookup in the MDC.</param>
  31378. <returns>The string value held for the key, or a <c>null</c> reference if no corresponding value is found.</returns>
  31379. <remarks>
  31380. <note>
  31381. <para>
  31382. The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
  31383. The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
  31384. </para>
  31385. </note>
  31386. <para>
  31387. If the <paramref name="key"/> parameter does not look up to a
  31388. previously defined context then <c>null</c> will be returned.
  31389. </para>
  31390. </remarks>
  31391. </member>
  31392. <member name="M:log4net.MDC.Set(System.String,System.String)">
  31393. <summary>
  31394. Add an entry to the MDC
  31395. </summary>
  31396. <param name="key">The key to store the value under.</param>
  31397. <param name="value">The value to store.</param>
  31398. <remarks>
  31399. <note>
  31400. <para>
  31401. The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
  31402. The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
  31403. </para>
  31404. </note>
  31405. <para>
  31406. Puts a context value (the <paramref name="value"/> parameter) as identified
  31407. with the <paramref name="key"/> parameter into the current thread's
  31408. context map.
  31409. </para>
  31410. <para>
  31411. If a value is already defined for the <paramref name="key"/>
  31412. specified then the value will be replaced. If the <paramref name="value"/>
  31413. is specified as <c>null</c> then the key value mapping will be removed.
  31414. </para>
  31415. </remarks>
  31416. </member>
  31417. <member name="M:log4net.MDC.Remove(System.String)">
  31418. <summary>
  31419. Removes the key value mapping for the key specified.
  31420. </summary>
  31421. <param name="key">The key to remove.</param>
  31422. <remarks>
  31423. <note>
  31424. <para>
  31425. The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
  31426. The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
  31427. </para>
  31428. </note>
  31429. <para>
  31430. Remove the specified entry from this thread's MDC
  31431. </para>
  31432. </remarks>
  31433. </member>
  31434. <member name="M:log4net.MDC.Clear">
  31435. <summary>
  31436. Clear all entries in the MDC
  31437. </summary>
  31438. <remarks>
  31439. <note>
  31440. <para>
  31441. The MDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Properties"/>.
  31442. The current MDC implementation forwards to the <c>ThreadContext.Properties</c>.
  31443. </para>
  31444. </note>
  31445. <para>
  31446. Remove all the entries from this thread's MDC
  31447. </para>
  31448. </remarks>
  31449. </member>
  31450. <member name="T:log4net.NDC">
  31451. <summary>
  31452. Implementation of Nested Diagnostic Contexts.
  31453. </summary>
  31454. <remarks>
  31455. <note>
  31456. <para>
  31457. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31458. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31459. </para>
  31460. </note>
  31461. <para>
  31462. A Nested Diagnostic Context, or NDC in short, is an instrument
  31463. to distinguish interleaved log output from different sources. Log
  31464. output is typically interleaved when a server handles multiple
  31465. clients near-simultaneously.
  31466. </para>
  31467. <para>
  31468. Interleaved log output can still be meaningful if each log entry
  31469. from different contexts had a distinctive stamp. This is where NDCs
  31470. come into play.
  31471. </para>
  31472. <para>
  31473. Note that NDCs are managed on a per thread basis. The NDC class
  31474. is made up of static methods that operate on the context of the
  31475. calling thread.
  31476. </para>
  31477. </remarks>
  31478. <example>How to push a message into the context
  31479. <code lang="C#">
  31480. using(NDC.Push("my context message"))
  31481. {
  31482. ... all log calls will have 'my context message' included ...
  31483. } // at the end of the using block the message is automatically removed
  31484. </code>
  31485. </example>
  31486. <threadsafety static="true" instance="true"/>
  31487. <author>Nicko Cadell</author>
  31488. <author>Gert Driesen</author>
  31489. </member>
  31490. <member name="M:log4net.NDC.#ctor">
  31491. <summary>
  31492. Initializes a new instance of the <see cref="T:log4net.NDC"/> class.
  31493. </summary>
  31494. <remarks>
  31495. Uses a private access modifier to prevent instantiation of this class.
  31496. </remarks>
  31497. </member>
  31498. <member name="M:log4net.NDC.Clear">
  31499. <summary>
  31500. Clears all the contextual information held on the current thread.
  31501. </summary>
  31502. <remarks>
  31503. <note>
  31504. <para>
  31505. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31506. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31507. </para>
  31508. </note>
  31509. <para>
  31510. Clears the stack of NDC data held on the current thread.
  31511. </para>
  31512. </remarks>
  31513. </member>
  31514. <member name="M:log4net.NDC.CloneStack">
  31515. <summary>
  31516. Creates a clone of the stack of context information.
  31517. </summary>
  31518. <returns>A clone of the context info for this thread.</returns>
  31519. <remarks>
  31520. <note>
  31521. <para>
  31522. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31523. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31524. </para>
  31525. </note>
  31526. <para>
  31527. The results of this method can be passed to the <see cref="M:log4net.NDC.Inherit(System.Collections.Stack)"/>
  31528. method to allow child threads to inherit the context of their
  31529. parent thread.
  31530. </para>
  31531. </remarks>
  31532. </member>
  31533. <member name="M:log4net.NDC.Inherit(System.Collections.Stack)">
  31534. <summary>
  31535. Inherits the contextual information from another thread.
  31536. </summary>
  31537. <param name="stack">The context stack to inherit.</param>
  31538. <remarks>
  31539. <note>
  31540. <para>
  31541. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31542. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31543. </para>
  31544. </note>
  31545. <para>
  31546. This thread will use the context information from the stack
  31547. supplied. This can be used to initialize child threads with
  31548. the same contextual information as their parent threads. These
  31549. contexts will <b>NOT</b> be shared. Any further contexts that
  31550. are pushed onto the stack will not be visible to the other.
  31551. Call <see cref="M:log4net.NDC.CloneStack"/> to obtain a stack to pass to
  31552. this method.
  31553. </para>
  31554. </remarks>
  31555. </member>
  31556. <member name="M:log4net.NDC.Pop">
  31557. <summary>
  31558. Removes the top context from the stack.
  31559. </summary>
  31560. <returns>
  31561. The message in the context that was removed from the top
  31562. of the stack.
  31563. </returns>
  31564. <remarks>
  31565. <note>
  31566. <para>
  31567. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31568. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31569. </para>
  31570. </note>
  31571. <para>
  31572. Remove the top context from the stack, and return
  31573. it to the caller. If the stack is empty then an
  31574. empty string (not <c>null</c>) is returned.
  31575. </para>
  31576. </remarks>
  31577. </member>
  31578. <member name="M:log4net.NDC.Push(System.String)">
  31579. <summary>
  31580. Pushes a new context message.
  31581. </summary>
  31582. <param name="message">The new context message.</param>
  31583. <returns>
  31584. An <see cref="T:System.IDisposable"/> that can be used to clean up
  31585. the context stack.
  31586. </returns>
  31587. <remarks>
  31588. <note>
  31589. <para>
  31590. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31591. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31592. </para>
  31593. </note>
  31594. <para>
  31595. Pushes a new context onto the context stack. An <see cref="T:System.IDisposable"/>
  31596. is returned that can be used to clean up the context stack. This
  31597. can be easily combined with the <c>using</c> keyword to scope the
  31598. context.
  31599. </para>
  31600. </remarks>
  31601. <example>Simple example of using the <c>Push</c> method with the <c>using</c> keyword.
  31602. <code lang="C#">
  31603. using(log4net.NDC.Push("NDC_Message"))
  31604. {
  31605. log.Warn("This should have an NDC message");
  31606. }
  31607. </code>
  31608. </example>
  31609. </member>
  31610. <member name="M:log4net.NDC.Remove">
  31611. <summary>
  31612. Removes the context information for this thread. It is
  31613. not required to call this method.
  31614. </summary>
  31615. <remarks>
  31616. <note>
  31617. <para>
  31618. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31619. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31620. </para>
  31621. </note>
  31622. <para>
  31623. This method is not implemented.
  31624. </para>
  31625. </remarks>
  31626. </member>
  31627. <member name="M:log4net.NDC.SetMaxDepth(System.Int32)">
  31628. <summary>
  31629. Forces the stack depth to be at most <paramref name="maxDepth"/>.
  31630. </summary>
  31631. <param name="maxDepth">The maximum depth of the stack</param>
  31632. <remarks>
  31633. <note>
  31634. <para>
  31635. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31636. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31637. </para>
  31638. </note>
  31639. <para>
  31640. Forces the stack depth to be at most <paramref name="maxDepth"/>.
  31641. This may truncate the head of the stack. This only affects the
  31642. stack in the current thread. Also it does not prevent it from
  31643. growing, it only sets the maximum depth at the time of the
  31644. call. This can be used to return to a known context depth.
  31645. </para>
  31646. </remarks>
  31647. </member>
  31648. <member name="P:log4net.NDC.Depth">
  31649. <summary>
  31650. Gets the current context depth.
  31651. </summary>
  31652. <value>The current context depth.</value>
  31653. <remarks>
  31654. <note>
  31655. <para>
  31656. The NDC is deprecated and has been replaced by the <see cref="P:log4net.ThreadContext.Stacks"/>.
  31657. The current NDC implementation forwards to the <c>ThreadContext.Stacks["NDC"]</c>.
  31658. </para>
  31659. </note>
  31660. <para>
  31661. The number of context values pushed onto the context stack.
  31662. </para>
  31663. <para>
  31664. Used to record the current depth of the context. This can then
  31665. be restored using the <see cref="M:log4net.NDC.SetMaxDepth(System.Int32)"/> method.
  31666. </para>
  31667. </remarks>
  31668. <seealso cref="M:log4net.NDC.SetMaxDepth(System.Int32)"/>
  31669. </member>
  31670. <member name="T:log4net.ThreadContext">
  31671. <summary>
  31672. The log4net Thread Context.
  31673. </summary>
  31674. <remarks>
  31675. <para>
  31676. The <c>ThreadContext</c> provides a location for thread specific debugging
  31677. information to be stored.
  31678. The <c>ThreadContext</c> properties override any <see cref="T:log4net.GlobalContext"/>
  31679. properties with the same name.
  31680. </para>
  31681. <para>
  31682. The thread context has a properties map and a stack.
  31683. The properties and stack can
  31684. be included in the output of log messages. The <see cref="T:log4net.Layout.PatternLayout"/>
  31685. supports selecting and outputting these properties.
  31686. </para>
  31687. <para>
  31688. The Thread Context provides a diagnostic context for the current thread.
  31689. This is an instrument for distinguishing interleaved log
  31690. output from different sources. Log output is typically interleaved
  31691. when a server handles multiple clients near-simultaneously.
  31692. </para>
  31693. <para>
  31694. The Thread Context is managed on a per thread basis.
  31695. </para>
  31696. </remarks>
  31697. <example>Example of using the thread context properties to store a username.
  31698. <code lang="C#">
  31699. ThreadContext.Properties["user"] = userName;
  31700. log.Info("This log message has a ThreadContext Property called 'user'");
  31701. </code>
  31702. </example>
  31703. <example>Example of how to push a message into the context stack
  31704. <code lang="C#">
  31705. using(ThreadContext.Stacks["NDC"].Push("my context message"))
  31706. {
  31707. log.Info("This log message has a ThreadContext Stack message that includes 'my context message'");
  31708. } // at the end of the using block the message is automatically popped
  31709. </code>
  31710. </example>
  31711. <threadsafety static="true" instance="true"/>
  31712. <author>Nicko Cadell</author>
  31713. </member>
  31714. <member name="M:log4net.ThreadContext.#ctor">
  31715. <summary>
  31716. Private Constructor.
  31717. </summary>
  31718. <remarks>
  31719. <para>
  31720. Uses a private access modifier to prevent instantiation of this class.
  31721. </para>
  31722. </remarks>
  31723. </member>
  31724. <member name="F:log4net.ThreadContext.s_properties">
  31725. <summary>
  31726. The thread context properties instance
  31727. </summary>
  31728. </member>
  31729. <member name="F:log4net.ThreadContext.s_stacks">
  31730. <summary>
  31731. The thread context stacks instance
  31732. </summary>
  31733. </member>
  31734. <member name="P:log4net.ThreadContext.Properties">
  31735. <summary>
  31736. The thread properties map
  31737. </summary>
  31738. <value>
  31739. The thread properties map
  31740. </value>
  31741. <remarks>
  31742. <para>
  31743. The <c>ThreadContext</c> properties override any <see cref="T:log4net.GlobalContext"/>
  31744. properties with the same name.
  31745. </para>
  31746. </remarks>
  31747. </member>
  31748. <member name="P:log4net.ThreadContext.Stacks">
  31749. <summary>
  31750. The thread stacks
  31751. </summary>
  31752. <value>
  31753. stack map
  31754. </value>
  31755. <remarks>
  31756. <para>
  31757. The thread local stacks.
  31758. </para>
  31759. </remarks>
  31760. </member>
  31761. </members>
  31762. </doc>