mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
correct logger names
This commit is contained in:
parent
fa4e104db7
commit
fcba1bc526
@ -3,7 +3,7 @@ import { Command } from './Command';
|
||||
import { LOG4JS_BASE_CATEGORY_NAME } from '../config/const';
|
||||
|
||||
const createLogger = (method: string) =>
|
||||
getLogger(`${LOG4JS_BASE_CATEGORY_NAME}.command.CommandExecutor.${method}`)
|
||||
getLogger(`${LOG4JS_BASE_CATEGORY_NAME}.command.BaseCommand.${method}`)
|
||||
|
||||
export abstract class BaseCommand<T = any> implements Command<T> {
|
||||
protected abstract requiredFields: string[];
|
||||
|
||||
@ -5,7 +5,7 @@ import { LOG4JS_BASE_CATEGORY_NAME } from '../../config/const';
|
||||
import { getLogger } from 'log4js';
|
||||
|
||||
const createLogger = (method: string) =>
|
||||
getLogger(`${LOG4JS_BASE_CATEGORY_NAME}.command.CommandExecutor.${method}`)
|
||||
getLogger(`${LOG4JS_BASE_CATEGORY_NAME}.command.commands.SendEmailCommand.${method}`)
|
||||
|
||||
export interface SendEmailCommandParams {
|
||||
mailType: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user