[docs]: link to the latest logging
This commit is contained in:
parent
3218f8afaf
commit
1c7f2ccc34
2 changed files with 2 additions and 2 deletions
|
|
@ -581,7 +581,7 @@ Since mount is a _library_ it should _not_ bring any dependencies unless its fun
|
||||||
|
|
||||||
> But I still these logging statements in the examples.
|
> But I still these logging statements in the examples.
|
||||||
|
|
||||||
The way this is done is via an excellent [robert hooke](https://github.com/technomancy/robert-hooke/). Example applications live in `test`, so does the [utility](https://github.com/tolitius/mount/blob/75d7cdc610ce38623d4d3aea1da3170d1c9a3b4b/test/app/utils/logging.clj#L44) that adds logging to all the mount's lifecycle functions on start in [dev.clj](https://github.com/tolitius/mount/blob/75d7cdc610ce38623d4d3aea1da3170d1c9a3b4b/dev/dev.clj#L21).
|
The way this is done is via an excellent [robert hooke](https://github.com/technomancy/robert-hooke/). Example applications live in `test`, so does the [utility](test/clj/tapp/utils/logging.clj#L42) that adds logging to all the mount's lifecycle functions on start in [dev.clj](https://github.com/tolitius/mount/blob/75d7cdc610ce38623d4d3aea1da3170d1c9a3b4b/dev/dev.clj#L21).
|
||||||
|
|
||||||
## Clojure Version
|
## Clojure Version
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -317,7 +317,7 @@
|
||||||
|
|
||||||
(on-change [_ ks]
|
(on-change [_ ks]
|
||||||
(doseq [k ks]
|
(doseq [k ks]
|
||||||
(let [states (@watchers k)]
|
(when-let [states (seq (@watchers k))]
|
||||||
(apply stop states)
|
(apply stop states)
|
||||||
(apply start states)))))
|
(apply start states)))))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue