Log.php 1.1KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Illuminate\Support\Facades;
  3. use Psr\Log\LoggerInterface;
  4. /**
  5. * @method static void emergency(string $message, array $context = [])
  6. * @method static void alert(string $message, array $context = [])
  7. * @method static void critical(string $message, array $context = [])
  8. * @method static void error(string $message, array $context = [])
  9. * @method static void warning(string $message, array $context = [])
  10. * @method static void notice(string $message, array $context = [])
  11. * @method static void info(string $message, array $context = [])
  12. * @method static void debug(string $message, array $context = [])
  13. * @method static void log($level, string $message, array $context = [])
  14. * @method static mixed channel(string $channel = null)
  15. * @method static \Psr\Log\LoggerInterface stack(array $channels, string $channel = null)
  16. *
  17. * @see \Illuminate\Log\Logger
  18. */
  19. class Log extends Facade
  20. {
  21. /**
  22. * Get the registered name of the component.
  23. *
  24. * @return string
  25. */
  26. protected static function getFacadeAccessor()
  27. {
  28. return LoggerInterface::class;
  29. }
  30. }