def assert(truthy, label = nil, objects = nil)
      if (RMQ.app.development? || RMQ.app.test?) && !truthy
        label ||= 'Assert failed'
        if block_given? && !objects
          objects = yield
        end
        log_detailed label, objects: objects, skip_first_caller: true
      end
    end
def assert(truthy, label = nil, objects = nil)
      if (RMQ.app.development? || RMQ.app.test?) && !truthy
        label ||= 'Assert failed'
        if block_given? && !objects
          objects = yield
        end
        log_detailed label, objects: objects, skip_first_caller: true
      end
    end
Warning, this is very slow to output log, checking truthy however is
 basically as performant as an if statement

 @example

 # foo and bar are objects we want to inspect
 rmq.debug.assert(1==2, 'Bad stuff happened', {
   foo: foo,
   bar: bar
 })