diff --git a/README.adoc b/README.adoc index a12d631..c2029e9 100644 --- a/README.adoc +++ b/README.adoc @@ -17,7 +17,7 @@ [listing] ---- -[philoskim/debux-stubs "0.5.7"] +[philoskim/debux-stubs "0.5.8"] ---- diff --git a/project.clj b/project.clj index 558207c..f8066c4 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject philoskim/debux-stubs "0.5.7" +(defproject philoskim/debux-stubs "0.5.8" :description "Debux library for production" :url "https://github.com/philoskim/debux-stubs" :license {"Eclipse Public License" diff --git a/src/debux/core.clj b/src/debux/core.clj index 6eda3c2..db20ab4 100755 --- a/src/debux/core.clj +++ b/src/debux/core.clj @@ -12,6 +12,7 @@ (defmacro dbg [form & opts] form) (defmacro dbgn [form & opts] form) (defn dbg-prn [& args]) +(defmacro dbg-last [& args] (last args)) ;;; macro registering APIs (defmacro register-macros! [macro-type symbols]) diff --git a/src/debux/cs/core.cljc b/src/debux/cs/core.cljc index 0c737a8..bcea422 100755 --- a/src/debux/cs/core.cljc +++ b/src/debux/cs/core.cljc @@ -13,9 +13,11 @@ ;;; debugging APIs (defmacro dbg [form & opts] form) (defmacro dbgn [form & opts] form) +(defmacro dbg-last [& args] (last args)) (defmacro clog [form & opts] form) (defmacro clogn [form & opts] form) +(defmacro clog-last [& args] (last args)) (defmacro break [& opts])