wupengfei
1 天以前 fb243f3345c6f3ed7e7c8c2d98c39b5afc782b9a
packages/utils/LoggerRecord/index.ts
@@ -55,7 +55,7 @@
  }
}
export const httpLoggerRecord = new HttpLoggerRecord({
const Options: LoggerRecordOptions = {
  moduleName: getUtilsConfig().appName,
  enableStorage: true,
  loggerStorageAdapter() {
@@ -71,4 +71,8 @@
  getPageUrl() {
    return Taro.getCurrentInstance()?.router?.path ?? '';
  },
});
};
export const defaultLoggerRecord = new LoggerRecord(Options);
export const httpLoggerRecord = new HttpLoggerRecord(Options);