Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

logging_config.js 950B

1234567891011121314151617181920212223242526
  1. /* eslint-disable no-unused-vars, no-var */
  2. // Logging configuration
  3. var loggingConfig = {
  4. // default log level for the app and lib-jitsi-meet
  5. defaultLogLevel: 'trace',
  6. // Option to disable LogCollector (which stores the logs on CallStats)
  7. // disableLogCollector: true,
  8. // The following are too verbose in their logging with the
  9. // {@link #defaultLogLevel}:
  10. 'modules/RTC/TraceablePeerConnection.js': 'info',
  11. 'modules/statistics/CallStats.js': 'info',
  12. 'modules/xmpp/strophe.util.js': 'log'
  13. };
  14. /* eslint-enable no-unused-vars, no-var */
  15. // XXX Web/React server-includes logging_config.js into index.html.
  16. // Mobile/react-native requires it in react/features/base/logging. For the
  17. // purposes of the latter, (try to) export loggingConfig. The following
  18. // detection of a module system is inspired by webpack.
  19. typeof module === 'object'
  20. && typeof exports === 'object'
  21. && (module.exports = loggingConfig);