10/14/2023 0 Comments Online slack login![]() ![]() 07:51:20 (Trace=Tr050M6Y6QF8) Function execution completed for function 'Log a run' 07:51:19 (Trace=Tr050M6Y6QF8) Function execution started for app function 'Log a run' 07:51:19 (Trace=Tr050M6Y6QF8) Executing workflow step 2 of 3 07:51:18 (Trace=Tr050M6Y6QF8) Execution completed for workflow step 'Open a form' 07:51:17 (Trace=Tr050M6Y6QF8) Function execution completed for function 'Open a form' 07:51:07 (Trace=Tr050M6Y6QF8) Function execution started for builtin function 'Open a form' 07:51:07 (Trace=Tr050M6Y6QF8) Executing workflow step 1 of 3 ![]() ![]() 07:51:07 (Trace=Tr050M6Y6QF8) Execution started for workflow 'Log a run' Now when you run your app locally, you'll see output similar to the following in your terminal window: ✨ yourname123 of Your DevEnv Within the log_run.ts file, we'll add a console.log call to the function that logs a run and stores it in the datastore as follows: // log_run.tsĮxport default SlackFunction(LogRunFunction, async ( Ĭonsole.log(putResponse) // add this line Say you'd like to print out items that are getting stored in your datastore to verify that you're getting the type of data you expect. Let's use the Virtual Running Buddies sample app as an example. Calls to console.log are processed while your local developer server is running. When developing locally, you can log information to the console of the terminal window where you are running your development server with calls to console.log. When building modular Slack apps, you can use both function-level and app-level logging to troubleshoot and debug your app. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |