Logger class

An interface for loggers that print messages produced by Sass stylesheets.

This may be implemented by user code.

Constructors

Logger.stderr({bool color })
Creates a logger that prints warnings to standard error, with terminal colors if color is true (default false).
const
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

debug(String message, SourceSpan span) → void
Emits a debugging message associated with the given span.
warn(String message, { FileSpan span, Trace trace, bool deprecation: false }) → void
Emits a warning with the given message. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Properties

quiet Logger
A logger that silently ignores all messages.
final