https://github.com/devth/timbre-datomic-handler
A simple Datomic handler that logs via Timbre
https://github.com/devth/timbre-datomic-handler
Last synced: 10 months ago
JSON representation
A simple Datomic handler that logs via Timbre
- Host: GitHub
- URL: https://github.com/devth/timbre-datomic-handler
- Owner: devth
- License: epl-1.0
- Created: 2017-08-18T19:39:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-18T20:16:16.000Z (over 8 years ago)
- Last Synced: 2025-02-02T15:32:30.391Z (11 months ago)
- Language: Clojure
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# timbre-datomic-handler
A simple Datomic handler that logs via Timbre.
## Usage
Read the [Datomic Monitoring - Clojure
callbacks](http://docs.datomic.com/monitoring.html#clojure-callbacks) docs.
This library exposes a single function to handle monitoring events from Datomic
and log them via Timbre:
```clojure
devth.timbre-datomic-handler/handler
```
Add this line to your Datomic config to use it:
```
metrics-callback=devth.timbre-datomic-handler/handler
```
## License
Copyright © 2017 Trevor C. Hartman
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.