This class has exists to represent binary data. This is mainly used by DataObjects. Binary data sometimes needs to be quoted differently than regular string data (even if the string is just plain ASCII).
To replace an existing logger with a new one:
Extlib::Logger.set_log(log{String, IO},level{Symbol, String})
Available logging levels are
Extlib::Logger::{ Fatal, Error, Warn, Info, Debug }
Logging via:
Extlib.logger.fatal(message<String>,&block) Extlib.logger.error(message<String>,&block) Extlib.logger.warn(message<String>,&block) Extlib.logger.info(message<String>,&block) Extlib.logger.debug(message<String>,&block)
Logging with autoflush:
Extlib.logger.fatal!(message<String>,&block) Extlib.logger.error!(message<String>,&block) Extlib.logger.warn!(message<String>,&block) Extlib.logger.info!(message<String>,&block) Extlib.logger.debug!(message<String>,&block)
Flush the buffer to
Extlib.logger.flush
Remove the current log object
Extlib.logger.close
To initialize the logger you create a new object, proxies to set_log.
Extlib::Logger.new(log{String, IO},level{Symbol, String})
Generated with the Darkfish Rdoc Generator 2.