Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.
Here is an example of using Logary via Facade adapter 4.0 + with Suave ver. 2.0+
The below details how to configure Suave v1.x with Logary v3.x:
When you are using suave you will probably want to funnel all logs from the
output to your own log sink. We provide the interface Logger to do that; just
set the property logger in the configuration to an instance of your thread-safe
logger. An example:
You can use Logary for integrated logging:
Use the SuaveAdapter type to set the Logger in Suave’s configuration: