O'Reilly logo

YUI 2.8 Learning the Library by Dan Wellman, Daniel Barreiro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Logger

The Logger has been built to be used directly in connection with the debug.js versions of each individual library component. The Logger is primarily used to display the messages that are produced by each of the different library components at several points during their execution, allowing you to see exactly what is going on throughout the progress of your script.

Other than providing error messages to assist you with debugging and troubleshooting, each library component is configured to log informational messages when different custom events fire. This allows you to keep track of the different things that happen during the course of a particular interaction. When first beginning to use the library, this feature of the Logger can provide ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required