mirror of
https://github.com/IT4Change/gradido.git
synced 2026-04-06 01:25:28 +00:00
15 lines
452 B
TypeScript
15 lines
452 B
TypeScript
import { getLogger } from 'log4js'
|
|
import { LOG4JS_BASE_CATEGORY_NAME } from '../../config/const'
|
|
|
|
const createLogger = (method: string) =>
|
|
getLogger(`${LOG4JS_BASE_CATEGORY_NAME}.graphql.resolver.logic.processCommand.${method}`)
|
|
|
|
export async function processCommand(
|
|
commandClass: string,
|
|
commandMethod: string,
|
|
commandArgs: string[],
|
|
) {
|
|
const methodLogger = createLogger(`processCommand`)
|
|
methodLogger.info('processing a command...')
|
|
}
|