Date and Time on SC debug mode

Hi,

Can we get date and time logging on debug mode?

server-connect:app (29/05/2020 12:06:01:345) would be just fine.

In debug options add a field to set format.

image

If unset just use ISO.

Or if you don’t want to go through all the fuss just

const debug = require('debug')('server-connect:app ('+ new Date().toLocaleString()+')');

For all the SC actions(app, template render, etc).

Community Page
Last updated: