View Full Version : Please help me...
12-28-2007, 05:14 AM
I want to know how to writting log in Spring.Net??? Please...:)
12-28-2007, 10:02 AM
I guess you will use AOP then, and the best way to get started is to read this: http://www.springframework.net/doc-latest/reference/html/aop-quickstart.html
12-28-2007, 02:18 PM
Not sure what you mean by 'writting log'. If you mean configuring Spring.NET's internal logging then you should check out the ref docs regarding the use of Common.Logging (http://www.springframework.net/doc-latest/reference/html/logging.html).
If you are interested applying logging to many of your classes, i.e. 'Entered method Foo with parameters x,y,z' etc. then you can look to an AOP approach. The link above will help you get started writing your own AOP logging advice. However, there is a pre-built solution you can use, check out the docs on the logging aspect (http://www.springframework.net/doc-latest/reference/html/aop-aspect-library.html#logging-aspect) in Spring's Aspect library.
01-08-2008, 02:16 AM
Thanks for helping.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.