Learn how to add logging to your Dify plugin tools for development and debugging purposes.
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).
plugin_logger_handler
and add it to your logger as a handler. Below is a sample code for a tool plugin.