export class Logger { log ( ... args ) { if ( ! ( global as any ) . IS_CLI ) { return ; } console . log ( ... args ) ; } warn ( ... args ) { if ( ! ( global as any ) . IS_CLI ) { return ; } console . warn ( ... args ) ; } error ( ... args ) { if ( ! ( global as any ) . IS_CLI ) { return ; } console . error ( ... args ) ; } } export const logger = new Logger ( ) ;