- Fixes "warn" log level outputting all the things. Thanks to @Erallie for both the heads-up and the fix! #14
- Changes min Obsidian version from 1.4.0 to 1.5.0.
- Adds new output formatter, Markdown Code Blocks, which outputs log entries as code blocks in a Markdown file. This is useful for log files that are meant to be read by humans, not machines. Contribution by @fyears (PR#11), thanks!
- Adds new setting to specify the log level. Another fine contribution by @fyears, (PR#12)
- Adds countermeasures against "max call stack size exceeded" errors caused by several internal Obsidian objects (app, vault, workspace, (abstract) files, folders)
This update brings a full rewrite of the plugin: Not only is it more performant and reliable now, but it comes with support for different output formats. In addition to the tried-and-true Markdown table file, there's now the option to log to an NDJSON file. See the README for examples on how to work with NDJSON files.
- Adds support for additional output formats, adds NDJSON format
- Adds support for setting the output folder for log files
- Adds toggle to date-stamp output files
- New settings tab
- Logs unhandled exceptions in main thread
Promise
s now (not in workers) - Changes output base file name
- Fixes missing line breaks between some table rows (#6)
- Adds device name (taken from Sync core plugin) to log note title (#7)
- Adds the original sender of a log message to the log note
- Refactored everything as part of Community Plugins code review. Got good input there!
- Initial pre-1.0 release. Let's get this show on the road! 🚀