feat(scenario): split log args into message/data and add debug level
- context.log/warn/error and console.* split arguments: strings join into message, object/array args are kept out of it and stored as the log entry's new data column (JSON), so message stays a stable string regardless of an object's shape - added a debug log level alongside log/warn/error, including context.debug() and console.debug() (previously folded into log) - CSV/Markdown run log export include the data column/block - LogOutput renders data pretty-printed in a separate block below the message, and dims debug entries with a dedicated grey token calibrated to the WCAG AA contrast floor
This commit is contained in:
13 files changed
+204
-45
No files matched your search
@@ -46,6 +46,7 @@
|
||||
|
||||
--color-text: #2D3339;
|
||||
--color-text-muted: #634DBD; /* Kimberly, a touch darker for 4.5:1 on bg-subtle */
|
||||
--color-text-faint: #5C6063; /* desaturated grey, ~4.5:1 on bg-subtle - as washed out as WCAG AA allows */
|
||||
--color-border: #AFBFB9; /* Powder Ash */
|
||||
--color-bg: #E6EDEA; /* Powder Ash tint */
|
||||
--color-bg-subtle: #D8E2DE; /* Powder Ash tint, 1 step darker */
|
||||
@@ -158,6 +159,7 @@ a:hover {
|
||||
|
||||
--color-text: #E2EAE6;
|
||||
--color-text-muted: #A9A3C9; /* lightened Kimberly */
|
||||
--color-text-faint: #9A9A9A; /* desaturated grey, ~4.5:1 on dark bg-subtle - as washed out as WCAG AA allows */
|
||||
--color-border: #3D4850;
|
||||
--color-bg: #1A1F24; /* deeper than Outer Space */
|
||||
--color-bg-subtle: #2D3339; /* Outer Space */
|
||||
|
||||
Reference in new issue
Block a user