NullConsole.js 778 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var _CustomConsole = _interopRequireDefault(require('./CustomConsole'));
  7. function _interopRequireDefault(obj) {
  8. return obj && obj.__esModule ? obj : {default: obj};
  9. }
  10. /**
  11. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  12. *
  13. * This source code is licensed under the MIT license found in the
  14. * LICENSE file in the root directory of this source tree.
  15. */
  16. class NullConsole extends _CustomConsole.default {
  17. assert() {}
  18. debug() {}
  19. dir() {}
  20. error() {}
  21. info() {}
  22. log() {}
  23. time() {}
  24. timeEnd() {}
  25. timeLog() {}
  26. trace() {}
  27. warn() {}
  28. group() {}
  29. groupCollapsed() {}
  30. groupEnd() {}
  31. }
  32. exports.default = NullConsole;