-
Notifications
You must be signed in to change notification settings - Fork 2
Debugging
Gurmit Teotia edited this page Jan 19, 2018
·
2 revisions
You can configure the Guflow to give you more information about its inner working. You have following two options:
-
Configure the generic error handler on host to log any unhandled exception
var host = domain.Host(new []{new TranscodeWorkflow()); //It also apply to ActivityHost host.OnError(e=>{ Console.WriteLine(e.Exception); return ErrorAction.Continue;}); ...
You can read more about error handling here.
-
Configure the logging to output its internal message. By default logging is disabled. You should enable the logging before executing any Guflow code.
Log.Register(Log.Console);
You can also register the custom logger if you wish to log the message to file.
Guflow
- Prerequisite
- Installation
-
Workflows
- Creating first workflow
- Registration
- Hosting
- Start workflow
- Schedule activities
- Schedule timers
- Schedule lambda function
- Schedule child workflows
- Lambda functions vs activities
- Workflow input
- Workflow actions
- Signals
- Workflow branches
- Deflow algorithm
- Workflow events
- Query APIs
- Custom polling strategy
- Things to take care of
- Activites
- Unit testing
- Performance & scalability
- Error handling
- Logging
- Debugging
- Tutorial
- Release notes