djblue / portal

A clojure tool to navigate through your data.
https://djblue.github.io/portal/
MIT License
872 stars 81 forks source link

Portal doesn't offer a log viewer #216

Closed farcaller closed 5 months ago

farcaller commented 5 months ago

Portal 0.52.2 running with cljs doesn't provide a log view:

(tap> (portal.viewer/log {:level :info
                            :result [1 2 3]
                            :ns ""
                            :file nil
                            :line 1
                            :column 1
                            :runtime :cljs}))

image

The metadata shows :default :portal.viewer/log as expected.

farcaller commented 5 months ago

Actually never mind. I read the spec carefully and figured I just need to reshape the timbre example for cljs (the :time wasn't right)