4lessandrodev/ts-logs

Step is not present on middleware on write local

Closed this issue · 0 comments

Steps is empty on write local using middleware

app.use(LOGMiddleware({ print: true, writeLocal: true }));
{
"uid":"d62508c0-cf57-43cc-8ff6-19515693b1eb",
"name":"route-03/error",
"ip":"127.0.0.1",
"origin":"http://localhost:3000/route-03/error",
"createdAt":"2023-01-31T04:11:25.165Z",
"steps":[]
}

On response is Ok, but the type is info instead stack

"type": "info",