ScriptLog
0.4.0
A module providing consistent and rich logging for your PowerShell scripts.
Installation Options
Owners
Copyright
(c) Kaare Overgaard. All rights reserved.
Package Details
Author(s)
- Kaare Overgaard
Tags
Module Log Logging Windows AzureAutomation Azure Automation Runbook
Functions
Get-ScriptLog New-ScriptLog Out-ScriptLog Remove-ScriptLog
Dependencies
This module has no dependencies.
Release Notes
## [0.4.0] - 2023-08-20
### Added
- New function Remove-ScriptLog added, to allow for removing active logs during a session. This only removes the log object from memory, any files remains on disk.
- Logs can now be given a name upon creation, to make it easier to distinguish between them when using multiple logs. In the future, this will be the only way to target a specific log.
### Changed
- The parameter AppendDateTime in function New-ScriptLog is now a switch instead of a boolean.
- Internal test quality improved.
### Deprecated
- Over time, it has been found that manipulating the ScriptLog objects directly have some unforeseen side effects. Due to this, functions will be changed so that the new Name attribute can be used to target a specific log. For now, logs can still be accessed by passing the ScriptLog object. At some future release, the New-ScriptLog and Get-ScriptLog functions will stop returning the actual object, but instead return a new customobject containing the log properties.
### Fixed
- It is no longer possible to have two ScrtipLogs using the same file.
FileList
- ScriptLog.nuspec
- ScriptLog.psd1
- ScriptLog.psm1
- en-US\about_ScriptLog.help.txt
Version History
Version | Downloads | Last updated |
---|---|---|
0.4.0 (current version) | 2,575 | 8/20/2023 |
0.3.1 | 59 | 7/14/2022 |
0.3.0 | 11 | 7/14/2022 |
0.2.0 | 13 | 7/13/2022 |
0.2.0-previe... | 10 | 7/13/2022 |
0.2.0-previe... | 10 | 7/13/2022 |
0.2.0-previe... | 11 | 7/12/2022 |
0.2.0-previe... | 10 | 7/12/2022 |
0.2.0-previe... | 10 | 7/12/2022 |
0.2.0-previe... | 11 | 7/12/2022 |