Skip to content

jonjohnsonjr/logspan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logspan

https://x.com/kellabyte/status/1843436926214590633

Install

go install github.com/jonjohnsonjr/logspan@latest

Usage

Use with trot or retrace.

for i in $(seq 4); do echo -n $(date) && echo -n "," && sleep $i && echo -n $(date) && echo -n "," && echo "this is log number $i"; done | logspan | trot > trace.html && open trace.html

This assumes your input is formatted as:

<start>,<end>,<text2>
<start>,<end>,<text2>

Where <start> and <end> are both in the same format as $(date) output. If that's not correct, fork it and fix it.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages