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

Review the padding of 'file' field #1

Open
anouvel opened this issue May 1, 2016 · 1 comment
Open

Review the padding of 'file' field #1

anouvel opened this issue May 1, 2016 · 1 comment

Comments

@anouvel
Copy link

anouvel commented May 1, 2016

Pad this line :

[ 2016/05/01 14:34:10 ] [ INFO ] (l. 44) lem_parse_input.c -> new line : 2-3

to (spaces are changed by '_' here) :

[ 2016/05/01 14:38:30 ] [ INFO ] (l. 44) lem_parse_input.c___________-> new line : 2-3

with the printf padding flag :

printf("%-30s\n", "hello");

@jgigault
Copy link
Member

I was wondering something like this in the subway that night..

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

No branches or pull requests

2 participants