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