Write-FunctionCallLogMessage

DO NOT USE. Not part of the public API.

Syntax

Write-FunctionCallLogMessage `
  [-Invocation <Object>] `
  [-Parameters <Object>] `
  [-IgnoredArguments <Object[]>] [<CommonParameters>]

Description

Writes function call as a debug message.

Notes

Available in 0.10.2+.

This function is not part of the API.

Aliases

None

Examples

EXAMPLE 1


# This is how this function should always be called
Write-FunctionCallLogMessage -Invocation $MyInvocation -Parameters $PSBoundParameters

Inputs

None

Outputs

None

Parameters

-Invocation [<Object>]

The invocation of the function ($MyInvocation)

Property Value
Aliases
Required? false
Position? 1
Default Value
Accept Pipeline Input? false

-Parameters [<Object>]

The parameters passed to the function ($PSBoundParameters)

Property Value
Aliases
Required? false
Position? 2
Default Value
Accept Pipeline Input? false

-IgnoredArguments [<Object[]>]

Allows splatting with arguments that do not apply. Do not use directly.

Property Value
Aliases
Required? false
Position? 3
Default Value
Accept Pipeline Input? false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters http://go.microsoft.com/fwlink/p/?LinkID=113216 .

Function Reference

NOTE: This documentation has been automatically generated from Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force; Get-Help Write-FunctionCallLogMessage -Full.

View the source for Write-FunctionCallLogMessage