-
Notifications
You must be signed in to change notification settings - Fork 910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log PowerShell function calls better #976
Comments
ferventcoder
added a commit
that referenced
this issue
Sep 23, 2016
Add a method to provide a universal debug log of a method call.
ferventcoder
added a commit
that referenced
this issue
Sep 23, 2016
In all of the appropriate methods, ensure they log that they have been called. Many of them had a debug message already that was outdated and needed replaced. Update them to use the function that provides the logging by inspecting the invocation and bound parameters.
ferventcoder
added a commit
that referenced
this issue
Sep 23, 2016
* stable: (GH-977) Add aliases for Start-ChocolateyProcessAsAdmin (GH-977) Start-ChocolateyProcessAsAdmin - Add Elevated Switch (maint) Get-ToolsLocation has replaced Get-BinRoot (maint) formatting (GH-976) PowerShell Functions Use Log Call Method (maint) convert Posh scripts to UTF8 w/out BOM (GH-976) note log skips (GH-976) Write-FunctionCallLogMessage (doc) update CHANGELOG_LICENSED
ferventcoder
added a commit
that referenced
this issue
Jun 8, 2017
Use Write-FunctionCallLogMessage instead of calling debug write - this allows additions to the function calls to be logged. Following on caa3850, it appears a few functions were missed. Switch those and log functions that should not implement the logging call.
ferventcoder
added a commit
that referenced
this issue
Jun 8, 2017
* stable: (version) 0.10.7 (doc) update CHANGELOG/nuspec (GH-1328) Serialize/deserialize package files warnings (maint) clean up install/uninstall template (GH-1330) Use $packageArgs in default uninstall script (GH-1323) File/File64 as params not aliases (GH-1324) requestedExecutionLevel = asInvoker (GH-1327) AutoUninstaller - split multiple file paths (maint) add parameter props to UseOriginalLocation (maint) formatting (GH-1323) rename file to downloadFilePath (GH-1325) List/Search - no fail on local directory (docs) add to PowerShell CONTRIBUTING (GH-1326) Always show heading (GH-976) Use Write-FunctionCallLogMessage (maint) formatting (GH-1322) Fix: search - exact ignores page/page-size
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Provide a universal function that can be called that will perform the debug logging.
The text was updated successfully, but these errors were encountered: