rename console replay plugin

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent bd89778315
commit ed46394562
2 changed files with 4 additions and 4 deletions

View File

@@ -108,9 +108,9 @@ class LogReplayPlugin {
}
}
export const getLogReplayPlugin: (options?: LogReplayConfig) => ReplayPlugin = (
options,
) => {
export const getReplayConsolePlugin: (
options?: LogReplayConfig,
) => ReplayPlugin = (options) => {
const replayLogger =
options?.replayLogger || new LogReplayPlugin(options).getConsoleLogger();

View File

@@ -5,5 +5,5 @@ declare type LogReplayConfig = {
level?: LogLevel[] | undefined;
replayLogger: ReplayLogger | undefined;
};
export declare const getLogReplayPlugin: (options?: LogReplayConfig) => ReplayPlugin;
export declare const getReplayConsolePlugin: (options?: LogReplayConfig) => ReplayPlugin;
export {};