Skip to content

Commit

Permalink
[REL] Release 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
czottmann committed Aug 6, 2024
1 parent 34c1b06 commit 95efe4d
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release history

## 2.1.1, 2024-08-06

- Fixes "warn" log level outputting all the things. Thanks to [@Erallie](https://github.com/Erallie) for both the heads-up and the fix! [#14](https://github.com/czottmann/obsidian-logstravaganza/issues/14)
- Changes min Obsidian version from 1.4.0 to 1.5.0.


## 2.1.0, 2024-05-07

- Adds new output formatter, Markdown Code Blocks, which outputs log entries as
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "logstravaganza",
"name": "Logstravaganza",
"version": "2.1.0",
"minAppVersion": "1.4.0",
"version": "2.1.1",
"minAppVersion": "1.5.0",
"description": "A simple proxy for `console.*()` calls which copies log messages and uncaught exceptions to a file.",
"author": "Carlo Zottmann",
"authorUrl": "https://github.com/czottmann",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "logstravaganza",
"version": "2.1.0",
"version": "2.1.1",
"description": "A simple proxy for `console.*()` calls which copies log messages and uncaught exceptions to a note or file.",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/plugin-info.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"pluginVersion": "2.1.0",
"pluginReleasedAt": "2024-05-07T12:22:52+0200"
"pluginVersion": "2.1.1",
"pluginReleasedAt": "2024-08-06T13:52:23+0200"
}
4 changes: 2 additions & 2 deletions src/plugin-info.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* File will be overwritten by bin/release.sh! */
export const PLUGIN_INFO = {
"pluginVersion": "2.1.0",
"pluginReleasedAt": "2024-05-07T12:22:52+0200"
"pluginVersion": "2.1.1",
"pluginReleasedAt": "2024-08-06T13:52:23+0200"
}
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function logLevelFilter(logEvent: LogEvent, logLevel: LogLevel) {
case "info":
return logEvent.level !== "debug";
case "warn":
return !["debug","info","log"].includes(logLevel);
return !["debug", "info", "log"].includes(logEvent.level);
case "error":
return !["debug", "info", "log", "warn"].includes(logEvent.level);
default:
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"1.2.0": "1.2.0",
"2.0.0": "1.4.0",
"2.0.1": "1.4.0",
"2.1.0": "1.4.0"
"2.1.0": "1.4.0",
"2.1.1": "1.5.0"
}

0 comments on commit 95efe4d

Please sign in to comment.