Esempio n. 1
0
def setup_metlog(config_dict):
    """
    Instantiate the Metlog client and set up the client wrapper.

    :param config_dict: Dictionary object containing the metlog client
                        configuration.
    """
    CLIENT_WRAPPER.activate(config_dict)
Esempio n. 2
0
 def setUp(self):
     self.orig_client = CLIENT_WRAPPER.client
     client_config = {
         'sender_class': 'metlog.senders.DebugCaptureSender',
         }
     CLIENT_WRAPPER.activate(client_config)