PSLogs

5.2.1

Powershell Logging Module. Support multiple logging targets, including console, file, sqlite, winevent, gelf, slack etc.

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name PSLogs

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

Install-PSResource -Name PSLogs

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) Hannes Palmquist. All rights reserved.

Package Details

Author(s)

  • Hannes Palmquist

Tags

Windows Linux MacOS

Functions

Add-LoggingLevel Add-LoggingTarget Get-LoggingAvailableTarget Get-LoggingCallerScope Get-LoggingDefaultFormat Get-LoggingDefaultLevel Get-LoggingTarget Set-LoggingCallerScope Set-LoggingCustomTarget Set-LoggingDefaultFormat Set-LoggingDefaultLevel Wait-Logging Write-Log

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

## [5.2.1] - 2024-03-13

### Fixed

- When logging to email, body will now preserve formatting of the json object in the final message. Previously the json was concatinated into one single line and no linefeeds/carrage returns were kept. Indentation with space is now also perserved in the mail message.

FileList

Version History

Version Downloads Last updated
5.2.1 (current version) 223 3/13/2024
5.2.1-previe... 4 3/13/2024
5.2.1-previe... 4 3/13/2024
5.2.0 3,663 2/16/2024
5.2.0-previe... 4 2/16/2024
5.1.1-previe... 4 2/16/2024
5.1.0 4,503 9/11/2023
5.1.0-previe... 4 9/11/2023
5.0.4-previe... 4 9/11/2023
5.0.3 41 9/7/2023
5.0.2 6 9/7/2023
5.0.2-previe... 4 9/5/2023
5.0.1 17 9/4/2023
3.0.0-previe... 4 9/4/2023
Show more