Debian Codegraph @

lib/3rdParty/composer/illuminate/support/Facades/Log.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Support\Facades;
4
5 /**
6 * @method static \Psr\Log\LoggerInterface build(array $config)
7 * @method static \Psr\Log\LoggerInterface stack(array $channels, string|null $channel = null)
8 * @method static \Psr\Log\LoggerInterface channel(string|null $channel = null)
9 * @method static \Psr\Log\LoggerInterface driver(string|null $driver = null)
10 * @method static \Illuminate\Log\LogManager shareContext(array $context)
11 * @method static array sharedContext()
12 * @method static \Illuminate\Log\LogManager withoutContext(string[]|null $keys = null)
13 * @method static \Illuminate\Log\LogManager flushSharedContext()
14 * @method static string|null getDefaultDriver()
15 * @method static void setDefaultDriver(string $name)
16 * @method static \Illuminate\Log\LogManager extend(string $driver, \Closure $callback)
17 * @method static void forgetChannel(string|null $driver = null)
18 * @method static array getChannels()
19 * @method static void emergency(string|\Stringable $message, array $context = [])
20 * @method static void alert(string|\Stringable $message, array $context = [])
21 * @method static void critical(string|\Stringable $message, array $context = [])
22 * @method static void error(string|\Stringable $message, array $context = [])
23 * @method static void warning(string|\Stringable $message, array $context = [])
24 * @method static void notice(string|\Stringable $message, array $context = [])
25 * @method static void info(string|\Stringable $message, array $context = [])
26 * @method static void debug(string|\Stringable $message, array $context = [])
27 * @method static void log(mixed $level, string|\Stringable $message, array $context = [])
28 * @method static \Illuminate\Log\LogManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
29 * @method static void write(string $level, \Illuminate\Contracts\Support\Arrayable|\Illuminate\Contracts\Support\Jsonable|\Illuminate\Support\Stringable|array|string $message, array $context = [])
30 * @method static \Illuminate\Log\Logger withContext(array $context = [])
31 * @method static void listen(\Closure $callback)
32 * @method static \Psr\Log\LoggerInterface getLogger()
33 * @method static \Illuminate\Contracts\Events\Dispatcher|null getEventDispatcher()
34 * @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $dispatcher)
35 * @method static \Illuminate\Log\Logger|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
36 * @method static \Illuminate\Log\Logger|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
37 *
38 * @see \Illuminate\Log\LogManager
39 */
40 class Log extends Facade
41 {
42 /**
43 * Get the registered name of the component.
44 *
45 * @return string
46 */
47 protected static function getFacadeAccessor()
48 {
49 return 'log';
50 }
51 }