biz.dfch.PS.System.Logging

1.1.4.20151222

This PowerShell module contains Cmdlets that allow to perform logging from your PowerShell functions and code via the Apache Log4Net library.

* You can also download this module via [NuGet](http://nuget.org/) with [Install-Package biz.dfch.PS.System.Logging](https://www.nuget.org/packages/biz.dfch.PS.System.Logging/).

* After downloading the package to a directo
This PowerShell module contains Cmdlets that allow to perform logging from your PowerShell functions and code via the Apache Log4Net library.

* You can also download this module via [NuGet](http://nuget.org/) with [Install-Package biz.dfch.PS.System.Logging](https://www.nuget.org/packages/biz.dfch.PS.System.Logging/).

* After downloading the package to a directory of your choice (_NOT_ the actual module directory) run the `install.ps1` script in the downloaded folder to copy the files to a directory inside `$ENV:PSModulePath`).

* In case you already have a previous version of this module ( < 1.0.5) in a different module directory you have to remove that module manually.

* In case you update the module in the same directory and the `log4net.dll` is still loaded you might have to restart all the PowerShell sessions to be able to overwrite the file.

* In case you changed the log settings in `biz.dfch.PS.System.Logging.xml`, `Log4netConfiguration.xml` or `log4net.xml` you have to restore the changes as they will get overwritten.

See http://d-fens.ch/2013/01/16/module-biz-dfch-ps-system-logging/ and the [Wiki](https://github.com/dfch/biz.dfch.PS.System.Logging/wiki) for more information.</description>
Show more

Installation Options

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

Install-Module -Name biz.dfch.PS.System.Logging -RequiredVersion 1.1.4.20151222

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

Install-PSResource -Name biz.dfch.PS.System.Logging -Version 1.1.4.20151222

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) 2012-2015 d-fens GmbH. Distributed under Apache 2.0 license.

Package Details

Author(s)

  • Ronald Rink

Tags

dfch PowerShell Logging log4net

Functions

Out-Message Out-MessageEmergency Out-MessageCritical Out-MessageAlert Out-MessageError Out-MessageWarning Out-MessageNotice Out-MessageInformational Out-MessageDebug

Dependencies

This module has no dependencies.

Release Notes

* [bugfix] fixed processing of nested exceptions in Out-MessageException

* added Assert-IsTrue Cmdlet with Contract-Requires and Contract-Assert aliases for improved parameter validation
* added streamlined Out-MessageException Cmdlet to facilitate exception logging
* added skeleton for Cmdlet exception handling via trap handlers to facilitate exception handling

* run install.ps1 to copy the module to a PowerShell module path directory

FileList

Version History

Version Downloads Last updated
1.4.1.20160715 8,836 8/2/2016
1.1.4.20151222 (current version) 1,128 12/22/2015
1.1.2.20151220 1,030 12/21/2015