« Back to full topics list
0
0

Hey,

I really like what you guys are doing!

I have a question regarding logs: can’t we get stack traces / logs when an exception happens in scriptr.io? It’s easier to debug when logs are available.

Thanks.

ANSWERED
Marked as spam
Posted by - Asked on February 11, 2017 9:47 pm - 12 views

1 Replies

0
Private reply

Hi Jennifer,

Scriptr.io logs every request made to your scripts/files. It automatically logs the request headers, parameters and body. In addition to the default logs, it offers you two options to write additional log entries yourself from within your scripts:

1- The “console” built-in object allows you to add traces to the metadata of the http response sent by your script (https://www.scriptr.io/documentation#documentation-console), or
2- The “logs” module allows you to persist logs in your account (https://www.scriptr.io/documentation#documentation-loglogModule).

You can access the logs by clicking the Logs menu item on the top right corner of your workspace.

I hope this helps.

Julien Mrad
Scriptr.io

Marked as spam
Posted by - Replied on February 12, 2017 12:25 pm