Posh-WriteLog

0.1.5

Posh-WriteLog imports a Write-Log cmdlet for writing to rolling log files.

Minimum PowerShell version

3.0

The owner has unlisted this package. This could mean that the module is deprecated or shouldn't be used anymore.

Installation Options

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

Install-Module -Name Posh-WriteLog -RequiredVersion 0.1.5

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

Install-PSResource -Name Posh-WriteLog -Version 0.1.5

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) Bad Mishka LLC. All rights reserved.

Package Details

Author(s)

  • Michael Herndon

Tags

Logging LogFile WriteLog RollingFile File

Cmdlets

Add-WriteLogFile Add-WriteLogConsoleEmitter Get-WriteLogLevel Resume-WriteLog Set-WriteLogLevel Suspend-WriteLog Write-Log Write-LogDebug Write-LogError Write-LogInformation Write-LogVerbose Write-LogWarning

Dependencies

This module has no dependencies.

Release Notes


Quick Usage Sample

PS C:\Users\user> Install-Module Posh-WriteLog
PS C:\Users\user> Add-WriteLogConsoleEmitter
PS C:\Users\user> Add-WriteLogFile -File "$env:USERPROFILE\Desktop\awesomelog-{Date}.txt" -Rolling
PS C:\Users\user> Write-LogDebug "Message"
PS C:\Users\user> Write-Log "Info Message"
PS C:\Users\user> Write-Log -Level Warning "Explicit Warning Message"

0.1.5
 - streamlined the api
 - fixed a Write-Log that kept the log level at None.  

FileList

  • Posh-WriteLog.nuspec
  • BadMishka.Automation.Logging.dll
  • BadMishka.Automation.Logging.pdb
  • Microsoft.Extensions.Configuration.Abstractions.dll
  • Microsoft.Extensions.DependencyInjection.Abstractions.dll
  • Microsoft.Extensions.Logging.Abstractions.dll
  • Microsoft.Extensions.Logging.Console.dll
  • Microsoft.Extensions.Logging.dll
  • Microsoft.Extensions.PlatformAbstractions.dll
  • Microsoft.Extensions.Primitives.dll
  • Posh-WriteLog.psd1
  • Serilog.dll
  • Serilog.Extensions.Logging.dll
  • Serilog.Sinks.ColoredConsole.dll
  • Serilog.Sinks.Console.dll
  • Serilog.Sinks.File.dll
  • Serilog.Sinks.Observable.dll
  • Serilog.Sinks.PeriodicBatching.dll
  • Serilog.Sinks.RollingFile.dll
  • System.Management.Automation.dll

Version History

Version Downloads Last updated
0.1.3 1,887 2/23/2016
0.1.2 18 2/23/2016
0.1.1 18 2/23/2016
0.1.0 21 2/23/2016