MAX_CHUNK_SIZE
MAX_CHUNK_SIZE = 2147483647
Stores to any stream resource
Can be used to store into php://stderr, remote and local files, etc.
$processors : callable[]
$formatter : ?\Monolog\Formatter\FormatterInterface
$level : int
$bubble : bool
$streamChunkSize : int
$stream : resource|null
$url : ?string
$filePermission : ?int
$useLocking : bool
$errorMessage : ?string
$dirCreated : true|null
__construct(resource|string $stream, mixed $level = Logger::DEBUG, bool $bubble = true, int|null $filePermission = null, bool $useLocking = false) : mixed
resource|string | $stream | If a missing path can't be created, an UnexpectedValueException will be thrown on first write |
mixed | $level | |
bool | $bubble | |
int|null | $filePermission | Optional file permissions (default (0644) are only for owner read/write) |
bool | $useLocking | Try to lock log file before doing any writes |
If stream is not a resource or string