Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9760e9cd52
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (44 sloc) 1.479 kb
PHP Debug Library
Helper for debug on Joomla 1.7+
-> log: save a log in text files, using Joomla native logger;
-> benchmark: save in a stack times of execution of code
Author:
Emerson Rocha Luiz
emerson at webdesign.eng.br
http://fititnt.org
Copyright:
Copyright (C) 2011 Webdesign Assessoria em Tecniligia da Informacao. All
rights reserved.
License:
- GNU General Public License version 3. See license.txt
----------------------------------- How to use ---------------------------------
Install on your site like any normal library.
Example 1, log:
jimport('debug.debug');
$log = JDLib::getLog();
$log->debug("JDLib Debug test");
Example 2, log:
jimport('debug.debug');
$log = JDLib::getLog();
$log->debug(__CLASS__.':'.__METHOD__.':'.__LINE__.'>'."Initialized");
Please read /doc for more information
--------------------------- Instalation & Dependences --------------------------
Dependences:
- Joomla 1.7+
- PHP 5.3+
-------------------------------------- Todo ------------------------------------
- Create one class for merge log and benchmark. Or just make log do it
----------------------------------- Changelog ----------------------------------
2011-11-27: 0.5alpha
! New methods implemented and tested
+ Added documentation generated by doxygen
! Tagged as 0.5beta
2011-11-26: 0.1alpha
! Created.
CHANGELOG LEGEND:
+ Added
- Removed
^ Updated
* Bugfix
# Security Fix
! Relevant message
Jump to Line
Something went wrong with that request. Please try again.