swarmrob.swarmrob.logger package

Submodules

swarmrob.swarmrob.logger.evaluation_logger module

swarmrob.swarmrob.logger.local_logger module

swarmrob.swarmrob.logger.remote_logger module

class swarmrob.swarmrob.logger.remote_logger.RemoteLogger(hostname, port, worker_uuid, swarm_uuid)

Bases: object

Singleton class for the remote logger

debug(msg, *args)
Overwritten debug method of the logging module. Adds additional information like the uuid of the swarm and worker to the remote logging
Parameters:
  • msg – Message that should be logged
  • args – List of additional arguments
Returns:

error(msg, *args)
Overwritten error method of the logging module. Adds additional information like the uuid of the swarm and worker to the remote logging
Parameters:
  • msg – Message that should be logged
  • args – List of additional arguments
Returns:

exception(exception, msg='')
Overwritten exception method of the logging module. Adds additional information like the uuid of the swarm and worker to the remote logging
Parameters:
  • exception – Thrown exception
  • msg – Message that should be logged
Returns:

swarmrob.swarmrob.logger.remote_logging_server module

Module contents