/** Display the log message for the stdout. */ export default class Logger { private _available : boolean ; param available constructor ( available = false ) { this . _available = available ; } param args log ( ... args ) { if ( this . _available ) { console . log ( ... args ) ; } } param args error ( ... args ) { if ( this . _available ) { console . error ( ... args ) ; } } }