Permalink
Browse files

Updated format-log to take an app-id.

  • Loading branch information...
1 parent 3289804 commit 350a3d254afe33c873de503ee3219e959cf0de57 @zk committed Apr 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/nsfw/log.clj
View
@@ -13,6 +13,6 @@
(reduce str)
(str (System/currentTimeMillis) " ")))
-(defn make-logger [ns]
+(defn make-logger [app-id ns]
(fn [& key-vals]
- (println (format-log-entry (concat [:ns ns] key-vals)))))
+ (println (format-log-entry (concat [:app-id app-id :ns ns] key-vals)))))

0 comments on commit 350a3d2

Please sign in to comment.