Sha256: 3c68a47f62d303c1bc46d6020d992c9aaaf0c4709b26939d62e9010cd0a66f42

Contents?: true

Size: 438 Bytes

Versions: 18

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

#
# This code is based on https://github.com/standardrb/standard.
#
# Copyright (c) 2023 Test Double, Inc.
#
# The MIT License (MIT)
#
# https://github.com/standardrb/standard/blob/main/LICENSE.txt
#
module RuboCop
  module LSP
    # Log for Language Server Protocol of RuboCop.
    # @api private
    class Logger
      def self.log(message)
        warn("[server] #{message}")
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 4 rubygems

Version Path
rubocop-1.68.0 lib/rubocop/lsp/logger.rb
rubocop-1.67.0 lib/rubocop/lsp/logger.rb
rubocop-1.66.1 lib/rubocop/lsp/logger.rb
rubocop-1.66.0 lib/rubocop/lsp/logger.rb
rubocop-1.65.1 lib/rubocop/lsp/logger.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/rubocop-1.64.1/lib/rubocop/lsp/logger.rb
rubocop-1.65.0 lib/rubocop/lsp/logger.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/rubocop-1.64.1/lib/rubocop/lsp/logger.rb
rubocop-1.64.1 lib/rubocop/lsp/logger.rb
rubocop-1.63.4 lib/rubocop/lsp/logger.rb
rubocop-1.63.3 lib/rubocop/lsp/logger.rb
rubocop-1.63.2 lib/rubocop/lsp/logger.rb
rubocop-1.63.1 lib/rubocop/lsp/logger.rb
rubocop-1.63.0 lib/rubocop/lsp/logger.rb
bison-0.1.0 vendor/bundle/ruby/3.2.0/gems/rubocop-1.62.1/lib/rubocop/lsp/logger.rb
rubocop-1.62.1 lib/rubocop/lsp/logger.rb
rubocop-1.62.0 lib/rubocop/lsp/logger.rb
rubocop-1.61.0 lib/rubocop/lsp/logger.rb