Write-Log
Last updated
Last updated
Writes text to the Sitecore event log.
Write-Log [[-Object] <Object>] [-Separator <Object>] [-Log <Debug | Info | Warning | Error | Fatal | None>]
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
Specifies the object to write to the log.
Aliases | |
---|---|
Strings the output together with the specified text.
Specifies the Sitecore logging level.
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.
None.
Help Author: Adam Najmanowicz, Michael West
Aliases | |
---|---|
Aliases | |
---|---|
Required?
false
Position?
1
Default Value
Accept Pipeline Input?
true (ByValue)
Accept Wildcard Characters?
false
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false