Module pact_matching_ffi::log [−][src]
Expand description
Sets up a log sink to view logs from the FFI.
Functions
fetch_log_buffer⚠ | Fetch the in-memory logger buffer contents. This will only have any contents if the |
log_to_buffer | Convenience function to direct all logging to a thread local memory buffer. |
log_to_file⚠ | Convenience function to direct all logging to a file. |
log_to_stderr | Convenience function to direct all logging to stderr. |
log_to_stdout | Convenience function to direct all logging to stdout. |
logger_apply | Apply the thread-local logger to the program. |
logger_attach_sink | Attach an additional sink to the thread-local logger. |
logger_init | Initialize the thread-local logger with no sinks. |