PoShLog
3.0.0-preview1
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
7.0
Installation Options
Owners
Copyright
(c) 2019 Tomas Bouda. All rights reserved.
Package Details
Author(s)
- Tomas Bouda
Tags
Log Logging Serilog File filelog logfile error-log console event serilog-sink serilog-for-powershell wrapper sinks Windows Linux MacOS
Cmdlets
Write-DebugLog Write-ErrorLog Write-FatalLog Write-InfoLog Write-InformationLog Write-VerboseLog Write-WarningLog Close-Logger Get-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 Add-SinkLogger Get-CurrentLogFiles Set-DefaultMessageFormatter Enable-SelfLog Disable-SelfLog
PSEditions
Dependencies
This module has no dependencies.
Release Notes
FileList
- PoShLog.nuspec
- lib\Serilog.dll
- lib\ref\Microsoft.Win32.Primitives.dll
- lib\ref\System.Collections.Concurrent.dll
- lib\ref\System.ComponentModel.DataAnnotations.dll
- lib\ref\System.Console.dll
- lib\ref\System.Diagnostics.Debug.dll
- lib\ref\System.Diagnostics.Tools.dll
- lib\ref\System.Dynamic.Runtime.dll
- lib\ref\System.IO.Compression.Brotli.dll
- lib\ref\System.IO.FileSystem.dll
- lib\ref\System.IO.Pipes.AccessControl.dll
- lib\ref\System.Linq.Queryable.dll
- lib\ref\System.Net.Mail.dll
- lib\ref\System.Net.Requests.dll
- lib\ref\System.Net.WebProxy.dll
- lib\ref\System.Reflection.DispatchProxy.dll
- lib\ref\System.Reflection.Metadata.dll
- lib\ref\System.Runtime.CompilerServices.Unsafe.dll
- lib\ref\System.Runtime.InteropServices.JavaScript.dll
- lib\ref\System.Runtime.Serialization.Formatters.dll
- lib\ref\System.Security.Cryptography.Algorithms.dll
- lib\ref\System.Security.Cryptography.Primitives.dll
- lib\ref\System.ServiceModel.Web.dll
- lib\ref\System.Text.Json.dll
- lib\ref\System.Threading.Tasks.dll
- lib\ref\System.Transactions.dll
- lib\ref\System.Xml.dll
- lib\ref\System.Xml.XmlSerializer.dll
- lib\runtimes\unix\lib\net8.0\Modules\Microsoft.PowerShell.Security\Microsoft.PowerShell.Security.psd1
- lib\runtimes\win\lib\net8.0\Modules\Microsoft.PowerShell.Diagnostics\Microsoft.PowerShell.Diagnostics.psd1
- lib\runtimes\win\lib\net8.0\Modules\Microsoft.PowerShell.Utility\Microsoft.PowerShell.Utility.psd1
- PoShLog.psd1
- lib\Serilog.Sinks.Console.dll
- lib\ref\Microsoft.Win32.Registry.dll
- lib\ref\System.Collections.dll
- lib\ref\System.ComponentModel.dll
- lib\ref\System.Core.dll
- lib\ref\System.Diagnostics.DiagnosticSource.dll
- lib\ref\System.Diagnostics.TraceSource.dll
- lib\ref\System.Formats.Asn1.dll
- lib\ref\System.IO.Compression.dll
- lib\ref\System.IO.FileSystem.DriveInfo.dll
- lib\ref\System.IO.Pipes.dll
- lib\ref\System.Memory.dll
- lib\ref\System.Net.NameResolution.dll
- lib\ref\System.Net.Security.dll
- lib\ref\System.Net.WebSockets.Client.dll
- lib\ref\System.Reflection.dll
- lib\ref\System.Reflection.Primitives.dll
- lib\ref\System.Runtime.CompilerServices.VisualC.dll
- lib\ref\System.Runtime.InteropServices.RuntimeInformation.dll
- lib\ref\System.Runtime.Serialization.Json.dll
- lib\ref\System.Security.Cryptography.Cng.dll
- lib\ref\System.Security.Cryptography.X509Certificates.dll
- lib\ref\System.ServiceProcess.dll
- lib\ref\System.Text.RegularExpressions.dll
- lib\ref\System.Threading.Tasks.Extensions.dll
- lib\ref\System.Transactions.Local.dll
- lib\ref\System.Xml.Linq.dll
- lib\ref\System.Xml.XPath.dll
- lib\runtimes\unix\lib\net8.0\Modules\Microsoft.PowerShell.Utility\Microsoft.PowerShell.Utility.psd1
- lib\runtimes\win\lib\net8.0\Modules\Microsoft.PowerShell.Host\Microsoft.PowerShell.Host.psd1
- lib\runtimes\win\lib\net8.0\Modules\Microsoft.WSMan.Management\Microsoft.WSMan.Management.psd1
- README.md
- lib\Serilog.Sinks.File.dll
- lib\ref\mscorlib.dll
- lib\ref\System.Collections.Immutable.dll
- lib\ref\System.ComponentModel.EventBasedAsync.dll
- lib\ref\System.Data.Common.dll
- lib\ref\System.Diagnostics.FileVersionInfo.dll
- lib\ref\System.Diagnostics.Tracing.dll
- lib\ref\System.Formats.Tar.dll
- lib\ref\System.IO.Compression.FileSystem.dll
- lib\ref\System.IO.FileSystem.Primitives.dll
- lib\ref\System.IO.UnmanagedMemoryStream.dll
- lib\ref\System.Net.dll
- lib\ref\System.Net.NetworkInformation.dll
- lib\ref\System.Net.ServicePoint.dll
- lib\ref\System.Net.WebSockets.dll
- lib\ref\System.Reflection.Emit.dll
- lib\ref\System.Reflection.TypeExtensions.dll
- lib\ref\System.Runtime.dll
- lib\ref\System.Runtime.Intrinsics.dll
- lib\ref\System.Runtime.Serialization.Primitives.dll
- lib\ref\System.Security.Cryptography.Csp.dll
- lib\ref\System.Security.dll
- lib\ref\System.Text.Encoding.CodePages.dll
- lib\ref\System.Threading.Channels.dll
- lib\ref\System.Threading.Tasks.Parallel.dll
- lib\ref\System.ValueTuple.dll
- lib\ref\System.Xml.ReaderWriter.dll
- lib\ref\System.Xml.XPath.XDocument.dll
- lib\runtimes\win\lib\net8.0\Modules\CimCmdlets\CimCmdlets.psd1
- lib\runtimes\win\lib\net8.0\Modules\Microsoft.PowerShell.Management\Microsoft.PowerShell.Management.psd1
- lib\runtimes\win\lib\net8.0\Modules\Microsoft.WSMan.Management\WSMan.format.ps1xml
- lib\PoShLog.Core.deps.json
- lib\ref\Microsoft.CSharp.dll
- lib\ref\netstandard.dll
- lib\ref\System.Collections.NonGeneric.dll
- lib\ref\System.ComponentModel.Primitives.dll
- lib\ref\System.Data.DataSetExtensions.dll
- lib\ref\System.Diagnostics.Process.dll
- lib\ref\System.dll
- lib\ref\System.Globalization.Calendars.dll
- lib\ref\System.IO.Compression.ZipFile.dll
- lib\ref\System.IO.FileSystem.Watcher.dll
- lib\ref\System.Linq.dll
- lib\ref\System.Net.Http.dll
- lib\ref\System.Net.Ping.dll
- lib\ref\System.Net.Sockets.dll
- lib\ref\System.Numerics.dll
- lib\ref\System.Reflection.Emit.ILGeneration.dll
- lib\ref\System.Resources.Reader.dll
- lib\ref\System.Runtime.Extensions.dll
- lib\ref\System.Runtime.Loader.dll
- lib\ref\System.Runtime.Serialization.Xml.dll
- lib\ref\System.Security.Cryptography.dll
- lib\ref\System.Security.Principal.dll
- lib\ref\System.Text.Encoding.dll
- lib\ref\System.Threading.dll
- lib\ref\System.Threading.Thread.dll
- lib\ref\System.Web.dll
- lib\ref\System.Xml.Serialization.dll
- lib\ref\WindowsBase.dll
- lib\runtimes\win\lib\net8.0\Modules\Microsoft.PowerShell.Diagnostics\Diagnostics.format.ps1xml
- lib\runtimes\win\lib\net8.0\Modules\Microsoft.PowerShell.Security\Microsoft.PowerShell.Security.psd1
- lib\runtimes\win\lib\net8.0\Modules\PSDiagnostics\PSDiagnostics.psd1
- lib\PoShLog.Core.dll
- lib\ref\Microsoft.VisualBasic.Core.dll
- lib\ref\System.AppContext.dll
- lib\ref\System.Collections.Specialized.dll
- lib\ref\System.ComponentModel.TypeConverter.dll
- lib\ref\System.Data.dll
- lib\ref\System.Diagnostics.StackTrace.dll
- lib\ref\System.Drawing.dll
- lib\ref\System.Globalization.dll
- lib\ref\System.IO.dll
- lib\ref\System.IO.IsolatedStorage.dll
- lib\ref\System.Linq.Expressions.dll
- lib\ref\System.Net.Http.Json.dll
- lib\ref\System.Net.Primitives.dll
- lib\ref\System.Net.WebClient.dll
- lib\ref\System.Numerics.Vectors.dll
- lib\ref\System.Reflection.Emit.Lightweight.dll
- lib\ref\System.Resources.ResourceManager.dll
- lib\ref\System.Runtime.Handles.dll
- lib\ref\System.Runtime.Numerics.dll
- lib\ref\System.Security.AccessControl.dll
- lib\ref\System.Security.Cryptography.Encoding.dll
- lib\ref\System.Security.Principal.Windows.dll
- lib\ref\System.Text.Encoding.Extensions.dll
- lib\ref\System.Threading.Overlapped.dll
- lib\ref\System.Threading.ThreadPool.dll
- lib\ref\System.Web.HttpUtility.dll
- lib\ref\System.Xml.XDocument.dll
- lib\runtimes\unix\lib\net8.0\Modules\Microsoft.PowerShell.Host\Microsoft.PowerShell.Host.psd1
- lib\runtimes\win\lib\net8.0\Modules\Microsoft.PowerShell.Diagnostics\Event.format.ps1xml
- lib\runtimes\win\lib\net8.0\Modules\Microsoft.PowerShell.Security\Security.types.ps1xml
- lib\runtimes\win\lib\net8.0\Modules\PSDiagnostics\PSDiagnostics.psm1
- lib\PoShLog.Core.pdb
- lib\ref\Microsoft.VisualBasic.dll
- lib\ref\System.Buffers.dll
- lib\ref\System.ComponentModel.Annotations.dll
- lib\ref\System.Configuration.dll
- lib\ref\System.Diagnostics.Contracts.dll
- lib\ref\System.Diagnostics.TextWriterTraceListener.dll
- lib\ref\System.Drawing.Primitives.dll
- lib\ref\System.Globalization.Extensions.dll
- lib\ref\System.IO.FileSystem.AccessControl.dll
- lib\ref\System.IO.MemoryMappedFiles.dll
- lib\ref\System.Linq.Parallel.dll
- lib\ref\System.Net.HttpListener.dll
- lib\ref\System.Net.Quic.dll
- lib\ref\System.Net.WebHeaderCollection.dll
- lib\ref\System.ObjectModel.dll
- lib\ref\System.Reflection.Extensions.dll
- lib\ref\System.Resources.Writer.dll
- lib\ref\System.Runtime.InteropServices.dll
- lib\ref\System.Runtime.Serialization.dll
- lib\ref\System.Security.Claims.dll
- lib\ref\System.Security.Cryptography.OpenSsl.dll
- lib\ref\System.Security.SecureString.dll
- lib\ref\System.Text.Encodings.Web.dll
- lib\ref\System.Threading.Tasks.Dataflow.dll
- lib\ref\System.Threading.Timer.dll
- lib\ref\System.Windows.dll
- lib\ref\System.Xml.XmlDocument.dll
- lib\runtimes\unix\lib\net8.0\Modules\Microsoft.PowerShell.Management\Microsoft.PowerShell.Management.psd1
- lib\runtimes\win\lib\net8.0\Modules\Microsoft.PowerShell.Diagnostics\GetEvent.types.ps1xml
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 3.0.0-preview1 (current version) | 6 | 7/19/2026 |
| 2.2.0-preview1 | 801 | 8/27/2021 |
| 2.1.1 | 1,395,821 | 7/13/2020 |
| 2.1.0 | 78 | 7/11/2020 |
| 2.1.0-preview2 | 27 | 6/26/2020 |
| 2.1.0-preview1 | 17 | 6/22/2020 |
| 2.0.0 | 10,820 | 3/29/2020 |
| 2.0.0-preview2 | 21 | 3/22/2020 |
| 2.0.0-preview1 | 17 | 3/20/2020 |
| 1.0.1 | 101 | 9/16/2019 |
| 1.0.0 | 53 | 8/28/2019 |