PrimekitLogger class abstract final

Internal structured logger used across all Primekit modules.

Respects the PrimekitLogLevel set during initialization and is automatically silenced in production builds unless explicitly enabled.

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

configure(PrimekitLogLevel level) → void
Configures the active log level.
debug(String message, {String? tag}) → void
Logs a debug message.
error(String message, {String? tag, Object? error, StackTrace? stackTrace}) → void
Logs an error.
info(String message, {String? tag}) → void
Logs an informational message.
verbose(String message, {String? tag}) → void
Logs a verbose message (lowest severity).
warning(String message, {String? tag, Object? error}) → void
Logs a warning.