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 the R conversion character to layouts #231

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sergio-bobillier
Copy link

@sergio-bobillier sergio-bobillier commented Jul 27, 2021

The r character in the pattern strings outputs the number of milliseconds elapsed between the creation of the Layout and the time of the log entry. This is okay but sometimes it is easier to get an idea of the elapsed time between two log entries when the elapsed times are presented in seconds, not in milliseconds. Therefore I added the R character which output basically the same value but formats it as a floating point number with 4 decimal places.

The 'R' character is very similar to the 'r' character except that it
will output the number of seconds (with milliseconds) elapsed between
the construction of the Layout and the creation of the log event
formatted like #.#### (always 4 decimal places)
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.

1 participant