Print Debug Messages

Status
This content is read-only, or is not open for further replies.

hurricane_sh

Guest
Trying to write my first add-on, extended Thread, I want to see the structure of $params, my code goes like this.

PHP:

Code:
class Thread extends XFCP_Thread
{
    public function actionEdit(ParameterBag $params)
    {
        // dump $params

        // the first way
        \XF::dump($params);
        \XF::dumpSimple($params);

        // the 2nd way
        \XF::logError('in logError');
        \XF::logException('in logException');

        // the 3rd way
        \XF\Util\File::log('debug.txt'...

Read more

Continue reading...

free plugins
minecraft paid for free
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Liked by:
Status
This content is read-only, or is not open for further replies.

Latest threads

Forum statistics

Threads
66,477
Messages
98,985
Members
63,664
Latest member
sebaloko
Top Bottom