mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-08 09:47:28 +08:00
print the log prefix part in bold
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user