Skip to main content

Add a function stack on Xano

With ncScale, you can store the logs for every API on your Xano app. We’ll show you to do that in 5 easy steps:

First, make sure to toggle “Sync Log Statement” for your ncScale connection. You can do this on your Xano app by clicking on the Connections tab.

add_xano_logs 1 add_xano_logs 1

After that, go to the API tab and choose the API you want to monitor.

add_xano_logs 3 add_xano_logs 4

Here, you’ll see all the functions associated to that API. What we want, is to add another functions that tells Xano to send the log statements to ncScale. To do that, click on the + sign on the Function Stack.

add_xano_logs 5

Type “ncScale” on the search bar and choose the option “ncScale: Send Log”

add_xano_logs 6

And now you can configure the log you want Xano to send to ncScale:

  • severity: Chose the 'severity' of your log.
  • message: give a kick brief of the log.
  • event_name: give a name to your event.
  • extra: enrich your logs data with the data from the Xano event.

add_xano_logs 7

Hit save and you’re done!

Now all your log statements are sent and stored in ncScale automatically. You can access them under the Logs tab.