Skip to content

Commit 999588e

Browse files
authored
fix: timbre log to react-native start console (status-im#17032)
1 parent 9cae50d commit 999588e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/status_im2/common/log.cljs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
(ns status-im2.common.log
22
(:require [clojure.string :as string]
3+
[native-module.core :as native-module]
34
[re-frame.core :as re-frame]
5+
[status-im.utils.types :as types]
46
[status-im2.config :as config]
57
[taoensso.timbre :as log]
6-
[utils.re-frame :as rf]
7-
[native-module.core :as native-module]
8-
[status-im.utils.types :as types]))
8+
[utils.re-frame :as rf]))
99

1010
(def logs-queue (atom #queue []))
1111
(def max-log-entries 1000)
@@ -28,6 +28,7 @@
2828
:mobile-system? false
2929
:log-level level
3030
:callback handle-error}]
31+
(log/merge-config! {:ns-whitelist ["*"]})
3132
(if (string/blank? level)
3233
(native-module/init-status-go-logging (merge logging-params {:log-level "WARN"}))
3334
(do

0 commit comments

Comments
 (0)