Add Request logging
This commit is contained in:
parent
6f66126d38
commit
3d7d583367
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@extollo/lib",
|
"name": "@extollo/lib",
|
||||||
"version": "0.9.13",
|
"version": "0.9.14",
|
||||||
"description": "The framework library that lifts up your code.",
|
"description": "The framework library that lifts up your code.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
@ -116,6 +116,8 @@ export class HTTPServer extends Unit {
|
|||||||
.run()
|
.run()
|
||||||
.catch(e => this.logging.error(e))*/
|
.catch(e => this.logging.error(e))*/
|
||||||
|
|
||||||
|
this.logging.info(`${extolloReq.method} ${extolloReq.path}`)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await this.kernel.handle(extolloReq)
|
await this.kernel.handle(extolloReq)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user