Re: [AD] configurable logging

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Elias Pschernig wrote:

And finally whether to prepend log messages with file:linenumber, just because I like to find things faster - but off by default.

I especially like this. Adding a function name would make it even more easy to read.


The use inside the source code would not change much from how it is currently, except the somewhat cumbersome PREFIX_* definitions would not exist any longer. At the beginning of each source file, we would instead have something like:

Do you have an implementation already?


--
Milan Mimica
http://sparklet.sf.net




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/