Skip to main content
Oct 12, 2022 8:38 PM UTC
Solved

Getting time a subscription gets fired

Hello, community,

 

I would like to capture the time a subscription gets fired. Is there a way to this

 

Regards.

TB

Oct 13, 2022 4:46 AM UTC

User any of logger statements... that will logged in Script Log.

logger.info("info message: " + new Date());
logger.warn("warn message: " + new Date());
logger.error("error message: " + new Date());

 

Or you can create a stream and call stream entry service in subscription.

1 reply

Oct 13, 2022 4:46 AM UTC

User any of logger statements... that will logged in Script Log.

logger.info("info message: " + new Date());
logger.warn("warn message: " + new Date());
logger.error("error message: " + new Date());

 

Or you can create a stream and call stream entry service in subscription.