Module: Solargraph::Logging
- Included in:
- ApiMap, ApiMap, ApiMap::Index, ComplexType::UniqueType, DocMap, GemPins, Solargraph::LanguageServer::Host, Library, Parser::FlowSensitiveTyping, Parser::FlowSensitiveTyping, Pin::Base, PinCache, RbsMap, RbsMap::Conversions, RbsMap::StdlibMap, Source::Chain, Source::Chain::Link, YardMap::Mapper::ToMethod
- 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
.logger ⇒ Logger
24 25 26 |
# File 'lib/solargraph/logging.rb', line 24 def logger @@logger end |