Skip to content

Allow disabling Timber console output - #364

Open
dajiaohuang wants to merge 1 commit into
androidPluto:developfrom
dajiaohuang:fix/disable-pluto-timber-console
Open

dajiaohuang wants to merge 1 commit into
androidPluto:developfrom
dajiaohuang:fix/disable-pluto-timber-console

Conversation

@dajiaohuang

Copy link
Copy Markdown

Summary

  • Add a printToConsole option to PlutoTimberTree, enabled by default to preserve existing behavior.
  • Keep persisting logs and events in Pluto while allowing callers to suppress the duplicate console/Logcat output.
  • Keep the no-op artifact's constructor API compatible, document the option, and add unit coverage for the output gate.

Fixes #363.

Validation

  • ./gradlew --no-daemon --max-workers=4 build — passed.
  • Logger ktlintCheck and detekt — passed.
  • git diff --check — passed.

No emulator/device or real user data was used.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable console print in PlutoTimberTree

1 participant