Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 539 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 539 Bytes

Interceptor Sample

This sample shows how to make a worker interceptor that intercepts workflow and activity GetLogger calls to customize the logger.

Steps to run this sample:

  1. Run a Temporal service.
  2. Run the following command to start the worker
go run ./interceptor/worker
  1. Run the following command to start the example
go run ./interceptor/starter

Notice the log output has the WorkflowStartTime/ActivityStartTime tags on the logs.