Skip to content

Mock matching log? #73

Answered by surpher
tsfischer asked this question in Q&A
Discussion options

You must be logged in to vote

PactConsumerSwift is not really displaying the log, it is all pact-ruby-standalone that does it.

There's no log file written though. Can/could be put in the backlog to be done. pact_ffi library PactSwiftMockServer uses does expose a const char *pactffi_fetch_log_buffer(const char *log_id); and there's int pactffi_log_to_file(const char *file_name, LevelFilter level_filter);. Would need to expose the interface through PactSwiftMockServer and PactSwift. Could be an optional URL(pathToFile:) for MockService initialiser.

Edit: #75

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by surpher
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants