How to flush logs?

Hi,

I am trying to flush my log output within the app running.

I have to send a file, and can not wait until the app has finished, I am simply exiting after the file has been sent.

So CLogger can flush()

http://www.yiiframework.com/doc/api/CLogger#flush-detail

but how do I access it?

Best regards,

schmunk

Check dis out:

http://www.yiiframework.com/doc/api/YiiBase#getLogger-detail

Thx!