Sha256: 9b928dddc2b50989fa340cc0ff00faf9717436138d34ff68d0c822f683139e7f
Contents?: true
Size: 310 Bytes
Versions: 21
Compression:
Stored size: 310 Bytes
Contents
module Relaton module Util # @param message [String] # @param type [Symbol] default :info def self.log(message, type = :info) log_types = Relaton.configuration.logs.map(&:to_s) || [] if log_types.include?(type.to_s) warn CGI.unescapeHTML(message) end end end end
Version data entries
21 entries across 21 versions & 1 rubygems