{"id":21831,"date":"2018-06-15T16:20:31","date_gmt":"2018-06-15T20:20:31","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=21831"},"modified":"2019-03-06T16:20:13","modified_gmt":"2019-03-06T21:20:13","slug":"the-unified-log-in-macos-mojave-signposts-and-instruments","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2018\/06\/15\/the-unified-log-in-macos-mojave-signposts-and-instruments\/","title":{"rendered":"The Unified Log in macOS Mojave: Signposts and Instruments"},"content":{"rendered":"<p><a href=\"https:\/\/eclecticlight.co\/2018\/06\/08\/the-unified-log-in-macos-mojave-signposts-and-instruments\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2018\/06\/08\/the-unified-log-in-macos-mojave-signposts-and-instruments\/\">\n<p>Mojave is set to offer no respite or solution for the system administrator or advanced user. Console and the <code>log<\/code> command may have gained a few tweaks, but there are no signs of their being any more capable. However, Apple is introducing new features which should be very helpful to developers, particularly when optimising and tuning their products. As with WWDC 2018 as a whole, Mojave&rsquo;s log is now about &lsquo;doubling down&rsquo; on performance.<\/p>\n<p>[&#8230;]<\/p>\n<p>Signposts can have &lsquo;metadata&rsquo; attached, which are roughly comparable to the contents of a normal <strong>eventMessage<\/strong> in <code>os_log<\/code>. Signposts additionally support an <code>.event<\/code> type as well as <code>.begin<\/code> and <code>.end<\/code>.<\/p>\n<p>Points of Interest allow the developer to track where in the app a user is at a given moment, using the <strong>category<\/strong> <code>.pointsOfInterest<\/code>.<\/p>\n<p>[&#8230;]<\/p>\n<p>Apple has not stated how Signposts work with respect to the unified log.<\/p>\n<\/blockquote>\n\n<p>See also: <a href=\"https:\/\/developer.apple.com\/videos\/play\/wwdc2018\/405\/\">Measuring Performance Using Logging<\/a>.<\/p>\n\n<p>Previously: <a href=\"https:\/\/mjtsai.com\/blog\/2017\/04\/14\/macos-10-12-4-locks-console-log-away-from-normal-users\/\">macOS 10.12.4 Locks Console Log Away From Normal Users<\/a>, <a href=\"https:\/\/mjtsai.com\/blog\/2017\/03\/13\/sierra-logging-spew\/\">Sierra Logging Spew<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Howard Oakley: Mojave is set to offer no respite or solution for the system administrator or advanced user. Console and the log command may have gained a few tweaks, but there are no signs of their being any more capable. However, Apple is introducing new features which should be very helpful to developers, particularly when [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2018-06-15T20:20:33Z","apple_news_api_id":"4bbeeafe-023c-4be8-87de-210c9234d378","apple_news_api_modified_at":"2019-03-06T21:20:19Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/AS77q_gI8S-iH3iEMkjTTeA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[],"tags":[384,56,225,30,1609,138,1504,71],"class_list":["post-21831","post","type-post","status-publish","format-standard","hentry","tag-console","tag-debugging","tag-instruments","tag-mac","tag-macos-10-14","tag-optimization","tag-os_log","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/21831","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=21831"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/21831\/revisions"}],"predecessor-version":[{"id":21832,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/21831\/revisions\/21832"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=21831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=21831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=21831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}