{"id":347,"date":"2018-08-28T17:38:13","date_gmt":"2018-08-28T23:38:13","guid":{"rendered":"http:\/\/draith.com\/?p=347"},"modified":"2018-08-28T17:38:13","modified_gmt":"2018-08-28T23:38:13","slug":"new-powershell-module-poshmtlogging","status":"publish","type":"post","link":"https:\/\/draith.com\/?p=347","title":{"rendered":"New PowerShell Module &#8211; PoshMTLogging"},"content":{"rendered":"<p>At the end of <a href=\"http:\/\/draith.com\/?p=337\">this post<\/a>, I promised a simple module for logging that can make use a mutex and has other neat features.  Well, here it is!<\/p>\n<p>This simple module will write to a log file. This module has a couple of unique features:<\/p>\n<p> &#8211; Optional &#8216;UseMutex&#8217; switch which helps avoid resource contention so multiple threads can write to the log at the same time<br \/>\n &#8211; Entry Severity make log readers like CMTrace color code automatically<br \/>\n &#8211; Standard line entry with automatic timestamping<br \/>\n &#8211; Automatic log rolling at 5mb<\/p>\n<p><a href=\"https:\/\/github.com\/Draith6\/PoshMTLogging\">So check it out!<\/a>  Let me know what you think, and feel free to branch\/pull with any ideas!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At the end of this post, I promised a simple module for logging that can make use a mutex and has other neat features. Well, here it is! This simple module will write to a log file. This module has a couple of unique features: &#8211; Optional &#8216;UseMutex&#8217; switch which helps avoid resource contention so &hellip; <a href=\"https:\/\/draith.com\/?p=347\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;New PowerShell Module &#8211; PoshMTLogging&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-347","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/draith.com\/index.php?rest_route=\/wp\/v2\/posts\/347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draith.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draith.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draith.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/draith.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=347"}],"version-history":[{"count":0,"href":"https:\/\/draith.com\/index.php?rest_route=\/wp\/v2\/posts\/347\/revisions"}],"wp:attachment":[{"href":"https:\/\/draith.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draith.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draith.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}