AppLogger class
A utility class for logging messages in the Max Fighting Championship application.
This class provides static methods for logging messages at different levels of severity.
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(
String message) → void - Logs a debug message.
-
error(
String message) → void - Logs an error message.
-
info(
String message) → void - Logs an info message.
-
logApiError(
{required String url, required String method, int? statusCode, dynamic error}) → void - Logs an API error.
-
logApiRequest(
{required String url, required String method, Map< String, String> ? headers, dynamic body}) → void - Logs an API request.
-
logApiResponse(
{required String url, required String method, required int statusCode, dynamic responseBody}) → void - Logs an API response.
-
verbose(
String message) → void - Logs a verbose message.
-
warning(
String message) → void - Logs a warning message.