PSScriptlogging
1.10.1.1
This module can help you create logging in your scripts. You can follow along live, which makes it easy to see what is happening. It also records which user runs the script, which line of the script is executed and the time. So if something goes wrong, it s easy to find out what went wrong.
When you want to add something to the log, you write write-log "what needs
When you want to add something to the log, you write write-log "what needs
This module can help you create logging in your scripts. You can follow along live, which makes it easy to see what is happening. It also records which user runs the script, which line of the script is executed and the time. So if something goes wrong, it s easy to find out what went wrong.
When you want to add something to the log, you write write-log "what needs to happen or what happens" and it is added to the log file. By default, it automatically sets 1 after "Text", but if you want to draw attention to something, you can write 2 numbers and the error text will turn yellow. If you write a number 3, the text turns red, it is only used in case of error.
Show more
When you want to add something to the log, you write write-log "what needs to happen or what happens" and it is added to the log file. By default, it automatically sets 1 after "Text", but if you want to draw attention to something, you can write 2 numbers and the error text will turn yellow. If you write a number 3, the text turns red, it is only used in case of error.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2024 Benni Ladevig Pedersen. All rights reserved.
Package Details
Author(s)
- Benni Ladevig Pedersen
Tags
Logging Logger Logs ScriptLog Scripting
Functions
Dependencies
This module has no dependencies.
Release Notes
v1.10.1.0
- Full Version
v1.10.1.1
- Bug Fix
FileList
- PSScriptlogging.nuspec
- PSScriptlogging.psd1
- PSScriptlogging.psm1
- README.md
- Function\Start-Log.ps1
- Function\Write-Log.ps1
- LICENSE.txt
Version History
Version | Downloads | Last updated |
---|---|---|
1.10.1.1 (current version) | 20 | 6/10/2024 |
1.10.1.0 | 4 | 6/10/2024 |