log( 'Function testThis() has been called.', ezcLog::NOTICE, array( 'additional' => 'info' ), // Enable stack trace true ); // ... somewhere else ... // Print out log with stacktraces. $debug = ezcDebug::getInstance(); echo $debug->generateOutput(); ?>