Hello,

im sry, that im reposting this, but i forgot to post the correct
typ /code which im using.

ILog _log = LogManager.GetLogger(typeof(FileSyncService));

Interface of Plugin: void SyncDir(ILog pLog, string[] args);

So the Object which returns LogManager.GetLogger should be serializable.
Any one got an idea how i can fix this?

greetings


On Thu, 2010-12-09 at 18:16 +0100, Martin Fetzel wrote: 
> Hello,
> 
> we rewrote our pluginmanager and now the plugins have to be
> serializable.
> 
> The plugins should also be able to log. So the interface of the plugins
> looks something like that. Public void run(args[], log4net plogger).
> 
> But now (with the new pluginmanager) this isn’t working because log4net
> isn’t serializable. 
> 
> How can i make log4net serializable? Have any one a good solution for my
> problem?
> 
> Greetings
> 
> 
> 
> martin
> 


Reply via email to