Comment 2 for bug 1350735

Revision history for this message
Lev (levent-atasoy) wrote :

I think either of these approaches would work great.
Regarding the prefix question... being able to control the prefix would also be a nice feature.
In the case of my logger, it already prints its own prefix based on which method is called.
Since your proposal is redirecting Debug.setlogger[Info,Error,etc] individually into a corresponding Mylogger.[info,error,etc.],
it would be good also to have the option to turn off the prefix, maybe along the lines of passing False, or "" as the "new prefix"