[rabbitmq-discuss] erlang client logging macros issue

Matthias Radestock matthias at rabbitmq.com
Fri Jun 29 13:07:51 BST 2012


Anton,

apologies for the late response...

Anton Lebedevich wrote:
> I've got an issue with Erlang client library. For some reason client
> header file defines several LOG_* macros.
> 
> http://hg.rabbitmq.com/rabbitmq-erlang-client/file/53620e911d13/include/amqp_client.hrl#l65
> 
> Since these names of logging macros are popular (I think many
> applications define something like LOG_INFO) they came into conflict
> with macros in my application.
> 
> Is it possible to hide this LOG_* macros from amqp_client.hrl to some
> private header that won't be included in external applications?

I've filed a bug to get these and other library-internal macros/defines 
moved out of amqp_client.hrl.


Matthias.


More information about the rabbitmq-discuss mailing list