Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update instructions for npm version 2 and lower #28

Merged
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -82,13 +82,25 @@ The [winston][1] codebase has been growing significantly with contributions and
$ curl http://npmjs.org/install.sh | sh
```

### Installing winston-loggly
### Installing winston-loggly-bulk

If you are running npm version 3 or higher then run the below command to setup the logging-

``` bash
$ npm install winston
$ npm install winston-loggly-bulk
```

If you are running npm version 2 or lower then run the below command to setup the logging-

``` bash
$ npm install winston-loggly-bulk winston
```
* __Note:__ To check the currrent npm version run the below command-

``` bash
$ npm -v
```

## Run Tests
All of the winston tests are written in [vows][6], and cover all of the use cases described above. You will need to add valid credentials for the various transports included to test/config.json before running tests:

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.