As a plugin developer, you may want to print arbitrary strings to logs during plugin processing for development or debugging purposes. For this purpose, the plugin SDK implements a handler for Python’s standardDocumentation Index
Fetch the complete documentation index at: https://dify-6c0370d8-laipz8200-docs-plugin-model-providers-cache-t.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
logging library. By using this, you can output any string to both the standard output during remote debugging and the plugin daemon container logs (community edition only).
Sample
Importplugin_logger_handler and add it to your logger as a handler. Below is a sample code for a tool plugin.
Edit this page | Report an issue