[CDRIVER-1094] Move mongoc_log_trace_[disable|enable] to public API Created: 09/Feb/16 Updated: 10/Aug/16 Resolved: 22/Feb/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.4.0 |
| Fix Version/s: | 1.4.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Hannes Magnusson | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Public API for PHP drivers |
| Description |
|
When compiling with --enable-tracing we have a feature to disable/re-enable tracing at run time. Drivers written ontop of mongoc would generally compile with --enable-tracing and then use mongoc_log_trace_disable() in their bootstrapping so they can selectively enable debug logging without recompiling. This feature already exists, but is behind lock and key |
| Comments |
| Comment by Githook User [ 22/Feb/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: Make mongoc_log_trace_enable and mongoc_log_trace_disable public. |