fix: rename dropLog to dropLogLevel in config.md (#7103)
Publish canary / Check Changeset exists (push) Waiting to run Details
Publish canary / Publish Canary (18) (push) Blocked by required conditions Details
CI / build (16.x, ubuntu-latest) (push) Waiting to run Details
CI / build (16.x, windows-latest) (push) Waiting to run Details
CI / build (18.x, ubuntu-latest) (push) Waiting to run Details
CI / build (18.x, windows-latest) (push) Waiting to run Details
Version / Version (16) (push) Waiting to run Details

This commit is contained in:
Frank 2025-06-05 17:27:54 +08:00 committed by GitHub
parent d27ad76cad
commit 0d0e5ab039
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ export default defineConfig(() => ({
import { defineConfig } from '@ice/app';
export default defineConfig(() => ({
dropLog: ['error', 'log'],
dropLogLevel: ['error', 'log'],
}));
```
也可以根据console等级来进行移除
@ -238,7 +238,7 @@ export default defineConfig(() => ({
import { defineConfig } from '@ice/app';
export default defineConfig(() => ({
dropLog: 'log',
dropLogLevel: 'log',
}));
```