Module: Solargraph::Logging

Included in:
Solargraph::LanguageServer::Host, Library
Defined in:
lib/solargraph/logging.rb

Constant Summary collapse

DEFAULT_LOG_LEVEL =
Logger::WARN
LOG_LEVELS =
{
  'warn' => Logger::WARN,
  'info' => Logger::INFO,
  'debug' => Logger::DEBUG
}
@@logger =
Logger.new(STDERR, level: DEFAULT_LOG_LEVEL)

Class Method Summary collapse

Class Method Details

.loggerLogger

Returns:

  • (Logger)


23
24
25
# File 'lib/solargraph/logging.rb', line 23

def logger
  @@logger
end