Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
312 B

class MultiLogger
def initialize(file_logger)
@rails_logger = Rails.logger
@file_logger = file_logger
end
def info(data)
@rails_logger.info(data)
end
def warn(data)
@rails_logger.warn(data)
end
def error(data)
@rails_logger.error(data)
@file_logger.error(data)
end
end