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 ability to specify log facility per-command #4

Open
leojackson opened this issue Mar 30, 2020 · 0 comments
Open

Add ability to specify log facility per-command #4

leojackson opened this issue Mar 30, 2020 · 0 comments
Assignees
Labels
feature New feature or request in progress Working on it
Milestone

Comments

@leojackson
Copy link
Owner

Currently, whether a set of commands is logged depends on the log level assigned in the module. This implies that the specified Write-* function is hierarchically connected to other Write-* functions, which isn't actually the case in PowerShell; the hierarchy is implied by the enum PsLogLiteLevel.

Ideally, the function would be able to turn logging on and off per function, so you could enable it, for example, for Write-Debug and Write-Warning but not Write-Error or Write-Output. The "Log Level" could be kept as a shortcut to turn certain functions on and off.

@leojackson leojackson added the feature New feature or request label Mar 30, 2020
@leojackson leojackson self-assigned this Mar 30, 2020
@leojackson leojackson modified the milestones: 0.1.0, 0.2.0 Apr 5, 2020
@leojackson leojackson modified the milestones: 0.2.0, 1.0.0 Aug 24, 2020
@leojackson leojackson added the in progress Working on it label Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request in progress Working on it
Projects
None yet
Development

No branches or pull requests

1 participant