Boost logo

Boost :

Subject: Re: [boost] Boost log issues and workarounds
From: Gavin Lambert (boost_at_[hidden])
Date: 2019-01-17 23:04:04

On 18/01/2019 11:23, hh h wrote:
> That cannot do namespace INFO = boost::log::trivial::info; so the only
> way we might run namespace LEVEL = boost::log::trivial; and to call
> LOG(LEVEL::info), not quite tidy, I am looking into Andrey's solution.

Have you considered:

#define LOG_INFO() LOG(boost::log::trivial::info)

Or similar.

Boost list run by bdawes at, gregod at, cpdaniel at, john at