A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number.
MIT License
3.94k
stars
477
forks
source link
How to display the test results with XCGLogger and XCUITest #297
We are using XCGLogger to add logging info in our page objects classes and beside the custom messages that we added using log.debug("I'm here!") we need to log the test method results(PASSED or FAILED) in the log file, how can we do this .
Also, how can we display the errors that not logged by XCGLogger for example Assertion Failure
We are using
XCGLogger
to add logging info in ourpage objects classes
and beside the custom messages that we added usinglog.debug("I'm here!")
we need to log thetest method results
(PASSED or FAILED) in thelog
file, how can we do this .Also, how can we display the errors that not logged by
XCGLogger
for exampleAssertion Failure
Thank you!