import customPlugin from './customPlugin'; import { TrackConfig } from '../config'; interface LoggingAPI { debug(v: string): void; info(v: string): void; log(v: string): void; warn(v: string): void; error(v: string): void; } interface API extends LoggingAPI { setTenantCode(v: string): void; getTenantCode(): string; setUserCode(v: string): void; getUserCode(): string; setServiceVersion(v: string): void; getServiceVersion(): string; getConfig(): TrackConfig | any; } export default class extendsApi extends customPlugin implements API { protected config: TrackConfig | any; logger: any; private createSpan; debug(message: string): void; info(message: string): void; log(message: string): void; warn(message: string): void; error(message: string): void; setTenantCode(code: string): void; setUserCode(code: string): void; setServiceVersion(version: string): void; getTenantCode(): any; getUserCode(): any; getServiceVersion(): any; getConfig(): any; } export {};