Class FlowGraphLogger
Index
Constructors
constructor
-
Returns FlowGraphLogger
Properties
log
The log cache of the flow graph. Each item is a logged item, in order of execution.
log To Console
logToConsole: boolean = false
Whether to log to the console.
Methods
add Log Item
-
Parameters
- item: IFlowGraphLogItem
Returns void
get Items Of Type
-
Parameters
- action: FlowGraphAction
Returns IFlowGraphLogItem[]
This class will be responsible of logging the flow graph activity. Note that using this class might reduce performance, as it will log every action, according to the configuration. It attaches to a flow graph and uses meta-programming to replace the methods of the flow graph to add logging abilities.