@@ -18,22 +18,24 @@ INFO [XX-XX|XX:XX:XX.XXX] Bash escapes in value key="\x1b[1G\
18
18
INFO [XX-XX|XX:XX:XX.XXX] Bash escapes in key "\x1b[1G\x1b[K\x1b[1A"=value
19
19
INFO [XX-XX|XX:XX:XX.XXX] "Bash escapes in message \x1b[1G\x1b[K\x1b[1A end" key=value
20
20
INFO [XX-XX|XX:XX:XX.XXX] "\x1b[35mColored\x1b[0m[" "\x1b[35mColored\x1b[0m["="\x1b[35mColored\x1b[0m["
21
+ INFO [XX-XX|XX:XX:XX.XXX] an error message with quotes error="this is an 'error'"
21
22
INFO [XX-XX|XX:XX:XX.XXX] Custom Stringer value 2562047h47m16.854s=2562047h47m16.854s
23
+ INFO [XX-XX|XX:XX:XX.XXX] a custom stringer that emits quoted text output="output with 'quotes'"
22
24
INFO [XX-XX|XX:XX:XX.XXX] Lazy evaluation of value key="lazy value"
23
- INFO [XX-XX|XX:XX:XX.XXX] "A message with wonky 💩 characters"
24
- INFO [XX-XX|XX:XX:XX.XXX] "A multiline message \nINFO [10-18|14:11:31.106] with wonky characters 💩"
25
- INFO [XX-XX|XX:XX:XX.XXX] A multiline message
26
- LALA [XXZXXZXXZXXZXXZXXX ] Actually part of message above
25
+ INFO [XX-XX|XX:XX:XX.XXX] "A message with wonky 💩 characters"
26
+ INFO [XX-XX|XX:XX:XX.XXX] "A multiline message \nINFO [10-18|14:11:31.106] with wonky characters 💩"
27
+ INFO [XX-XX|XX:XX:XX.XXX] A multiline message
28
+ LALA [ZZZZZZZZZZZZZZZZZZ ] Actually part of message above
27
29
INFO [XX-XX|XX:XX:XX.XXX] boolean true=true false=false
28
30
INFO [XX-XX|XX:XX:XX.XXX] repeated-key 1 foo=alpha foo=beta
29
31
INFO [XX-XX|XX:XX:XX.XXX] repeated-key 2 xx=short xx=longer
30
- INFO [XX-XX|XX:XX:XX.XXX] log at level info
31
- WARN [XX-XX|XX:XX:XX.XXX] log at level warn
32
- ERROR[XX-XX|XX:XX:XX.XXX] log at level error
32
+ INFO [XX-XX|XX:XX:XX.XXX] log at level info
33
+ WARN [XX-XX|XX:XX:XX.XXX] log at level warn
34
+ ERROR[XX-XX|XX:XX:XX.XXX] log at level error
33
35
INFO [XX-XX|XX:XX:XX.XXX] test bar=short a="aligned left"
34
36
INFO [XX-XX|XX:XX:XX.XXX] test bar="a long message" a=1
35
37
INFO [XX-XX|XX:XX:XX.XXX] test bar=short a="aligned right"
36
- INFO [XX-XX|XX:XX:XX.XXX] The following logs should align so that the key-fields make 5 columns
38
+ INFO [XX-XX|XX:XX:XX.XXX] The following logs should align so that the key-fields make 5 columns
37
39
INFO [XX-XX|XX:XX:XX.XXX] Inserted known block number=1012 hash=000000..001234 txs=200 gas=1,123,123 other=first
38
40
INFO [XX-XX|XX:XX:XX.XXX] Inserted new block number=1 hash=000000..001235 txs=2 gas=1123 other=second
39
41
INFO [XX-XX|XX:XX:XX.XXX] Inserted known block number=99 hash=000000..012322 txs=10 gas=1 other=third
0 commit comments