Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save StevenPatz/f8ad55b0b30fb633867bbc8bda4f3b3e to your computer and use it in GitHub Desktop.
Save StevenPatz/f8ad55b0b30fb633867bbc8bda4f3b3e to your computer and use it in GitHub Desktop.
Drupal 8 Logger example
\Drupal::logger('locale')->error('Import of string "%string" was skipped because of disallowed or malformed HTML.', array('%string' => $translation));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment