StreamLogger
A logger that prints to a PHP stream (for instance stderr)
- Full name:
\ScssPhp\ScssPhp\Logger\StreamLogger
- This class implements:
\ScssPhp\ScssPhp\Logger\LoggerInterface
Properties
stream
closeOnDestruct
Methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$stream |
resource | A stream resource |
$closeOnDestruct |
bool | If true, takes ownership of the stream and close it on destruct to avoid leaks. |
warn
Emits a warning with the given message.
Parameters:
Parameter | Type | Description |
---|---|---|
$message |
mixed | |
$deprecation |
mixed |
debug
Emits a debugging message.
Parameters:
Parameter | Type | Description |
---|---|---|
$message |
mixed |
Automatically generated on 2025-03-18