Initial commit - Event Planner application
This commit is contained in:
16
dist/core/workflows/base-workflow.js
vendored
Normal file
16
dist/core/workflows/base-workflow.js
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BaseWorkflow = void 0;
|
||||
const common_1 = require("@nestjs/common");
|
||||
class BaseWorkflow {
|
||||
constructor() {
|
||||
this.logger = new common_1.Logger(this.constructor.name);
|
||||
}
|
||||
logExecution(message, context) {
|
||||
this.logger.log(`[WORKFLOW] ${message}`);
|
||||
if (context) {
|
||||
this.logger.debug(context);
|
||||
}
|
||||
}
|
||||
}
|
||||
exports.BaseWorkflow = BaseWorkflow;
|
||||
Reference in New Issue
Block a user