omni_track_core 1.0.0-dev.0 copy "omni_track_core: ^1.0.0-dev.0" to clipboard
omni_track_core: ^1.0.0-dev.0 copied to clipboard

Omni Track Core is the foundation of Omni Track, enabling customization and creation of custom logs. With this package, you can define your own logging structure or seamlessly integrate specific dri [...]

Omni Track Core #

Omni Track Core is the foundation of Omni Track, providing the necessary interfaces and abstractions to create custom logging solutions. This package allows developers to build custom log drivers or use existing ones like omni_track_crashlytics and omni_track_sentry.

📌 Features #

  • Core Logging Abstractions: Provides interfaces for building custom log drivers.
  • 🔌 Plugin-Based Architecture: Easily extend with specific log integrations.
  • 🚀 Lightweight and Flexible: Designed to fit any logging requirement.
  • 📡 Seamless Integration: Works with multiple logging backends.

📦 Installation #

Add Omni Track Core to your pubspec.yaml:

dependencies:
  omni_track_core: latest_version

Then, run:

flutter pub get

🚀 Getting Started #

1️⃣ Implement a Custom Log Driver #

import 'package:omni_track_core/omni_track_core.dart';

class MyCustomDriver extends LogDriver {
  @override
  void log(LogEntry entry) {
    print('[${entry.level}] ${entry.message}');
  }
}

2️⃣ Register the Custom Driver #

void main() {
  OmniTrackCore.addDriver(MyCustomDriver());
}

📌 Available Plugins #

🤝 Contributing #

Contributions are welcome! Feel free to submit issues and pull requests to improve Omni Track Core.

📜 License #

This project is licensed under the MIT License.


💙 Developed by Rodrigo Rahman - Academia do Flutter 🚀

0
likes
140
points
10
downloads

Publisher

unverified uploader

Weekly Downloads

Omni Track Core is the foundation of Omni Track, enabling customization and creation of custom logs. With this package, you can define your own logging structure or seamlessly integrate specific drivers like omni_track_crashlytics and omni_track_sentry to send logs to various services. It provides the necessary interfaces and abstractions to help you develop flexible and scalable logging solutions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on omni_track_core