1.6.0 • Published 2 years ago

@dineroregnskab/express-logging v1.6.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

@dineroregnskab/express-logging

Logging utilities for Express framework.

const { expressErrorHandler, expressLogger } = require('@dineroregnskab/express-logging');
const express = require('express');

const app = express();
const serviceName = "ServiceName";
const version = "1.0.0";

app.use(expressLogger(serviceName, version));

app.get('/', (req, res) => {
  res.send('Hello World');
});

app.use(expressErrorHandler(serviceName, version));

// Start server
app.listen(3000)
1.5.2

2 years ago

1.6.0

2 years ago

1.5.1

2 years ago

1.4.2

2 years ago

1.5.0

2 years ago

1.4.2-alpha.0

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.5.1-alpha.1

2 years ago

1.5.1-alpha.0

2 years ago

1.4.3-alpha.0

2 years ago

1.5.1-alpha.4

2 years ago

1.5.1-alpha.3

2 years ago

1.5.1-alpha.2

2 years ago

1.3.2-debug.0

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

0.1.0

2 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago