feat: log timestamps in ISO format

This commit is contained in:
Adhiraj Singh
2022-03-24 20:39:05 +05:30
parent 1635b1e756
commit 4b6e97cf93
2 changed files with 5 additions and 2 deletions

3
src/Utils/logger.ts Normal file
View File

@@ -0,0 +1,3 @@
import P from 'pino'
export default P({ timestamp: () => `,"time":"${new Date().toJSON()}"` })