CliLogger class abstract

Constructors

CliLogger({Logger? logger, String indentation = '', String childIndentation = ' '})
factory
CliLogger.of({required bool verbose, String indentation = '', String childIndentation = ' '})
factory

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}) CliLogger
childWithoutMessage({String childIndentation = ' '}) CliLogger
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.
inherited
stdout(String message) → void
Print a standard status message.
inherited
success(String message, {bool dryRun = false}) → void
toString() String
A string representation of this object.
inherited
trace(String message) → void
Print trace output.
inherited
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