Action.Logging
2.0.1
Enhanced PowerShell logging module with async support. Provides severity-based logging with automatic file management, color-coded console output, and high-performance asynchronous logging capabilities for PowerShell scripts and automation.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2025 Gonzalo More. Licensed under MIT License.
Package Details
Author(s)
- Gonzalo More
Tags
Logging PowerShell Automation Async Console FileManagement
Functions
Write-EnhancedLog Clear-OldLog Start-AsyncLogger Stop-AsyncLogger Write-EnhancedLogAsync Set-LoggingConsoleOutput Set-LoggingFileOutput Set-LogRetention Set-LogScriptName Set-LogPath Get-LoggingStatus
PSEditions
Dependencies
This module has no dependencies.
Release Notes
Version 2.0.1: Critical bug fixes - Fixed async console color mapping (colors now work correctly), fixed sync current log file tracking (Get-LoggingStatus now shows current file), fixed SyncHash cleanup (properly nulled after Stop-AsyncLogger). All 101 tests pass. No breaking changes. Version 2.0.0: Major reliability and validation improvements - Enhanced all internal functions with comprehensive error handling and defensive programming. Strengthened Initialize-LogPath with path validation, permission checks, and Windows path length limits. Added robust validation to Format-LogMessage and improved call stack analysis in Initialize-EffectiveScriptName.
FileList
- Action.Logging.nuspec
- LICENSE
- README.md
- Action.Logging.psd1
- Action.Logging.psm1
Version History
Version | Downloads | Last updated |
---|---|---|
2.4.0 | 143 | 8/31/2025 |
2.2.3 | 63 | 8/31/2025 |
2.2.2 | 6 | 8/31/2025 |
2.2.1 | 6 | 8/31/2025 |
2.2.0 | 12 | 8/31/2025 |
2.0.2 | 10 | 8/31/2025 |
2.0.1 (current version) | 14 | 8/31/2025 |
1.9.2 | 8 | 8/30/2025 |
1.5.2 | 8 | 8/30/2025 |
1.5.1 | 6 | 8/30/2025 |
1.5.0 | 8 | 8/30/2025 |
1.4.0 | 20 | 8/28/2025 |
1.2.1 | 7 | 8/19/2025 |
1.2.0 | 5 | 8/19/2025 |
1.0.1 | 6 | 8/18/2025 |
1.0.0 | 8 | 8/18/2025 |