You are here

function forena_debug in Forena Reports 7

Same name and namespace in other branches
  1. 6 forena.common.inc \forena_debug()
4 calls to forena_debug()
FrxMSSQL::data in plugins/FrxMSSQL.inc
Get data based on file data block in the repository.
FrxOracle::data in plugins/FrxOracle.inc
Get data based on file data block in the repository.
FrxPDO::data in plugins/FrxPDO.inc
Get data based on file data block in the repository.
FrxPostgres::data in plugins/FrxPostgres.inc
Get data based on file data block in the repository.

File

./forena.common.inc, line 505
Common functions used throughout the project but loaded in this file to keep the module file lean.

Code

function forena_debug($short_message, $log) {
  if ($log) {
    watchdog('forena debug', $log, NULL);
  }
  if ($short_message) {
    drupal_set_message(check_markup($short_message));
  }
}