cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Getting time a subscription gets fired

Janicen
16-Pearl

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

ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

1 REPLY 1

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.

Announcements


Top Tags