EventStore adapter

The EventStore adapter is really easy to use; just call LogManager.SetLogFactory with it.

First:

Install-Package Logary.Adapters.EventStore
Install-Package EventStore.Client.FSharp

to get the nicities for F#.

Usage:

open EventStore.ClientAPI
open EventStore.ClientAPI.Common.Log

use logary =  ...

let conn =
  ConnectionSettings.configureStart()
  |> ConnectionSettings.useCustomLogger (LogaryLogger(logary.GetLogger("EventStore")))
  |> ConnectionSettings.configureEnd (IPEndPoint(IPAddress.Loopback, 1113))

Also see configuring logging.