export default class Debugger { constructor ( private isDebug ? ) { } public log ( ... args ) { if ( ! this . isDebug ) { return ; } console . log ( "%c Scena Debugger:" , "padding: 1px; background: #4af; color: #fff;" , ... args ) ; } }