Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
A logger that prints to a PHP stream (for instance stderr) More...
Public Member Functions | |
__construct ($stream, $closeOnDestruct=false) | |
debug ($message) | |
@inheritDoc | |
warn ($message, $deprecation=false) | |
@inheritDoc | |
A logger that prints to a PHP stream (for instance stderr)
@final
ScssPhp\ScssPhp\Logger\StreamLogger::__construct | ( | $stream, | |
$closeOnDestruct = false ) |
resource | $stream | A stream resource |
bool | $closeOnDestruct | If true, takes ownership of the stream and close it on destruct to avoid leaks. |
ScssPhp\ScssPhp\Logger\StreamLogger::debug | ( | $message | ) |
@inheritDoc
Implements ScssPhp\ScssPhp\Logger\LoggerInterface.
ScssPhp\ScssPhp\Logger\StreamLogger::warn | ( | $message, | |
$deprecation = false ) |
@inheritDoc
Implements ScssPhp\ScssPhp\Logger\LoggerInterface.