mirror of https://github.com/status-im/timbre.git
Fix: profiling id namespacing
This commit is contained in:
parent
2b8a9d6c80
commit
c58290f864
|
@ -1,8 +1,11 @@
|
||||||
|
## v3.1.3 / 2014 Mar 11
|
||||||
|
|
||||||
|
* FIX: profiling id namespacing.
|
||||||
|
|
||||||
|
|
||||||
## v3.1.1 / 2014 Feb 26
|
## v3.1.1 / 2014 Feb 26
|
||||||
|
|
||||||
### Fixes
|
* FIX: project.clj to prevent unnecessary downstream deps.
|
||||||
|
|
||||||
* Fix project.clj to prevent unnecessary downstream deps.
|
|
||||||
|
|
||||||
|
|
||||||
## v3.1.0 / 2014 Feb 23
|
## v3.1.0 / 2014 Feb 23
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
(defmacro fq-keyword "Returns namespaced keyword for given id."
|
(defmacro fq-keyword "Returns namespaced keyword for given id."
|
||||||
[id]
|
[id]
|
||||||
`(if (and (keyword? ~id) (namespace ~id)) ~id
|
`(if (and (keyword? ~id) (namespace ~id)) ~id
|
||||||
(keyword (str ~*ns*) (name ~id))))
|
(keyword (str *ns*) (name ~id))))
|
||||||
|
|
||||||
(comment (map #(fq-keyword %) ["foo" :foo :foo/bar]))
|
(comment (map #(fq-keyword %) ["foo" :foo :foo/bar]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue