File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414 - Cache properties not in desired state.
1515 - Make ` Set() ` call ` Test() ` and ` Test() ` call ` Get() ` .
1616 - Remove use of array addition and ` ForEach-Object ` .
17+ - Output only relevant state output at Verbose. Fixes [ #45 ] ( https://github.com/dsccommunity/DscResource.Base/issues/45 ) .
1718
1819### Removed
1920
Original file line number Diff line number Diff line change @@ -147,11 +147,11 @@ class ResourceBase
147147
148148 [void ] Set()
149149 {
150- Write-Verbose - Message ($this.localizedData.SetDesiredState -f $this.GetType ().Name)
150+ Write-Debug - Message ($this.localizedData.SetDesiredState -f $this.GetType ().Name)
151151
152152 if ($this.Test ())
153153 {
154- Write-Verbose - Message $this.localizedData.NoPropertiesToSet
154+ Write-Debug - Message $this.localizedData.NoPropertiesToSet
155155 return
156156 }
157157
@@ -173,7 +173,7 @@ class ResourceBase
173173
174174 [System.Boolean ] Test()
175175 {
176- Write-Verbose - Message ($this.localizedData.TestDesiredState -f $this.GetType ().Name)
176+ Write-Debug - Message ($this.localizedData.TestDesiredState -f $this.GetType ().Name)
177177
178178 $null = $this.Get ()
179179
You can’t perform that action at this time.
0 commit comments