Class: Neovim::Logging::Plain

Inherits:
Stream show all
Defined in:
lib/neovim/logging.rb

Constant Summary collapse

NAME =
"plain"

Constants inherited from Logger

Logger::SUBS

Instance Method Summary collapse

Methods inherited from Stream

#initialize, open

Methods inherited from Logger

inherited, provide

Constructor Details

This class inherits a constructor from Neovim::Logging::Stream

Instance Method Details

#put(**fields) ⇒ Object



173
174
175
176
# File 'lib/neovim/logging.rb', line 173

def put **fields
  @file.puts fields.to_s
  @file.flush
end