better logging

This commit is contained in:
David Dollar
2010-05-17 13:11:10 -04:00
parent 2dbd3e6be5
commit 0f2048e345
6 changed files with 8 additions and 2 deletions
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
puts "sleeping for 2s then dying"
sleep 2
exit 0
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
puts "will error in 10s"
sleep 10
raise "Dying"
+2
View File
@@ -1,5 +1,7 @@
#!/usr/bin/env ruby
while true
puts "tick"
$stdout.flush
sleep 5
end