This function adds logging capability to a list of connections by modifying their class attributes. It ensures that the input is of the correct type and registers the necessary S3 methods for logging.
Arguments
- connections
An object of class
connectors()
. This should be a list of connection objects to which logging capability will be added.
Value
The modified connections
object with logging capability added.
Each connection in the list will have the "ConnectorLogger" class
prepended to its existing classes.