This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-03
Channels
- # announcements (2)
- # babashka (66)
- # beginners (225)
- # braveandtrue (1)
- # calva (14)
- # circleci (1)
- # clj-kondo (36)
- # cljsrn (3)
- # clojure (423)
- # clojure-finland (7)
- # clojure-nl (1)
- # clojure-spec (14)
- # clojure-survey (41)
- # clojure-sweden (2)
- # clojure-uk (13)
- # clojurescript (59)
- # community-development (10)
- # cursive (2)
- # datascript (14)
- # datomic (63)
- # events (3)
- # expound (8)
- # figwheel-main (6)
- # kaocha (8)
- # luminus (6)
- # malli (1)
- # nrepl (2)
- # off-topic (51)
- # other-lisps (3)
- # reagent (16)
- # shadow-cljs (44)
- # spacemacs (7)
- # sql (22)
- # vrac (1)
Cross posting here: does anyone use clojure.tools.logging
with Calva? https://clojurians.slack.com/archives/C17JYSA3H/p1578037204012000
I find that they show up in the terminal, not the repl.
Check your terminal that calva spins up and you'll likely see your log messages in there.
Interesting that the Taoensso messages don’t go to my terminal window, but do get captured via Calva Says
Yea, it was unexpected for me initially, but if you think about it, stdout is the terminal, not the repl.
I don't fully understand what is going on, so I can't explain it yet.
I am fairly new to clojure and repl dev, so there are still quite a few surprises for me.
I actually barely use the actual repl output. I basically leave the terminal open, and do everything in (comment ...)
inside of the editor.
Not sure if that is correct or not, but it's fast for me.
When I get better, I will probably make a video of myself doing something in the repl, because I feel like reading about it doesn't do it justice. Until I started doing it, I didn't really get why people like it.
In this case I am aspirationally hoping to fire off async tasks which write to a database, and it feels like anything which doesn’t return immediately is hard to do that with
Yea, if they return futures or promises then you'll just get the unresolved result back, so logs would definitely be helpful.