RunLog

2.0.0

Simplified PowerShell logging module with thread-safe file operations for use in PowerShell jobs and scripts.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name RunLog

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name RunLog

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2025 aaturpin. All rights reserved.

Package Details

Author(s)

  • aatur

Tags

Logging PowerShell Jobs Threading Utilities Simplified

Functions

New-RunLogger Get-LogLevel

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

Version 2.0.0:
- BREAKING: Simplified architecture - removed complex queue system
- BREAKING: Removed queue management functions (Get-RunLogQueueStats, Clear-RunLogFailedQueue, etc.)
- IMPROVED: Better cross-process thread safety using named mutex
- IMPROVED: Console fallback prevents log entry loss
- IMPROVED: Significantly reduced code complexity (~70% reduction)
- IMPROVED: Better performance for successful writes
- IMPROVED: More reliable in PowerShell jobs and multi-process scenarios
- MAINTAINED: All core logging functionality (Debug, Information, Warning, Error, Critical)
- MAINTAINED: Exception logging support
- MAINTAINED: Process and thread ID tracking
- MAINTAINED: Configurable minimum log levels

FileList

Version History

Version Downloads Last updated
2.0.0 (current version) 8 5/28/2025