Log

Illuminate\Support\Facades\Log

class src/Illuminate/Support/Facades/Log.php

alert

v11.0.0 以前から

static @method

static alert(string|\Stringable $message, array $context = []): void
  1. v11.0.0 追加
    変更後
    @method static alert(string|\Stringable $message, array $context = []): void

build

v11.0.0 以前から

static @method

static build(array $config): \Psr\Log\LoggerInterface
  1. v11.0.0 追加
    変更後
    @method static build(array $config): \Psr\Log\LoggerInterface

channel

v11.0.0 以前から

static @method

static channel(\UnitEnum|string|null $channel = null): \Psr\Log\LoggerInterface
  1. v11.0.0 追加
    変更後
    @method static channel(string|null $channel = null): \Psr\Log\LoggerInterface
  2. v13.3.0 シグネチャ変更
    変更前
    @method static channel(string|null $channel = null): \Psr\Log\LoggerInterface
    変更後
    @method static channel(\UnitEnum|string|null $channel = null): \Psr\Log\LoggerInterface

critical

v11.0.0 以前から

static @method

static critical(string|\Stringable $message, array $context = []): void
  1. v11.0.0 追加
    変更後
    @method static critical(string|\Stringable $message, array $context = []): void

debug

v11.0.0 以前から

static @method

static debug(string|\Stringable $message, array $context = []): void
  1. v11.0.0 追加
    変更後
    @method static debug(string|\Stringable $message, array $context = []): void

driver

v11.0.0 以前から

static @method

static driver(\UnitEnum|string|null $driver = null): \Psr\Log\LoggerInterface
  1. v11.0.0 追加
    変更後
    @method static driver(string|null $driver = null): \Psr\Log\LoggerInterface
  2. v13.3.0 シグネチャ変更
    変更前
    @method static driver(string|null $driver = null): \Psr\Log\LoggerInterface
    変更後
    @method static driver(\UnitEnum|string|null $driver = null): \Psr\Log\LoggerInterface

emergency

v11.0.0 以前から

static @method

static emergency(string|\Stringable $message, array $context = []): void
  1. v11.0.0 追加
    変更後
    @method static emergency(string|\Stringable $message, array $context = []): void

error

v11.0.0 以前から

static @method

static error(string|\Stringable $message, array $context = []): void
  1. v11.0.0 追加
    変更後
    @method static error(string|\Stringable $message, array $context = []): void

extend

v11.0.0 以前から

static @method

static extend(string $driver, \Closure $callback): \Illuminate\Log\LogManager
  1. v11.0.0 追加
    変更後
    @method static extend(string $driver, \Closure $callback): \Illuminate\Log\LogManager

flushSharedContext

v11.0.0 以前から

static @method

static flushSharedContext(): \Illuminate\Log\LogManager
  1. v11.0.0 追加
    変更後
    @method static flushSharedContext(): \Illuminate\Log\LogManager

forgetChannel

v11.0.0 以前から

static @method

static forgetChannel(\UnitEnum|string|null $driver = null): void
  1. v11.0.0 追加
    変更後
    @method static forgetChannel(string|null $driver = null): void
  2. v13.21.0 シグネチャ変更
    変更前
    @method static forgetChannel(string|null $driver = null): void
    変更後
    @method static forgetChannel(\UnitEnum|string|null $driver = null): void

getChannels

v11.0.0 以前から

static @method

static getChannels(): array
  1. v11.0.0 追加
    変更後
    @method static getChannels(): array

getDefaultDriver

v11.0.0 以前から

static @method

static getDefaultDriver(): string|null
  1. v11.0.0 追加
    変更後
    @method static getDefaultDriver(): string|null

getEventDispatcher

v11.0.0 以前から

static @method

static getEventDispatcher(): \Illuminate\Contracts\Events\Dispatcher|null
  1. v11.0.0 追加
    変更後
    @method static getEventDispatcher(): \Illuminate\Contracts\Events\Dispatcher
  2. v12.45.0 シグネチャ変更
    変更前
    @method static getEventDispatcher(): \Illuminate\Contracts\Events\Dispatcher
    変更後
    @method static getEventDispatcher(): \Illuminate\Contracts\Events\Dispatcher|null

getLogger

v11.0.0 以前から

static @method

static getLogger(): \Psr\Log\LoggerInterface
  1. v11.0.0 追加
    変更後
    @method static getLogger(): \Psr\Log\LoggerInterface

info

v11.0.0 以前から

static @method

static info(string|\Stringable $message, array $context = []): void
  1. v11.0.0 追加
    変更後
    @method static info(string|\Stringable $message, array $context = []): void

listen

v11.0.0 以前から

static @method

static listen(\Closure $callback): void
  1. v11.0.0 追加
    変更後
    @method static listen(\Closure $callback): void

log

v11.0.0 以前から

static @method

static log(mixed $level, string|\Stringable $message, array $context = []): void
  1. v11.0.0 追加
    変更後
    @method static log(mixed $level, string|\Stringable $message, array $context = []): void

notice

v11.0.0 以前から

static @method

static notice(string|\Stringable $message, array $context = []): void
  1. v11.0.0 追加
    変更後
    @method static notice(string|\Stringable $message, array $context = []): void

setApplication

v11.0.0 以前から

static @method

static setApplication(\Illuminate\Contracts\Foundation\Application $app): \Illuminate\Log\LogManager
  1. v11.0.0 追加
    変更後
    @method static setApplication(\Illuminate\Contracts\Foundation\Application $app): \Illuminate\Log\LogManager

setDefaultDriver

v11.0.0 以前から

static @method

static setDefaultDriver(\UnitEnum|string $name): void
  1. v11.0.0 追加
    変更後
    @method static setDefaultDriver(string $name): void
  2. v13.7.0 シグネチャ変更
    変更前
    @method static setDefaultDriver(string $name): void
    変更後
    @method static setDefaultDriver(\UnitEnum|string $name): void

setEventDispatcher

v11.0.0 以前から

static @method

static setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $dispatcher): void
  1. v11.0.0 追加
    変更後
    @method static setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $dispatcher): void

shareContext

v11.0.0 以前から

static @method

static shareContext(array $context): \Illuminate\Log\LogManager
  1. v11.0.0 追加
    変更後
    @method static shareContext(array $context): \Illuminate\Log\LogManager

sharedContext

v11.0.0 以前から

static @method

static sharedContext(): array
  1. v11.0.0 追加
    変更後
    @method static sharedContext(): array

stack

v11.0.0 以前から

static @method

static stack(array $channels, string|null $channel = null): \Psr\Log\LoggerInterface
  1. v11.0.0 追加
    変更後
    @method static stack(array $channels, string|null $channel = null): \Psr\Log\LoggerInterface

unless

v11.0.0 以前から

static @method

static unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null): \Illuminate\Log\Logger|mixed
  1. v11.0.0 追加
    変更後
    @method static unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null): \Illuminate\Log\Logger|mixed

warning

v11.0.0 以前から

static @method

static warning(string|\Stringable $message, array $context = []): void
  1. v11.0.0 追加
    変更後
    @method static warning(string|\Stringable $message, array $context = []): void

when

v11.0.0 以前から

static @method

static when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null): \Illuminate\Log\Logger|mixed
  1. v11.0.0 追加
    変更後
    @method static when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null): \Illuminate\Log\Logger|mixed

withContext

v11.0.0 以前から

static @method

static withContext(array $context = []): \Illuminate\Log\Logger
  1. v11.0.0 追加
    変更後
    @method static withContext(array $context = []): \Illuminate\Log\Logger

withoutContext

v11.0.0 以前から

static @method

static withoutContext(string[]|null $keys = null): \Illuminate\Log\LogManager
  1. v11.0.0 追加
    変更後
    @method static withoutContext(): \Illuminate\Log\LogManager
  2. v12.4.0 シグネチャ変更
    変更前
    @method static withoutContext(): \Illuminate\Log\LogManager
    変更後
    @method static withoutContext(string[]|null $keys = null): \Illuminate\Log\LogManager

write

v11.0.0 以前から

static @method

static write(string $level, \Illuminate\Contracts\Support\Arrayable|\Illuminate\Contracts\Support\Jsonable|\Illuminate\Support\Stringable|array|string $message, array $context = []): void
  1. v11.0.0 追加
    変更後
    @method static write(string $level, \Illuminate\Contracts\Support\Arrayable|\Illuminate\Contracts\Support\Jsonable|\Illuminate\Support\Stringable|array|string $message, array $context = []): void