This method is called when Sass emits a debug message due to a @debug
rule.
If this is undefined
, Sass will print debug messages to standard error.
The debug message.
The location in the Sass source code that generated this debug message.
This method is called when Sass emits a warning, whether due to a @warn
rule or a warning generated by the Sass compiler.
If this is undefined
, Sass will print warnings to standard error.
The warning message.
Whether this is a deprecation warning.
The location in the Sass source code that generated this warning.
The Sass stack trace at the point the warning was issued.
© 2006–2022 the Sass team, and numerous contributors
Licensed under the MIT License.
https://sass-lang.com/documentation/js-api/interfaces/Logger
An object that can be passed to LegacySharedOptions.logger to control how Sass emits warnings and debug messages.