Using the Log4JavaScript framework we can add logging messages into the code we write in JavaScript.
Log4JavaScript is very similar to Log4j. We can add appenders, we can work with multiple loggers and we can set the logging messages layout. The following video clip shows the very basics of using this framework.
I have just complete do develop the Log4JavaScript Basics new course for learning the basics of using this framework. You can find it at http://abelski.lifemichael.com. That course is available for free personal and academic usage.