Logger class

A logging utility for the flutter_env_doctor package.

This logger provides different levels of logging and can be configured to show or hide logs based on verbosity settings.

Constructors

Logger()

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

enabled bool
Whether to show any logs at all (can be disabled in production)
getter/setter pair
verbose bool
Controls the verbosity of logging
getter/setter pair

Static Methods

debug(String message) → void
Log a debug message (only shown when verbose is true)
error(String message) → void
Log an error message
info(String message) → void
Log an informational message
success(String message) → void
Log a success message
warning(String message) → void
Log a warning message