{"id":472,"date":"2018-09-13T11:29:57","date_gmt":"2018-09-13T18:29:57","guid":{"rendered":"http:\/\/dragonwarz.net\/?p=472"},"modified":"2018-09-13T11:29:57","modified_gmt":"2018-09-13T18:29:57","slug":"logging-first-test-apps-later","status":"publish","type":"post","link":"https:\/\/dragonwarz.net\/?p=472","title":{"rendered":"Logging first, test apps later"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Since I have been replacing the logger in my app away from my home grown one, it&#8217;s looking like it will function WAY better between different py files then mine.\u00a0 I was doing some crazy return messages from other py files to the main, where the log was kept.\u00a0 I realized this was not sustainable pretty darn quick, and only had a few function use it outside the primary py file.\u00a0 Now with the built in Python logger, I think I can get a lot of good info delivered for troubleshooting purposes.\u00a0\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since I want to get started on creating new abilities and function, I&#8217;m going to do the logging overhaul now, and then continue functionality development.\u00a0 I&#8217;ll delay implementing the test programs, to space out the &#8220;boring&#8221; work.\u00a0 This should aid in keeping Motivation higher.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Chances are, because I&#8217;m using this project to learn how to program initially, I would end up creating and tearing down the test programs every time I learn better ways of doing things.\u00a0 So I think logging is a better way to go for now, until I have more firm foundation of creating stable classes and functions&#8230;. of which I have not actually created any class yet, pretty much using separate py files as a &#8220;class&#8221; (mimic the organization of\u00a0 class).\u00a0 AKA I still have to read up on python classes to see when and why to implement them vs a new py file.\u00a0\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Work and Family matters have picked up recently, so I have less time to work on the program, but I&#8217;m trying to at least poke at it once a day (the program itself or learning about programing).\u00a0 I&#8217;m also still figuring out PyCharm and Git both of which I&#8217;m liking more and more.\u00a0\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since I have been replacing the logger in my app away from my home grown one, it&#8217;s looking like it will function WAY better between different py files then mine.\u00a0 I was doing some crazy return messages from other py &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/dragonwarz.net\/?p=472\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-472","post","type-post","status-publish","format-standard","hentry","category-random"],"_links":{"self":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=472"}],"version-history":[{"count":1,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/472\/revisions"}],"predecessor-version":[{"id":473,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/472\/revisions\/473"}],"wp:attachment":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}