Re: [pygccxml-development] How to customize log messages?
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-04-11 17:11:13
|
On 4/11/06, Matthias Baas <ba...@ir...> wrote: > Roman Yakovenko wrote: > > Can you start some to do list to next release? Small text file under > > pyplusplus/docs will be good enough. > > Done. Thanks. > Well, I had a look at _logging_ and noticed that it's not quite true > that one cannot set the verbosity level. As the standard logging module > is used I can obtain the logger and adjust the level (I don't know if > setting the level to DEBUG by default is such a good idea...). I did not think about this a lot. But I prefer to leave it as is. You are an experience user of pyplusplus, other developers are not. So I think they will be glad to see so many log messages at least one week. After this they will increas= e log messages level. > The presence of the _logging_ module suggests that you already have some > plans concerning log messages in pygccxml/pyplusplus. What plans do you > have how logging should be done? (or if there are no plans, why didn't > you use the logging module directly?) Tool chain. I would like to see people start integrate code generation with= in their build process. Thus dedicating some logger to pygccxml/pyplusplus wil= l allow them better control on process. As I already said, in future we will add under main/root project logger, loggers for some specific packages. Thus you will have only one point to configure all loggers for whole code generator. Does it make sense? Do you agree with this. If so, I will add to "todo.txt"= this explanation. So someone will be ale to implement this. > - Matthias - -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |