You are here

function drush_devel_debug_log_clear in Devel Debug Log 7

A command callback for clearing the debug log messages.

File

./devel_debug_log.drush.inc, line 21
Drush integration for the devel_debug_log module.

Code

function drush_devel_debug_log_clear() {
  db_delete('devel_debug_log')
    ->execute();
  drush_print(dt('Database debug log cleared.'));
}