Skip to content

Commit

Permalink
fixup: no reason in error, value and variant
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert committed Aug 29, 2024
1 parent ee92428 commit 0ae0cfb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions specification/appendix-a-included-utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,12 @@ Providers can contain metadata. The Multi-Provider will make that metadata avail
The logging hook is a hook which logs messages during the flag evaluation life-cycle as described below:

| Stage | Logged data |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| before | `stage`, `domain`, `provider name`, `flag key`, `default value` and `evaluation context` (serialized, opt-in) |
| after | `stage`, `domain`, `provider name`, `flag key`, `default value`, `evaluation context` (serialized, opt-in), `reason`, and `variant` (or stringified `value` if not available) |
| error | `stage`, `domain`, `provider name`, `flag key`, `default value`, `evaluation context` (serialized, opt-in), `reason`, `error code`, and `error message` |
| finally | N/A |
| Stage | Logged data |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| before | `stage`, `domain`, `provider name`, `flag key`, `default value` and `evaluation context` (serialized, opt-in) |
| after | `stage`, `domain`, `provider name`, `flag key`, `default value`, `evaluation context` (serialized, opt-in), `reason`, `variant` and `value` |
| error | `stage`, `domain`, `provider name`, `flag key`, `default value`, `evaluation context` (serialized, opt-in), `error code`, and `error message` |
| finally | N/A |

> The evaluation context **SHOULD** only be logged if an associated option indicates so.
Expand Down

0 comments on commit 0ae0cfb

Please sign in to comment.