message: add dummy object for DiagnosticLogger and NotificationManager for BaseCore
diff: @@ -44,6 +44,15 @@ export class BaseCore implements IAppInsightsCore {
  this.config = config;
  this._notificationManager = notificationManager;
  + if (!this._notificationManager) {
  + this._notificationManager = Object.create({
  + addNotificationListener: (listener) => {},
  + removeNotificationListener: (listener) => {},
  + eventsSent: (events) => {},
  + eventsDiscarded: (events: ITelemetryItem[], reason: number) => {}
  + })
  + }
  +
  this.config.extensions = CoreUtils.isNullOrUndefined(this.config.extensions) ? [] : this.config.extensions;
  // add notification to the extensions in the config so other plugins can access it
  @@ -53,6 +62,13 @@ export class BaseCore implements IAppInsightsCore {
  }
  this.logger = logger;
  + if (!this.logger) {
  + this.logger = Object.create({
  + throwInternal: (severity, msgId, msg: string, properties?: Object, isUserAct = false) => {},
  + warnToConsole: (message: string) => {},
  + resetInternalMessageCount: () => {}
  + })
  + }
  // Concat all available extensions
  this._extensions.push(...extensions, ...this.config.extensions);
  