We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When using the File log target, the loglevel of the message is not included in the file, but it is on the console.
To Reproduce
Set-logTargets -Console 1 -File "my.log" Write-Log "Info message" Write-Log "This is a warning" Warning Write-Log "This is a error/big problem" Error
Expected behavior Contents of my.log should contain:
my.log
Info message [Warning] This is a warning [Error] This is a error/big problem
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When using the File log target, the loglevel of the message is not included in the file, but it is on the console.
To Reproduce
Expected behavior
Contents of
my.log
should contain:The text was updated successfully, but these errors were encountered: