module Bootsnap
def self.logger=(logger)
def self.logger=(logger) @logger = logger if logger.respond_to?(:debug) self.instrumentation = ->(event, path) { @logger.debug("[Bootsnap] #{event} #{path}") } else self.instrumentation = ->(event, path) { @logger.call("[Bootsnap] #{event} #{path}") } end end