Using the Client Libraries to Generate Embedded Metric Format Logs