This repository has been archived by the owner on Mar 1, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.txt
59 lines (44 loc) · 1.44 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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