GithubHelp home page GithubHelp logo

fititnt / lib_debug Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 269 KB

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

Home Page: http://fititnt.org

License: GNU General Public License v3.0

PHP 100.00%
php joomla joomla-library deprecated

lib_debug's Introduction

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

lib_debug's People

Contributors

fititnt avatar

Watchers

 avatar  avatar

Forkers

jcbr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.