CSLA & log4net

CSLA & log4net

Old forum URL: forums.lhotka.net/forums/t/761.aspx


kids_pro posted on Sunday, July 30, 2006

Any want have a good practise of putting together log4net & Csla?
I tried to put logging in my BO but something wrong with serialization process i can't get data from my object.

RockfordLhotka replied on Monday, July 31, 2006

Odds are that you created an instance level field for the log4net log object. You need to mark that field as both NonSerialized and NotUndoable.

kids_pro replied on Monday, July 31, 2006

Ah I mark it NonSerialized but I don't know I have to add NotUndoable I will give it another try :)

Thanks alot Rocky.

Copyright (c) Marimer LLC