You are here

public function AppService::debug in Forena Reports 8

Debug handler Enter description here ...

Parameters

string $short_message:

string $log:

1 method overrides AppService::debug()
TestingAppService::debug in tests/src/Unit/Mock/TestingAppService.php
Debug handler Enter description here ...

File

src/AppService.php, line 282

Class

AppService

Namespace

Drupal\forena

Code

public function debug($short_message = '', $log = '') {
  if ($log) {
    \Drupal::logger('forena')
      ->notice($log, []);
  }
  if ($short_message) {
    drupal_set_message($short_message);
  }
}