Add timestamp and message type to the log#4138
Conversation
|
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
|
Is time process in seconds since start? |
Yes. I don't think we need system uptime. |
|
I'll later change the logger's initial printouts (OS name etc.) to also follow the general scheme. Otherwise they are currently printed plainly as before, and don't go to |
|
From now on there's no need to write "WARNING - something happened". Just "Something happened" is sufficient if it's printed to |
|
Hello @10110111! Please check the fresh version (development snapshot) of Stellarium: |
|
Hello @10110111! Please check the latest stable version of Stellarium: |
This PR adds a timestamp and message type tag to the log output, so that it's easier to find what takes excessive time (e.g. at loading state), as well as to filter by message type (e.g. highlight all warnings, delete all debug messages). After this change the log will look like this: