(ns cat.env
  (:require [selmer.parser :as parser]
            [clojure.tools.logging :as log]
            [cat.dev-middleware :refer [wrap-dev]]))

(def defaults
  {:init
   (fn []
     (parser/cache-off!)
     (log/info "\n-=[cat started successfully using the development profile]=-"))
   :stop
   (fn []
     (log/info "\n-=[cat has shut down successfully]=-"))
   :middleware wrap-dev})
