Logging
In plugins, please use thelogging module to record logs, do not use print statements (this will cause logs to not be output in the container environment).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
This documentation has moved to langbot.app/docs. This legacy site is no longer updated.
logging module to record logs, do not use print statements (this will cause logs to not be output in the container environment).
import logging
logger = logging.getLogger(__name__) # Import logging module at the beginning of any Python file and define logger object
logger.info('This is an info message') # Use logger.info to record info level logs
logger.warning('This is a warning message')
logger.error('This is an error message')
