status-mobile/modules/react-native-status
Icaro Motta 01a503f3bf
Log signals from the Clojure layer instead of native code (#19683)
We log the entire signal data when it arrives from status-go in the native
layer, where our Clojure logging mechanism is unavailable. Sometimes, the
developer may not want that much noise during development, e.g. when managing
integration or contract tests.

This commit removes the native calls to log signals and adds a timbre
(log/debug ...) call in the event handler :signals/signal-received. We know
timbre will elide log calls at compile time given the minimum log level set,
therefore, we don't need to worry about performance because we will log signals
at the debug level only.
2024-04-23 09:53:07 -03:00
..
android Log signals from the Clojure layer instead of native code (#19683) 2024-04-23 09:53:07 -03:00
ios/RCTStatus Log signals from the Clojure layer instead of native code (#19683) 2024-04-23 09:53:07 -03:00
nodejs Log signals from the Clojure layer instead of native code (#19683) 2024-04-23 09:53:07 -03:00
index.js
package.json Lint and fix missing trailing newlines (#16445) 2023-07-04 19:40:13 +00:00
react-native-status.podspec nix: upgrade gomobile to 2022-05-04 version 2022-06-20 19:01:14 +02:00