duct

jco 2019-02-12T08:23:59.001200Z

Is the idea in duct to explicitly mention :duct/logger as a dependency (in config.edn) for all components that need to log?

2019-02-12T13:46:19.005300Z

I think it is because dependencies of component should be explicit IMO. Still, you can directly use e.g. (clojure.tools.logging/info) and ignore :duct/logger. In some cases you may have many different loggers, and use them in different components.

👍 1
2019-02-12T23:15:23.006400Z

@jco Yes, though you can automate it with inheritance and prep-key if you want.

👍 1