ManageIQ/manageiq-messaging

View on GitHub
lib/manageiq/messaging/null_logger.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
require 'logger'

module ManageIQ
  module Messaging
    class NullLogger < Logger
      def initialize(*_args); end

      def add(*_args, &_block); end
    end
  end
end