diff --git a/core/lib/Drupal.php b/core/lib/Drupal.php index e955343..c3f6ccc 100644 --- a/core/lib/Drupal.php +++ b/core/lib/Drupal.php @@ -615,6 +615,10 @@ public static function formBuilder() { /** * Returns a channel logger object. * + * @param string $channel + * The name of the channel. Can be any string, but the general practice is + * to use the name of the module calling this. + * * @return \Drupal\Core\Logger\LoggerChannelInterface * The logger for this channel. */ diff --git a/core/lib/Drupal/Core/Logger/LoggerChannel.php b/core/lib/Drupal/Core/Logger/LoggerChannel.php index e09adac..3cc64e7 100644 --- a/core/lib/Drupal/Core/Logger/LoggerChannel.php +++ b/core/lib/Drupal/Core/Logger/LoggerChannel.php @@ -17,7 +17,6 @@ * Defines a logger channel that most implementations will use. */ class LoggerChannel implements LoggerChannelInterface { - use LoggerTrait; /** diff --git a/core/modules/dblog/lib/Drupal/dblog/Logger/DbLog.php b/core/modules/dblog/lib/Drupal/dblog/Logger/DbLog.php index 47c5178..80d7136 100644 --- a/core/modules/dblog/lib/Drupal/dblog/Logger/DbLog.php +++ b/core/modules/dblog/lib/Drupal/dblog/Logger/DbLog.php @@ -16,9 +16,7 @@ * Logs events in the watchdog database table. */ class DbLog implements LoggerInterface { - use LoggerTrait; - use LogMessageParserTrait; /** diff --git a/core/modules/syslog/lib/Drupal/syslog/Logger/SysLog.php b/core/modules/syslog/lib/Drupal/syslog/Logger/SysLog.php index 70dae66..17dd040 100644 --- a/core/modules/syslog/lib/Drupal/syslog/Logger/SysLog.php +++ b/core/modules/syslog/lib/Drupal/syslog/Logger/SysLog.php @@ -16,7 +16,6 @@ * Redirects logging messages to syslog. */ class SysLog implements LoggerInterface { - use LoggerTrait; use LogMessageParserTrait;