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 28f5c33 commit cf0dff0Copy full SHA for cf0dff0
plugins/log/README.md
@@ -54,7 +54,23 @@ yarn add https://github.com/tauri-apps/tauri-plugin-log#v2
54
55
## Usage
56
57
-First you need to register the core plugin with Tauri:
+First, you should enable the `log:default` capability:
58
+
59
+```json
60
+{
61
+ "$schema": "../gen/schemas/desktop-schema.json",
62
+ "identifier": "default",
63
+ "description": "Capability for the main window",
64
+ "windows": ["main"],
65
+ "permissions": [
66
+ "core:default",
67
+ "opener:default",
68
+ "log:default" # add this!
69
+ ]
70
+}
71
+```
72
73
+Then, you need to register the core plugin with Tauri:
74
75
`src-tauri/src/lib.rs`
76
0 commit comments