rename console replay plugin
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
2
typings/plugins/console/replay/index.d.ts
vendored
2
typings/plugins/console/replay/index.d.ts
vendored
@@ -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 {};
|
||||
|
||||
Reference in New Issue
Block a user