Documentation Menu

JL Method

Creates and retrieves JavaScript loggers


JL(loggerName?: string): Logger


loggerName Name of the logger, or empty for the root logger.

Return Value

The logger with the given name, or the root logger if no name is given. If the logger didn't exist, it will be created.


In your server side logs, the root logger is called ClientRoot.


This returns the JavaScript logger with name "a.b".

var logger = JL('a.b');

This returns the root logger.

var rootlogger = JL();