Permalink
Browse files

Updated readme to mention bulk upload of arrays

  • Loading branch information...
1 parent 38fc3bb commit 04aae77a074de0fb385ad7a6c7442c2492fde6b6 @freeall freeall committed Dec 3, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.md
View
@@ -91,6 +91,13 @@ will be logged as:
{ "foo": 1, "bar": 2, "buzz": {"sheep": "jumped", "times": 10 }}
```
+### Logging arrays
+It is possible to send arrays, which will result in one single request to Loggly.
+
+``` js
+ input.log([ {iam:'number 1'}, {iam:'number 2'} ])
+```
+
### Searching
[Searching][search-api] with node-loggly is easy. All you have to do is use the search() method defined on each Loggly client:

0 comments on commit 04aae77

Please sign in to comment.