ResultexLogger class
A concrete implementation of LoggerService utilizing encapsulated LogDetails.
Implements robust multi-line parsing, automated indentation nesting, environment-aware runtime filtering, and cross-platform safe colorization.
- Implemented types
Constructors
- ResultexLogger({ResultexLoggerSettings settings = const ResultexLoggerSettings(), LoggerFormatter? formatter})
-
Initializes the logger with custom
settingsand an optionalformatter.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → ResultexLoggerSettings
-
Global configuration settings determining log level filters and structural symbols.
final
Methods
-
critical(
String message, {Object? error, StackTrace? stackTrace}) → void -
Logs a highly critical system failure that requires immediate operator attention.
override
-
debug(
String message, {Object? error, StackTrace? stackTrace}) → void -
Logs a development-exclusive diagnostic entry containing context payloads and errors.
override
-
error(
String message, {Object? error, StackTrace? stackTrace}) → void -
Logs severe exceptions and stack traces requiring immediate review.
override
-
fine(
String message) → void -
Logs a fine-grained informational event tracing micro-operations or minor state changes.
override
-
good(
String message) → void -
Logs a successful milestone, completed transaction, or validated operation status.
override
-
group(
String title, void body()) → void - Groups related logs inside a structured block with an indent and dedicated lifecycle headers.
-
info(
String message) → void -
Logs a standard informational statement to the console.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verbose(
String message) → void -
Logs a hyper-detailed step-by-step trace for deep-dive analytical debugging.
override
-
warning(
String message) → void -
Logs a system warning regarding non-fatal but suspicious architecture behavior.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited