Fork me on GitHub
#duct
<
2018-01-03
>
myguidingstar17:01:43

given that I have duct.module/logging in my handler

:foo.handler/example
 {:log #ig/ref :duct.module/logging
  :db  #ig/ref :duct.database/sql}

myguidingstar17:01:56

how do I use that log module?

myguidingstar17:01:44

(defmethod ig/init-key :foo.handler/example [_ env]
  (fn [request]
    (do-something (:log env)) ;; <--
    my-response))