
18 Feb
2014
18 Feb
'14
8:49 a.m.
On Tue, Feb 18, 2014 at 12:28 PM, Ben Pope
Hi,
I'm using the trivial logging interface, but I need to tweak the default configuration. I want to be able to flush after every log entry, and I also want to be able to do file rolling.
As far as I can tell, in order to configure it this way, I pretty much need to configure the whole thing from scratch including formatters, but I can't find the code that sets up the default logger to replicate it.
Any pointers?
Yes, you have to create and configure the sink yourself to do that. The default sink cannot be accessed. It is rather specialized and cannot be customized in any way, so it wouldn't be of use for you anyway.