// Creates a new instance of MobileCenter private MobileCenter() { lock (MobileCenterLock) { _applicationSettings = _applicationSettingsFactory?.CreateApplicationSettings() ?? new DefaultApplicationSettings(); LogSerializer.AddLogType(StartServiceLog.JsonIdentifier, typeof(StartServiceLog)); LogSerializer.AddLogType(CustomPropertiesLog.JsonIdentifier, typeof(CustomPropertiesLog)); } }
// Creates a new instance of AppCenter private AppCenter() { lock (AppCenterLock) { _applicationSettings = _applicationSettingsFactory?.CreateApplicationSettings() ?? new DefaultApplicationSettings(); LogSerializer.AddLogType(StartServiceLog.JsonIdentifier, typeof(StartServiceLog)); LogSerializer.AddLogType(CustomPropertyLog.JsonIdentifier, typeof(CustomPropertyLog)); ApplicationLifecycleHelper.Instance.UnhandledExceptionOccurred += OnUnhandledExceptionOccurred; } }
public Push() { _mutex = new StatefulMutex(_stateKeeper); LogSerializer.AddLogType(PushInstallationLog.JsonIdentifier, typeof(PushInstallationLog)); }
static Crashes() { LogSerializer.AddLogType(ManagedErrorLog.JsonIdentifier, typeof(ManagedErrorLog)); LogSerializer.AddLogType(ErrorAttachmentLog.JsonIdentifier, typeof(ErrorAttachmentLog)); LogSerializer.AddLogType(HandledErrorLog.JsonIdentifier, typeof(HandledErrorLog)); }
public ChannelTest() { LogSerializer.AddLogType(TestLog.JsonIdentifier, typeof(TestLog)); }
public void SetUp() { ErrorLogHelper.Instance._processInformation = Mock.Of <IProcessInformation>(); ErrorLogHelper.Instance._deviceInformationHelper = Mock.Of <IDeviceInformationHelper>(); LogSerializer.AddLogType("managedError", typeof(ManagedErrorLog)); }
internal Analytics() { LogSerializer.AddLogType(PageLog.JsonIdentifier, typeof(PageLog)); LogSerializer.AddLogType(EventLog.JsonIdentifier, typeof(EventLog)); LogSerializer.AddLogType(StartSessionLog.JsonIdentifier, typeof(StartSessionLog)); }
static TestLog() { LogSerializer.AddLogType(JsonIdentifier, typeof(TestLog)); }
public Push() { LogSerializer.AddLogType(PushInstallationLog.JsonIdentifier, typeof(PushInstallationLog)); }
public void InitializeStartServiceTest() { LogSerializer.AddLogType(StartServiceLog.JsonIdentifier, typeof(StartServiceLog)); }
// Creates a new instance of MobileCenter private MobileCenter() { _applicationSettings = new ApplicationSettings(); LogSerializer.AddLogType(StartServiceLog.JsonIdentifier, typeof(StartServiceLog)); LogSerializer.AddLogType(CustomPropertiesLog.JsonIdentifier, typeof(CustomPropertiesLog)); }
public void InitializeStartServiceTest() { LogSerializer.AddLogType(CustomPropertyLog.JsonIdentifier, typeof(CustomPropertyLog)); }