cogentcore / core

A free and open source framework for building powerful, fast, and elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the Web with a single pure Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.31k stars 71 forks source link

Redesign the log #906

Closed ddkwork closed 4 months ago

ddkwork commented 4 months ago

Describe the feature

This is a low priority, and I found that when there is too much source code, the log needs to have the following functions to make it easy to quickly locate the source code with a mouse click

Relevant code

No response

ddkwork commented 4 months ago

{13B3262D-18E9-4a0f-BC0E-F97C774C563B}.png

kkoreilly commented 4 months ago

It is your responsibility to write log messages that are clear and sufficiently convey the location; I am always able to find log messages just by searching for the message. We are not going to force people to have information they do not want in their log messages; you can easily write a helper function that does this if you want that behavior.

ddkwork commented 4 months ago

It is your responsibility to write log messages that are clear and sufficiently convey the location; I am always able to find log messages just by searching for the message. We are not going to force people to have information they do not want in their log messages; you can easily write a helper function that does this if you want that behavior.

ok