We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Server side script

snawaza243
Tera Contributor

Which one of the following is NOT a method used for logging messages in a server-side script for a privately-scoped application?

 

A. gs.log()

B. gs.error()

C. gs.warn()

D. gs.debug()

6 REPLIES 6

Dr Atul G- LNG
Tera Patron

Hi @snawaza243 

 

gs.log() 

https://www.servicenow.com/community/developer-forum/how-to-add-logging-for-a-scoped-application/m-p...

 

https://developer.servicenow.com/dev.do#!/guides/utah/now-platform/tpb-guide/debugging_best_practice...

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Danish Bhairag2
Tera Sage

SunilKumar_P
Giga Sage

Hi @snawaza243 , Its A. gs.log()

 

Regards,

Sunil

 

Harish Bainsla
Kilo Patron

Hi answer is

A. gs.log()