Chapter 14.6.3. Simple Logging Demo

In this section, we show off a demo of MochiKit.Logging. With the demo page, pictured in Figure 14.2, you can enter a logging message with a log level and see the message appear in MochiKit’s logging pane at the bottom of the screen.

Here is the code for the logging demo:

Get Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.