You are here

public static function AdminHelper::addToLog in moderated content bulk publish 8

Same name and namespace in other branches
  1. 2.0.x src/AdminHelper.php \Drupal\moderated_content_bulk_publish\AdminHelper::addToLog()
  2. 1.0.x src/AdminHelper.php \Drupal\moderated_content_bulk_publish\AdminHelper::addToLog()

File

src/AdminHelper.php, line 11

Class

AdminHelper

Namespace

Drupal\moderated_content_bulk_publish

Code

public static function addToLog($message, $DEBUG = FALSE) {

  //$DEBUG = TRUE;
  if ($DEBUG) {
    \Drupal::logger('moderated_content_bulk_publish')
      ->notice($message);
  }
}