github.com/ethereum/go-ethereum@v1.14.4-0.20240516095835-473ee8fc07a3/cmd/geth/testdata/logging/logtest-terminal.txt (about)

     1  INFO [xx-xx|xx:xx:xx.xxx] big.Int                                  111,222,333,444,555,678,999=111,222,333,444,555,678,999
     2  INFO [xx-xx|xx:xx:xx.xxx] -big.Int                                 -111,222,333,444,555,678,999=-111,222,333,444,555,678,999
     3  INFO [xx-xx|xx:xx:xx.xxx] big.Int                                  11,122,233,344,455,567,899,900=11,122,233,344,455,567,899,900
     4  INFO [xx-xx|xx:xx:xx.xxx] -big.Int                                 -11,122,233,344,455,567,899,900=-11,122,233,344,455,567,899,900
     5  INFO [xx-xx|xx:xx:xx.xxx] uint256                                  111,222,333,444,555,678,999=111,222,333,444,555,678,999
     6  INFO [xx-xx|xx:xx:xx.xxx] uint256                                  11,122,233,344,455,567,899,900=11,122,233,344,455,567,899,900
     7  INFO [xx-xx|xx:xx:xx.xxx] int64                                    1,000,000=1,000,000
     8  INFO [xx-xx|xx:xx:xx.xxx] int64                                    -1,000,000=-1,000,000
     9  INFO [xx-xx|xx:xx:xx.xxx] int64                                    9,223,372,036,854,775,807=9,223,372,036,854,775,807
    10  INFO [xx-xx|xx:xx:xx.xxx] int64                                    -9,223,372,036,854,775,808=-9,223,372,036,854,775,808
    11  INFO [xx-xx|xx:xx:xx.xxx] uint64                                   1,000,000=1,000,000
    12  INFO [xx-xx|xx:xx:xx.xxx] uint64                                   18,446,744,073,709,551,615=18,446,744,073,709,551,615
    13  INFO [xx-xx|xx:xx:xx.xxx] Special chars in value                   key="special \r\n\t chars"
    14  INFO [xx-xx|xx:xx:xx.xxx] Special chars in key                     "special \n\t chars"=value
    15  INFO [xx-xx|xx:xx:xx.xxx] nospace                                  nospace=nospace
    16  INFO [xx-xx|xx:xx:xx.xxx] with space                               "with nospace"="with nospace"
    17  INFO [xx-xx|xx:xx:xx.xxx] Bash escapes in value                    key="\x1b[1G\x1b[K\x1b[1A"
    18  INFO [xx-xx|xx:xx:xx.xxx] Bash escapes in key                      "\x1b[1G\x1b[K\x1b[1A"=value
    19  INFO [xx-xx|xx:xx:xx.xxx] "Bash escapes in message  \x1b[1G\x1b[K\x1b[1A end" key=value
    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'"
    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'"
    24  INFO [xx-xx|xx:xx:xx.xxx] "A message with wonky 💩 characters"
    25  INFO [xx-xx|xx:xx:xx.xxx] "A multiline message \nINFO [10-18|14:11:31.106] with wonky characters 💩" 
    26  INFO [xx-xx|xx:xx:xx.xxx] A multiline message 
    27  LALA [ZZZZZZZZZZZZZZZZZZ] Actually part of message above 
    28  INFO [xx-xx|xx:xx:xx.xxx] boolean                                  true=true false=false
    29  INFO [xx-xx|xx:xx:xx.xxx] repeated-key 1                           foo=alpha foo=beta
    30  INFO [xx-xx|xx:xx:xx.xxx] repeated-key 2                           xx=short xx=longer
    31  INFO [xx-xx|xx:xx:xx.xxx] log at level info 
    32  WARN [xx-xx|xx:xx:xx.xxx] log at level warn 
    33  ERROR[xx-xx|xx:xx:xx.xxx] log at level error 
    34  INFO [xx-xx|xx:xx:xx.xxx] test                                     bar=short a="aligned left"
    35  INFO [xx-xx|xx:xx:xx.xxx] test                                     bar="a long message" a=1
    36  INFO [xx-xx|xx:xx:xx.xxx] test                                     bar=short            a="aligned right"
    37  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] Inserted known block                     number=1012 hash=000000..001234 txs=200 gas=1,123,123 other=first
    39  INFO [xx-xx|xx:xx:xx.xxx] Inserted new block                       number=1    hash=000000..001235 txs=2   gas=1123      other=second
    40  INFO [xx-xx|xx:xx:xx.xxx] Inserted known block                     number=99   hash=000000..012322 txs=10  gas=1         other=third
    41  WARN [xx-xx|xx:xx:xx.xxx] Inserted known block                     number=1012 hash=000000..001234 txs=200 gas=99        other=fourth
    42  INFO [xx-xx|xx:xx:xx.xxx] (*big.Int)(nil)                          <nil>=<nil>
    43  INFO [xx-xx|xx:xx:xx.xxx] (*uint256.Int)(nil)                      <nil>=<nil>
    44  INFO [xx-xx|xx:xx:xx.xxx] (fmt.Stringer)(nil)                      res=<nil>
    45  INFO [xx-xx|xx:xx:xx.xxx] nil-concrete-stringer                    res=<nil>
    46  INFO [xx-xx|xx:xx:xx.xxx] error(nil)                               res=<nil>
    47  INFO [xx-xx|xx:xx:xx.xxx] nil-concrete-error                       res=
    48  INFO [xx-xx|xx:xx:xx.xxx] nil-custom-struct                        res=<nil>
    49  INFO [xx-xx|xx:xx:xx.xxx] raw nil                                  res=<nil>
    50  INFO [xx-xx|xx:xx:xx.xxx] (*uint64)(nil)                           res=<nil>
    51  INFO [xx-xx|xx:xx:xx.xxx] Using keys 't', 'lvl', 'time', 'level' and 'msg' t=t time=time lvl=lvl level=level msg=msg
    52  INFO [xx-xx|xx:xx:xx.xxx] Odd pair (1 attr)                        key=<nil>                  LOG_ERROR="Normalized odd number of arguments by adding nil"
    53  INFO [xx-xx|xx:xx:xx.xxx] Odd pair (3 attr)                        key=value                  key2=<nil> LOG_ERROR="Normalized odd number of arguments by adding nil"