Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source MagazineAOE Media

Chapter 1. Developer Log

Extension Key: devlog

Copyright 2004-2008, René Fritz, François Suter, <support@cobweb.ch>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

1.1. Introduction

“Developer log; This should be implemented around the source code, both frontend and backend, logging everything from the flow through an application, messages, results from comparisons to fatal errors. The result is meant to make sense to developers during development or debugging of a site.” (quoted by René Fritz, source unknown)

TYPO3 provides a functionality for logging information for the purposes of development and debugging via the static method t3lib_div::devlog(). However this method does not do anything by itself. It simply provides a hook for registering whatever logging method you wish. The Developer Log provides such a method.

Information is stored in a database table and can be browsed using a backend module.

This extension provides the following features:

  1. Log entries are logged in log sessions – one log session per script run. That makes it easy to separate log runs.

  2. Frontend logging includes the page id

  3. Backend module can be opened in a separate window and set to refresh automatically

  4. Show log runs, latest entries or all entries with filtering and paginating options

  5. Clear up logs selectively

Credits

Obviously credits are due to René Fritz who developed the original cc_devlog extension. I dearly wanted to just contribute or take over the development but given the apparent impossibility of getting ownership of the extension key I finally decided to fork it.

Stefano Cecere, Rupert Germann and Kasper Ligaard contributed some code to this new version (see Changelog).

The icon used in this extension comes from the Silk Icons library (http://www.famfamfam.com/lab/icon/silk/), a beautiful set of icons developed under the Creative Commons license by Mark James, of Birmingham, UK.

Screenshot

Here is a view of what you get in the backend module.

Questions?

If you have any questions about this extension, please ask them in the TYPO3 mailing list, so that others can benefit of the answers.

Keeping the developer happy

If you like this extension, do not hesitate to rate it. Go the Extension Repository, search for this extension, click on its title to go to the details view, then click on the “Ratings” tab and vote. Every new vote keeps the developer ticking. So just do it!