From 26be38fc03e841f019107c46cc47f072cdeb9e30 Mon Sep 17 00:00:00 2001 From: LaurentDardenne Date: Fri, 11 Aug 2017 14:59:16 +0200 Subject: [PATCH] Version 2.2.0 --- CHANGELOG.md | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d57a21f..2297117 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,30 @@ -2017-05-15 Version 2.1.2 +2017-08-11 Version 2.2.0 + Change + The functions Initialize-Log4NetModule and Initialize-Log4NetScript are obsolete. + Use instead the function Initialize-Log4Net. + + function Initialize-Log4NetModule : + The $DefaultLogFilePath parameter is no longer mandatory. + We use by default the file names defined in the xml file. + + The $DefaultLogFile variable is obsolete. + Use instead the function Get-Log4NetFileAppender + + function Get-Log4NetAppenderFileName + Add -All parameter. + Returns the current path of the internal and external log files of a repository. + + Fix + function Get-Log4NetFileAppender : + The required parameter '$Repository' can not have a default value. + + function Start-Log4Net + When the internal log of Log4Net is activated, the API [Log4net.Config.XmlConfigurator]::Configure() + return Error and Log in the same collection. + We must filter the $Result collection on the 'Prefix' member. + + +2017-05-22 Version 2.1.2 Fix In the manifest the key 'VariableToExport' need Export-ModuleMember -Variable * -Function * -Alias * @@ -14,7 +40,7 @@ Change Throw to $PSCmdlet.ThrowTerminatingError. -2017-05-14 Version 2.1.0 +2017-04-29 Version 2.1.0 Fix PSSA rules Creating indirectly the default repository @@ -35,11 +61,10 @@ Core : Now we must create the default repository 'log4net-default-repository' Use Publish-Module instead PSNuspec -2017-05-13 Version 2.0.1 +2017-02-11 Version 2.0.1 Change Reorganization of the repository for the build -2017-02-11 Version 2.0.1 Fix: function Initialize-Log4NetModule : the call of New-item must use the -PATH parameter.