mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Added timestamp format "epoch-usec"
This timestamp format will print the seconds since epoch along with subdivision in microseconds. Example: [1748009585.087083] tio v3.9-8-g2fb788f-dirty [1748009585.087156] Press ctrl-t q to quit [1748009585.087683] Connected to /dev/ttyUSB0
This commit is contained in:
parent
2fb788f817
commit
9730543c3d
8 changed files with 28 additions and 5 deletions
|
|
@ -150,6 +150,8 @@ Set timestamp format to any of the following timestamp formats:
|
|||
ISO8601 format ("YYYY-MM-DDThh:mm:ss.sss")
|
||||
.IP "\fBepoch"
|
||||
Seconds since Unix epoch (1970-01-01)
|
||||
.IP "\fBepoch-usec"
|
||||
Seconds since Unix epoch (1970-01-01) with subdivision in microseconds
|
||||
.PP
|
||||
Default format is \fB24hour\fR
|
||||
.RE
|
||||
|
|
|
|||
|
|
@ -116,6 +116,8 @@ OPTIONS
|
|||
|
||||
epoch Seconds since Unix epoch (1970-01-01)
|
||||
|
||||
epoch-usec Seconds since Unix epoch (1970-01-01) with subdivision microseconds
|
||||
|
||||
Default format is 24hour
|
||||
|
||||
--timestamp-timeout <ms>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue