You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not have any problem to use Write-InfoLog to write to file with one para like -PropertyValues p1 but always mess up with 2+ parameters like -PropertyValues p1, p2.
For example: Write-InfoLog 'Installer Log message: @installProcessMsg: {@installProcessMsg_json} for ' -PropertyValues ($installProcessMsg_json) is ok BUT this will mess up output:
Write-InfoLog 'Installer Log message: {@installProcessMsg_json} for {@installerInfo_json}' -PropertyValues $installProcessMsg_json, $installerInfo_json
Can you help me how to do this with 2+ parameters for log output? Thanks a lot!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I do not have any problem to use Write-InfoLog to write to file with one para like -PropertyValues p1 but always mess up with 2+ parameters like -PropertyValues p1, p2.
For example: Write-InfoLog 'Installer Log message: @installProcessMsg: {@installProcessMsg_json} for ' -PropertyValues ($installProcessMsg_json) is ok BUT this will mess up output:
Write-InfoLog 'Installer Log message: {@installProcessMsg_json} for {@installerInfo_json}' -PropertyValues $installProcessMsg_json, $installerInfo_json
Can you help me how to do this with 2+ parameters for log output? Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions