mirror of
https://github.com/jimeh/amqp-failover.git
synced 2026-02-19 10:56:44 +00:00
19 lines
244 B
Ruby
19 lines
244 B
Ruby
# encoding: utf-8
|
|
|
|
class LoggerHelper
|
|
|
|
attr_accessor :error_log
|
|
attr_accessor :info_log
|
|
|
|
def info(*args)
|
|
@info_log ||= []
|
|
@info_log << args
|
|
end
|
|
|
|
def error(*args)
|
|
@error_log ||= []
|
|
@error_log << args
|
|
end
|
|
|
|
end
|