...
There are two main ways to do logging in Canvas:
...
output logging, which can be customized with a search model
...
In-code logging using logger.log()
Info |
---|
Log block output Block output is automatically logged, and can be further refined by creating a search model for a any given block. This will allow you to select one or more fields from the output of the block that will be logged every time it runs. This could for example be used to log employee numbers, order numbers, or similar - to know what was transferred, and when it happened. Log custom information using logger.log() in the block code. This allows you to add custom, conditional logging logic into the integration logic. You could for example log validation errors, create conditional logging, error responses, etc.
|
...