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);