Sha256: 489ff653bc4417d322ec629310a7fff77e7e1ddb999ba08feda44e58a8c1aad9
Contents?: true
Size: 280 Bytes
Versions: 15
Compression:
Stored size: 280 Bytes
Contents
module YogiBerra class Logger def self.log(log_string, level = :info) message = "[YogiBerra #{level.to_s.capitalize}] #{log_string}" if defined?(Rails) Rails.logger.send(level, message) else $stderr.puts(message) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems