function view()
 {
     $log = new LogViewer();
     $log->display(LogViewer::MODE_ECHO);
 }
 protected function __downloadSQL()
 {
     require_once dirname(__FILE__) . '/lib/class.logviewer.php';
     $log = new LogViewer();
     $log->display(LogViewer::MODE_DOWNLOAD);
 }