diff options
Diffstat (limited to 'src/index.ts')
| -rw-r--r-- | src/index.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts index d101ba3..ae15509 100644 --- a/src/index.ts +++ b/src/index.ts @@ -60,10 +60,16 @@ handleStartup(ENV_CONFIG, logger).then((mongo) => { // actual app routes app.use(routes(metadata)); - app.use(expressWinston.errorLogger(loggerConfig("_ERR", ENV_CONFIG.logLevel))); + app.use( + expressWinston.errorLogger(loggerConfig("_ERR", ENV_CONFIG.logLevel)) + ); const server = app.listen(ENV_CONFIG.port, ENV_CONFIG.bindAddress, () => { - logger.info("Express has started: http://%s:%d/", ENV_CONFIG.bindAddress, ENV_CONFIG.port); + logger.info( + "Express has started: http://%s:%d/", + ENV_CONFIG.bindAddress, + ENV_CONFIG.port + ); }); // application exit handling |
