print the log prefix part in bold

This commit is contained in:
Laurent Sansonetti
2011-12-25 17:26:35 +01:00
parent 73ebbc3b96
commit 484263cf9b

View File

@@ -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)