import type ILogEntry from './ILogEntry'; import type ILogSource from './ILogSource'; import type { ServiceScope } from '@microsoft/sp-core-library'; /** * If you don't specify parameter:eventName * the event name for all errors logged that way will be same "CaughtError" with * appropriate prefix ("ModernPublish.CaughtError" etc.) * The parameter "eventName" is there to be used from Qos. * It is not encouraged to use it directly from ErrorHelper but if you do, * the log will be written with custom event name of following format: * ...Failure, where resultCOde is only used * in ILogErrorData. * * * @internal */ interface ILogData { /** * */ source: ILogSource; /** * */ eventName?: string; /** * */ serviceScope?: ServiceScope; /** * */ logEntry?: ILogEntry; } export default ILogData; //# sourceMappingURL=ILogData.d.ts.map