lefthandedgoat / canopy

f# web automation and testing library, built on top of Selenium (friendly to c# also)
http://lefthandedgoat.github.io/canopy/
MIT License
507 stars 115 forks source link

Consider the Facade.fs for logging #413

Closed haf closed 5 years ago

haf commented 6 years ago

...this will allow us to output structured logging and adapt any logging effortlessly to other Logary-Facade using libraries, such as Expecto.

It will also let us use the Facade.Adapter library https://www.nuget.org/packages/Logary.Adapters.Facade/ and output into any target that Logary supports.

Furthermore, the Facade will grow to include metrics, and I would really like to be able to extract a histogram of what selectors in Canopy take the longest to run, so they can be targeted by a developer to be optimised.

haf commented 6 years ago

Done in https://github.com/lefthandedgoat/canopy/pull/415