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


21
22
23
# File 'lib/solargraph/logging.rb', line 21

def logger
  @@logger
end