In order to view the log for a particular function in the Azure function app, first open azure portal, select the function app, and then select the function you are working on. Click the Monitor menu from blade, and select logs menu.
A new console window will open and show "connected" when it is ready. Leave this portal window open, and from somewhere else triggers the function to be executed. Then the context.log will show on the console window.
No comments:
Post a Comment