You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: que_adapter.rb
    path of file: ./repos/job_enqueue_logger/lib/job_enqueue_logger
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module JobEnqueueLogger
  module QueAdapter
    module Job
      def enqueue(*)
        job = super
        unless Thread.current[:que_jobs_to_bulk_insert]
          job_attrs = job.que_attrs
          job_class = job_attrs[:job_cla
    
      def bulk_enqueue(**)
        jobs = super
        if jobs.any?
          job_attrs = jobs.first.que_attrs
          job_class = job_attrs[:job_class]

          if job_attrs[:id]
            run_at = job_attrs[:run_at].utc

            message = "Enqueued"
            message += " #{jobs.size}" if jobs.size > 1
            message += " #{job_class} to Que(#{job_attrs[:queue]})"
            message += " at #{run_at}" if run_at > Time.now.utc
          else
            message = "Performed inline"
            message += " #{jobs.size}" if jobs.size > 1
            message += " #{job_class}"
          end