blacklite
mulog
blacklite | mulog | |
---|---|---|
2 | 4 | |
61 | 470 | |
- | - | |
0.0 | 4.6 | |
over 1 year ago | 23 days ago | |
Java | Clojure | |
Apache License 2.0 | 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.
blacklite
- Go standard library: structured, leveled logging
-
Logging verbosely into a ring buffer?
You might be looking for blacklite - https://github.com/tersesystems/blacklite
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?
mdc4spring - Declarative Logging Mapping Diagnostic Context for Spring.
timbre - Pure Clojure/Script logging library
self-hosted - Sentry, feature-complete and packaged up for low-volume deployments and proofs-of-concept
re-frame-10x - A debugging dashboard for re-frame. X-ray vision as tooling.
SLF4J - Simple Logging Facade for Java
debug-repl - A Clojure debug repl as nrepl middleware
go - The Go programming language
clj-otel - An idiomatic Clojure API for adding telemetry to your libraries and applications using OpenTelemetry.
skywalking - APM, Application Performance Monitoring System
cider - The Clojure Interactive Development Environment that Rocks for Emacs
opentelemetry-specificatio
spyscope - Trace-oriented debugging tools for Clojure