Method: #log_error
- Defined in:
- lib/easel/logging.rb
#log_error(*msg) ⇒ Object
19 20 21 22 23 |
# File 'lib/easel/logging.rb', line 19 def log_error *msg unless $config[:logging] < 1 $config[:log_file].puts "[#{Time.new.strftime("%Y-%m-%d-%H:%M:%S")}] ERROR: " + msg.join(" ") end end |