simc / logger_flutter Goto Github PK
View Code? Open in Web Editor NEWFlutter extension for logger https://github.com/leisim/logger
License: MIT License
Flutter extension for logger https://github.com/leisim/logger
License: MIT License
on iPhone Simulator the example provided doesnt work. Neither does it work in my very own application. To get it right, on shake i should see the log on the simulator right inside my app right?
logger_flutter 0.7.1 depends on logger ^0.7.0 and no versions of logger_flutter match >0.7.1 <0.8.0, logger_flutter ^0.7.1 requires logger ^0.7.0.
pub score is 80.. awesome idea though!
Hello,
I'm using LogConsoleOnShake to open console screen.
It works fine on most Android devices, but on some it causes screen freeze for several seconds.
Just removing LogConsoleOnShake makes freeze to disappear.
Thanks for the flutter extension.
Any plan for Null safety?
Adding the dependency to my project causes flutter run to spit out this error.
FAILURE: Build failed with an exception.
* Where:
Script '/home/tristan/Files/ProgramFiles/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 221
* What went wrong:
A problem occurred configuring project ':logger_flutter'.
> Failed to notify project evaluation listener.
> Could not get unknown property 'android' for project ':logger_flutter' of type org.gradle.api.Project.
> Could not find method debugProvided() for arguments [file collection] on object of type
org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run
with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Command: /home/tristan/Projects/CyWoodsAppFlutter/android/gradlew app:properties
Please review your Gradle project setup in the android/ folder.
Hey there, thanks for your package. Unfortunately, I can't get it running due to a version missmatch of the sensors package:
PS C:\dev\simulator_test> flutter pub get
Because simulator_test depends on logger_flutter ^0.7.1 which depends on sensors ^0.4.0+1, sensors ^0.4.0+1 is required.
So, because simulator_test depends on sensors ^2.0.0, version solving failed.
Running "flutter pub get" in simulator_test...
pub get failed (1; So, because simulator_test depends on sensors ^2.0.0, version solving failed.)
Please consider upgrading to the latest version of the sensors package to solve those versioning errors.
Cheers
do not work! no print anything
Please have a look at #16
It changes the API, but introduces some nice functions.
Log in flutter after shaking is very limited in length.
Only give ~25 most recent logs. Is this the intended functionality. I would be nice if it held all of the logs.
Currently package is not usable due to it's dependencies being outdated and package being non nullsafe.
If you do not have time to maintain this project, I can do it's maintenance to resolve current issues and review/merge PRs.
The sensitivity of shake gesture detection seems to be way too high. It's only fine when the phone is laying on the table. Picking the phone from the table or tapping the screen immediately launches the console. It quickly becomes quite annoying. The problem occurs on both of my iOS and Android devices.
Tested on:
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
Followed instructions:
Shake the phone or call LogConsole.open(context) from anywhere to show an on device console `
Got an error
error: The method 'open' isn't defined for the type 'LogConsole'. (undefined_method at [aip] lib/welcome.dart:101)
Code:
PlatformButton(
child: PlatformText("Show log"),
onPressed: () => LogConsole.open(context),
),
Using Android Emulator on Mac OS.
Android Studio v4.1.1
pubspec:
logging: ^0.11.4
logger_flutter: ^0.7.1
flutter:
$ flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.7 19H15 darwin-x64, locale en-US)
• Flutter version 1.22.4 at /Users/agautam/tools/flutter
• Framework revision 1aafb3a8b9 (6 days ago), 2020-11-13 09:59:28 -0800
• Engine revision 2c956a31c0
• Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/agautam/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = /Users/agautam/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.0
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] Connected device (2 available)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
• iPhone 11 Pro (mobile) • 70B5851E-D6FE-4D5F-8703-D9AEB22DE51E • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
I am using with the shake to view logger viewer and it works but seems to miss logs at the start. The logs show in Android studio but a few lines are missing in the phone viewer. Any idea how to improve?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.