Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timestamps functionality #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

draganjovanovich
Copy link

@draganjovanovich draganjovanovich commented Aug 15, 2022

Added timestamp option for STDOUT logs, on each line, option can be
toggled from commands input.

return;
static void write_receive_buf(const unsigned char *buf, int len) {
if (!len) return;
if (timestamps) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation looks broken. Please fix.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used ClangFormat from VIM, and it automatically messed up this file for some reason (tab size indentation probably), i will manually reformat and commit.

Thanks.

Added timestamp option for STDOUT logs, on each line, option can be
toggled from commands input

Signed-off-by: Dragan Jovanović <draganele@gmail.com>
Signed-off-by: Dragan Jovanović <draganele@gmail.com>
Signed-off-by: Dragan Jovanović <draganele@gmail.com>
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.

None yet

2 participants