Drupal investigation

LoggerInterface.php 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\HttpKernel\Log;
  11. use Psr\Log\LoggerInterface as PsrLogger;
  12. /**
  13. * LoggerInterface.
  14. *
  15. * @author Fabien Potencier <fabien@symfony.com>
  16. *
  17. * @deprecated since version 2.2, to be removed in 3.0. Type-hint \Psr\Log\LoggerInterface instead.
  18. */
  19. interface LoggerInterface extends PsrLogger
  20. {
  21. /**
  22. * @deprecated since version 2.2, to be removed in 3.0. Use emergency() which is PSR-3 compatible.
  23. */
  24. public function emerg($message, array $context = array());
  25. /**
  26. * @deprecated since version 2.2, to be removed in 3.0. Use critical() which is PSR-3 compatible.
  27. */
  28. public function crit($message, array $context = array());
  29. /**
  30. * @deprecated since version 2.2, to be removed in 3.0. Use error() which is PSR-3 compatible.
  31. */
  32. public function err($message, array $context = array());
  33. /**
  34. * @deprecated since version 2.2, to be removed in 3.0. Use warning() which is PSR-3 compatible.
  35. */
  36. public function warn($message, array $context = array());
  37. }