{"id":6478,"date":"2024-11-09T11:06:35","date_gmt":"2024-11-09T10:06:35","guid":{"rendered":"https:\/\/www.pschatzmann.ch\/home\/?p=6478"},"modified":"2024-11-09T11:07:58","modified_gmt":"2024-11-09T10:07:58","slug":"arduino-audiotools-logging-on-stereoids","status":"publish","type":"post","link":"https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/","title":{"rendered":"Arduino AudioTools: Logging on Stereoids"},"content":{"rendered":"<p>The Readme from the <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\">AudioTools<\/a> project describes how to use the logger:<\/p>\n<pre><code>AudioToolsLogger.begin(Serial, AudioToolsLogLevel::Debug);\n<\/code><\/pre>\n<p>You can log to any object that is a <strong>subclass of Print<\/strong> and valid log level values are: Debug, Info, Warning, Error.<\/p>\n<p>But only few peaple realize the power behind this!<\/p>\n<p>So let me give you a couple of <strong>ideas<\/strong>:<\/p>\n<ul>\n<li>you can log to a <strong>file<\/strong><\/li>\n<li>you can use any other standard Arduino class that inherits from Print like <strong>Wire, Ethernet, Bluetooth Serial<\/strong><\/li>\n<li>you can use the <strong>MultiOutput<\/strong> from this library to send the logging output to multiple destinations<\/li>\n<li>you can use the <strong>communcation classes<\/strong> of this library to distribute the logging info wirelessly<\/li>\n<\/ul>\n<p>I hope that I could give you some instpiration what you can do with this&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Readme from the AudioTools project describes how to use the logger: AudioToolsLogger.begin(Serial, AudioToolsLogLevel::Debug); You can log to any object that is a subclass of Print and valid log level values are: Debug, Info, Warning, Error. But only few peaple realize the power behind this! So let me give you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[20,22],"tags":[],"class_list":["post-6478","post","type-post","status-publish","format-standard","hentry","category-arduino","category-machine-sound"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Arduino AudioTools: Logging on Stereoids - Phil Schatzmann<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Arduino AudioTools: Logging on Stereoids - Phil Schatzmann\" \/>\n<meta property=\"og:description\" content=\"The Readme from the AudioTools project describes how to use the logger: AudioToolsLogger.begin(Serial, AudioToolsLogLevel::Debug); You can log to any object that is a subclass of Print and valid log level values are: Debug, Info, Warning, Error. But only few peaple realize the power behind this! So let me give you [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/\" \/>\n<meta property=\"og:site_name\" content=\"Phil Schatzmann\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-09T10:06:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-09T10:07:58+00:00\" \/>\n<meta name=\"author\" content=\"pschatzmann\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pschatzmann\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2024\\\/11\\\/09\\\/arduino-audiotools-logging-on-stereoids\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2024\\\/11\\\/09\\\/arduino-audiotools-logging-on-stereoids\\\/\"},\"author\":{\"name\":\"pschatzmann\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"headline\":\"Arduino AudioTools: Logging on Stereoids\",\"datePublished\":\"2024-11-09T10:06:35+00:00\",\"dateModified\":\"2024-11-09T10:07:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2024\\\/11\\\/09\\\/arduino-audiotools-logging-on-stereoids\\\/\"},\"wordCount\":126,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"articleSection\":[\"Arduino\",\"Machine Sound\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2024\\\/11\\\/09\\\/arduino-audiotools-logging-on-stereoids\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2024\\\/11\\\/09\\\/arduino-audiotools-logging-on-stereoids\\\/\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2024\\\/11\\\/09\\\/arduino-audiotools-logging-on-stereoids\\\/\",\"name\":\"Arduino AudioTools: Logging on Stereoids - Phil Schatzmann\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\"},\"datePublished\":\"2024-11-09T10:06:35+00:00\",\"dateModified\":\"2024-11-09T10:07:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2024\\\/11\\\/09\\\/arduino-audiotools-logging-on-stereoids\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2024\\\/11\\\/09\\\/arduino-audiotools-logging-on-stereoids\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2024\\\/11\\\/09\\\/arduino-audiotools-logging-on-stereoids\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Arduino AudioTools: Logging on Stereoids\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\",\"name\":\"Phil Schatzmann Consulting\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\",\"name\":\"pschatzmann\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"width\":305,\"height\":305,\"caption\":\"pschatzmann\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Arduino AudioTools: Logging on Stereoids - Phil Schatzmann","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/","og_locale":"en_US","og_type":"article","og_title":"Arduino AudioTools: Logging on Stereoids - Phil Schatzmann","og_description":"The Readme from the AudioTools project describes how to use the logger: AudioToolsLogger.begin(Serial, AudioToolsLogLevel::Debug); You can log to any object that is a subclass of Print and valid log level values are: Debug, Info, Warning, Error. But only few peaple realize the power behind this! So let me give you [&hellip;]","og_url":"https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/","og_site_name":"Phil Schatzmann","article_published_time":"2024-11-09T10:06:35+00:00","article_modified_time":"2024-11-09T10:07:58+00:00","author":"pschatzmann","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pschatzmann","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/#article","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/"},"author":{"name":"pschatzmann","@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"headline":"Arduino AudioTools: Logging on Stereoids","datePublished":"2024-11-09T10:06:35+00:00","dateModified":"2024-11-09T10:07:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/"},"wordCount":126,"commentCount":1,"publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"articleSection":["Arduino","Machine Sound"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/","url":"https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/","name":"Arduino AudioTools: Logging on Stereoids - Phil Schatzmann","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#website"},"datePublished":"2024-11-09T10:06:35+00:00","dateModified":"2024-11-09T10:07:58+00:00","breadcrumb":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pschatzmann.ch\/home\/2024\/11\/09\/arduino-audiotools-logging-on-stereoids\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pschatzmann.ch\/home\/"},{"@type":"ListItem","position":2,"name":"Arduino AudioTools: Logging on Stereoids"}]},{"@type":"WebSite","@id":"https:\/\/www.pschatzmann.ch\/home\/#website","url":"https:\/\/www.pschatzmann.ch\/home\/","name":"Phil Schatzmann Consulting","description":"","publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pschatzmann.ch\/home\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1","name":"pschatzmann","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","width":305,"height":305,"caption":"pschatzmann"},"logo":{"@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/6478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/comments?post=6478"}],"version-history":[{"count":4,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/6478\/revisions"}],"predecessor-version":[{"id":6482,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/6478\/revisions\/6482"}],"wp:attachment":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media?parent=6478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/categories?post=6478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/tags?post=6478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}