import { AbstractLogger } from './AbstractLogger'; import { ERROR_CODE } from './ErrorCode'; import { LOG_SOURCE } from './LogSource'; import { ILoggerConfiguration } from '../models/LoggerConfiguration'; /** * Logger for AMC's DaVinci Apps. Logs are sent to premise logger only. * * @export * @class PremiseLogger * @extends {AbstractLogger} */ export declare class PremiseLogger extends AbstractLogger { private static loopBuffer; private static traceBuffer; private static debugBuffer; private static informationBuffer; private static warningBuffer; private static errorBuffer; private static criticalBuffer; protected _user: any; constructor(logSource: LOG_SOURCE | string, isDev?: boolean, apiUrl?: string); setConfiguration(config: ILoggerConfiguration): void; private static getLogBufferReference; private logMessage; logLoop(message: string, errorCode: ERROR_CODE, localTime: Date): void; logTrace(message: string, errorCode?: ERROR_CODE, localTime?: Date): void; logDebug(message: string, errorCode?: ERROR_CODE, localTime?: Date): void; logInformation(message: string, errorCode?: ERROR_CODE, localTime?: Date): void; logWarning(message: string, errorCode?: ERROR_CODE, localTime?: Date): void; logError(message: string, errorCode?: ERROR_CODE, localTime?: Date): void; logCritical(message: string, errorCode?: ERROR_CODE, localTime?: Date): void; pushLogs(): void; private postBuffers; pushLogsAsync(): Promise; private postBuffersAsync; private getLoggerEndpoint; /** * This method will sync the logLevel with account level log level of the logged in user. * User has to be logged in before calling this method. */ protected syncUserId(): void; }