CliLogger class abstract

Mirror of the TS CliLogger interface.

Constructors

CliLogger()

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

divider() → void
Render a visual divider line.
error(String message) → void
Writes an error message.
fail(String message) → void
Writes a failure message.
info(String message) → void
Writes an informational message.
kv(String key, String value) → void
Render a key/value pair aligned to the configured label width.
list(List<String> items, {String? bullet, bool? highlightLast}) → void
Render each item as a list entry using optional bullet and optional last-item highlight.
listKeyValue(List<({String key, String? value})> items) → void
Render key/value pairs as aligned list lines, preserving empty-value keys.
log(String message) → void
Writes an unadorned log message.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
section(String title) → void
Writes a section title.
spinner(String text) Spinner
Start and return a spinner bound to stdout for long-running operations.
start(String message) → void
Writes the message for an operation that is starting.
success(String message) → void
Writes a successful-result message.
toString() String
A string representation of this object.
inherited
warn(String message) → void
Writes a warning message.

Operators

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