cardano-rt-view-0.1.0
Safe HaskellNone
LanguageHaskell2010

Cardano.RTView.ErrorBuffer

Synopsis

Documentation

data ErrorBuffer a Source #

All |LogObject|s accepted by |TraceAcceptor| plugin will be decoded and traced to 'cardano-rt-view.acceptor'. Because of RView configuration all these |LogObject|s will be sent to |LogBufferBK| and |ErrorBufferBK|, but |ErrorBufferBK| is storing only errors. Later NodesState.Updater will extract errors from |ErrorBufferBK| and display them in UI (Errors tab).

readErrorBuffer :: ErrorBuffer a -> IO [(LoggerName, LogObject a)] Source #

Once we read the current content of the queue, it should be cleaned.

effectuate :: IsEffectuator t a => t a -> LogObject a -> IO () Source #

unrealize :: IsBackend t a => t a -> IO () Source #