CalendarEventExceptionLoggerTrait.php in Opigno calendar event 3.x
Same filename and directory in other branches
Namespace
Drupal\opigno_calendar_eventFile
src/CalendarEventExceptionLoggerTrait.phpView source
<?php
namespace Drupal\opigno_calendar_event;
/**
* Logs exceptions thrown in the the Calendar Event codebase.
*
* @internal
*/
trait CalendarEventExceptionLoggerTrait {
/**
* Logs an exception.
*
* @param \Exception $e
* The exception object to be logged.
*/
protected function logException(\Exception $e) {
watchdog_exception('opigno_calendar_event', $e);
}
}
Traits
Name | Description |
---|---|
CalendarEventExceptionLoggerTrait | Logs exceptions thrown in the the Calendar Event codebase. |