JetLogger class
A logger utility for structured and environment-aware logging.
Constructors
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
-
debug(
dynamic message, {bool alwaysPrint = false}) → void -
Logs a debug
message
to the console. -
dump(
dynamic message, {String? tag, bool alwaysPrint = false}) → void -
Logs a
message
with a customtag
. -
dumpTrace(
StackTrace stackTrace, {String? title, bool alwaysPrint = false}) → void - Dumps a stack trace in a human-readable format with minimal emojis.
-
error(
dynamic message, {bool alwaysPrint = false}) → void -
Logs an error
message
to the console. -
info(
dynamic message, {bool alwaysPrint = false}) → void -
Logs an informational
message
to the console. -
json(
dynamic message, {bool alwaysPrint = false}) → void -
Logs JSON
message
to the console. -
logWithBrackets(
dynamic title, dynamic message, dynamic details, {bool alwaysPrint = false, StackTrace? stackTrace}) → void