Skip to content

example doesnt do anything on shake #3

Description

@logemann

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?

Activity

  1. haarts commented on Dec 4, 2019

    @haarts

    Some one reported something similar on the main package: simc/logger#20. Could you try the suggestion from there?

  2. NightOwlCoder commented on Feb 6, 2020

    @NightOwlCoder

    I'm having the same issue, can you please create a working sample?
    Must be some dumb stuff I'm doing...

  3. awhitford commented on May 19, 2020

    @awhitford

    I tried adding LogConsoleOnShake (to the body of my home screen) and it does not seem to do anything.

    My issue was that I was not running a debug build and there is a default debugOnly = true which basically disables the shake feature for release builds. I had to override that to be false.

    (This is just temporary while I investigate a mysterious bug that is tricky to reproduce.)

  4. g-balas commented on Aug 13, 2020

    @g-balas

    I had trouble to make it work, and I found that :

    • logs must be called once the LogConsoleOnShake has been put in the widget tree.
    • debugOnly = false does not seems to work. Sending an APK to someone must be built as debug (flutter build apk --debug)
    • dependencies must be the following :

    logger: 0.7.0+1
    logger_flutter: ^0.7.1

    On Android physical device

  5. tamoyal commented on Sep 14, 2021

    @tamoyal

    I can't get anything to log on release builds

  6. tek08 commented on Sep 14, 2021

    @tek08

    @tamoyal -- though it's not germane to this issue, not seeing log messages on release builds is intentional. Please see filters in the dependency: logger @https://github.com/leisim/logger/tree/master/lib/src/filters. In particular, DevelopmentFilter, which is used by default. If you want to see logging during release builds, use a different filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions