null_console.js 726 B

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