index.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. 'use strict';
  2. /**
  3. * A shareable symbol constant that can be used
  4. * as a non-enumerable / semi-hidden level identifier
  5. * to allow the readable level property to be mutable for
  6. * operations like colorization
  7. *
  8. * @type {Symbol}
  9. */
  10. Object.defineProperty(exports, 'LEVEL', {
  11. value: Symbol.for('level')
  12. });
  13. /**
  14. * A shareable symbol constant that can be used
  15. * as a non-enumerable / semi-hidden message identifier
  16. * to allow the final message property to not have
  17. * side effects on another.
  18. *
  19. * @type {Symbol}
  20. */
  21. Object.defineProperty(exports, 'MESSAGE', {
  22. value: Symbol.for('message')
  23. });
  24. /**
  25. * A shareable symbol constant that can be used
  26. * as a non-enumerable / semi-hidden message identifier
  27. * to allow the extracted splat property be hidden
  28. *
  29. * @type {Symbol}
  30. */
  31. Object.defineProperty(exports, 'SPLAT', {
  32. value: Symbol.for('splat')
  33. });
  34. /**
  35. * A shareable object constant that can be used
  36. * as a standard configuration for winston@3.
  37. *
  38. * @type {Object}
  39. */
  40. Object.defineProperty(exports, 'configs', {
  41. value: require('./config')
  42. });