Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
kkamkou committed Apr 6, 2021
1 parent 4d138d4 commit 65da9fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
language: node_js
node_js:
- "node"
- "lts/*"
- "0"
- "1"
- "2"
Expand All @@ -16,7 +18,6 @@ node_js:
- "13"
- "14"
- "15"
- "16"
notifications:
slack:
on_success: never
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
node-gelf pro
=============
node-gelf - Graylog2 client library for Node.js. Pro - because of code-quality. GELF - The Graylog Extended Log Format.
node-gelf - Graylog2 client library for Node.js. Pro - because of code-quality (at 2015). GELF - The Graylog Extended Log Format.

![Build Status](https://travis-ci.org/kkamkou/node-gelf-pro.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/kkamkou/node-gelf-pro/badge.svg?branch=master)](https://coveralls.io/github/kkamkou/node-gelf-pro?branch=master)
Expand All @@ -12,7 +12,7 @@ node-gelf - Graylog2 client library for Node.js. Pro - because of code-quality.
"gelf-pro": "~1.3" // see the "releases" section
}
```
```npm install gelf-pro``` (**ALL** node.js versions are supported :)
```npm install gelf-pro``` (**ALL** node.js versions are supported [0.x to 15.x] :)

## Initialization
```javascript
Expand Down Expand Up @@ -86,7 +86,7 @@ log.message(new Error('An error message'), 3); // same as previous
##### Extra
In case `extra` [is a plain object](https://lodash.com/docs#isPlainObject),
the library converts it to a readable format. Other values [are converted to string](https://lodash.com/docs#toString).
Acceptable format of a key is: `^[\w-]$`
The acceptable format of a key is: `^[\w-]$`
```javascript
log.info(
'a new msg goes here',
Expand Down

0 comments on commit 65da9fa

Please sign in to comment.