monikode_event_store 1.0.1 copy "monikode_event_store: ^1.0.1" to clipboard
monikode_event_store: ^1.0.1 copied to clipboard

A singleton service to log event into a Firebase Firestore database. Can also log events locally into the console with different log levels(debug, info, warning, error, trace).

Event Store #

Description #

This is a singleton service to log event into a Firebase Firestore database. Can also log events locally into the console with different log levels(debug, info, warning, error, trace).

Installation #

To install the event store, you can use the following command:

flutter pub add monikode_event_store

Usage #

To use the event store, you need to import the class in your file:


import 'package:monikode_event_store/monikode_event_store.dart';

You can also use the following methods:

var instance = EventStore.getInstance();
instance.eventLogger.logEvent("login", EventLevel.info, {
    "custom_parameter": "custom_value",
});
    

License #

This project is licensed under the MIT License - see the LICENSE file for details.

0
likes
150
points
93
downloads

Publisher

verified publishermonikode.com

Weekly Downloads

A singleton service to log event into a Firebase Firestore database. Can also log events locally into the console with different log levels(debug, info, warning, error, trace).

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cloud_firestore, firebase_auth, firebase_database, flutter, plugin_platform_interface

More

Packages that depend on monikode_event_store