MelosLogger class

CLI logger that encapsulates Melos log formatting conventions.

Available Extensions

Constructors

MelosLogger(Logger logger, {String indentation = '', String childIndentation = ' '})

Properties

ansi → Ansi
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isVerbose bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

child(String message, {String prefix = '└> ', bool stderr = false}) MelosLogger
childWithoutMessage({String childIndentation = ' '}) MelosLogger
command(String command, {bool withDollarSign = false}) → void
error(String message, {bool label = true}) → void
flush() → void
Flush any un-written output.
inherited
hint(String message, {bool label = true}) → void
horizontalLine() → void
log(String message) → void
newLine() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
progress(String message) → Progress
Start an indeterminate progress display.
inherited
stderr(String message) → void
Print an error message.
stdout(String message) → void
Print a standard status message.
success(String message, {bool dryRun = false}) → void
toString() String
A string representation of this object.
inherited
trace(String message) → void
Print trace output.
warning(String message, {bool label = true, bool dryRun = false}) → void
write(String message) → void
Print text to stdout, without a trailing newline.
inherited
writeCharCode(int charCode) → void
Print a character code to stdout, without a trailing newline.
inherited

Operators

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