cote_network_logger library

Classes

CoteNetworkLogger
A Dio interceptor that logs HTTP requests and responses
NetworkLogger
Helper class to configure Network Logger
NetworkLoggerConfig
Environment configuration for Network Logger
NetworkLoggerEnvironment
Builder class for configuring Network Logger environments
NetworkLogRequest
Represents a network request log entry
NetworkLogResponse
Represents a network response log entry
NetworkLogStore
Stores network logs in memory for the developer dashboard. Only works in debug mode or staging environment and limits storage to recent entries.
NetworkLogWebServer
A local web server that provides a dashboard for viewing network logs.

Properties

dashboardUrl → String
Returns the URL where the dashboard is accessible.
no setter
isDashboardRunning → bool
Returns whether the dashboard server is currently running.
no setter

Functions

getNetworkLogDashboardUrl() → String?
Returns the URL where the Network Logger dashboard is accessible.
isNetworkLoggerSupported() → bool
Checks if the current platform supports the Network Logger dashboard.
isNetworkLogServerRunning() → bool
Returns whether the Network Logger web server is currently running.
startDashboard() → Future<bool>
Starts the web dashboard server for real-time monitoring.
startNetworkLogServer() → Future<bool>
Starts the Network Logger web server.
stopNetworkLogServer() → Future<void>
Stops the Network Logger web server.