setup_logging
Method
This is a method of the ContextAgent class in the context_agent module.Setup comprehensive logging based on debug mode.
Signature
Returns
The result of the operation.
Uses
logging.getLoggersetLevellogging.StreamHandlerconsole_handler.setLevelstrftimedatetime.nowmkdirlogging.FileHandlerfile_handler.setLevellogging.Formatter
Source
View on GitHub
praisonaiagents/agent/context_agent.py at line 205
