README.md in logdna-0.0.5 vs README.md in logdna-0.0.6
- old
+ new
@@ -79,17 +79,17 @@
* default_app: Set a default app for this instance of the logger. Note that this can be overwritten by the progname below on the line level, as the app is a line attribute.
* environment: Alias for default_app.
__Make sure that the following options are numbers if you supply them. We are not responsible for any type errors if you enter non-numerical values for these options.__
-* shift_age: Number of old log files to keep, or frequency of rotation (daily, weekly, or monthly). Default: 7.
+* shift_age: Number of old log files to keep, or frequency of rotation (daily, weekly, or monthly). Default: 7
* shift_size: Maximum logfile size (only applies when shift_age is a number). Default: 1,048,576
* buffer_max_size: Maximum number of lines in buffer. Default: 10
* buffer_timeout: Frequency of posting requests to LogDNA. Default: 10 (seconds)
## \#add(severity, message=nil, progname=nil) {...}
-Log a message if the given severity is high enough and post it to the LogDNA ingester. This is the generic logging method. Users will be more inclined to use debug, info, warn, error, and fatal (which all call \#add), as [described in the Ruby Logger documentation](https://ruby-doc.org/stdlib-2.3.0/libdoc/logger/rdoc/Logger.html). Note that these methods take a source as the argument and a block which returns a message. It returns the http response.
+Log a message if the given severity is high enough and post it to the LogDNA ingester. This is the generic logging method. Users will be more inclined to use debug, info, warn, error, and fatal (which all call \#add), as [described in the Ruby Logger documentation](https://ruby-doc.org/stdlib-2.3.0/libdoc/logger/rdoc/Logger.html). Note that these methods take a source as the argument and a block which returns a message, or a string/exception as an argument without a block. It returns the http response.
## \#close_http
Close the HTTP connection to LogDNA's ingester.