export class Debug { static log ( content ) { if ( window . appContext . GameConfig . enableLog ) { console . log ( content ) ; } } static warn ( content ) { if ( window . appContext . GameConfig . enableLog ) { console . warn ( content ) ; } } static info ( content ) { if ( window . appContext . GameConfig . enableLog ) { console . info ( content ) ; } } static error ( content ) { if ( window . appContext . GameConfig . enableLog ) { console . error ( content ) ; } } }