Log.php 1.4 KB

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