Suitecrm how to write loggs in Javascript

HI ALL,

How to write debug loggs in javascript.
I want to add logss on javascript values.