Add logging & domain lock on release

This commit is contained in:
Alex Sherman 2021-01-05 14:58:01 +05:00
parent d35042a1be
commit 0c5ef72c7d
5 changed files with 30 additions and 3 deletions

View file

@ -0,0 +1,8 @@
module ToStdout
extend ActiveSupport::Concern
def to_stdout(message)
time = Time.zone.now.utc
STDOUT << "#{time} - #{message}\n" unless Rails.env.test?
end
end