From: Michael Walter (michael.walter_at_[hidden])
Date: 2007-04-05 15:37:20
On 4/5/07, Andrey Semashev <andysem_at_[hidden]> wrote:
> The another reason I've chosen these attributes is that they are
> either cumbersome to fill at user level or are constant all the time.
> See record number for example - a user should maintain the global
> counter and update it on every log record himself.
You could say "add 'preset' counter attribute", thus avoiding that problem.
> Well, there's no point to log an empty record. At least message text
> should be present in any record, don't you think so?
Maybe we should have a look at how Boost.Exception answered these
questions, and compare it to what would be useful for a logging
> But still, I am convinced that the message text should always be
> there. This fact in conjunction with its lazy construction, actually,
> makes it so special that it may be not an attribute at all.
> And as a side note, this will make it impossible to filter by the
> message text just because it won't be available at the time of
> filtering. Can we live with that?
I don't think we should live with that.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk