Skip to content
Browse files

configure: add log function.

  • Loading branch information...
1 parent 53eaca6 commit 81886e2bbfbd6b6bd3e402bacb796b9797a2b278 @soarpenguin committed Feb 17, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 bashrc/configure
View
4 bashrc/configure
@@ -70,3 +70,7 @@ subst () { echo "${1%%$2*}$3${1#*$2}"; }
not () {
! "$@"
}
+
+log() {
+ echo "[`date +"%Y-%m-%d %H:%M:%S"`] ${*}"
+}

0 comments on commit 81886e2

Please sign in to comment.
Something went wrong with that request. Please try again.