Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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
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...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ 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
Kilo Patron

Hi answer is

A. gs.log()