var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { injectable, LogMediator } from '@ditsmod/core';
let OpenapiLogMediator = class OpenapiLogMediator extends LogMediator {
    /**
     * return false, waiting for last module with ${className}.
     */
    dataAccumulation(self) {
        const className = self.constructor.name;
        this.setLog('trace', `${className}: return false, waiting for last module with ${className}.`);
    }
    /**
     * applying accumulated data from the entire application.
     */
    applyingAccumulatedData(self) {
        const className = self.constructor.name;
        this.setLog('trace', `${className}: applying accumulated data from the entire application.`);
    }
    /**
     * config file (XOasObject) for OpenAPI not found, applying default.
     */
    oasObjectNotFound(self) {
        const className = self.constructor.name;
        this.setLog('trace', `${className}: config file (with XOasObject type) not found, applying default.`);
    }
    /**
     * found config file (with XOasObject type), merge with default.
     */
    foundOasObject(self) {
        const className = self.constructor.name;
        this.setLog('trace', `${className}: found config file (with XOasObject type), merge with default.`);
    }
};
OpenapiLogMediator = __decorate([
    injectable()
], OpenapiLogMediator);
export { OpenapiLogMediator };
//# sourceMappingURL=openapi-log-mediator.js.map