app/assets/log.html-BWgq1I4q.js

2 lines
3.2 KiB
JavaScript

import{_ as e,o as t,c as o,e as r}from"./app-Bs1PeMf0.js";const n={},l=r('<h3 id="def-get-format-level-str-str" tabindex="-1"><a class="header-anchor" href="#def-get-format-level-str-str"><span><em><strong>def</strong></em> <code>get_format(level: str) -&gt; str</code></span></a></h3><h3 id="def-init-log-config-dict-none" tabindex="-1"><a class="header-anchor" href="#def-init-log-config-dict-none"><span><em><strong>def</strong></em> <code>init_log(config: dict) -&gt; None</code></span></a></h3><p>在语言加载完成后执行</p><p>Returns:</p><h3 id="var-logger-loguru-logger" tabindex="-1"><a class="header-anchor" href="#var-logger-loguru-logger"><span><em><strong>var</strong></em> <code>logger = loguru.logger</code></span></a></h3><h3 id="var-show-icon-config-get-log-icon-true" tabindex="-1"><a class="header-anchor" href="#var-show-icon-config-get-log-icon-true"><span><em><strong>var</strong></em> <code>show_icon = config.get(&#39;log_icon&#39;, True)</code></span></a></h3>',6),i=[l];function g(a,c){return t(),o("div",null,i)}const d=e(n,[["render",g],["__file","log.html.vue"]]),p=JSON.parse(`{"path":"/en/dev/api/log.html","title":"liteyuki.log","lang":"en-US","frontmatter":{"title":"liteyuki.log","order":1,"icon":"laptop-code","category":"API","description":"def get_format(level: str) -> str def init_log(config: dict) -> None 在语言加载完成后执行 Returns: var logger = loguru.logger var show_icon = config.get('log_icon', True)","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/log.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/log.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.log"}],["meta",{"property":"og:description","content":"def get_format(level: str) -> str def init_log(config: dict) -> None 在语言加载完成后执行 Returns: var logger = loguru.logger var show_icon = config.get('log_icon', True)"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.log\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def get_format(level: str) -> str","slug":"def-get-format-level-str-str","link":"#def-get-format-level-str-str","children":[]},{"level":3,"title":"def init_log(config: dict) -> None","slug":"def-init-log-config-dict-none","link":"#def-init-log-config-dict-none","children":[]},{"level":3,"title":"var logger = loguru.logger","slug":"var-logger-loguru-logger","link":"#var-logger-loguru-logger","children":[]},{"level":3,"title":"var show_icon = config.get('log_icon', True)","slug":"var-show-icon-config-get-log-icon-true","link":"#var-show-icon-config-get-log-icon-true","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.13,"words":38},"filePathRelative":"en/dev/api/log.md","autoDesc":true}`);export{d as comp,p as data};