Skip to content

Commit

Permalink
feat: Log current version onload + in CodeblockErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Apr 28, 2024
1 parent ad1f842 commit c12808c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/components/codeblocks/CodeblockErrors.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,8 @@
codeblock docs
</a> for more info
</p>

<p>
Version: <code>{plugin.manifest.version}</code>
</p>
{/if}
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export default class BreadcrumbsPlugin extends Plugin {
// Logger
log.set_level(this.settings.debug.level);

log.info("loading Breadcrumbs plugin");
log.info(
`loading plugin "${this.manifest.name}" plugin v${this.manifest.version}`,
);
log.debug("settings >", this.settings);

/// Migrations
Expand Down

0 comments on commit c12808c

Please sign in to comment.