|
From: Peter A. K. <pk...@al...> - 2009-01-16 08:58:06
|
Thanks a lot for that, guys! With your new common.logging.dll I can get my app to work with EntLib 4.1 and with Spring.net 1.1.2 (with an assembly redirection). /Peter > -----Original Message----- > From: Erich Eichinger [mailto:eei...@gm...] > Sent: 16. januar 2009 02:45 > To: net...@li... > Subject: [Netcommon-developer] Common.Logging v2.0 preview > ready for download > > The signed preview build for the upcoming version 2.0 of > Common.Logging is > ready for download at > > <http://www.springframework.net/downloads/netcommon/> > > What's new? > ----------- > - added support for EntLib 4.1 logging > - extended ILog interface now includes XXXFormat( string > format, params > object[] args ) signatures > - leveraging lambdas, the ILog interface offers a new & safe > way to write > log statements: > > log.Debug( m=>m("value= {0}", obj.Value) ); > > this ensures, that the whole expression is only evaluated when > LogLevel.Debug is enabled and thus saves > you from writing > > if (log.IsDebugEnabled) > { > log.Debug("value={0}", obj.Value); > } > > to avoid this overhead. > > > Upgrading > --------- > All that's necessary for upgrading from 1.2 is copy the new > assemblies in > place and specifying a version redirect. Recompiling your > application of > course links your app to the new version w/o a redirect. > 2.0 runtime (Common.Logging.dll) is fully binary backwards compatible. > > Note to implementors of the ILog interface: Due to the > extensions, you need > to extend your implementations as well. As an added benefit, > 2.0 comes with > some convenience classes, making it easy to implement your > own log system > integration. Check out AbstractLogger and > AbstractSimpleLogger for more > information. > > > Spring.NET > ---------- > I removed the dependency of Spring and it's SPI > implementation of ILog for > testing purposes, thus compiling & testing the codebase > against the new > version is no issue anymore starting with the next nightly build of > Spring.NET > > Give the new version a whirl and please send your feedback! > > enjoy, > Erich > > > > -------------------------------------------------------------- > ---------------- > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Netcommon-developer mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/netcommon-developer > |