Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.

fititnt/lib_debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:https://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

About

PHP | Joomla | Library | Helper for debug on Joomla 1.7+

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages