
17 Mar
2010
17 Mar
'10
8:28 p.m.
On 03/17/2010 05:52 PM, Steven Watanabe wrote:
AMDG
vicente.botet wrote:
* Severity: I would like that any sink filters thie severity the log_record is not added at all. Could this optimization be taken in account. For example if severity must be GT error to be logged, the following will not evaluate the ineficient_function(). BOOST_LOG_SEV(slg, normal) << ineficient_function();
I'm pretty sure that if no sink is going to accept the record, then inefficient_function will indeed not be called.
I confirm.