Output the tracing information. More...
Functions | |
| void | kanzi::clearTrace () |
| Clear the current tracing log. | |
| void | kanzi::logTraceToFile (string_view fileName) |
| Write the current tracing log to a file. | |
Output the tracing information.
| void kanzi::logTraceToFile | ( | string_view | fileName | ) |
Write the current tracing log to a file.
This will consume all trace events. The file written will be compatible with the Google tracing format.
Floating point samples whose value is not a finite number (NaN or infinity) are omitted from the written file, because such values have no valid JSON representation and would corrupt the trace output.
| fileName | The filename to write. |
| void kanzi::clearTrace | ( | ) |
Clear the current tracing log.