environ
mulog
environ | mulog | |
---|---|---|
1 | 4 | |
914 | 471 | |
- | - | |
0.0 | 4.6 | |
27 days ago | about 1 month ago | |
Clojure | Clojure | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
environ
mulog
-
Tracing: Structured Logging, but better in every way
There are logging libraries that include syntactically scoped timers, such as mulog (https://github.com/BrunoBonacci/mulog). While a great library, we preferred timbre (https://github.com/taoensso/timbre) and rolled our own logging timer macro that interoperates with it. More convenient to have such niceties in a Lisp of course.
- A History of Clojure (2020) [pdf]
- Logging verbosely into a ring buffer?
-
Debugging in Clojure
Assuming the crash doesn't cause the process to completely exit, you could indeed use `scope-capture` for this. This works well for local dev. In theory, you could use `sc.api/spy` in production code, and then attach a remote repl to diagnose any crashes. I wouldn't recommend this though, I think it would be best to use a good logging library like Mulog: https://github.com/BrunoBonacci/mulog
What are some alternatives?
reagent - A minimalistic ClojureScript interface to React.js
timbre - Pure Clojure/Script logging library
tick - Time as a value.
re-frame-10x - A debugging dashboard for re-frame. X-ray vision as tooling.
mount - managing Clojure and ClojureScript app state since (reset)
debug-repl - A Clojure debug repl as nrepl middleware
integrant - Micro-framework for data-driven architecture
clj-otel - An idiomatic Clojure API for adding telemetry to your libraries and applications using OpenTelemetry.
re-frame - A ClojureScript framework for building user interfaces, leveraging React
cider - The Clojure Interactive Development Environment that Rocks for Emacs
reitit - A fast data-driven routing library for Clojure/Script
spyscope - Trace-oriented debugging tools for Clojure