lib/vim_channels/logging.rb
# Logs a message at a given level.
#
# @param msg [#to_s] Message to log
# @param level [Logger::Severity] The severity level at which to log +msg+
Logs a message at a given level.
Logs a message at a given level .
def log_msg(msg, level = ::Logger::INFO)
        return unless @logger
        @logger.add(level, msg)
      end
def log_msg ( msg , level = :: Logger :: INFO ) return unless @logger @logger . add ( level , msg ) end
Logs a message at a given level.
Logs a message at a given level .
msg
Message to log
Message to log
level
The severity level at which to log +msg+
The severity level at which to log + msg +