{"id":2448,"date":"2015-05-14T11:25:42","date_gmt":"2015-05-14T03:25:42","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=2448"},"modified":"2015-05-14T13:41:03","modified_gmt":"2015-05-14T05:41:03","slug":"qlog-%e6%9b%b4%e6%96%b0-%e6%96%b0%e5%a2%9e%e5%a4%9a%e5%b9%b3%e5%8f%b0%e6%8e%a7%e5%88%b6%e5%8f%b0%e6%97%a5%e5%bf%97%e8%be%93%e5%87%ba%e6%94%af%e6%8c%81","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=2448","title":{"rendered":"QLog \u66f4\u65b0 &#8211; \u65b0\u589e\u591a\u5e73\u53f0\u63a7\u5236\u53f0\u65e5\u5fd7\u8f93\u51fa\u652f\u6301"},"content":{"rendered":"<h4>\u3010\u66f4\u65b0\u8bf4\u660e\u3011<\/h4>\n<p>+ \u65b0\u589e Logs.Mode \u5c5e\u6027\u6765\u786e\u5b9a\u65e5\u5fd7\u662f\u8981\u540c\u6b65\uff08 lmSync \uff09\u8fd8\u662f\u5f02\u6b65\uff08 lmAsyn \uff09\u8bb0\u5f55\uff0c\u5bf9\u4e8e\u540c\u6b65\u8bb0\u5f55\u7684\u65e5\u5fd7\uff0c\u5728 PostLog \u540e\uff0c\u53ea\u6709\u5728\u65e5\u5fd7\u5199\u5165\u5b8c\u6210\u540e\u624d\u4f1a\u8fd4\u56de\uff0c\u8fd9\u4f1a\u5f71\u54cd\u7a0b\u5e8f\u7684\u6267\u884c\u6548\u7387\uff0c\u4f18\u70b9\u7a0b\u5e8f\u4e00\u65e6\u51fa\u9519\uff0c\u65e5\u5fd7\u5df2\u7ecf\u8f93\u51fa\uff0c\u53ef\u80fd\u7acb\u5373\u67e5\u770b\u3002\u9ed8\u8ba4\u6a21\u5f0f\u4e3a lmAsyn\uff0c\u5373\u5f02\u6b65\u6a21\u5f0f\u3002<\/p>\n<p>+ \u65b0\u589e SetDefaultLogFile \u51fd\u6570\u6765\u8bbe\u7f6e\u9ed8\u8ba4\u7684\u65e5\u5fd7\u8bb0\u5f55\u6587\u4ef6\u540d\u53ca\u914d\u7f6e\uff0c\u539f\u6765\u7684\u6761\u4ef6\u7f16\u8bd1\u9009\u9879\u00a0QLOG_CREATE_DEFAULT_WRITER \u548c RENAME_HISTORY \u540c\u65f6\u88ab\u5e9f\u5f03<\/p>\n<p>* TQLogConsoleWriter \u65b0\u589e\u5bf9Android\u3001IOS \u548c OSX \u7684\u652f\u6301\u3002TQLogConsoleWriter \u7684\u65e5\u5fd7\u6839\u636e\u4e0d\u540c\u7684\u5e73\u53f0\uff0c\u9700\u8981\u4e0d\u540c\u7684\u65b9\u5f0f\u8fdb\u884c\u67e5\u770b\uff1a<\/p>\n<ul>\n<li>Windows \u5e73\u53f0\u652f\u6301\u901a\u8fc7 IDE \u7684 EventLog \u7a97\u53e3\u5c31\u53ef\u4ee5\u67e5\u770b\uff1b<\/li>\n<li>Android \u5e94\u7528\u53ef\u4ee5\u7528 Android Device Monitor \u67e5\u770b\uff0c\u4e5f\u53ef\u4ee5\u7528 adb logcat \u6765\u67e5\u770b\u65e5\u5fd7\u5185\u5bb9\uff0c\u4e0d\u8fc7\u5982\u679c\u65e5\u5fd7\u5185\u5bb9\u662f\u4e2d\u6587\u7684\u8bdd\uff0c\u4f7f\u7528 adb logcat \u53ef\u80fd\u4f1a\u51fa\u73b0\u4e71\u7801\uff1b<\/li>\n<\/ul>\n<p><a href=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2015\/05\/qlogresult.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-2452\" src=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2015\/05\/qlogresult-1024x369.jpg\" alt=\"qlogresult\" width=\"1024\" height=\"369\" srcset=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2015\/05\/qlogresult-1024x369.jpg 1024w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2015\/05\/qlogresult-300x108.jpg 300w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2015\/05\/qlogresult.jpg 1103w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<ul>\n<li>\u5728 IOS \u5e94\u7528\u4e2d\uff0c\u901a\u8fc7 xcode \u4e2d\u7684\u00a0Organizer \u627e\u5230\u8bbe\u5907\u5bf9\u5e94\u7684 Console \u5c31\u53ef\u4ee5\u67e5\u770b\uff1b<\/li>\n<li>\u5728 OSX \u5e94\u7528\u4e2d\uff0c\u5b83\u4f1a\u8f93\u51fa\u5230\u63a7\u5236\u53f0\uff0c\u901a\u8fc7\u63a7\u5236\u53f0\u76f4\u63a5\u67e5\u770b<\/li>\n<\/ul>\n<h4>\u3010\u66f4\u65b0\u7ea7\u522b\u3011<\/h4>\n<p>\u53ef\u9009<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u66f4\u65b0\u8bf4\u660e\u3011 + \u65b0\u589e Logs.Mod [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[145,69,8,9,135],"tags":[],"class_list":["post-2448","post","type-post","status-publish","format-standard","hentry","category-android","category-c-builder","category-delphi","category-qdac","category-qlog"],"views":5292,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/2448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2448"}],"version-history":[{"count":5,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/2448\/revisions"}],"predecessor-version":[{"id":2454,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/2448\/revisions\/2454"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}