-
Notifications
You must be signed in to change notification settings - Fork 15
Backend
Alexander Diemand edited this page Sep 24, 2019
·
1 revision
Backends that are implemented in their own libraries/packages can easily be integrated with the switchboard.
import necessary types and functions:
import Cardano.BM.Plugin (loadPlugin)
import Cardano.BM.Backend.Monitoring (plugin)
initialise the backend and integrate it with the Switchboard:
pl <- Cardano.BM.Backend.Monitoring.plugin c tr sb
loadPlugin sb pl