9.0.4 • Published 2 years ago
hapi-logr v9.0.4
Hapi plugin to integrate logr reporters
Installation
npm install hapi-logr
or
yarn add hapi-logr
Usage
const Hapi = require('@hapi/hapi');
const server = new Hapi.Server();
await server.register({
plugin: require('hapi-logr'),
options: { // logr-all options can be set here
unhandledRejection: true
uncaughtException: true
}
});
// Logr handles this
server.log(['start'], { message: 'server started', uri: server.info.uri });
A First + Third Project
9.0.4
2 years ago
9.0.3
4 years ago
9.0.2
4 years ago
9.0.1
4 years ago
9.0.0
4 years ago
8.0.0
5 years ago
7.0.0
6 years ago
6.3.0
6 years ago
6.2.0
6 years ago
6.1.1
6 years ago
6.1.0
6 years ago
6.0.0
6 years ago
5.0.2
7 years ago
5.0.1
7 years ago
5.0.0
7 years ago
4.0.1
7 years ago
3.7.1
7 years ago
4.0.0
7 years ago
3.7.0
7 years ago
3.6.1
7 years ago
3.6.0
7 years ago
3.5.1
7 years ago
3.5.0
7 years ago
3.4.0
7 years ago
3.3.0
7 years ago
3.2.0
8 years ago
3.1.0
8 years ago
3.0.0
8 years ago
2.2.0
8 years ago
2.1.0
8 years ago
2.0.0
8 years ago
1.7.0
8 years ago
1.6.0
8 years ago
1.5.0
8 years ago
1.4.0
8 years ago
1.3.0
8 years ago
1.2.0
9 years ago
1.1.0
9 years ago
1.0.0
9 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago