DebugLog class
Static facade providing easy access to the default toolkit controller.
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 Properties
- controller → DebugBubbleController?
-
The active default controller, or null before init or after dispose.
no setter
Static Methods
-
critical(
String message, {String? tag, String? subTag, Object? error, StackTrace? stackTrace, Map< String, Object?> ? metadata, Object? json}) → void - Convenience logging method for DebugLogLevel.critical.
-
debug(
String message, {String? tag, String? subTag, Object? error, StackTrace? stackTrace, Map< String, Object?> ? metadata, Object? json}) → void - Convenience logging method for DebugLogLevel.debug.
-
dispose(
) → void - Disposes and clears the active default controller. Idempotent (L-5, L-8).
-
error(
String message, {String? tag, String? subTag, Object? error, StackTrace? stackTrace, Map< String, Object?> ? metadata, Object? json}) → void - Convenience logging method for DebugLogLevel.error.
-
info(
String message, {String? tag, String? subTag, Object? error, StackTrace? stackTrace, Map< String, Object?> ? metadata, Object? json}) → void - Convenience logging method for DebugLogLevel.info.
-
init(
[DebugBubbleConfig config = const DebugBubbleConfig()]) → DebugBubbleController -
Initializes the default controller with
config, replacing and disposing any existing default controller (L-3, D-03). -
log(
DebugLogLevel level, String message, {String? tag, String? subTag, Object? error, StackTrace? stackTrace, Map< String, Object?> ? metadata, Object? json}) → void - Records a log entry through the default controller.
-
resetWarningFlag(
) → void - Resets the pre-init warning flag for testing.
-
success(
String message, {String? tag, String? subTag, Object? error, StackTrace? stackTrace, Map< String, Object?> ? metadata, Object? json}) → void - Convenience logging method for DebugLogLevel.success.
-
warning(
String message, {String? tag, String? subTag, Object? error, StackTrace? stackTrace, Map< String, Object?> ? metadata, Object? json}) → void - Convenience logging method for DebugLogLevel.warning.