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, String? group}) MelosLogger
childWithoutMessage({String childIndentation = ' '}) MelosLogger
command(String command, {bool withDollarSign = false}) → void
error(String message, {String? group, bool label = true}) → void
flush() → void
Flush any un-written output.
inherited
flushGroupBufferIfNeed() → void
hint(String message, {String? group, bool label = true}) → void
horizontalLine({String? group}) → void
log(String message, {String? group}) → void
logWithoutNewLine(String message, {String? group}) → void
newLine({String? group}) → 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, {String? group, bool dryRun = false}) → void
toString() String
A string representation of this object.
inherited
trace(String message) → void
Print trace output.
warning(String message, {String? group, 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