adf_core_python.core.logger package#

Submodules#

adf_core_python.core.logger.logger module#

adf_core_python.core.logger.logger.configure_logger() None#
adf_core_python.core.logger.logger.get_agent_logger(name: str, agent_info: AgentInfo) BoundLogger#

Get a logger with the given name and agent information. For agent logging, use this function to get a logger.

Parameters:
  • name (str) – The name of the logger.

  • agent_info (AgentInfo) – The agent information.

Returns:

The logger with the given name and agent information.

Return type:

structlog.BoundLogger

adf_core_python.core.logger.logger.get_logger(name: str) BoundLogger#

Get a logger with the given name. For kernel logging, use this function to get a logger.

Parameters:

name (str) – The name of the logger.

Returns:

The logger with the given name.

Return type:

structlog.BoundLogger

Module contents#