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

readme is out of date #14

Closed
samuelt1 opened this issue Sep 5, 2018 · 0 comments
Closed

readme is out of date #14

samuelt1 opened this issue Sep 5, 2018 · 0 comments

Comments

@samuelt1
Copy link

samuelt1 commented Sep 5, 2018

if you copy and paste the readme it does not work, and the documentation on your site is out of date too...

when you first sign up it says to write

Use
To use the Logsene transport in winston, you simply need to require it:

var logger = require('winston');
var logsene = require('winston-logsene');
Pass an instance of the Logsene transport to the new winston logger:

logger.add(logsene, {
  token: 'my-token',
});
Add logging code:

logger.debug('Hello, Logsene!');
logger.info('Hello, Logsene!');
logger.warn('Hello, Logsene!');
logger.error('Hello, Logsene!');

that gives errors unless you use winston@2.4.3
the readme on this page gives more info but still does not work. without downgrading winston.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant