The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Logging as an Aspect - bad idea

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Udi Dahan

Posts: 882
Nickname: udidahan
Registered: Nov, 2003

Udi Dahan is The Software Simplist
Logging as an Aspect - bad idea Posted: May 11, 2006 6:12 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Udi Dahan.
Original Post: Logging as an Aspect - bad idea
Feed Title: Udi Dahan - The Software Simplist
Feed URL: http://feeds.feedburner.com/UdiDahan-TheSoftwareSimplist
Feed Description: I am a software simplist. I make this beast of architecting, analysing, designing, developing, testing, managing, deploying software systems simple. This blog is about how I do it.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Udi Dahan
Latest Posts From Udi Dahan - The Software Simplist

Advertisement
Now that I have your attention, let me rephrase that. If all you want to log is what method was called and with what parameters, knock yourself out, go and use aspects (maybe like this).

But what about when something interesting happens and you want to log that? Something interesting, maybe some like this: as a result of his last purchase, customer Joe got upgrade to 'preferred' status. If anything, you'd like this information to be logged differently than all that other crap. The last thing we want with logging is to (re)create the needle in a haystack problem.

Read: Logging as an Aspect - bad idea

Topic: [Link] Win up to $5,000 building Visual Studio macros, templates, and packages Previous Topic   Next Topic Topic: New LINQ CTP!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use