test.rb in logdna-1.1.0 vs test.rb in logdna-1.1.1
- old
+ new
@@ -3,13 +3,13 @@
options = {hostname: "new_ruby", meta:{:once => {:first => "nested1", :another => "nested2"}}}
-logger1 = Logdna::Ruby.new('Your API KEY', options)
+logger1 = Logdna::Ruby.new('Your API Key', options)
-logger1.log('This is the start of test')
+logger1.log('**************** This is the start of test ****************')
logger1.env = 'STAGING'
logger1.app = 'HELLO'
logger1.warn('Warn message with Staging and Hello')
logger1.clear
logger1.log('Is everything back to normal?')
@@ -33,9 +33,11 @@
logger1.level = Logger::DEBUG
logger1.log('This is debug message')
logger1.add('this should not be supported')
logger1.fatal('Does this continue as fatal?')
logger1.log('This should be debug')
+logger1.level = Logger::WARN
+logger1.log('**************** This is the end of test ****************')
=begin
logger1.level = Logger::WARN
logger1.log('This should be warn')