Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Event Viewer support for Logging #723

Closed
Badgerati opened this issue Mar 27, 2021 · 0 comments · Fixed by #725
Closed

Add Event Viewer support for Logging #723

Badgerati opened this issue Mar 27, 2021 · 0 comments · Fixed by #725
Assignees
Milestone

Comments

@Badgerati
Copy link
Owner

Describe the Feature

Add inbuilt support, on Windows, for logging to the Event Viewer. This should be for any kind of logs, which should be logged as Informational, but for Error logs the log level can be parsed to the Event Viewer's Error/Warning/Informational levels.

Example:

New-PodeLoggingMethod -EventViewer | Enable-PodeErrorLogging

You can customise the -EventLogName, -Source and -EventID on New-PodeLoggingMethod. The defaults are Application, Pode and 0 respectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant