This version of the Delicious website will be shutdown by April 2014.
We encourage users to switch to the new Delicious site at , which features a responsive design for mobile and tablet users, offline access, faster loading, and more.

Yahoo! UI Library: Logger

The Logger Control provides a simple way to read or write log messages with a single line of code. With this control, you can tap into the rich event-driven messages included with the YUI Library's debug files; This messaging allows you to get a fuller picture of the inner workings of any YUI Library component. The Logger Control provides a simple messaging interface that allows you to filter, pause, resume, and clear log messages on your screen. Whether or not you invoke this UI, you can monitor log output via the FireBug extension for Firefox or via the Safari JavaScript console. The Logger Control supports logging messages with customizable categories and sources. Adventurous developers can extend Logger to build their own implementations to suit any requirement.

Getting Started

To use the Logger component, include the following source files in your web page with the script tag: