zephyr-agent
Version:
Zephyr plugin agent
23 lines • 781 B
text/typescript
import type { ZeGitInfo } from '../build-context/ze-util-get-git-info.mjs';
export declare const logFn: (level: string, msg: unknown, action?: string) => void;
export declare function formatLogMsg(msg: string, level?: string): string;
export interface LogEventOptions {
level: string;
action: string;
message: string;
table?: {
key: string;
value: (string | undefined)[];
}[];
ignore?: boolean;
}
export type LogEvent = (options: LogEventOptions) => void;
export type ZeLogger = (...logs: LogEventOptions[]) => void;
interface LoggerOptions {
application_uid: string;
buildId?: string;
git: ZeGitInfo['git'];
}
export declare function logger(props: LoggerOptions): ZeLogger;
export {};
//# sourceMappingURL=ze-log-event.d.mts.map