1- import { IConfigurationSettings } from 'IConfigurationSettings' ;
1+ import { IConfigurationSettings } from './ IConfigurationSettings' ;
22import { ILastReferenceIdManager } from '../lastReferenceIdManager/ILastReferenceIdManager' ;
33import { InMemoryLastReferenceIdManager } from '../lastReferenceIdManager/InMemoryLastReferenceIdManager' ;
44import { ConsoleLog } from '../logging/ConsoleLog' ;
@@ -69,7 +69,7 @@ export class Configuration implements IConfigurationSettings {
6969
7070 public set apiKey ( value :string ) {
7171 this . _apiKey = value || null ;
72- this . log . info ( `apiKey set to : ${ this . _apiKey } ` ) ;
72+ this . log . info ( `apiKey: ${ this . _apiKey } ` ) ;
7373 }
7474
7575 public get serverUrl ( ) : string {
@@ -79,7 +79,7 @@ export class Configuration implements IConfigurationSettings {
7979 public set serverUrl ( value :string ) {
8080 if ( ! ! value && value . length > 0 ) {
8181 this . _serverUrl = value ;
82- this . log . info ( `serverUrl set to : ${ this . _serverUrl } ` ) ;
82+ this . log . info ( `serverUrl: ${ this . _serverUrl } ` ) ;
8383 }
8484 }
8585
@@ -98,7 +98,7 @@ export class Configuration implements IConfigurationSettings {
9898 public addPlugin ( pluginOrName :IEventPlugin | string , priority ?:number , pluginAction ?:( context :EventPluginContext ) => void ) : void {
9999 var plugin :IEventPlugin = ! ! pluginAction ? { name : < string > pluginOrName , priority : priority , run : pluginAction } : < IEventPlugin > pluginOrName ;
100100 if ( ! plugin || ! plugin . run ) {
101- this . log . error ( 'Unable to add plugin: No run method was found .' ) ;
101+ this . log . error ( 'Add plugin failed : No run method was defined .' ) ;
102102 return ;
103103 }
104104
@@ -128,7 +128,7 @@ export class Configuration implements IConfigurationSettings {
128128 public removePlugin ( pluginOrName :IEventPlugin | string ) : void {
129129 var name :string = typeof pluginOrName === 'string' ? pluginOrName : pluginOrName . name ;
130130 if ( ! name ) {
131- this . log . error ( 'Unable to remove plugin: No plugin name was specified .' ) ;
131+ this . log . error ( 'Remove plugin failed : No plugin name was defined .' ) ;
132132 return ;
133133 }
134134
@@ -158,7 +158,7 @@ export class Configuration implements IConfigurationSettings {
158158 this . defaultData [ '@user' ] = userInfo ;
159159 }
160160
161- this . log . info ( `user identity set to : ${ shouldRemove ? 'null' : userInfo . identity } ` ) ;
161+ this . log . info ( `user identity: ${ shouldRemove ? 'null' : userInfo . identity } ` ) ;
162162 }
163163
164164 public useReferenceIds ( ) : void {
0 commit comments