
15 Mar
2010
15 Mar
'10
10:58 p.m.
AMDG Andrey Semashev wrote:
On 03/15/2010 11:36 PM, Steven Watanabe wrote:
Andrey Semashev wrote:
That should be quite possible, if there was some way to select the attributes from the rest of the named parameters for the logger. Although that would mean the attributes are added/removed from the logger at each record.
I think, it should be a single keyword that accumulates all attributes to be added. It's just how to store them in the named argument. In a fusion::vector, perhaps?..
fusion::vector could work. Something like fusion::make_vector(std::make_pair("Severity", severity), std::make_pair("Channel", component)) In Christ, Steven Watanabe