Skip to content

Commit 9108ca2

Browse files
committed
Documentation correction
1 parent 1f90d93 commit 9108ca2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Actions/.Modules/DebugLogHelper.psm1

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,7 @@ $colorCodeCyan = '36'
3030
Writes debug information about the function call and its parameters if extended debug logging is enabled.
3131
.DESCRIPTION
3232
Writes debug information about the function call and its parameters to the console if extended debug logging is enabled.
33-
Should be called like: Write-Debug-FunctionCallInfo -FunctionName "<FunctionName>" -Parameters $MyInvocation.BoundParameters
34-
Or in case of no parameters: Write-Debug-FunctionCallInfo -FunctionName "<FunctionName>".
35-
.PARAMETER FunctionName
36-
Name of the function being called.
37-
.PARAMETER Parameters
38-
Paraeters passed to the function. Should always be passed using $MyInvocation.BoundParameters.
33+
Automatically retrieves the caller's name and arguments from the call stack.
3934
#>
4035
function OutputDebugFunctionCall {
4136
if ($debugLoggingEnabled -or $runningLocal) {

0 commit comments

Comments
 (0)