loglytics 0.14.1 loglytics: ^0.14.1 copied to clipboard
An efficient, user-friendly way to implement logs, analytics and crash reports into your projects.
0.14.1 #
- ✨ New: Added
AnalyticsTypes.pressed
.
0.14.0 #
- ⚠️ Breaking: Updated
logEvent
signature to reflect latest changes by firebase analytics.
0.13.0+1 #
- ✨ New: Added
requested
asAnalyticType
.
0.13.0 #
- ⚠️ Breaking: Removed all convenience methods like
value
,map
andmvvm
. - ⚠️ Breaking: Removed LogTypes/LogLevels:
success
,value
,mvvm
,bloc
,test
. - ⚠️ Breaking: Renamed
LogType
toLogLevel
. - ✨ New: Added option to specify
LogLevel
toLoglytics.setUp
method andLog.level
(staticLogLevel
). This will ignore certain levels of logging based on specifiedLog.level
(default is info). - ✨ New: Added
LogLevel.trace
andLogLevel.fatal
. - ✨ New: Added
Log.logTime
(static boolean) to allow for toggling the logging of time. - ✨ New: Added option to specify a
tag
toLog
or 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
,unlinked
andresumed
option to theAnalyticsService
.
0.12.0+7 #
- ✨ New: Added
paused
option to theAnalyticsService
.
0.12.0+6 #
- 🐛️ Bugfix: Export
CrashReportType
.
0.12.0+5 #
- ✨ New: Added
CrashReportType
to control the leading information that gets sent to your crash reports. Configure it through theLoglytics.setUp
method. Defaults tolocation
(like before). - Moved icon and tag to beginning of log.
0.12.0+4 #
- ✨ New: Added
unverified
option to theAnalyticsService
. - ✨ New: Added
analyticsAs<A>()
option toLoglytics
to allow for multiple types of analytics per inheritedLoglytics
mixin.
0.12.0+3 #
- ✨ New: Added
filled
andcleared
option to theAnalyticsService
.
0.12.0+2 #
- ✨ New: Added
used
option to theAnalyticsService
.
0.12.0+1 #
- ✨ New: Added
swiped
option to theAnalyticsService
.
0.12.0 #
- ⚠️ Breaking: Added
addAanalyticsToCrashReports
option toLoglytics.setUp
. Defaults totrue
!
0.11.0+1 #
- ✨ New: Added
verified
command. - Fix example project
0.11.0 #
- ⚠️ Breaking: Let
AnalyticsService.userProperty
accept nullable values.
0.10.5 #
- ⚠️ Breaking: Renamed
Loglytics.dispose
toLoglytics.disposeMe
to avoid a rare bug where classes that already have a dispose method and implementingLoglytics
would result in aRangeError
when compiling.
0.10.4 #
- ⚠️ Breaking: Made
Loglytics.getIt
static to allow for mock generation of classes that implementLoglytics
. - ✨ New: Added
snoozed
command.
0.10.3+1 #
- ✨ New: Added
taken
command.
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
given
command.
0.10.2+2 #
- ✨ New: Added
[SCREEN]
tag to debug log when logging screen analytics. - ✨ New: Added
Log.broadcastLogs
boolean to indicate whether to broadcast logs through newly addedStreamControllers
Log.analyticsObserver
andLog.crashReportsObserver
.
0.10.2+1 #
- ✨ New: Added
analytics.found
,analytics.notfound
,analytics.completed
andanalytics.error
.
0.10.2 #
- ✨ New: Added
LogType.test
and extra convenience methods fortest
,bloc
,debug
andmvvm
. - ✨ New: Added
showTime
andlocation
to convenience methods. - ⚠️ Breaking: Removed
logLevel
fromLog.info
.
0.10.1+6 #
- 🐛️ Bugfix: Removed unwanted character at location log.
0.10.1+5 #
- 🐛️ Bugfix: Made
Loglytics.create
return properAnalytics
object.
0.10.1+4 #
- Made
EventBus
streams broadcast streams to avoid listen error when resetting.
0.10.1+3 #
- 🐛️ Bugfix: Add better checks to
EventBus
streams.
0.10.1+2 #
- 🐛️ Bugfix: Made
EventBus.dispose
return aFuture
.
0.10.1+1 #
- 🐛️ Bugfix: Made reset analytics methods return a
Future
.
0.10.1 #
- ✨ New: Added
Loglytics.isActive
bool to facilitate checking ifLoglytics
has 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 ofLoglytics
objects when using an object is preferred over using amixin
. - ✨ New: Added a
Log
a logger class that holds all logging capabilities and may be initialised on its own. - ✨ New: Implemented an
EventBus
that handles crash reporting events in chronological order instead ofunawaiting
all of them. You choose to handle separate event streams for analytics and logging or to combine them by setting thecombineEvents
boolean in theLoglytics.setUp
methods to true or false. - ⚙️ Refactor: Removed description as a named parameter inside the
log.value
method and replaced it with a positional parameter to allow for smoother logging. - ⚠️ Breaking:
Loglytics
will now create its own instance ofGetIt
. - ⚠️ Breaking: Removed a lot of required parameters for different classes.
- ⚠️ Breaking: Moved the logging functionality to its own
Log
class 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 thelog
method. - ⚠️ Breaking: Removed the convenience methods
logDispose
andlogInitialise
. - ⚠️ Breaking: Removed all
customLog
methods. - ⚠️ Breaking: Removed the
ConstLoglytics
class. - ⚠️ Breaking: Removed the
shouldLogAnalytics
boolean. - ⚠️ Breaking: Removed the
CoreSubjects
class. - 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.registerAnalytics
method so analytics may be registered separately from theLoglytics.setUp
.
0.9.5+2 #
- ✨ New: Added new methods
saved
andloaded
. - Ensured that
logError
uses the message as error when no error is given.
0.9.5+1 #
- ✨ New: Added new methods
unsupported
,invalid
,valid
andshown
.
0.9.5 #
- ✨ New: Added
LogType.value
with proper icon and name - ✨ New: Added custom
location
and removal oftime
to defaultlog
method.
0.9.4+2 #
- Fix small bug where new log type would not get parsed.
0.9.4+1 #
- ✨ New: Add
LogType.debug
,LogType.bloc
andLogType.mvvm
as log types.
0.9.4 #
- ✨ New: Added
customLogError
method 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
forceRecordError
to logError method. - ✨ New: Added
generated
method 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.analytics
final.
0.9.0+1 #
- Fix readme.
0.9.0 #
- ✨ New: Added the
AnalyticsService
to eachAnalytics
object, grab it with theservice
getter. - ⚠️ Breaking: Removed the
_CoreData
from theAnalytics
object. It is still available so just add it manually when you see fit in your own implementations. - ⚠️ Breaking: Removed the
AnalyticsService
from theLoglytics
object. Theanalytics
getter will now pass you yourAnalytics
implementation directly (which holds theAnalyticsService
). - ⚠️ Breaking: Refactored all callbacks in the
AnalyticsService
to accept regularString
s andMap
s. - ⚠️ Breaking: Renamed the
AnalyticsService.event
method toAnalyticsService.custom
.
0.8.1+1 #
- Fix readme.
0.8.1 #
- ✨ New: Add
toCustomAnalytic
extension method to allAnalyticsTypes
enums to allow for more flexible custom analytics creations.
0.8.0+1 #
- Fix example project and formatting.
0.8.0 #
- ✨ New: Added a
CustomAnalytic
object to allow for custom methods in yourAnalytics
implementations. - ⚠️ Breaking: Refactored the
AnalyticsService.event
method.
0.7.4 #
- ✨ New: Added new
Loglytics.logKeyValue
method. - Refactored
message
todescription
and addeddescription
to some log methods.
0.7.3+1 #
- 🐛️ Bugfix: Fix
Loglytics.value
print again.
0.7.3 #
- 🐛️ Bugfix: Fix
Loglytics.value
print.
0.7.2 #
- 🐛️ Bugfix: Remove
AnalyticsService.input
method unwanted change.
0.7.1 #
- 🐛️ Bugfix: Remove
logError
method unwanted change.
0.7.0 #
- ⚠️ Breaking: Most events are now past tense and have refactored methods.
- ✨ New: Added new events.
- ✨ New: Added new
addToCrashReports
boolean to each log to facilitate hiding sensitive info from crash reports. - ✨ New: Added new
errorStackTraceStart
anderrorStackTraceEnd
ints to allow for StackTrace printing length configuration. - ✨ New: Changed
AnalyticsService.reset
toAnalyticsService.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
AnalyticsFactory
to register all your analytics with.
0.5.0 #
- ⚠️ Breaking: Loglytics was completely refactored.
LoglyticsWrapper
was removed and doesn't have to be overridden anymore;LoglyticsSubjects
was removed and doesn't have to be implemented anymore;LoglyticsParameters
was removed and doesn't have to be implemented anymore;Analytics
object was introduced and is now the only class you have to implement and add toLoglytics
mixin
(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.dart
todefault_analytics.dart
;analytics_wrapper.dart
tologlytics_wrapper.dart
.
- 🐛️ Bugfix: Remove required crashReportsInterface when calling
customLog
.
0.1.3 #
- ✨ New: Added default analytics that are accessible trough
Loglytics.defaultAnalytics
and require no further configuration of theLoglytics
mixin. - ⚠️ Breaking: Renamed the following:
FeatureAnalytics
toLoglyticsWrapper
;FeatureSubjects
toLoglyticsSubjects
;FeatureParameters
toLoglyticsParameters
;Loglytics.featureAnalytics
getter 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.