We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6df2f41 commit f807850Copy full SHA for f807850
src/content/docs/plugin/logging.mdx
@@ -345,12 +345,12 @@ tauri_plugin_log::Builder::new()
345
### Applying a different format to targets
346
347
You can specify your own log format for specific targets by using the `format` method
348
-on `tauri_plugin_log::Target`. You may also wish to call `clear_format` on the builder
+on `tauri_plugin_log::Target`. You may also wish to call `reset_format` on the builder
349
to remove the default formatter, which is applied to all targets:
350
351
```rust
352
tauri_plugin_log::Builder::new()
353
- .clear_format()
+ .reset_format()
354
.targets([
355
tauri_plugin_log::Target::new(
356
tauri_plugin_log::TargetKind::Stdout
0 commit comments