Write-Log
Writes text to the Sitecore event log.
Write-Log [[-Object] <Object>] [-Separator <Object>] [-Log <Debug | Info | Warning | Error | Fatal | None>]
Detailed Description
The Write-Log command writes text to the Sitecore event log with the specified logging level.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
-Object <Object>
Specifies the object to write to the log.
Accept Wildcard Characters?
-Separator <Object>
Strings the output together with the specified text.
Accept Wildcard Characters?
-Log <LogNotificationLevel>
Specifies the Sitecore logging level.
Accept Wildcard Characters?
The input type is the type of the objects that you can pipe to the cmdlet.
System.String
Represents the identity of a role.
The output type is the type of the objects that the cmdlet emits.
Help Author: Adam Najmanowicz, Michael West