File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2525---
2626
2727- [ Introduction] ( #introduction )
28- - [ Simple powershell module is very extensible and easy use.] ( #simple-powershell-module-is-very-extensible-and-easy-use )
29- - [ Task Board - Board] ( #ullitask-board---boardliul )
3028- [ Modules] ( #modules )
3129 - [ Installation] ( #installation )
3230 - [ PowerShell Gallery] ( #powershell-gallery )
@@ -70,7 +68,7 @@ Below is a table contains our modules including built in provider modules.
7068
7169``` powershell
7270# Install pre-release version
73- Install-Module -Name SimplePSLogger -AllowPrerelease
71+ Install-Module -Name SimplePSLogger -Confirm
7472
7573```
7674
@@ -110,8 +108,11 @@ $MyLogger = New-SimplePSLogger -Name "Unique Name"
110108 String - plain text string
111109 OtherTypes - json serialized string
112110#>
111+
113112$MyLogger.Log('level', 'log message')
114113
114+ $MyLogger.Log("message") # In this case, SimplePSLogger will automatically use default(information) loglevel
115+
115116$MyLogger.Dispose()
116117
117118```
You can’t perform that action at this time.
0 commit comments