Skip to content

showInitialDebugMessage

Shows an initial debug message, telling the user how to disable the plugin’s debug messages.

Prints nothing while the plugin’s debug messages are disabled, so a plugin in its default configuration writes nothing to the console.

Import:

import { showInitialDebugMessage } from '@mnaoumov/obsidian-lib/debug';

Signature:

function showInitialDebugMessage(pluginId: string): void

Parameters:

Parameter Type Description
pluginId string The plugin ID.

Returns: void