aboutsummaryrefslogtreecommitdiff
path: root/env/dev/clj/queue_api/env.clj
blob: 1f31ba59fe7e4141a271561f11efd419900be86e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(ns queue-api.env
  (:require [selmer.parser :as parser]
            [clojure.tools.logging :as log]
            [queue-api.dev-middleware :refer [wrap-dev]]))

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