{"id":419091,"date":"2021-03-22T17:34:52","date_gmt":"2021-03-22T09:34:52","guid":{"rendered":"http:\/\/4563.org\/?p=419091"},"modified":"2021-03-22T17:34:52","modified_gmt":"2021-03-22T09:34:52","slug":"%e4%b8%80%e4%b8%aa%e5%9f%ba%e4%ba%8e-tcp-%e7%9a%84%e6%97%a5%e5%bf%97%e6%9c%8d%e5%8a%a1%e5%b7%a5%e5%85%b7%ef%bc%8c%e7%9b%b8%e5%bd%93%e4%ba%8e%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%89%88%e6%9c%ac%e7%9a%84-nslog","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=419091","title":{"rendered":"\u4e00\u4e2a\u57fa\u4e8e TCP \u7684\u65e5\u5fd7\u670d\u52a1\u5de5\u5177\uff0c\u76f8\u5f53\u4e8e\u547d\u4ee4\u884c\u7248\u672c\u7684 NSLogger"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u4e00\u4e2a\u57fa\u4e8e TCP \u7684\u65e5\u5fd7\u670d\u52a1\u5de5\u5177\uff0c\u76f8\u5f53\u4e8e\u547d\u4ee4\u884c\u7248\u672c\u7684 NSLogger               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xingheng <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u521d\u8877\u662f\u4e3a\u4e86\u8ba9\u591a\u4e2a\u8bbe\u5907\u7684 log \u90fd\u5728\u4e00\u4e2a\u7a97\u53e3\u663e\u793a\uff0c\u5bf9\u6bd4\u7ed3\u679c\u8fdb\u884c\u6d4b\u8bd5\u7528\u3002\u540e\u6765\u52a0\u5165\u7684\u989c\u8272\u652f\u6301\uff0c\u914d\u7f6e\u6587\u4ef6\uff0c\u63a7\u5236 log level \u3002\u63a5\u4e0b\u6765\u8ba1\u5212\u652f\u6301 pipe \u5230\u81ea\u5b9a\u4e49\u811a\u672c\u7b49\u7b49\u3002<\/p>\n<p>\u548c NSLogger \u7684\u4e3b\u8981\u533a\u522b\u4e5f\u4f1a\u662f pipe\uff0c\u5f88\u591a\u597d\u73a9\u7684\u60f3\u6cd5\u8fd8\u5728\u63a2\u7d22\u4e2d\u3002<\/p>\n<p>https:\/\/github.com\/CLILogger\/CLILogger<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5592923\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lfzyx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             filebeat \u5982\u4f55<br \/>fluentd \u5982\u4f55                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5592924\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : binbinyouliiii <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3a\u4ec0\u4e48\u770b\u4f60\u5934\u50cf\u6709\u79cd USB \u53e3\u7684\u9519\u89c9                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5592925\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : xingheng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lfzyx \u9488\u5bf9\u6027\u4e0d\u540c\uff0cCLILogger \u53ea\u662f\u4e00\u4e2a\u4e3a iOS\/macOS \u8bbe\u8ba1\u7684\u9ad8\u6548\u65e5\u5fd7\u8f6c\u53d1\u5de5\u5177\uff0c\u8ba9 macOS \u4e0a\u7684\u5f00\u53d1\u4e0d\u5728\u5c40\u9650\u4e8e Xcode console\uff0c\u628a\u65e5\u5fd7\u8f6c\u53d1\u5230 macOS \u4e0a\u4e4b\u540e\u5c31\u53ef\u4ee5\u5355\u72ec\u505a\u5f88\u591a\u6269\u5c55\u6027\u7684\u5de5\u4f5c\u4e86\uff0c\u5305\u62ec\u518d\u8f6c\u53d1\u5230 filebeat \u7b49\u7b49                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5592926\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : xingheng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @binbinyouliiii \u533f\u4e86\uff0c\u4ee5\u540e\u90fd\u968f\u673a\u5934\u50cf\u548c\u7528\u6237\u540d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5592927\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xuanbg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7b80\u5355\u4e00\u5957 efk \u641e\u5b9a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4e2a\u57fa\u4e8e TCP \u7684\u65e5\u5fd7\u670d\u52a1\u5de5\u5177\uff0c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/419091"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=419091"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/419091\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=419091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=419091"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=419091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}