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

No time stamps on logs? #189

Open
diegoleao opened this issue Jan 12, 2021 · 4 comments
Open

No time stamps on logs? #189

diegoleao opened this issue Jan 12, 2021 · 4 comments

Comments

@diegoleao
Copy link

diegoleao commented Jan 12, 2021

We're using Lunar Console to track bugs on a client, but we don't know when the log happened, so it makes things very difficult to track.

I searched in lunar console documentation, but didn't found anything about timestamps.

Is there an option on the free or pro versions to enable them?

@weeeBox
Copy link
Member

weeeBox commented Jan 12, 2021

No at this moment. Do you need them in the console window or in the report?

@diegoleao
Copy link
Author

diegoleao commented Jan 14, 2021

In both, because the client sometimes send us prints, and sometimes use the copy/mail functions, and we can't enforce either :\

If it is not asking too much, can you either show me where to put the timestamp in the code, or post a patch? For a console app, having timestamps is a major improvement, I think this will make it much more complete.

@weeeBox
Copy link
Member

weeeBox commented Jan 14, 2021

The easiest approach would be to add a timestamp to each log statement before it's sent to the native code: https://github.com/SpaceMadness/lunar-unity-console/blob/master/Project/Assets/LunarConsole/Scripts/LunarConsole.cs#L617. I'll try to prepare a patch release until the end of the week.

@diegoleao
Copy link
Author

Ok! I'll do that, thank you for patching it and for the prompt response!

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

No branches or pull requests

2 participants