PSWriteColor
PSWriteColor copied to clipboard
Improvment
Hi Great Module ! I'm thinking if it's possible when we're enabling logging to :
-
generate a log file formated like a .csv. Of course, we should be able to choose the separator (comma is not always the best separator)
-
You might even consider having additional information : Category (Inf - War, Error)
A single Cmdlet for a pretty console display and a file output that can be used easily later.
There is a module called Ezlog (https://github.com/apetitjean/ezlog), which already does it, but it doesn't have the facilities that Write-Color for console display with several colors in the same text block.
I guess this could be added, feel free to open PR for it.