Boost logo

Boost Users :

Subject: Re: [Boost-users] [log] disabling logging at compile-time
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2017-01-02 10:41:11


On 2 January 2017 at 08:05, Igor R <boost.lists_at_[hidden]> wrote:

> Is it possible to completely eliminate the logging code (i.e. the
> run-time overhead) using some macro?
>
> Thanks.
>

You mean, when using Boost.Log's logging macros?

I have my own macros using Boost.Log as a backend, in which case I can
simply not compile
the logging code at all.

Joël Lamotte



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net