You are here

protected function CalendarEventExceptionLoggerTrait::logException in Opigno calendar event 8

Same name and namespace in other branches
  1. 3.x src/CalendarEventExceptionLoggerTrait.php \Drupal\opigno_calendar_event\CalendarEventExceptionLoggerTrait::logException()

Logs an exception.

Parameters

\Exception $e: The exception object to be logged.

7 calls to CalendarEventExceptionLoggerTrait::logException()
CalendarEventEmbeddedWidget::submitForm in src/CalendarEventEmbeddedWidget.php
Submit handler.
CalendarEventEmbeddedWidget::submitForm in src/Form/CalendarEventEmbeddedWidget.php
Submit handler.
CalendarEventForm::save in src/Form/CalendarEventForm.php
Form submission handler for the 'save' action.
CalendarEventManager::getReferencingCalendarEvents in src/CalendarEventManager.php
Returns all calendar events referencing the specified entity.
CalendarEventManager::getReferencingFieldDefinition in src/CalendarEventManager.php
Returns the entity reference for the specified entity type and bundle.

... See full list

File

src/CalendarEventExceptionLoggerTrait.php, line 18

Class

CalendarEventExceptionLoggerTrait
Logs exceptions thrown in the the Calendar Event codebase.

Namespace

Drupal\opigno_calendar_event

Code

protected function logException(\Exception $e) {
  watchdog_exception('opigno_calendar_event', $e);
}