File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed
Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 3232 "type-check" : " tsc --noEmit"
3333 },
3434 "dependencies" : {
35- "@wgtechlabs/log-engine" : " 1.3 .0" ,
35+ "@wgtechlabs/log-engine" : " 2.2 .0" ,
3636 "dotenv" : " ^16.4.0" ,
3737 "express" : " ^4.21.0" ,
3838 "express-validator" : " ^7.2.0" ,
Original file line number Diff line number Diff line change @@ -4,13 +4,22 @@ import 'dotenv/config';
44import { config } from './config/env' ;
55
66import express , { Request , Response } from 'express' ;
7- import { LogEngine } from '@wgtechlabs/log-engine' ;
7+ import { LogEngine , LogMode } from '@wgtechlabs/log-engine' ;
88import { WebhookController } from './controllers/webhookController' ;
99import { verifySignature } from './middleware/auth' ;
1010import { validateEvent } from './middleware/validation' ;
1111import { WebhookRequest } from './types' ;
1212import { RedisService } from './services/redisService' ;
1313
14+ // Configure LogEngine to use only local time (no ISO timestamp)
15+ LogEngine . configure ( {
16+ mode : LogMode . DEBUG ,
17+ format : {
18+ includeIsoTimestamp : false ,
19+ includeLocalTime : true
20+ }
21+ } ) ;
22+
1423const app = express ( ) ;
1524const port = config . port ;
1625
Original file line number Diff line number Diff line change 423423 " @types/node" " *"
424424 " @types/send" " *"
425425
426- " @wgtechlabs/log-engine@1.3 .0 " :
427- version "1.3 .0"
428- resolved "https://registry.yarnpkg.com/@wgtechlabs/log-engine/-/log-engine-1.3 .0.tgz#36de3fa0f30ef5febcc4ed70ed3d1a4494804efa "
429- integrity sha512-pg4LZzN7xgEzqJbU31/xWCcY/sXOWMd7xo642kvtsLC6OMvgW899Q5AX+yYLsMoN06B4960/MAUdUGksl9ZGzA ==
426+ " @wgtechlabs/log-engine@2.2 .0 " :
427+ version "2.2 .0"
428+ resolved "https://registry.yarnpkg.com/@wgtechlabs/log-engine/-/log-engine-2.2 .0.tgz#1d731d42ba6cb9792137d0e77b26e8b9c2f06c62 "
429+ integrity sha512-TIvzfDPiWUWW7EX+kZ3q7id12inpe6t9n/OIX9ewIHaBeA7q8YY631f2RjHdkB33Wew9A0H1HGzTx98nKan+MQ ==
430430
431431abbrev@^3.0.0, abbrev@^3.0.1 :
432432 version "3.0.1"
You can’t perform that action at this time.
0 commit comments