Constructor.
$key: The database connection key for which to enable logging.
public function __construct($key = 'default') { $this->connectionKey = $key; }