What is the recommended manner in which to let your application know its on a dev machine?
I'm building an app that sends emails based on certain events, however when I'm developing locally I'd rather it print the email to my log file. I have a variable in that namespace: *send* which is def'ed to true in the file and when in dev mode I set it to false and that results in it printing to the file. However sometimes I have to restart my app or recompile the entire namespace and as a result emails start getting sent out again. In java I'd normally have a conf file somewhere, and that had a range of issues so I'm wondering if there is something more lispy, or perhaps something that makes use of our infrastructure - perhaps the user.clj ? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en