README.rdoc in syslogger-1.4.1 vs README.rdoc in syslogger-1.4.2
- old
+ new
@@ -15,9 +15,12 @@
require 'syslogger'
# Will send all messages to the local0 facility, adding the process id in the message
logger = Syslogger.new("app_name", Syslog::LOG_PID, Syslog::LOG_LOCAL0)
+ # Optionally split messages to the specified number of bytes
+ logger.max_octets = 480
+
# Send messages that are at least of the Logger::INFO level
logger.level = Logger::INFO # use Logger levels
logger.debug "will not appear"
logger.info "will appear"