Skip to content

New option to show timestamp - #39

Closed
ronshapiro wants to merge 1 commit into
JakeWharton:masterfrom
ronshapiro:master
Closed

ronshapiro wants to merge 1 commit into
JakeWharton:masterfrom
ronshapiro:master

Conversation

@ronshapiro

Copy link
Copy Markdown

-t will now output timestamps on the left, following the Logcat option -v time

@ronshapiro

Copy link
Copy Markdown
Author

@JakeWharton I wrote this without seeing #34 but just noticed that it's very similar. I think this does look slightly easier on the eyes with the timestamp on the left:

left-aligned timestamp

There could also be a options -t {short,medium,full,unix} in order to limit the space it actually takes up. I've found that showing someone else log output w/ timestamps can often be helpful if they're not seeing it come in in real time. Additionally, since it's not the default, if someone thinks it's difficult to read they can always leave out the option.

What do you think?

@lkorth

lkorth commented Sep 26, 2014

Copy link
Copy Markdown

It would be super useful to get this merged in. I wouldn't find the date particularly useful though.

@JakeWharton

Copy link
Copy Markdown
Owner

Showing the date is not useful. I might consider this if it was removed as it's the least ugly variant so far.

@ronshapiro

Copy link
Copy Markdown
Author

Happy to do so if you'd like, just give me the green light since the merge conflicts from 12+ months ago don't look pretty so it will take at least a bit of time to get it mergeable

@ronshapiro ronshapiro closed this Jun 13, 2017
@dangercrow

Copy link
Copy Markdown

@ronshapiro Has this been closed due to inactivity?
I seem to end up Googling this issue every few weeks to see if anything has happened on it yet.
Are you planning on remaking a new pull request or...?

@ronshapiro

Copy link
Copy Markdown
Author

I haven't thought about it in a few years and was closing open PRs. Happy to revive if it's desired, but figured it's probably no longer relevant

@dangercrow

Copy link
Copy Markdown

I think it could still be quite a useful feature - having to use both logcat and pidcat to get readable things and timestamps is quite a pain.

@fleytman

Copy link
Copy Markdown

@JakeWharton This feature is not useless. Many people need it. I am QA, I need to determine events from the logs and it is important to know when they happened. Now we have to use logcat in parallel with pidcat only for this function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants