Skip to content

logger: avoid trailing spaces when writing line 2+ #242

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

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

jvdp1
Copy link
Member

@jvdp1 jvdp1 commented Oct 30, 2020

Currently, a trailing space will be present from the second line (there is no trailing space for the first line (see format_fist_line for details).
This PR avoids trailing spaces from the second line.

@wclodius2 What is on purpose that a trailing space remained from the second line?

@jvdp1 jvdp1 requested a review from milancurcic October 30, 2020 16:27
@wclodius2
Copy link
Contributor

Carelessness. Its easy to miss a fencepost such as this.

@jvdp1
Copy link
Member Author

jvdp1 commented Oct 30, 2020

Carelessness. Its easy to miss a fencepost such as this.

No problem. I should have noted it during my review ;) I saw it now because I am testing the logger in some of our programs.

Copy link
Member

@milancurcic milancurcic left a comment

Choose a reason for hiding this comment

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

Nice. I didn't notice it during review either.

@jvdp1
Copy link
Member Author

jvdp1 commented Oct 30, 2020

Good. Thank you for the confirmation. Since it is a small issue, I will merge it.

@jvdp1 jvdp1 merged commit 5856e4f into fortran-lang:master Oct 30, 2020
@jvdp1 jvdp1 deleted the logger1 branch October 30, 2020 18:02
@wclodius2
Copy link
Contributor

wclodius2 commented Oct 30, 2020 via email

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.

3 participants