Write-LogFunctionEntry

SYNOPSIS

Log entering a function

SYNTAX

Write-LogFunctionEntry [<CommonParameters>]

DESCRIPTION

Logs entering of an advanced function. Logs all parameters as well

EXAMPLES

Example 1

function foo
{
    [CmdletBinding()]
    param
    ()

    Write-LogFunctionEntry
}
foo -Verbose

Will log a verbose function entry whenever foo is executed. Output would be: VERBOSE: foo Entering... (Verbose=True)

PARAMETERS

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.

INPUTS

None

OUTPUTS

System.Object

NOTES