private export class LogMessageParser { param message param params return public parseMessage ( message , params ) { if ( params && params . length ) { params . forEach ( ( value , index ) => { message = message . replace ( `{${ index }}` , value ) ; } ) ; } return message ; } }