#169 : Re-enabled command manager, created extrudeTiles command for testing
This commit is contained in:
@ -3,7 +3,7 @@ import fs from 'fs'
|
||||
import path from 'path'
|
||||
|
||||
// Array of log types
|
||||
const LOG_TYPES = ['http', 'game', 'gameMaster', 'app', 'queue'] as const
|
||||
const LOG_TYPES = ['http', 'game', 'gameMaster', 'app', 'queue', 'command'] as const
|
||||
type LogType = (typeof LOG_TYPES)[number]
|
||||
|
||||
const createLogger = (name: LogType) =>
|
||||
@ -43,6 +43,13 @@ const watchLogs = () => {
|
||||
})
|
||||
}
|
||||
|
||||
export const { http: httpLogger, game: gameLogger, gameMaster: gameMasterLogger, app: appLogger, queue: queueLogger } = loggers
|
||||
export const {
|
||||
http: httpLogger,
|
||||
game: gameLogger,
|
||||
gameMaster: gameMasterLogger,
|
||||
app: appLogger,
|
||||
queue: queueLogger,
|
||||
command: commandLogger
|
||||
} = loggers
|
||||
|
||||
export { watchLogs }
|
||||
|
Reference in New Issue
Block a user