import * as chalk from 'chalk' ; import { OptionsInterface } from './types/options' ; author module license description export class RealTimeLog { static namespace : string = '@mean-expert/loopback-component-realtime' ; static options : OptionsInterface ; static log ( input ) { if ( RealTimeLog . options . debug ) console . log ( chalk . yellow ( `${ this . namespace }: ${ input }` ) ) ; } }