Logary Adapters
Adapters are plug-ins into OTHER libraries, which can then output their internal logs into logary, which in turn takes care of sending those logs further.
Suave
Usage:
let web_config =
{ default_config with
bindings = context.settings.GetBindings ()
logger = SuaveAdapter(logary.GetLogger "suave")
}
Topshelf
Usage
TBD
EventStore
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.
CommonLogging
Please help fill out!
log4net
Please help fill out!