import { ICommonTargetOptions, ILogEntry, ITargetsOption, LogTarget } from "@spinajs/log-common"; /** * Options for {@link SplitGroupTarget}. */ export interface ISplitGroupTargetOptions extends ICommonTargetOptions { options: { /** * Inline child target definitions this group fans out to. Each is resolved * through DI exactly like a top-level target, so any registered target type * ( File, Json, Loki, another wrapper ... ) can be nested here. */ targets: ITargetsOption[]; }; } /** * Fan-out wrapper: one configured target name that writes every entry to MANY * inner targets. The inner targets are declared inline under `options.targets` * and are owned by this wrapper ( they are NOT part of the logger's Targets * list ), so the wrapper resolves, flushes and disposes them. * * Pure / browser-safe - just delegates to its children. */ export declare class SplitGroupTarget extends LogTarget { protected Inner: LogTarget[]; resolve(): void; write(entry: ILogEntry): Promise; forceFlush(): Promise; dispose(): Promise; } //# sourceMappingURL=SplitGroupTarget.d.ts.map