EZLog
EZLog copied to clipboard
Support for EventLog entry
Could be nice to have an entry added in the eventlog if a specific Parameter is used
Write-EZlog -message "END" -Category INF -EventLog -eventID 1200
I'm not sure to understand correctly what you need. Could you please elaborate?
IMO, it's the possibility to add the entry to eventlog as well as the possibility to add it to the console or the file.
Yep, in addition to add a new line to your log, add a entry to the EventLog. I had some case in my work where I wanted to do that. The EventLog entry would contains metadata of my context as well.
This is a suggestion.
The suggestion sounds interesting but seems be not easy to implement. Indeed in which Windows Event Log write the EZLogs event logs?
@apetitjean Application Log by default ? Make EventID and EventLog mandatory in their ParameterSetName.
This would be useful if you want a monitoring tool to capture some specific EventID