This is an abstract class describing the logger interface. All loggers should inherit from this class and provide all necessary methods.
Note: You cannot initialize this class directly.
@abstract
This method can be used by plugins to log custom messages.
@param [String] message The message to log @return [void]
# File lib/cinch/logger/logger.rb, line 19 def debug(message) raise end
This method is used by {debug} and {log_exception} to log messages, and also by the IRC parser to log incoming and outgoing messages. You should not have to call this.
@param [String] message The message to log @param [Symbol<:debug, :generic, :incoming, :outgoing>] kind
The kind of message to log
@return [void]
# File lib/cinch/logger/logger.rb, line 31 def log(message, kind = :generic) raise end
Generated with the Darkfish Rdoc Generator 2.