"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLambdaOptionsFromEnv = void 0;
const getLambdaOptionsFromEnv = () => {
    const DISABLE_LAMBDA_LOG_REQUEST = process.env.DISABLE_LAMBDA_LOG_REQUEST === '1';
    const DISABLE_LAMBDA_LOG_RESPONSE = process.env.DISABLE_LAMBDA_LOG_RESPONSE === '1';
    const DISABLE_LAMBDA_TRACE_REQUEST = process.env.DISABLE_LAMBDA_TRACE_REQUEST === '1';
    return {
        logRequest: !DISABLE_LAMBDA_LOG_REQUEST,
        logResponse: !DISABLE_LAMBDA_LOG_RESPONSE,
        traceRequest: !DISABLE_LAMBDA_TRACE_REQUEST,
    };
};
exports.getLambdaOptionsFromEnv = getLambdaOptionsFromEnv;
//# sourceMappingURL=getLambdaOptionsFromEnv.js.map