Skip to content

Commit df11f64

Browse files
feat(logger): add human-readable ISO timestamps to logger configuration
1 parent b1ca826 commit df11f64

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

apps/game-server/src/utils/logger.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
import pino from 'pino';
99

1010
const logger = pino(
11+
{
12+
timestamp: pino.stdTimeFunctions.isoTime, // human-readable ISO timestamps instead of raw epoch ms
13+
},
1114
pino.transport({
1215
targets: [
1316
{

0 commit comments

Comments
 (0)