Logger class abstract

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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

quiet Logger
A logger that silently ignores all messages.
final