import{s as Dr,o as Or,n as kr}from"../chunks/scheduler.bdbef820.js";import{S as Br,i as Gr,g as o,s,r as f,m as jr,A as Zr,h as i,f as t,c as l,j as h,u as d,x as a,n as qr,k as _,y as g,a as n,v as p,d as u,t as c,w as $}from"../chunks/index.33f81d56.js";import{T as zr}from"../chunks/Tip.34194030.js";import{D as w}from"../chunks/Docstring.64554317.js";import{C as ze}from"../chunks/CodeBlock.362b34a4.js";import{E as Xr}from"../chunks/ExampleCodeBlock.4f2252c6.js";import{H as kt,E as Yr}from"../chunks/EditOnGithub.a9246e21.js";function Kr(we){let b,I="🤗 Transformers has following logging levels:",y,v,x="<li>50: <code>transformers.logging.CRITICAL</code> or <code>transformers.logging.FATAL</code></li> <li>40: <code>transformers.logging.ERROR</code></li> <li>30: <code>transformers.logging.WARNING</code> or <code>transformers.logging.WARN</code></li> <li>20: <code>transformers.logging.INFO</code></li> <li>10: <code>transformers.logging.DEBUG</code></li>";return{c(){b=o("p"),b.textContent=I,y=s(),v=o("ul"),v.innerHTML=x},l(m){b=i(m,"P",{"data-svelte-h":!0}),a(b)!=="svelte-xr075s"&&(b.textContent=I),y=l(m),v=i(m,"UL",{"data-svelte-h":!0}),a(v)!=="svelte-1s22l0g"&&(v.innerHTML=x)},m(m,T){n(m,b,T),n(m,y,T),n(m,v,T)},p:kr,d(m){m&&(t(b),t(y),t(v))}}}function Qr(we){let b,I="Enable explicit formatting for every HuggingFace Transformers’s logger. The explicit formatter is as follows:",y,v,x;return v=new ze({props:{code:"JTIwJTIwJTIwJTIwJTVCTEVWRUxOQU1FJTdDRklMRU5BTUUlN0NMSU5FJTIwTlVNQkVSJTVEJTIwVElNRSUyMCUzRSUzRSUyME1FU1NBR0U=",highlighted:'    [LEVELNAME|<span class="hljs-type">FILENAME</span>|<span class="hljs-type">LINE</span> NUMBER] TIME &gt;&gt; MESSAGE',wrap:!1}}),{c(){b=o("p"),b.textContent=I,y=s(),f(v.$$.fragment)},l(m){b=i(m,"P",{"data-svelte-h":!0}),a(b)!=="svelte-1db65t5"&&(b.textContent=I),y=l(m),d(v.$$.fragment,m)},m(m,T){n(m,b,T),n(m,y,T),p(v,m,T),x=!0},p:kr,i(m){x||(u(v.$$.fragment,m),x=!0)},o(m){c(v.$$.fragment,m),x=!1},d(m){m&&(t(b),t(y)),$(v,m)}}}function en(we){let b,I,y,v,x,m,T,ar="🤗 Transformersには、ライブラリの詳細度を簡単に設定できる中央集中型のロギングシステムがあります。",Xe,O,mr="現在、ライブラリのデフォルトの詳細度は「WARNING」です。",Ye,B,fr="詳細度を変更するには、直接設定メソッドの1つを使用するだけです。例えば、詳細度をINFOレベルに変更する方法は以下の通りです。",Ke,G,Qe,j,dr=`環境変数 <code>TRANSFORMERS_VERBOSITY</code> を使用して、デフォルトの冗長性をオーバーライドすることもできます。設定できます
<code>debug</code>、<code>info</code>、<code>warning</code>、<code>error</code>、<code>critical</code> のいずれかに変更します。例えば：`,et,Z,tt,q,pr=`さらに、一部の「警告」は環境変数を設定することで無効にできます。
<code>TRANSFORMERS_NO_ADVISORY_WARNINGS</code> を <em>1</em> などの true 値に設定します。これにより、次を使用してログに記録される警告が無効になります。
<code>logger.warning_advice</code>。例えば：`,rt,z,nt,X,ur="以下は、独自のモジュールまたはスクリプトでライブラリと同じロガーを使用する方法の例です。",st,Y,lt,K,cr=`このロギング モジュールのすべてのメソッドは以下に文書化されています。主なメソッドは次のとおりです。
<a href="/docs/transformers/main/ja/main_classes/logging#transformers.utils.logging.get_verbosity">logging.get_verbosity()</a> ロガーの現在の冗長レベルを取得します。
<a href="/docs/transformers/main/ja/main_classes/logging#transformers.utils.logging.set_verbosity">logging.set_verbosity()</a> を使用して、冗長性を選択したレベルに設定します。順番に（少ないものから）
冗長から最も冗長まで)、それらのレベル (括弧内は対応する int 値) は次のとおりです。`,ot,Q,$r=`<li><code>transformers.logging.CRITICAL</code> または <code>transformers.logging.FATAL</code> (int 値、50): 最も多いもののみをレポートします。
重大なエラー。</li> <li><code>transformers.logging.ERROR</code> (int 値、40): エラーのみを報告します。</li> <li><code>transformers.logging.WARNING</code> または <code>transformers.logging.WARN</code> (int 値、30): エラーと
警告。これはライブラリで使用されるデフォルトのレベルです。</li> <li><code>transformers.logging.INFO</code> (int 値、20): エラー、警告、および基本情報をレポートします。</li> <li><code>transformers.logging.DEBUG</code> (int 値、10): すべての情報をレポートします。</li>`,it,ee,br='デフォルトでは、モデルのダウンロード中に「tqdm」進行状況バーが表示されます。 <a href="/docs/transformers/main/ja/main_classes/logging#transformers.utils.logging.disable_progress_bar">logging.disable_progress_bar()</a> および <a href="/docs/transformers/main/ja/main_classes/logging#transformers.utils.logging.enable_progress_bar">logging.enable_progress_bar()</a> を使用して、この動作を抑制または抑制解除できます。',gt,te,at,re,vr=`Python には、よく組み合わせて使用​​される 2 つのロギング システムがあります。上で説明した <code>logging</code> と <code>warnings</code> です。
これにより、特定のバケット内の警告をさらに分類できます (例: 機能またはパスの<code>FutureWarning</code>)
これはすでに非推奨になっており、<code>DeprecationWarning</code>は今後の非推奨を示します。`,mt,ne,hr=`両方とも<code>transformers</code>ライブラリで使用します。 <code>logging</code>の<code>captureWarning</code>メソッドを活用して適応させて、
これらの警告メッセージは、上記の冗長設定ツールによって管理されます。`,ft,se,_r="それはライブラリの開発者にとって何を意味しますか?次のヒューリスティックを尊重する必要があります。",dt,le,yr="<li><code>warnings</code>は、ライブラリおよび<code>transformers</code>に依存するライブラリの開発者に優先されるべきです。</li> <li><code>logging</code>は、日常のプロジェクトでライブラリを使用するライブラリのエンドユーザーに使用する必要があります。</li>",pt,oe,xr="以下の<code>captureWarnings</code>メソッドのリファレンスを参照してください。",ut,C,ie,Dt,Le,Tr=`Calls the <code>captureWarnings</code> method from the logging library to enable management of the warnings emitted by the
<code>warnings</code> library.`,Ot,Me,Cr=`Read more about this method here:
<a href="https://docs.python.org/3/library/logging.html#integration-with-the-warnings-module" rel="nofollow">https://docs.python.org/3/library/logging.html#integration-with-the-warnings-module</a>`,Bt,Re,wr="All warnings will be logged through the <code>py.warnings</code> logger.",Gt,Ee,Lr=`Careful: this method also adds a handler to this logger if it does not already have one, and updates the logging
level of that logger to the library’s root logger.`,ct,ge,$t,H,ae,jt,Ie,Mr="Set the verbosity to the <code>ERROR</code> level.",bt,J,me,Zt,Ne,Rr="Set the verbosity to the <code>WARNING</code> level.",vt,P,fe,qt,He,Er="Set the verbosity to the <code>INFO</code> level.",ht,V,de,zt,Je,Ir="Set the verbosity to the <code>DEBUG</code> level.",_t,pe,yt,M,ue,Xt,Pe,Nr="Return the current level for the 🤗 Transformers’s root logger as an int.",Yt,k,xt,U,ce,Kt,Ve,Hr="Set the verbosity level for the 🤗 Transformers’s root logger.",Tt,R,$e,Qt,Ue,Jr="Return a logger with the specified name.",er,Ae,Pr="This function is not supposed to be directly accessed unless you are writing a custom transformers module.",Ct,A,be,tr,Se,Vr="Enable the default handler of the HuggingFace Transformers’s root logger.",wt,S,ve,rr,We,Ur="Disable the default handler of the HuggingFace Transformers’s root logger.",Lt,N,he,nr,D,sr,Mt,E,_e,lr,Fe,Ar="Resets the formatting for HuggingFace Transformers’s loggers.",or,ke,Sr="All handlers currently bound to the root logger are affected by this method.",Rt,W,ye,ir,De,Wr="Enable tqdm progress bar.",Et,F,xe,gr,Oe,Fr="Disable tqdm progress bar.",It,Te,Nt,Ze,Ht;return x=new kt({props:{title:"Logging",local:"logging",headingTag:"h1"}}),G=new ze({props:{code:"aW1wb3J0JTIwdHJhbnNmb3JtZXJzJTBBJTBBdHJhbnNmb3JtZXJzLmxvZ2dpbmcuc2V0X3ZlcmJvc2l0eV9pbmZvKCk=",highlighted:`<span class="hljs-keyword">import</span> transformers

transformers.logging.set_verbosity_info()`,wrap:!1}}),Z=new ze({props:{code:"VFJBTlNGT1JNRVJTX1ZFUkJPU0lUWSUzRGVycm9yJTIwLiUyRm15cHJvZ3JhbS5weQ==",highlighted:"TRANSFORMERS_VERBOSITY=error ./myprogram.py",wrap:!1}}),z=new ze({props:{code:"VFJBTlNGT1JNRVJTX05PX0FEVklTT1JZX1dBUk5JTkdTJTNEMSUyMC4lMkZteXByb2dyYW0ucHk=",highlighted:"TRANSFORMERS_NO_ADVISORY_WARNINGS=1 ./myprogram.py",wrap:!1}}),Y=new ze({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy51dGlscyUyMGltcG9ydCUyMGxvZ2dpbmclMEElMEFsb2dnaW5nLnNldF92ZXJib3NpdHlfaW5mbygpJTBBbG9nZ2VyJTIwJTNEJTIwbG9nZ2luZy5nZXRfbG9nZ2VyKCUyMnRyYW5zZm9ybWVycyUyMiklMEFsb2dnZXIuaW5mbyglMjJJTkZPJTIyKSUwQWxvZ2dlci53YXJuaW5nKCUyMldBUk4lMjIp",highlighted:`<span class="hljs-keyword">from</span> transformers.utils <span class="hljs-keyword">import</span> logging

logging.set_verbosity_info()
logger = logging.get_logger(<span class="hljs-string">&quot;transformers&quot;</span>)
logger.info(<span class="hljs-string">&quot;INFO&quot;</span>)
logger.warning(<span class="hljs-string">&quot;WARN&quot;</span>)`,wrap:!1}}),te=new kt({props:{title:"logging vs warnings",local:"transformers.utils.logging.captureWarnings",headingTag:"h2"}}),ie=new w({props:{name:"transformers.utils.logging.captureWarnings",anchor:"transformers.utils.logging.captureWarnings",parameters:[{name:"capture",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L125"}}),ge=new kt({props:{title:"Base setters",local:"transformers.utils.logging.set_verbosity_error",headingTag:"h2"}}),ae=new w({props:{name:"transformers.utils.logging.set_verbosity_error",anchor:"transformers.utils.logging.set_verbosity_error",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L219"}}),me=new w({props:{name:"transformers.utils.logging.set_verbosity_warning",anchor:"transformers.utils.logging.set_verbosity_warning",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L209"}}),fe=new w({props:{name:"transformers.utils.logging.set_verbosity_info",anchor:"transformers.utils.logging.set_verbosity_info",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L204"}}),de=new w({props:{name:"transformers.utils.logging.set_verbosity_debug",anchor:"transformers.utils.logging.set_verbosity_debug",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L214"}}),pe=new kt({props:{title:"Other functions",local:"transformers.utils.logging.get_verbosity",headingTag:"h2"}}),ue=new w({props:{name:"transformers.utils.logging.get_verbosity",anchor:"transformers.utils.logging.get_verbosity",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L162",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The logging level.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>int</code></p>
`}}),k=new zr({props:{$$slots:{default:[Kr]},$$scope:{ctx:we}}}),ce=new w({props:{name:"transformers.utils.logging.set_verbosity",anchor:"transformers.utils.logging.set_verbosity",parameters:[{name:"verbosity",val:": int"}],parametersDescription:[{anchor:"transformers.utils.logging.set_verbosity.verbosity",description:`<strong>verbosity</strong> (<code>int</code>) &#x2014;
Logging level, e.g., one of:</p>
<ul>
<li><code>transformers.logging.CRITICAL</code> or <code>transformers.logging.FATAL</code></li>
<li><code>transformers.logging.ERROR</code></li>
<li><code>transformers.logging.WARNING</code> or <code>transformers.logging.WARN</code></li>
<li><code>transformers.logging.INFO</code></li>
<li><code>transformers.logging.DEBUG</code></li>
</ul>`,name:"verbosity"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L185"}}),$e=new w({props:{name:"transformers.utils.logging.get_logger",anchor:"transformers.utils.logging.get_logger",parameters:[{name:"name",val:": typing.Optional[str] = None"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L148"}}),be=new w({props:{name:"transformers.utils.logging.enable_default_handler",anchor:"transformers.utils.logging.enable_default_handler",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L233"}}),ve=new w({props:{name:"transformers.utils.logging.disable_default_handler",anchor:"transformers.utils.logging.disable_default_handler",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L224"}}),he=new w({props:{name:"transformers.utils.logging.enable_explicit_format",anchor:"transformers.utils.logging.enable_explicit_format",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L279"}}),D=new Xr({props:{anchor:"transformers.utils.logging.enable_explicit_format.example",$$slots:{default:[Qr]},$$scope:{ctx:we}}}),_e=new w({props:{name:"transformers.utils.logging.reset_format",anchor:"transformers.utils.logging.reset_format",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L294"}}),ye=new w({props:{name:"transformers.utils.logging.enable_progress_bar",anchor:"transformers.utils.logging.enable_progress_bar",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L400"}}),xe=new w({props:{name:"transformers.utils.logging.disable_progress_bar",anchor:"transformers.utils.logging.disable_progress_bar",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/logging.py#L407"}}),Te=new Yr({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/ja/main_classes/logging.md"}}),{c(){b=o("meta"),I=s(),y=o("p"),v=s(),f(x.$$.fragment),m=s(),T=o("p"),T.textContent=ar,Xe=s(),O=o("p"),O.textContent=mr,Ye=s(),B=o("p"),B.textContent=fr,Ke=s(),f(G.$$.fragment),Qe=s(),j=o("p"),j.innerHTML=dr,et=s(),f(Z.$$.fragment),tt=s(),q=o("p"),q.innerHTML=pr,rt=s(),f(z.$$.fragment),nt=s(),X=o("p"),X.textContent=ur,st=s(),f(Y.$$.fragment),lt=s(),K=o("p"),K.innerHTML=cr,ot=s(),Q=o("ul"),Q.innerHTML=$r,it=s(),ee=o("p"),ee.innerHTML=br,gt=s(),f(te.$$.fragment),at=s(),re=o("p"),re.innerHTML=vr,mt=s(),ne=o("p"),ne.innerHTML=hr,ft=s(),se=o("p"),se.textContent=_r,dt=s(),le=o("ul"),le.innerHTML=yr,pt=s(),oe=o("p"),oe.innerHTML=xr,ut=s(),C=o("div"),f(ie.$$.fragment),Dt=s(),Le=o("p"),Le.innerHTML=Tr,Ot=s(),Me=o("p"),Me.innerHTML=Cr,Bt=s(),Re=o("p"),Re.innerHTML=wr,Gt=s(),Ee=o("p"),Ee.textContent=Lr,ct=s(),f(ge.$$.fragment),$t=s(),H=o("div"),f(ae.$$.fragment),jt=s(),Ie=o("p"),Ie.innerHTML=Mr,bt=s(),J=o("div"),f(me.$$.fragment),Zt=s(),Ne=o("p"),Ne.innerHTML=Rr,vt=s(),P=o("div"),f(fe.$$.fragment),qt=s(),He=o("p"),He.innerHTML=Er,ht=s(),V=o("div"),f(de.$$.fragment),zt=s(),Je=o("p"),Je.innerHTML=Ir,_t=s(),f(pe.$$.fragment),yt=s(),M=o("div"),f(ue.$$.fragment),Xt=s(),Pe=o("p"),Pe.textContent=Nr,Yt=s(),f(k.$$.fragment),xt=s(),U=o("div"),f(ce.$$.fragment),Kt=s(),Ve=o("p"),Ve.textContent=Hr,Tt=s(),R=o("div"),f($e.$$.fragment),Qt=s(),Ue=o("p"),Ue.textContent=Jr,er=s(),Ae=o("p"),Ae.textContent=Pr,Ct=s(),A=o("div"),f(be.$$.fragment),tr=s(),Se=o("p"),Se.textContent=Vr,wt=s(),S=o("div"),f(ve.$$.fragment),rr=s(),We=o("p"),We.textContent=Ur,Lt=s(),N=o("div"),f(he.$$.fragment),nr=s(),f(D.$$.fragment),sr=jr(`
All handlers currently bound to the root logger are affected by this method.`),Mt=s(),E=o("div"),f(_e.$$.fragment),lr=s(),Fe=o("p"),Fe.textContent=Ar,or=s(),ke=o("p"),ke.textContent=Sr,Rt=s(),W=o("div"),f(ye.$$.fragment),ir=s(),De=o("p"),De.textContent=Wr,Et=s(),F=o("div"),f(xe.$$.fragment),gr=s(),Oe=o("p"),Oe.textContent=Fr,It=s(),f(Te.$$.fragment),Nt=s(),Ze=o("p"),this.h()},l(e){const r=Zr("svelte-u9bgzb",document.head);b=i(r,"META",{name:!0,content:!0}),r.forEach(t),I=l(e),y=i(e,"P",{}),h(y).forEach(t),v=l(e),d(x.$$.fragment,e),m=l(e),T=i(e,"P",{"data-svelte-h":!0}),a(T)!=="svelte-1ddrx2p"&&(T.textContent=ar),Xe=l(e),O=i(e,"P",{"data-svelte-h":!0}),a(O)!=="svelte-q1rfw"&&(O.textContent=mr),Ye=l(e),B=i(e,"P",{"data-svelte-h":!0}),a(B)!=="svelte-x4j5ym"&&(B.textContent=fr),Ke=l(e),d(G.$$.fragment,e),Qe=l(e),j=i(e,"P",{"data-svelte-h":!0}),a(j)!=="svelte-17w1gia"&&(j.innerHTML=dr),et=l(e),d(Z.$$.fragment,e),tt=l(e),q=i(e,"P",{"data-svelte-h":!0}),a(q)!=="svelte-1s98sfm"&&(q.innerHTML=pr),rt=l(e),d(z.$$.fragment,e),nt=l(e),X=i(e,"P",{"data-svelte-h":!0}),a(X)!=="svelte-1nnllnv"&&(X.textContent=ur),st=l(e),d(Y.$$.fragment,e),lt=l(e),K=i(e,"P",{"data-svelte-h":!0}),a(K)!=="svelte-8q2yz0"&&(K.innerHTML=cr),ot=l(e),Q=i(e,"UL",{"data-svelte-h":!0}),a(Q)!=="svelte-x7libu"&&(Q.innerHTML=$r),it=l(e),ee=i(e,"P",{"data-svelte-h":!0}),a(ee)!=="svelte-1g4fcam"&&(ee.innerHTML=br),gt=l(e),d(te.$$.fragment,e),at=l(e),re=i(e,"P",{"data-svelte-h":!0}),a(re)!=="svelte-e7aa8v"&&(re.innerHTML=vr),mt=l(e),ne=i(e,"P",{"data-svelte-h":!0}),a(ne)!=="svelte-y4kr64"&&(ne.innerHTML=hr),ft=l(e),se=i(e,"P",{"data-svelte-h":!0}),a(se)!=="svelte-bzehiz"&&(se.textContent=_r),dt=l(e),le=i(e,"UL",{"data-svelte-h":!0}),a(le)!=="svelte-3jocgz"&&(le.innerHTML=yr),pt=l(e),oe=i(e,"P",{"data-svelte-h":!0}),a(oe)!=="svelte-vldwrw"&&(oe.innerHTML=xr),ut=l(e),C=i(e,"DIV",{class:!0});var L=h(C);d(ie.$$.fragment,L),Dt=l(L),Le=i(L,"P",{"data-svelte-h":!0}),a(Le)!=="svelte-7noldf"&&(Le.innerHTML=Tr),Ot=l(L),Me=i(L,"P",{"data-svelte-h":!0}),a(Me)!=="svelte-wu9e1c"&&(Me.innerHTML=Cr),Bt=l(L),Re=i(L,"P",{"data-svelte-h":!0}),a(Re)!=="svelte-1rsdpfu"&&(Re.innerHTML=wr),Gt=l(L),Ee=i(L,"P",{"data-svelte-h":!0}),a(Ee)!=="svelte-73l4cs"&&(Ee.textContent=Lr),L.forEach(t),ct=l(e),d(ge.$$.fragment,e),$t=l(e),H=i(e,"DIV",{class:!0});var Ce=h(H);d(ae.$$.fragment,Ce),jt=l(Ce),Ie=i(Ce,"P",{"data-svelte-h":!0}),a(Ie)!=="svelte-1ppk729"&&(Ie.innerHTML=Mr),Ce.forEach(t),bt=l(e),J=i(e,"DIV",{class:!0});var Jt=h(J);d(me.$$.fragment,Jt),Zt=l(Jt),Ne=i(Jt,"P",{"data-svelte-h":!0}),a(Ne)!=="svelte-12ljo43"&&(Ne.innerHTML=Rr),Jt.forEach(t),vt=l(e),P=i(e,"DIV",{class:!0});var Pt=h(P);d(fe.$$.fragment,Pt),qt=l(Pt),He=i(Pt,"P",{"data-svelte-h":!0}),a(He)!=="svelte-1ruccfv"&&(He.innerHTML=Er),Pt.forEach(t),ht=l(e),V=i(e,"DIV",{class:!0});var Vt=h(V);d(de.$$.fragment,Vt),zt=l(Vt),Je=i(Vt,"P",{"data-svelte-h":!0}),a(Je)!=="svelte-10c80ti"&&(Je.innerHTML=Ir),Vt.forEach(t),_t=l(e),d(pe.$$.fragment,e),yt=l(e),M=i(e,"DIV",{class:!0});var Be=h(M);d(ue.$$.fragment,Be),Xt=l(Be),Pe=i(Be,"P",{"data-svelte-h":!0}),a(Pe)!=="svelte-c6o18d"&&(Pe.textContent=Nr),Yt=l(Be),d(k.$$.fragment,Be),Be.forEach(t),xt=l(e),U=i(e,"DIV",{class:!0});var Ut=h(U);d(ce.$$.fragment,Ut),Kt=l(Ut),Ve=i(Ut,"P",{"data-svelte-h":!0}),a(Ve)!=="svelte-1pc8gq7"&&(Ve.textContent=Hr),Ut.forEach(t),Tt=l(e),R=i(e,"DIV",{class:!0});var Ge=h(R);d($e.$$.fragment,Ge),Qt=l(Ge),Ue=i(Ge,"P",{"data-svelte-h":!0}),a(Ue)!=="svelte-155a6rh"&&(Ue.textContent=Jr),er=l(Ge),Ae=i(Ge,"P",{"data-svelte-h":!0}),a(Ae)!=="svelte-7r9l0i"&&(Ae.textContent=Pr),Ge.forEach(t),Ct=l(e),A=i(e,"DIV",{class:!0});var At=h(A);d(be.$$.fragment,At),tr=l(At),Se=i(At,"P",{"data-svelte-h":!0}),a(Se)!=="svelte-1d9pjkh"&&(Se.textContent=Vr),At.forEach(t),wt=l(e),S=i(e,"DIV",{class:!0});var St=h(S);d(ve.$$.fragment,St),rr=l(St),We=i(St,"P",{"data-svelte-h":!0}),a(We)!=="svelte-147u0ic"&&(We.textContent=Ur),St.forEach(t),Lt=l(e),N=i(e,"DIV",{class:!0});var qe=h(N);d(he.$$.fragment,qe),nr=l(qe),d(D.$$.fragment,qe),sr=qr(qe,`
All handlers currently bound to the root logger are affected by this method.`),qe.forEach(t),Mt=l(e),E=i(e,"DIV",{class:!0});var je=h(E);d(_e.$$.fragment,je),lr=l(je),Fe=i(je,"P",{"data-svelte-h":!0}),a(Fe)!=="svelte-1yfjx32"&&(Fe.textContent=Ar),or=l(je),ke=i(je,"P",{"data-svelte-h":!0}),a(ke)!=="svelte-3qpllw"&&(ke.textContent=Sr),je.forEach(t),Rt=l(e),W=i(e,"DIV",{class:!0});var Wt=h(W);d(ye.$$.fragment,Wt),ir=l(Wt),De=i(Wt,"P",{"data-svelte-h":!0}),a(De)!=="svelte-1n9lbl5"&&(De.textContent=Wr),Wt.forEach(t),Et=l(e),F=i(e,"DIV",{class:!0});var Ft=h(F);d(xe.$$.fragment,Ft),gr=l(Ft),Oe=i(Ft,"P",{"data-svelte-h":!0}),a(Oe)!=="svelte-4qd7jw"&&(Oe.textContent=Fr),Ft.forEach(t),It=l(e),d(Te.$$.fragment,e),Nt=l(e),Ze=i(e,"P",{}),h(Ze).forEach(t),this.h()},h(){_(b,"name","hf:doc:metadata"),_(b,"content",tn),_(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(W,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,r){g(document.head,b),n(e,I,r),n(e,y,r),n(e,v,r),p(x,e,r),n(e,m,r),n(e,T,r),n(e,Xe,r),n(e,O,r),n(e,Ye,r),n(e,B,r),n(e,Ke,r),p(G,e,r),n(e,Qe,r),n(e,j,r),n(e,et,r),p(Z,e,r),n(e,tt,r),n(e,q,r),n(e,rt,r),p(z,e,r),n(e,nt,r),n(e,X,r),n(e,st,r),p(Y,e,r),n(e,lt,r),n(e,K,r),n(e,ot,r),n(e,Q,r),n(e,it,r),n(e,ee,r),n(e,gt,r),p(te,e,r),n(e,at,r),n(e,re,r),n(e,mt,r),n(e,ne,r),n(e,ft,r),n(e,se,r),n(e,dt,r),n(e,le,r),n(e,pt,r),n(e,oe,r),n(e,ut,r),n(e,C,r),p(ie,C,null),g(C,Dt),g(C,Le),g(C,Ot),g(C,Me),g(C,Bt),g(C,Re),g(C,Gt),g(C,Ee),n(e,ct,r),p(ge,e,r),n(e,$t,r),n(e,H,r),p(ae,H,null),g(H,jt),g(H,Ie),n(e,bt,r),n(e,J,r),p(me,J,null),g(J,Zt),g(J,Ne),n(e,vt,r),n(e,P,r),p(fe,P,null),g(P,qt),g(P,He),n(e,ht,r),n(e,V,r),p(de,V,null),g(V,zt),g(V,Je),n(e,_t,r),p(pe,e,r),n(e,yt,r),n(e,M,r),p(ue,M,null),g(M,Xt),g(M,Pe),g(M,Yt),p(k,M,null),n(e,xt,r),n(e,U,r),p(ce,U,null),g(U,Kt),g(U,Ve),n(e,Tt,r),n(e,R,r),p($e,R,null),g(R,Qt),g(R,Ue),g(R,er),g(R,Ae),n(e,Ct,r),n(e,A,r),p(be,A,null),g(A,tr),g(A,Se),n(e,wt,r),n(e,S,r),p(ve,S,null),g(S,rr),g(S,We),n(e,Lt,r),n(e,N,r),p(he,N,null),g(N,nr),p(D,N,null),g(N,sr),n(e,Mt,r),n(e,E,r),p(_e,E,null),g(E,lr),g(E,Fe),g(E,or),g(E,ke),n(e,Rt,r),n(e,W,r),p(ye,W,null),g(W,ir),g(W,De),n(e,Et,r),n(e,F,r),p(xe,F,null),g(F,gr),g(F,Oe),n(e,It,r),p(Te,e,r),n(e,Nt,r),n(e,Ze,r),Ht=!0},p(e,[r]){const L={};r&2&&(L.$$scope={dirty:r,ctx:e}),k.$set(L);const Ce={};r&2&&(Ce.$$scope={dirty:r,ctx:e}),D.$set(Ce)},i(e){Ht||(u(x.$$.fragment,e),u(G.$$.fragment,e),u(Z.$$.fragment,e),u(z.$$.fragment,e),u(Y.$$.fragment,e),u(te.$$.fragment,e),u(ie.$$.fragment,e),u(ge.$$.fragment,e),u(ae.$$.fragment,e),u(me.$$.fragment,e),u(fe.$$.fragment,e),u(de.$$.fragment,e),u(pe.$$.fragment,e),u(ue.$$.fragment,e),u(k.$$.fragment,e),u(ce.$$.fragment,e),u($e.$$.fragment,e),u(be.$$.fragment,e),u(ve.$$.fragment,e),u(he.$$.fragment,e),u(D.$$.fragment,e),u(_e.$$.fragment,e),u(ye.$$.fragment,e),u(xe.$$.fragment,e),u(Te.$$.fragment,e),Ht=!0)},o(e){c(x.$$.fragment,e),c(G.$$.fragment,e),c(Z.$$.fragment,e),c(z.$$.fragment,e),c(Y.$$.fragment,e),c(te.$$.fragment,e),c(ie.$$.fragment,e),c(ge.$$.fragment,e),c(ae.$$.fragment,e),c(me.$$.fragment,e),c(fe.$$.fragment,e),c(de.$$.fragment,e),c(pe.$$.fragment,e),c(ue.$$.fragment,e),c(k.$$.fragment,e),c(ce.$$.fragment,e),c($e.$$.fragment,e),c(be.$$.fragment,e),c(ve.$$.fragment,e),c(he.$$.fragment,e),c(D.$$.fragment,e),c(_e.$$.fragment,e),c(ye.$$.fragment,e),c(xe.$$.fragment,e),c(Te.$$.fragment,e),Ht=!1},d(e){e&&(t(I),t(y),t(v),t(m),t(T),t(Xe),t(O),t(Ye),t(B),t(Ke),t(Qe),t(j),t(et),t(tt),t(q),t(rt),t(nt),t(X),t(st),t(lt),t(K),t(ot),t(Q),t(it),t(ee),t(gt),t(at),t(re),t(mt),t(ne),t(ft),t(se),t(dt),t(le),t(pt),t(oe),t(ut),t(C),t(ct),t($t),t(H),t(bt),t(J),t(vt),t(P),t(ht),t(V),t(_t),t(yt),t(M),t(xt),t(U),t(Tt),t(R),t(Ct),t(A),t(wt),t(S),t(Lt),t(N),t(Mt),t(E),t(Rt),t(W),t(Et),t(F),t(It),t(Nt),t(Ze)),t(b),$(x,e),$(G,e),$(Z,e),$(z,e),$(Y,e),$(te,e),$(ie),$(ge,e),$(ae),$(me),$(fe),$(de),$(pe,e),$(ue),$(k),$(ce),$($e),$(be),$(ve),$(he),$(D),$(_e),$(ye),$(xe),$(Te,e)}}}const tn='{"title":"Logging","local":"logging","sections":[{"title":"logging vs warnings","local":"transformers.utils.logging.captureWarnings","sections":[],"depth":2},{"title":"Base setters","local":"transformers.utils.logging.set_verbosity_error","sections":[],"depth":2},{"title":"Other functions","local":"transformers.utils.logging.get_verbosity","sections":[],"depth":2}],"depth":1}';function rn(we){return Or(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class fn extends Br{constructor(b){super(),Gr(this,b,rn,en,Dr,{})}}export{fn as component};
