cr_logger 2.0.0 cr_logger: ^2.0.0 copied to clipboard
Powerful logging plugin. Supports android, ios and web platforms.
2.0.0 #
Added #
- There was added ability to use database to save logs, if
useDatabase
anduseCrLoggerInReleaseBuild
is true - Added search for all logs from the database or from the current session.
- Added option to delete all logs or logs of a certain type from the database
- Added ability to switch between logs from the database or from the current session
- Added an option to set the maximum count of logs (use
maxDatabaseLogsCount
) that will be saved to the database - With
printLogsCompactly
, logs can be printed more compactly in the console - Added
widget
toaddValueNotifier
method. Check in the example app how to use it
Changed #
- Updated UI for searching logs
- The path in http logs has been shortened
- Changed the title for the app bar. Now it shows which logs are displayed: from the database or from the current session
- Renamed
shouldPrintLogs
(useprintLogs
) - Renamed
shouldPrintInReleaseMode
(useuseCrLoggerInReleaseBuild
) - Updated UI for HTTP log details
- Improved logic for showing parameters and body in https logs details
Removed #
- Removed
handleFunctionInIsolate
,parseiOSJsonStringInIsolate
andisIsolateHttpLogsPrinting
. Now all logs will be printed to isolates if the logger is not running in the web - Removed
LogoutFromAppCallback
. Deleted the app logout feature completely. (useaddAction
)
Fixed #
- Fixed request headers in response tab
1.1.0 #
- Small UI updates for headers, link and error preview
- Proxy settings are now stored in the logger.
onProxyChanged
andonGetProxyFromDB
replaced withgetProxySettings
method - Added custom variable
appInfo
asMap<String, String>
.buildType
andendpoints
variables removed, and must be passed inappInfo
- Actions and Value notifiers pages are combined into Actions and values page
- Removed
maxCountHttpLogs
andmaxCountOtherLogs
parameters (usemaxLogsCount
instead) - Chopper and regular http interceptors now depend on
shouldPrintLogs
andshouldPrintInReleaseMode
parameters - The
popupItemAddAction
method has been renamed to aaddActionButton
, and thepopupItemAddNotifier
to aaddValueNotifier
- Fixed print of double http request to console in error case
- Fixed pop-ups under the logger
- Fixed slider reset in web when hovering over debug button
- Fixed error handling for http requests of dart:io library
1.0.2 #
- Hide "hidden" fields in shared file
- Number of logs of each type (http, debug, info, error) is now counted separately
- The
maxCountHttpLogs
andmaxCountOtherLogs
parameters in the logger'sInit
method have been replaced bymaxLogsCount
- Requests that have not yet been responded to now have a "Sending" status
- Fixed error handling for regular http and chopper logs
1.0.1 #
- Added ability to hide fields in requests and responses and in query parameters
- Added ability to turn on/off printing logs in release mode
- Added ability to copy to clipboard headers values
- Fixed missing parameter key in http logs printed in console
1.0.0 #
- Support for Flutter 3.0.0
0.9.19 #
- Added ability to remove action buttons by specified id
- Added ability to remove notifiers by specified id
- Updated readme
0.9.18 #
- Сhanged debug button icon when logger is open
- Fixed debug button disappears after double tap
- Fixed time parsing when loading logs from json
0.9.17 #
- Fixed issue with inspector
0.9.16 #
- Added warning popup when selecting Share logs if
onShareLogsFile
callback was not defined - ShareLogsFileCallback was described in the readme
- Added ability to minimize logger with saving state when you tap on overlay button again
0.9.15 #
- Changed display of link block on Error tab of Http logs details page to match other tabs
0.9.14 #
- Updated readme
0.9.13 #
- Fix pub.dev warnings
0.9.12 #
- Fix search issue for logs with not string message
- Fixed blank screen when redirect to log details after tap on search result item
0.9.11 #
- First public release