Implement logger on pusher
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
||||
// lib/server.ts
|
||||
import App from "./src/App";
|
||||
import { PUSHER_HTTP_PORT } from "./src/Enum/EnvironmentVariable";
|
||||
App.listen(PUSHER_HTTP_PORT, () => console.log(`WorkAdventure starting on port ${PUSHER_HTTP_PORT}!`))
|
||||
import log from "./src/Services/Logger";
|
||||
|
||||
App.listen(PUSHER_HTTP_PORT, () => log.info(`WorkAdventure starting on port ${PUSHER_HTTP_PORT}!`));
|
||||
|
||||
Reference in New Issue
Block a user