$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [log] How to set/reset a channel-specific filter
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2010-03-17 05:21:06
>> Anyway, doing this certainly is no big deal. It just seems a bit odd,
>> because it would be easier and more efficient to implement if we could
>> set a filter on a logger.
>
> Loggers don't filter records, because you're not restricted to have a
> single logger per channel.
Ok.
> But if that restriction is mandated in your
> application, you can implement a logger feature that would do additional
> filtering inside the logger.
Ok, I guess this means duplicating most from channel_logger.hpp, right?
Thanks,
-- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.