simple_logger_overlay 0.0.1 copy "simple_logger_overlay: ^0.0.1" to clipboard
simple_logger_overlay: ^0.0.1 copied to clipboard

A simple, Dart 3+ compatible Flutter logging plugin with an in-app draggable overlay, log levels, and Dio support

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:simple_logger_overlay/simple_logger_overlay.dart';

void main() {
  LoggerCore().i("Example started");
  runApp(const MyExampleApp());
}

class MyExampleApp extends StatelessWidget {
  const MyExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return Stack(
      children: [
        MaterialApp(
          home: Scaffold(
            appBar: AppBar(title: const Text('Logger Example')),
            body: Center(
              child: ElevatedButton(
                onPressed: () {
                  LoggerCore().d("User tapped log button", tag: "UI");
                },
                child: const Text("Log Something"),
              ),
            ),
          ),
        ),
        const LoggerOverlay(),
      ],
    );
  }
}
2
likes
0
points
5
downloads

Publisher

verified publishersammacwan.in

Weekly Downloads

A simple, Dart 3+ compatible Flutter logging plugin with an in-app draggable overlay, log levels, and Dio support

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on simple_logger_overlay