chocolatey-archive / chocolatey

[DEPRECATED - https://github.com/chocolatey/choco] Chocolatey NuGet - Like apt-get, but for windows.
https://chocolatey.org
Apache License 2.0
2.8k stars 344 forks source link

Route all Chocolatey logging and messages to one helper function #556

Open cwb124 opened 10 years ago

cwb124 commented 10 years ago

Rather than have the separate write-chocolateysuccess and write-chocolateyfailure scripts as well as some other functions (such as Chocolatey-Update and Chocolatey-Nuget to name a few) that all provide their own messaging and logging, it would be great to pipe all the info out of those scripts to a centralized logging function. This may make it easier to integrate into Enterprise systems.

For our enterprise implementation, I am creating a Sinatra web service to handle reporting of any Chocolatey activity that changes a system. I am working on funneling all info I need to one function so I may be able to contribute to this project if that is something you might be interested in.

ferventcoder commented 10 years ago

This is already done in the C# rewrite...