Module: Relaton::Util
- Defined in:
- lib/relaton/util.rb
Class Method Summary collapse
Class Method Details
.log(message, type = :info) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/relaton/util.rb', line 5 def self.log(, type = :info) log_types = Relaton.configuration.logs.map(&:to_s) || [] if log_types.include?(type.to_s) warn CGI.unescapeHTML() end end |