Logging

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Don Jones Don Jones 1 year, 1 month ago.

  • Author
    Posts
  • #32897
    Profile photo of Slade Benda
    Slade Benda
    Participant

    I have a current script that I want to add logging to. I have done basic logging before but on this one I want to output the log to a .txt file and have it record wins/losses for each day of the week Sunday-Saturday. With a column for wins and a column for losses. Wondering what the best/easiest way to do it would be.

  • #32898
    Profile photo of Don Jones
    Don Jones
    Keymaster

    You might consider editing your post and formatting your script properly (as indicated in the four bullet points above the posting textbox). it's kind of hard to follow as-is. Or, even better, add your code to a Gist (in GitHub) and simply paste the Gist URL here.

    That said, keep in mind that most folks here are using PowerShell professionally – you may need to be a little extra patient for help with something like this, even though it looks like fun ;).

You must be logged in to reply to this topic.