betterbettor / bet-better-server

RESTful API for BetBetter
MIT License
0 stars 0 forks source link

add winston logging #30

Closed charrrleee closed 11 months ago

charrrleee commented 11 months ago
  1. add utils/logger.ts
  2. set config on logger.ts and logger format will be
    {level}::{date}::{msg}
    info::"2023-10-23 11:01:40" : Server is running on http://localhost:8000
  3. replace all console log to logger.info