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