Skip to content

Conversation

roryrjb
Copy link

@roryrjb roryrjb commented Aug 20, 2023

Hello! Thanks for the handy syntax file.

These days I'm mostly looking at logs from Kubenetes pods. Using kubectl you can specify the --timestamps=true flag which will prefix all log entries with the timestamp they were recorded. Anyway this seems to be at nanosecond granularity, e.g.

2023-08-17T07:52:26.131134150Z Generating output directory: dist/
2023-08-17T07:52:26.144996867Z Full static mode activated
2023-08-17T07:52:26.146209081Z Generating pages

This change just extends the logTime regex up to 9 digits. Please consider merging it in, many thanks!

@roryrjb roryrjb changed the title Extend logTime to nanosecond granularity Extend logTime to nanosecond precision Aug 20, 2023
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