loglytics 0.15.0
loglytics: ^0.15.0 copied to clipboard
An efficient, user-friendly way to implement logs, analytics and crash reports into your projects.
0.15.0 #
- ⚠️ Breaking: Updated get_it to 8.0.3 (from 7.7.0).
- ⚠️ Breaking: Updated flutter_lints to 5.0.0 (from 3.0.2).
0.14.1 #
- ✨ New: Added
AnalyticsTypes.pressed.
0.14.0 #
- ⚠️ Breaking: Updated
logEventsignature to reflect latest changes by firebase analytics.
0.13.0+1 #
- ✨ New: Added
requestedasAnalyticType.
0.13.0 #
- ⚠️ Breaking: Removed all convenience methods like
value,mapandmvvm. - ⚠️ Breaking: Removed LogTypes/LogLevels:
success,value,mvvm,bloc,test. - ⚠️ Breaking: Renamed
LogTypetoLogLevel. - ✨ New: Added option to specify
LogLeveltoLoglytics.setUpmethod andLog.level(staticLogLevel). This will ignore certain levels of logging based on specifiedLog.level(default is info). - ✨ New: Added
LogLevel.traceandLogLevel.fatal. - ✨ New: Added
Log.logTime(static boolean) to allow for toggling the logging of time. - ✨ New: Added option to specify a
tagtoLogor any of its methods, allowing for more convenient debugging of logs and specific subjects. - ✨ New: Easy fetching of separate analytics objects through
Loglytics.getAnalytics<Analytic>.
0.12.0+8 #
- ✨ New: Added
linked,unlinkedandresumedoption to theAnalyticsService.
0.12.0+7 #
- ✨ New: Added
pausedoption to theAnalyticsService.
0.12.0+6 #
- 🐛️ Bugfix: Export
CrashReportType.
0.12.0+5 #
- ✨ New: Added
CrashReportTypeto control the leading information that gets sent to your crash reports. Configure it through theLoglytics.setUpmethod. Defaults tolocation(like before). - Moved icon and tag to beginning of log.
0.12.0+4 #
- ✨ New: Added
unverifiedoption to theAnalyticsService. - ✨ New: Added
analyticsAs<A>()option toLoglyticsto allow for multiple types of analytics per inheritedLoglyticsmixin.
0.12.0+3 #
- ✨ New: Added
filledandclearedoption to theAnalyticsService.
0.12.0+2 #
- ✨ New: Added
usedoption to theAnalyticsService.
0.12.0+1 #
- ✨ New: Added
swipedoption to theAnalyticsService.
0.12.0 #
- ⚠️ Breaking: Added
addAanalyticsToCrashReportsoption toLoglytics.setUp. Defaults totrue!
0.11.0+1 #
- ✨ New: Added
verifiedcommand. - Fix example project
0.11.0 #
- ⚠️ Breaking: Let
AnalyticsService.userPropertyaccept nullable values.
0.10.5 #
- ⚠️ Breaking: Renamed
Loglytics.disposetoLoglytics.disposeMeto avoid a rare bug where classes that already have a dispose method and implementingLoglyticswould result in aRangeErrorwhen compiling.
0.10.4 #
- ⚠️ Breaking: Made
Loglytics.getItstatic to allow for mock generation of classes that implementLoglytics. - ✨ New: Added
snoozedcommand.
0.10.3+1 #
- ✨ New: Added
takencommand.
0.10.3 #
- ✨ New: Add
Loglytics.getIt<E extends Analytics>()method to provide access to other analytics objects rather than always only the one specified as a generic argument of Loglytics. - ✨ New: Added
givencommand.
0.10.2+2 #
- ✨ New: Added
[SCREEN]tag to debug log when logging screen analytics. - ✨ New: Added
Log.broadcastLogsboolean to indicate whether to broadcast logs through newly addedStreamControllersLog.analyticsObserverandLog.crashReportsObserver.
0.10.2+1 #
- ✨ New: Added
analytics.found,analytics.notfound,analytics.completedandanalytics.error.
0.10.2 #
- ✨ New: Added
LogType.testand extra convenience methods fortest,bloc,debugandmvvm. - ✨ New: Added
showTimeandlocationto convenience methods. - ⚠️ Breaking: Removed
logLevelfromLog.info.
0.10.1+6 #
- 🐛️ Bugfix: Removed unwanted character at location log.
0.10.1+5 #
- 🐛️ Bugfix: Made
Loglytics.createreturn properAnalyticsobject.
0.10.1+4 #
- Made
EventBusstreams broadcast streams to avoid listen error when resetting.
0.10.1+3 #
- 🐛️ Bugfix: Add better checks to
EventBusstreams.
0.10.1+2 #
- 🐛️ Bugfix: Made
EventBus.disposereturn aFuture.
0.10.1+1 #
- 🐛️ Bugfix: Made reset analytics methods return a
Future.
0.10.1 #
- ✨ New: Added
Loglytics.isActivebool to facilitate checking ifLoglyticshas already been initialized. - 🐛️ Bugfix: Added actual assignment to subscriptions in the
EventBus. - 🐛️ Bugfix: Fixed type in
Loglytics.setUp.
0.10.0 #
- ✨ New: Added a
Loglytics.create()method to allow for easy creation ofLoglyticsobjects when using an object is preferred over using amixin. - ✨ New: Added a
Loga logger class that holds all logging capabilities and may be initialised on its own. - ✨ New: Implemented an
EventBusthat handles crash reporting events in chronological order instead ofunawaitingall of them. You choose to handle separate event streams for analytics and logging or to combine them by setting thecombineEventsboolean in theLoglytics.setUpmethods to true or false. - ⚙️ Refactor: Removed description as a named parameter inside the
log.valuemethod and replaced it with a positional parameter to allow for smoother logging. - ⚠️ Breaking:
Loglyticswill now create its own instance ofGetIt. - ⚠️ Breaking: Removed a lot of required parameters for different classes.
- ⚠️ Breaking: Moved the logging functionality to its own
Logclass to allow for easier initialisation of pure loggers and clearing up the IntelliSense clutter when a class has implementedLoglytics, any previous logging method is now available under thelogmethod. - ⚠️ Breaking: Removed the convenience methods
logDisposeandlogInitialise. - ⚠️ Breaking: Removed all
customLogmethods. - ⚠️ Breaking: Removed the
ConstLoglyticsclass. - ⚠️ Breaking: Removed the
shouldLogAnalyticsboolean. - ⚠️ Breaking: Removed the
CoreSubjectsclass. - Added '[PROPERTY]' tag to debug log when setting user property to create better distinction between analytics logging and user property logging.
- Added the location of the log as '[$location]' to crash reporting.
- Added a several methods so analytics objects may be registered / reset independently of the
Loglytics.setUp. - Added a separate
Loglytics.registerAnalyticsmethod so analytics may be registered separately from theLoglytics.setUp.
0.9.5+2 #
- ✨ New: Added new methods
savedandloaded. - Ensured that
logErroruses the message as error when no error is given.
0.9.5+1 #
- ✨ New: Added new methods
unsupported,invalid,validandshown.
0.9.5 #
- ✨ New: Added
LogType.valuewith proper icon and name - ✨ New: Added custom
locationand removal oftimeto defaultlogmethod.
0.9.4+2 #
- Fix small bug where new log type would not get parsed.
0.9.4+1 #
- ✨ New: Add
LogType.debug,LogType.blocandLogType.mvvmas log types.
0.9.4 #
- ✨ New: Added
customLogErrormethod for logging errors when use of a mixin is not possible.
0.9.3+1 #
- Update stack trace of logError to ignore logError line.
0.9.3 #
- ✨ New: Added
forceRecordErrorto logError method. - ✨ New: Added
generatedmethod toAnalyticsService.
0.9.2+1 #
- Update stack trace debug print and config.
0.9.2 #
- Update stack trace debug print and config.
0.9.1+8 #
- Fix another crash reporting bug
0.9.1+7 #
- Fix crash reporting bug
0.9.1+6 #
- Improve logging
0.9.1+5 #
- Improve logging
0.9.1+4 #
- Expose implementations in both const and regular loglytics.
0.9.1+3 #
- Expose implementations.
0.9.1+2 #
- Update debug print statement of analytics parameters.
0.9.1+1 #
- Update debug print statement of analytics parameters.
0.9.1 #
- ✨ New: Added const version of
Loglytics=>ConstLoglytics.
0.9.0+2 #
- 🐛️ Bugfix: Made
Loglytics.analyticsfinal.
0.9.0+1 #
- Fix readme.
0.9.0 #
- ✨ New: Added the
AnalyticsServiceto eachAnalyticsobject, grab it with theservicegetter. - ⚠️ Breaking: Removed the
_CoreDatafrom theAnalyticsobject. It is still available so just add it manually when you see fit in your own implementations. - ⚠️ Breaking: Removed the
AnalyticsServicefrom theLoglyticsobject. Theanalyticsgetter will now pass you yourAnalyticsimplementation directly (which holds theAnalyticsService). - ⚠️ Breaking: Refactored all callbacks in the
AnalyticsServiceto accept regularStrings andMaps. - ⚠️ Breaking: Renamed the
AnalyticsService.eventmethod toAnalyticsService.custom.
0.8.1+1 #
- Fix readme.
0.8.1 #
- ✨ New: Add
toCustomAnalyticextension method to allAnalyticsTypesenums to allow for more flexible custom analytics creations.
0.8.0+1 #
- Fix example project and formatting.
0.8.0 #
- ✨ New: Added a
CustomAnalyticobject to allow for custom methods in yourAnalyticsimplementations. - ⚠️ Breaking: Refactored the
AnalyticsService.eventmethod.
0.7.4 #
- ✨ New: Added new
Loglytics.logKeyValuemethod. - Refactored
messagetodescriptionand addeddescriptionto some log methods.
0.7.3+1 #
- 🐛️ Bugfix: Fix
Loglytics.valueprint again.
0.7.3 #
- 🐛️ Bugfix: Fix
Loglytics.valueprint.
0.7.2 #
- 🐛️ Bugfix: Remove
AnalyticsService.inputmethod unwanted change.
0.7.1 #
- 🐛️ Bugfix: Remove
logErrormethod unwanted change.
0.7.0 #
- ⚠️ Breaking: Most events are now past tense and have refactored methods.
- ✨ New: Added new events.
- ✨ New: Added new
addToCrashReportsboolean to each log to facilitate hiding sensitive info from crash reports. - ✨ New: Added new
errorStackTraceStartanderrorStackTraceEndints to allow for StackTrace printing length configuration. - ✨ New: Changed
AnalyticsService.resettoAnalyticsService.resetAnalytics.
0.6.0 #
- 🐛️ Bugfix: Set up method only allow one Analytics object to be passed due to wrong use of generics.
- ⚠️ Breaking: Setup method was refactored to pass an
AnalyticsFactoryto register all your analytics with.
0.5.0 #
- ⚠️ Breaking: Loglytics was completely refactored.
LoglyticsWrapperwas removed and doesn't have to be overridden anymore;LoglyticsSubjectswas removed and doesn't have to be implemented anymore;LoglyticsParameterswas removed and doesn't have to be implemented anymore;Analyticsobject was introduced and is now the only class you have to implement and add toLoglyticsmixin(as a generic) for access to your custom analytics.- Added a bunch of handy default analytics that are accessible through
analytics.core(even without specifying a generic 🆒).
0.4.0+1 #
- Fix changelog.
0.4.0 #
- ⛔️ NOTE: Loglytics was unaware of the rules for semantic versioning. Please be aware that versions 0.1.2, 0.1.3 and 0.1.4 are not compatible with each other. Also, please be aware that from this day forth Loglytics will keep the semantic versioning rules in mind when specifying new versions 🙃.
0.1.4 #
- ⚠️ Breaking: Renamed the following:
core_analytics.darttodefault_analytics.dart;analytics_wrapper.darttologlytics_wrapper.dart.
- 🐛️ Bugfix: Remove required crashReportsInterface when calling
customLog.
0.1.3 #
- ✨ New: Added default analytics that are accessible trough
Loglytics.defaultAnalyticsand require no further configuration of theLoglyticsmixin. - ⚠️ Breaking: Renamed the following:
FeatureAnalyticstoLoglyticsWrapper;FeatureSubjectstoLoglyticsSubjects;FeatureParameterstoLoglyticsParameters;Loglytics.featureAnalyticsgetter toLoglytics.wrapper.
- ✨ New: Added extra event types and methods.
- ⚠️ Breaking: Removed create, update, delete event types and methods (these are better fit as subjects).
0.1.2 #
- ⚠️ Breaking: Rename LogService to Loglytics.
- ⚠️ Breaking: Rename CrashlyticsInterface to CrashReportingInterface.
0.1.1 #
- Update readme.
- Add formatting to get 130 pub points.
0.1.0 #
- Initial release.