You are here

public function CommonUtilities::watchdog in Convert Media Tags to Markup 8

Same name and namespace in other branches
  1. 2.x src/traits/CommonUtilities.php \Drupal\convert_media_tags_to_markup\traits\CommonUtilities::watchdog()

Log a string to the watchdog.

Parameters

string $string: String to be logged.

Throws

Exception

File

src/traits/CommonUtilities.php, line 85

Class

CommonUtilities
General utilities trait.

Namespace

Drupal\convert_media_tags_to_markup\traits

Code

public function watchdog(string $string) {
  \Drupal::logger('steward_common')
    ->notice($string);
}