"use strict";(self.webpackChunkdocs_site=self.webpackChunkdocs_site||[]).push([[4291],{8026:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>i,contentTitle:()=>a,default:()=>u,frontMatter:()=>r,metadata:()=>l,toc:()=>c});const l=JSON.parse('{"id":"XXTLanControl.lua/core/set_log_aliases","title":"\u8bbe\u7f6e\u65e5\u5fd7\u5217\u522b\u540d (LCC.set_log_aliases)","description":"\u58f0\u660e","source":"@site/docs/XXTLanControl.lua/core/set_log_aliases.md","sourceDirName":"XXTLanControl.lua/core","slug":"/XXTLanControl.lua/core/set_log_aliases","permalink":"/docs/XXTLanControl.lua/core/set_log_aliases","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":30,"frontMatter":{"sidebar_position":30},"sidebar":"tutorialSidebar","previous":{"title":"\u8bbe\u7f6e\u8bf7\u6c42\u91cd\u8bd5\u6b21\u6570 (LCC.set_retry_count)","permalink":"/docs/XXTLanControl.lua/core/set_retry_count"},"next":{"title":"\u8fde\u63a5\u4e2d\u63a7\u5e76\u521d\u59cb\u5316 (LCC.connect)","permalink":"/docs/XXTLanControl.lua/core/connect"}}');var o=s(4848),t=s(8453);const r={sidebar_position:30},a="\u8bbe\u7f6e\u65e5\u5fd7\u5217\u522b\u540d (LCC.set_log_aliases)",i={},c=[{value:"\u58f0\u660e",id:"\u58f0\u660e",level:2},{value:"\u53c2\u6570",id:"\u53c2\u6570",level:2},{value:"\u8fd4\u56de\u503c",id:"\u8fd4\u56de\u503c",level:2},{value:"\u8bf4\u660e",id:"\u8bf4\u660e",level:2},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",level:2}];function d(e){const n={blockquote:"blockquote",br:"br",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",ul:"ul",...(0,t.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"\u8bbe\u7f6e\u65e5\u5fd7\u5217\u522b\u540d-lccset_log_aliases",children:"\u8bbe\u7f6e\u65e5\u5fd7\u5217\u522b\u540d (LCC.set_log_aliases)"})}),"\n",(0,o.jsx)(n.h2,{id:"\u58f0\u660e",children:"\u58f0\u660e"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-lua",children:"LCC.set_log_aliases(aliases)\n"})}),"\n",(0,o.jsx)(n.h2,{id:"\u53c2\u6570",children:"\u53c2\u6570"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["aliases",(0,o.jsx)(n.br,{}),"\n","\u8868\u7c7b\u578b\uff0c\u6309\u987a\u5e8f\u63d0\u4f9b 1~6 \u53f7\u65e5\u5fd7\u5217\u7684\u522b\u540d\u6587\u672c"]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"\u8fd4\u56de\u503c",children:"\u8fd4\u56de\u503c"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:"\u65e0"}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"\u8bf4\u660e",children:"\u8bf4\u660e"}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsxs)(n.p,{children:["\u5c06\u65e5\u5fd7\u5217\u522b\u540d\u5199\u5165\u914d\u7f6e\uff0c\u7528\u4e8e\u4e2d\u63a7\u524d\u7aef\u5c55\u793a\u548c ",(0,o.jsx)(n.code,{children:"LCC.log"})," \u7684\u5b57\u5178\u5199\u6cd5\u3002",(0,o.jsx)(n.br,{}),"\n","\u4f20\u5165\u7684\u6570\u7ec4\u4f1a\u8f6c\u6362\u4e3a ",(0,o.jsx)(n.code,{children:"{ log1 = aliases[1], ... }"})," \u5e76\u6301\u4e45\u5316\u3002",(0,o.jsx)(n.br,{}),"\n","\u4ec5\u652f\u6301 6 \u4e2a\u901a\u9053\uff0c\u8d85\u51fa\u90e8\u5206\u4f1a\u88ab\u5ffd\u7565\u3002"]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"\u793a\u4f8b",children:"\u793a\u4f8b"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-lua",children:'LCC.set_log_aliases({\n    "\u72b6\u6001", "\u8fdb\u5ea6", "\u9519\u8bef", "\u8c03\u8bd5", "\u4fdd\u75591", "\u4fdd\u75592"\n})\n'})})]})}function u(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},8453:(e,n,s)=>{s.d(n,{R:()=>r,x:()=>a});var l=s(6540);const o={},t=l.createContext(o);function r(e){const n=l.useContext(t);return l.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),l.createElement(t.Provider,{value:n},e.children)}}}]);