Sha256: 677e7b60ea9ff7fe09c4e8ec1bb44e2ce6ae7a3e4deea37c583ad0039b6d6968

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 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, prefix: '[server]')
        warn("#{prefix} #{message}")
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-1.70.0 lib/rubocop/lsp/logger.rb