KPrint class

A utility class for logging messages in debug mode. This class provides methods to log different types of messages (log, error, warning) with specific prefixes.

Constructors

KPrint.new()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

err(String message) → void
Logs a message with an error prefix.
lg(String message, {String symbol = '📝'}) → void
Logs a message with a note prefix.
warn(String message) → void
Logs a message with a warning prefix.