INNER CODE UNIT · JavaScript

debugLoggingEnabled

getndazn/dazn-lambda-powertools · packages/lambda-powertools-correlation-ids/index.js:52

  static get debugLoggingEnabled () {
    return globalCorrelationIds.debugLoggingEnabled
  }

  static set debugLoggingEnabled (enabled) {
    globalCorrelationIds.debugLoggingEnabled = enabled
  }
}

if (!global.CORRELATION_IDS) {
  global.CORRELATION_IDS = new CorrelationIds()
}

const globalCorrelationIds = global.CORRELATION_IDS

module.exports = CorrelationIds

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…