Sha256: d8ad66354de519e6abb7cba529c9c36fd51702dc0975546f618c8754edff409c
Contents?: true
Size: 308 Bytes
Versions: 12
Compression:
Stored size: 308 Bytes
Contents
module MajesticSeo module Api module Logger def log(level, message) if ((self.respond_to?(:verbose) && self.verbose) || !self.respond_to?(:verbose)) (defined?(Rails) && Rails.logger) ? Rails.logger.send(level, message) : puts(message) end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems