FileLogger
autogen.logger.FileLogger #
Bases: BaseLogger
Source code in autogen/logger/file_logger.py
start #
Start the logger and return the session_id.
Source code in autogen/logger/file_logger.py
log_chat_completion #
log_chat_completion(invocation_id, client_id, wrapper_id, source, request, response, is_cached, cost, start_time)
Log a chat completion.
Source code in autogen/logger/file_logger.py
log_new_agent #
Log a new agent instance.
Source code in autogen/logger/file_logger.py
log_event #
Log an event from an agent or a string source.
Source code in autogen/logger/file_logger.py
log_new_wrapper #
Log a new wrapper instance.
Source code in autogen/logger/file_logger.py
log_new_client #
Log a new client instance.
Source code in autogen/logger/file_logger.py
log_function_use #
Log a registered function(can be a tool) use from an agent or a string source.
Source code in autogen/logger/file_logger.py
get_connection #
Method is intentionally left blank because there is no specific connection needed for the FileLogger.
stop #
Close the file handler and remove it from the logger.