{"id":7147,"date":"2013-03-16T14:05:37","date_gmt":"2013-03-16T19:05:37","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=7147"},"modified":"2013-03-16T14:05:40","modified_gmt":"2013-03-16T19:05:40","slug":"console-messages-with-keys-and-hashtags","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2013\/03\/16\/console-messages-with-keys-and-hashtags\/","title":{"rendered":"Console Messages With Keys and Hashtags"},"content":{"rendered":"<p><a href=\"http:\/\/developer.apple.com\/library\/mac\/documentation\/MacOSX\/Conceptual\/BPSystemStartup\/Chapters\/LoggingErrorsAndWarnings.html\">Apple<\/a> (via <a href=\"https:\/\/twitter.com\/boredzo\/status\/312649498885255169\">Peter Hosey<\/a>):<\/p>\n<blockquote cite=\"http:\/\/developer.apple.com\/library\/mac\/documentation\/MacOSX\/Conceptual\/BPSystemStartup\/Chapters\/LoggingErrorsAndWarnings.html\"><p>You are also encouraged to include hashtags in your log messages, regardless of what API you use. A hashtag is composed of a hash (#) symbol, followed by at least four non-whitespace characters, terminated by whitespace or the end of the message. Hashtags may not begin with a number. Additionally, any custom ASL key that begins with a hash is treated as a hashtag. The Console application and the logging APIs understand hashtags on OS X v10.6 and later.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Apple (via Peter Hosey): You are also encouraged to include hashtags in your log messages, regardless of what API you use. A hashtag is composed of a hash (#) symbol, followed by at least four non-whitespace characters, terminated by whitespace or the end of the message. Hashtags may not begin with a number. Additionally, any [&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":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","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":[4],"tags":[384,30,71],"class_list":["post-7147","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-console","tag-mac","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7147","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=7147"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7147\/revisions"}],"predecessor-version":[{"id":7148,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7147\/revisions\/7148"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=7147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=7147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=7147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}