Javascript Logger
-
Hi Everyone, I would like to know where the log is written in the below script. <script language="Javascript"> function Logger() { if (typeof Logger.single_instance === "undefined") { Logger.single_instance = this; } return Logger.single_instance; } var a = new Logger(); var b = new Logger(); alert(a==b); a.log('Some Events'); Thanks in Advance,
Regards, Manowj
-
Hi Everyone, I would like to know where the log is written in the below script. <script language="Javascript"> function Logger() { if (typeof Logger.single_instance === "undefined") { Logger.single_instance = this; } return Logger.single_instance; } var a = new Logger(); var b = new Logger(); alert(a==b); a.log('Some Events'); Thanks in Advance,
Regards, Manowj
There are many js logging services. Where did you get the code from? that may give you a clue.
Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]