Fork me on GitHub
#clojure-europe
<
2022-03-21
>
simongray05:03:59

good morning, early birds

dharrigan07:03:10

Good Morning!

agigao08:03:51

Morning folks! Wish you a wonderful week… and peace :flag-ua:

❤️ 1
genRaiy09:03:19

Good morning

genRaiy09:03:52

Peace

❤️ 2
borkdude11:03:07

Morning! If anyone's interested, here's a preview of my presentation about #nbb tomorrow at London's Clojurians (online). https://www.dropbox.com/s/s6xa6530d16e4qy/nbb_lndc_2022.pdf?dl=0

👍 1
Jakub Holý (HolyJak)15:03:18

awesome! Useful with the comparison of nbb > bb. Great owrk on the ESM support!

lread14:03:16

gʊd mɔ:nɪŋ

otfrom15:03:54

someone needs to check if @lee has a mirror universe goatee

🐐 2
🍵 1
pez16:03:20

Do you have an idea if this can be done, @borkdude?

borkdude16:03:51

@pez (t/log (str/join " " msgs))maybe?

pez16:03:44

I haven't tried, but thinking the logged things can be something else than strings.

borkdude16:03:15

yeah. Maybe timbre exposes a lower level thing for combining stuff into one thing?

borkdude16:03:32

but I guess timbre would also call str on those things when logging

pez16:03:47

When logging data structures or JS objects with the macros I get ”rich” rendering.

pez16:03:57

(t/debug (repeat 7 {:foo [1 2 3]}) "bar" js/document)

Jakub Holý (HolyJak)13:03:52

Struggled with the same problem. Tell me if you solve it :-)

pez13:03:22

I did. Sort of. Actually it is more fair to say I asked the right person about it (Peter T) 😃 And he released a new version of timbre in a matter of hours: https://github.com/ptaoussanis/timbre/releases/tag/v5.2.1 (Issue 350).

😻 1
borkdude13:03:54

I kind of expected it that it was already there, but great that he now exposed it :)

pez14:03:45

He had intended for it to work, but then made an assertion that prevented it. 😃

❤️ 1
borkdude14:03:39

Now I need to expose this in bb as well :)

borkdude14:03:33

Updating the dep works in bb as well now:

user=> (taoensso.timbre/log! :debug :p ["hello"])
2022-03-23T14:11:17.655Z m1.local DEBUG [user:2] - hello
nil

pez14:03:20

Haha. You are crazy, @borkdude! In the best way. ❤️

💯 1
borkdude15:03:55

That function was already exposed but not working, upgrading the dep solved it