How can I introspect namespaces? I can once I have some definitions going it seems but not before (I am noob). See below example:
(ns x.y.z (import '(java.util.logging Logger))) (def log (Logger/getLogger "x.y.z")) ;; <-- how-to introspect this ns ? (.addHandler log (FileHandler. (format "/var/log/%s.log" (:ns ^#'log)))) ;; once I have a def I can introspect the ns from the metadata ;; is that the only way? --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---