diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-04-28 13:15:41 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-04-28 13:15:41 +0100 |
commit | bd6e8f9cf3d73e149b5d241b23c271fb1ef38299 (patch) | |
tree | 8673d4013c8bcff7fe86aa697d52f943e89032a3 /lib/custodian/worker.rb | |
parent | 1a71d2165250c91041b3801a0584c8b83a35cf48 (diff) |
Show the date/time as well as logged messages.
Diffstat (limited to 'lib/custodian/worker.rb')
-rw-r--r-- | lib/custodian/worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/worker.rb b/lib/custodian/worker.rb index 7910a29..9d2d0e7 100644 --- a/lib/custodian/worker.rb +++ b/lib/custodian/worker.rb @@ -93,7 +93,7 @@ module Custodian # Show a message on STDOUT if "--verbose" was specified. # def log_message(msg) - puts msg if ENV['VERBOSE'] + puts "#{Time.now.to_s} #{msg}" if ENV['VERBOSE'] end |