Convert-PodeLogItemToString
SYNOPSIS
Convert a Pode Log Item or Collection to a string.
SYNTAX
Collection
Convert-PodeLogItemToString -Collection <IPodeLogItemCollection> [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Item
Convert-PodeLogItemToString -Item <IPodeLogItem> [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Converts a Pode Log Item or a collection of Pode Log Items into a string representation.
EXAMPLES
EXAMPLE 1
Convert-PodeLogItemToString -Collection $logCollection
EXAMPLE 2
Convert-PodeLogItemToString -Item $logItem
PARAMETERS
-Collection
An optional PodeLogItemCollection to convert to a string, converting all items in the collection.
Type: IPodeLogItemCollection
Parameter Sets: Collection
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Item
An optional single PodeLogItem to convert to a string.
Type: IPodeLogItem
Parameter Sets: Item
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.