Making logging APIs available in optimized builds?

View: New views
2 Messages — Rating Filter:   Alert me  

Making logging APIs available in optimized builds?

by Gustavo Carneiro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Craig pointed out to me that python bindings are failing because logging
APIs are disabled in optimized builds.

I would like to make the logging APIs, except logging macros, available in
optimized builds as noops.  At least the LogComponent* APIs, I don't care
about the macros.  Does it sound OK?

--
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert

Re: Making logging APIs available in optimized builds?

by Mathieu Lacage :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2008-07-24 at 12:05 +0100, Gustavo Carneiro wrote:
> Craig pointed out to me that python bindings are failing because
> logging APIs are disabled in optimized builds.
>
> I would like to make the logging APIs, except logging macros,
> available in optimized builds as noops.  At least the LogComponent*
> APIs, I don't care about the macros.  Does it sound OK?

Sure. Can you file a bug and attach a patch there ?

Mathieu