diff --git a/packages/sound/src/traits/audible.js b/packages/sound/src/traits/audible.js index 837364a..5c38bac 100644 --- a/packages/sound/src/traits/audible.js +++ b/packages/sound/src/traits/audible.js @@ -4,6 +4,7 @@ import D from 'debug'; import Sound from '../sound'; const debug = D('@avocado/sound/audible'); +const debugSilly = debug.extend('silly'); export default () => class Audible extends Trait { @@ -72,7 +73,7 @@ export default () => class Audible extends Trait { hasSound: (key) => !!this.$$sounds[key], playSound: (key) => { - debug('Checking %s', key); + debugSilly('Checking %s', key); if (!this.entity.hasSound(key)) { try { this.$$sounds[key] = Sound.load({extends: key}) @@ -90,7 +91,7 @@ export default () => class Audible extends Trait { } if ('web' === process.env.FLECKS_CORE_BUILD_TARGET) { Promise.resolve(this.$$sounds[key]).then((sound) => { - debug('Playing %s', key); + debugSilly('Playing %s', key); sound.play(); }); }