Commit 4ee0c64
committed
fix: default console logging to errors only
Obsidian's plugin guidelines require the console to show only error
messages by default. debug.level defaulted to INFO, letting info/warn
logs through unconditionally, and feat() logged at every level (its
level_i <= 4 check was always true since FEAT is the highest index).1 parent 8f8ec22 commit 4ee0c64
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments