News for hackers. Stuff that matters.
Re:How to buck a tree: Cutting logs for maximum yield (2018) by MarkSweep on Monday July 11, 2022 @09:53PM (#32064647)
Various languages have ways of automatically including file paths and line numbers without the caller having to include them every time

C# has CallerFilePathAttribute https://docs.microsoft.com/en-us/dotnet/api/system.runtime.c...

C has the __FILE__, __func__, and __LINE__ pre-processor macros.

There are no comments on this comment yet.