lib/ragent/logging.rb in ragent-0.0.3 vs lib/ragent/logging.rb in ragent-0.0.4

- old
+ new

@@ -1,32 +1,32 @@ +# frozen_string_literal: true module Ragent module Logging - def self.logger=(logger) - @logger=logger + @logger = logger end def self.logger @logger end def logger Ragent::Logging.logger end - def debug str - logger.debug(str) + def debug(str) + logger.debug(str) end - def warn str - logger.warn(str) - end + def warn(str) + logger.warn(str) + end - def info str - logger.info(str) - end + def info(str) + logger.info(str) + end - def error str - logger.error(str) - end + def error(str) + logger.error(str) + end end end