Interface implemented by loggers for warnings and debug messages.
The official Sass implementation recommends that loggers report the messages immediately rather than waiting for the end of the compilation, to provide a better debugging experience when the compilation does not end (error or infinite loop after the warning for instance).
| package |
Application |
|---|
debug(stringmessage, ?\ScssPhp\ScssPhp\SourceSpan\FileSpanspan = null) : void
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
string
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
?\ScssPhp\ScssPhp\SourceSpan\FileSpan
warn(stringmessage, booldeprecation = false, ?\ScssPhp\ScssPhp\SourceSpan\FileSpanspan = null, ?\ScssPhp\ScssPhp\StackTrace\Tracetrace = null) : void
If $span is passed, it's the location in the Sass source that generated the warning. If $trace is passed, it's the Sass stack trace when the warning was issued. If $deprecation is true, it indicates that this is a deprecation warning. Implementations should surface all this information to the end user.
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
string
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
bool
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
?\ScssPhp\ScssPhp\SourceSpan\FileSpan
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
?\ScssPhp\ScssPhp\StackTrace\Trace