-
Notifications
You must be signed in to change notification settings - Fork 3
Debug
Nolan Chou edited this page May 27, 2015
·
3 revisions
#####1. Edit Template config (/conf/template.php
), Add display callback.
'callback' => array(
'display' => function($debug)
{
if ($debug)
\pt\framework\debug::show();
},
),
#####2. Print some message
use pt\framework\debug as debug;
debug::log("This is debug");
#####3. Print trace in class or function.
debug::trace();
Not have anything.
- License Agreement
- Change Log
- Welcome
- Server Requirements
- Getting Started
- Datebase
- Template
- Debug
- Route
- Log
- Language
- Dynamic expansion of class
- Callback
- Hook
- File
- Image
- Page
- String
- Upload
- Action (hook)
- Filter (hook)