Update to Drupal 8.0.0 beta 14. For more information, see https://drupal.org/node/2544542

This commit is contained in:
Pantheon Automation 2015-08-27 12:03:05 -07:00 committed by Greg Anderson
parent 3b2511d96d
commit 81ccda77eb
2155 changed files with 54307 additions and 46870 deletions

View file

@ -13,6 +13,29 @@ use Symfony\Component\HttpFoundation\RequestStack;
/**
* Logger channel interface.
*
* This interface defines the full behavior of the central Drupal logger
* facility. However, when writing code that does logging, use the generic
* \Psr\Log\LoggerInterface for typehinting instead (you shouldn't need the
* methods here).
*
* To add a new logger to the system, implement \Psr\Log\LoggerInterface and
* add a service for that class to a services.yml file tagged with the 'logger'
* tag. The default logger channel implementation will call the log() method
* of every logger service with some useful data set in the $context argument
* of log(): request_uri, referer, ip, user, uid.
*
* SECURITY NOTE: the caller might also set a 'link' in the $context array
* which will be printed as-is by the dblog module under an "operations"
* header. Usually this is a "view", "edit" or similar relevant link. Make sure
* to use proper, secure link generation facilities; some are listed below.
*
* @see \Drupal\Core\Logger\RfcLoggerTrait
* @see \Psr\Log\LoggerInterface
* @see \Drupal\Core\Logger\\LoggerChannelFactoryInterface
* @see \Drupal\Core\Utility\LinkGeneratorInterface
* @see \Drupal\Core\Routing\LinkGeneratorTrait::l()
* @see \Drupal\Core\Entity\EntityInterface::link()
*/
interface LoggerChannelInterface extends LoggerInterface {