Hacker GitHub

← All repos

lancewalton/treelog

View on GitHub ↗ ★ 221 Scala

Allows logging in a tree structure so that comprehensive logging does not become incomprehensible

4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2018-03-29 · latest 2025-07-18

Mentions per year 4 mentions · busiest year 2018 (1)
20082026
  1. …and mechanical, there should be a code-level affordance for it (e.g. a macro, or something like https://github.com/lancewalton/treelog ). Code is read more than it's written, and code that can be autocompleted isn't worth reading.
  2. …stack is a very useful thing to have, and I'd recommend implementing something along the lines of https://github.com/lancewalton/treelog that provides it.
    comment by lmm · 2021-02-12 · in From First Principles: Why Scala?
  3. …detail from the outside. But to answer the question, I'd use a monad, something akin to treelog ( https://github.com/lancewalton/treelog ). Apply the wrappers at the points where you want them (and they'll be visible in the type), and then…
    comment by lmm · 2020-05-09 · in Write Libraries, Not Frameworks
  4. …that doesn't have them. [1] http://philipnilsson.github.io/Badness10k/escaping-hell-with... [2] https://github.com/lancewalton/treelog [3] https://github.com/slamdata/matryoshka [4] https://doc.akka.io/docs/akka-http/10.0.4/scala/http/intro…
    comment by lmm · 2018-03-29 · in Scala Native 0.3.7