From 484263cf9b1855ff89b06c7712fb4ac8460647f6 Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Sun, 25 Dec 2011 17:26:35 +0100 Subject: [PATCH] print the log prefix part in bold --- lib/motion/project/app.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/motion/project/app.rb b/lib/motion/project/app.rb index 4c6c6b0a..8c7aca8f 100644 --- a/lib/motion/project/app.rb +++ b/lib/motion/project/app.rb @@ -23,7 +23,8 @@ module Motion; module Project end def log(what, msg) - $stderr.puts what.rjust(10) + ' ' + msg + what = "\e[1m" + what.rjust(10) + "\e[0m" # bold + $stderr.puts what + ' ' + msg end def warn(msg)