You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Massimo Bonvicini edited this page Aug 27, 2019
·
2 revisions
Description
Usage
>Add-LoggingTarget-Name Seq -Configuration @{
Url=<NOTSET># <Required> Url to Seq instanceApiKey=<NOTSET># <Not required> Api Key to authenticate to SeqProperties=<NOTSET># <Required> Hashtable of user defined properties to be added to each Seq messageLevel=<NOTSET># <Not required> Sets the logging level for this target
}
Write-Log-Level 'WARNING'-Message 'Hello, Powershell'Write-Log-Level 'WARNING'-Message 'Hello, {0}!'-Arguments 'Powershell'Write-Log-Level 'WARNING'-Message 'Hello, {0}!'-Arguments 'Powershell'-Body @{source='Logging'}