mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
feature #696: change logging style.
This commit is contained in:
1 parent
059d4aa535
commit
947cf3fe61
1 file changed
+2
-3
+2
-3
@@ -49,9 +49,8 @@ class Watcher
|
||||
}
|
||||
end
|
||||
|
||||
def log(resource,msg=nil)
|
||||
msg ||= "watched"
|
||||
STDERR.puts "#{Time.now} [#{resource.class}] #{msg}"
|
||||
def log(msg)
|
||||
STDERR.puts "#{Time.now} #{msg}"
|
||||
end
|
||||
|
||||
def update(step)
|
||||
|
||||
Reference in new issue
Block a user