Class WriteLogsToFile
- Namespace
- OpenEphys.Miniscope.Gui
- Assembly
- OpenEphys.Miniscope.Gui.dll
Directs the MiniscopeLog instance supplied on the second input to mirror its messages to a CSV log file for as long as the sequence is subscribed. Opening and closing the file brackets a recording: the file is created when the sequence is subscribed and closed when it is unsubscribed, so every message logged in between — including any error that stops the recording — is captured for the user to look back on.
[Combinator]
[WorkflowElementCategory(ElementCategory.Sink)]
public class WriteLogsToFile
- Inheritance
-
WriteLogsToFile
- Inherited Members
Properties
- FileName
Gets or sets the path of the log file to write.
Methods
- Process<TSource>(IObservable<TSource>, IObservable<MiniscopeLog>)
Captures the MiniscopeLog instance from
logSource, opens its log file whensourceis subscribed, and closes it when unsubscribed, forwarding the elements unchanged.