|
Boost : |
Subject: Re: [boost] [boost.log] set_open_handler() and set_close_handler() for text_multifile_backend?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-11-09 13:51:17
On 11/09/2010 04:57 AM, Jamie Allsop wrote:
> Jamie Allsop wrote:
>
> I think what
> I really want is some sort of 'id' based file rotation. In that light I
> suppose I could use the time_based_rotation and supply my own function
> that rotates based on a changing 'id'. Perhaps this could be generalised
> in the library to be a 'triggered_rotation' where some of the current
> implementations happen to be time based?
I'm not sure I understand. Do you need a way to customize the logic of
detection when to rotate the log file? What is the 'id' then?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk