Need way to specify in the logger configuration the factory for the own writer

I want add to a logger my own writer who created by factory and I cann`t find any way for do this.

Here is the link to the stackoverflow, where I asked whether it is possible do that  http://stackoverflow.com/questions/16414926/is-there-a-way-to-add-a-log-writer-factory-into-the-logger-configuration