aea.helpers.logging
Logging helpers.
get_
logger
Get the logger based on a module path and agent name.
AgentLoggerAdapter Objects
This class is a logger adapter that prepends the agent name to log messages.
__
init__
Initialize the logger adapter.
Arguments:
logger
: the logger.agent_name
: the agent name.
process
Prepend the agent name to every log message.
WithLogger Objects
Interface to endow subclasses with a logger.
__
init__
Initialize the logger.
Arguments:
logger
: the logger object.default_logger_name
: the default logger name, if a logger is not provided.
logger
Get the component logger.
logger
Set the logger.