require 'require_all' require_all 'lib' options = {hostname: "yo", app: "globo-portal", env: "staging"} logger1 = Logdna::Ruby.new('deb5d62d893e82d6b03f3d4c20b96e15', options) logger1.level = Logger::WARN logger1.log('This should be warn') logger1.trace('This should be trace') logger1.log('Again warn level') logger1.log('Warn level log1') logger1.info('Info level log1') logger1.level = Logger::DEBUG logger1.log('DEBUG log1') logger1.app = 'NEW APP NAME' logger1.env = 'Staging' logger1.level = 'INFO' logger1.log('are changes all updated') sleep 3