< Back
Write-PodeLog
Post
NAME Write-PodeLog
SYNOPSIS
Write an object to a configured custom Logging method.
SYNTAX
Write-PodeLog [-Name] <String> [-InputObject] <Object> [<CommonParameters>]
DESCRIPTION
Write an object to a configured custom Logging method.
PARAMETERS
-Name <String>
The Name of the Logging method.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-InputObject <Object>
The Object to write.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$object | Write-PodeLog -Name 'LogName'
RELATED LINKS
SYNOPSIS
Write an object to a configured custom Logging method.
SYNTAX
Write-PodeLog [-Name] <String> [-InputObject] <Object> [<CommonParameters>]
DESCRIPTION
Write an object to a configured custom Logging method.
PARAMETERS
-Name <String>
The Name of the Logging method.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-InputObject <Object>
The Object to write.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$object | Write-PodeLog -Name 'LogName'
RELATED LINKS