import { OnDestroy } from '@angular/core'; import { PuiCoreServiceConfig } from '../../'; import { PuiApplicationInsightsService } from '../../application-insights/application-insights.service'; /** * Application Insights diagnostic loggin service. * @export * @class PuiApplicationInsightsDiagnosticLoggingService * @implements {OnDestroy} */ export declare class PuiApplicationInsightsDiagnosticLoggingService implements OnDestroy { private appInsightsService; private logLevel; private enabled; private subscription; private readonly aiService; constructor(appInsightsService: PuiApplicationInsightsService, config: PuiCoreServiceConfig); /** * Configure the logger. * @private * @param {PuiApplicationInsightsDiagnosticLoggingServiceConfig} config Configuration. * @memberof PuiApplicationInsightsDiagnosticLoggingService */ private configure(config); /** * Determine whether the provided configuration will result in a viable logger. * @private * @param {PuiApplicationInsightsDiagnosticLoggingServiceConfig} config Configuration to validate. * @returns {boolean} true if valid, false otherwise. * @memberof PuiApplicationInsightsDiagnosticLoggingService */ private isValidConfig(config); /** * Remove the description. * @memberof PuiApplicationInsightsDiagnosticLoggingService */ ngOnDestroy(): void; /** * Log to Application Insights. * @private * @param {DiagnosticLogData} diagnosticLogData Data to log. * @memberof PuiApplicationInsightsDiagnosticLoggingService */ private log(diagnosticLogData); }