PoShLog
2.1.0
PoShLog is powershell logging module.
PoShLog allows you to log structured event data into console, file and much more places easily.
It is wrapper of great C# logging library Serilog - https://serilog.net/.
For documentation check PoShLog wiki - https://github.com/PoShLog/PoShLog/wiki
Minimum PowerShell version
5.1
See the version list below for details.
Installation Options
Author(s)
Tomas Bouda
Copyright
(c) 2019 Tomas Bouda. All rights reserved.
Package Details
Owners
Tags
Log Logging Serilog File filelog logfile error-log console event serilog-sink serilog-for-powershell wrapper sinks Windows Linux MacOS
Functions
Write-DebugLog Write-ErrorLog Write-FatalLog Write-InfoLog Write-InformationLog Write-VerboseLog Write-WarningLog Close-Logger New-LevelSwitch New-Logger Set-LevelSwitch Set-Logger Set-MinimumLevel Start-Logger Add-EnrichFromLogContext Add-EnrichWithErrorRecord Add-EnrichWithProperty Get-JsonFormatter Convert-LogFunctions Add-SinkConsole Add-SinkFile Add-SinkPowerShell
PSEditions
Dependencies
This module has no dependencies.
Release Notes
https://github.com/PoShLog/PoShLog/blob/master/releaseNotes/v2.1.0.md
FileList
- PoShLog.nuspec
- PoShLog.psd1
- PoShLog.psm1
- README.md
- functions\Write-DebugLog.ps1
- functions\Write-ErrorLog.ps1
- functions\Write-FatalLog.ps1
- functions\Write-InfoLog.ps1
- functions\Write-InformationLog.ps1
- functions\Write-VerboseLog.ps1
- functions\Write-WarningLog.ps1
- functions\core\Close-Logger.ps1
- functions\core\New-LevelSwitch.ps1
- functions\core\New-Logger.ps1
- functions\core\Set-LevelSwitch.ps1
- functions\core\Set-Logger.ps1
- functions\core\Set-MinimumLevel.ps1
- functions\core\Start-Logger.ps1
- functions\enrichers\Add-EnrichFromLogContext.ps1
- functions\enrichers\Add-EnrichWithErrorRecord.ps1
- functions\enrichers\Add-EnrichWithProperty.ps1
- functions\formatters\Get-JsonFormatter.ps1
- functions\helpers\Convert-LogFunctions.ps1
- functions\internal\Add-PackageTypes.ps1
- functions\internal\Get-FormattedMessage.ps1
- functions\internal\Set-LogLevelToPreference.ps1
- functions\internal\Test-Logger.ps1
- functions\internal\Test-PsCore.ps1
- functions\internal\Write\Write-Log.ps1
- functions\internal\Write\Write-SinkPowerShell.ps1
- functions\sinks\Add-SinkConsole.ps1
- functions\sinks\Add-SinkFile.ps1
- functions\sinks\Add-SinkPowerShell.ps1
- lib\PoShLog.Core.dll
- lib\Serilog.dll
- lib\Serilog.Sinks.Console.dll
- lib\Serilog.Sinks.File.dll
- lib\System.IO.FileSystem.Primitives.dll
Version History
Version | Downloads | Last updated |
---|---|---|
2.2.0-preview1 | 463 | 8/27/2021 |
2.1.1 | 161,442 | 7/13/2020 |
2.1.0 (current version) | 51 | 7/11/2020 |
2.1.0-preview2 | 20 | 6/26/2020 |
2.1.0-preview1 | 11 | 6/22/2020 |
2.0.0 | 236 | 3/29/2020 |
2.0.0-preview2 | 14 | 3/22/2020 |
2.0.0-preview1 | 12 | 3/20/2020 |
1.0.1 | 87 | 9/16/2019 |
1.0.0 | 38 | 8/28/2019 |