SourceForge.jp

Logging

  You can see sql log like as follows.

SQLERRORROWSTIME
SELECT * FROM user WHERE status=1 LIMIT 550.01205

  First of all, make framework to debug mode.

Set debug mode.
function config_controller( &$c )
{
    $c->SetDebug( true );
}

Log is set to 'cheetan_sql_log'. So, display anywhere as you like.

Display log
<?php echo $data['cheetan_sql_log']; ?>

class 'cheetan_sql_log' is assigned to log table. You can change design of the log table if you create CSS.
SQLERRORROWSTIME
SELECT * FROM user WHERE status=1 LIMIT 550.01205