1.3.1 • Published 12 months ago
@axiomhq/winston v1.3.1
Axiom transport for Winston logger
The Axiom transport for Winston logger allows you to send data from a Node.js app to Axiom through Winston.
import { WinstonTransport as AxiomTransport } from '@axiomhq/winston';
const logger = winston.createLogger({
level: 'info',
format: winston.format.json(),
defaultMeta: { service: 'user-service' },
transports: [
new AxiomTransport({
dataset: 'my-dataset',
token: 'my-token',
}),
],
});
logger.log({
level: 'info',
message: 'Logger successfully setup',
});Install
npm install @axiomhq/winstonDocumentation
For more information about how to set up and use the Axiom transport for Winston logger, see the axiom.co/docs/guides/winston.
License
1.3.1
12 months ago
1.3.0
1 year ago
1.2.0
1 year ago
1.1.1
1 year ago
1.0.0
1 year ago
1.0.0-rc.4
1 year ago
1.0.0-rc.3
2 years ago
1.0.0-rc.2
2 years ago
1.0.0-rc.1
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago