Click here to Skip to main content
15,886,362 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: [algo] Algo for naming of duplicate/clone "objects" ? Pin
Eddy Vluggen26-May-12 2:49
professionalEddy Vluggen26-May-12 2:49 
GeneralRe: [algo] Algo for naming of duplicate/clone "objects" ? Pin
Maximilien26-May-12 8:06
Maximilien26-May-12 8:06 
QuestionCross cutting concerns Pin
Leslie Sanford25-May-12 3:43
Leslie Sanford25-May-12 3:43 
AnswerRe: Cross cutting concerns Pin
Eddy Vluggen25-May-12 3:52
professionalEddy Vluggen25-May-12 3:52 
GeneralRe: Cross cutting concerns Pin
jschell25-May-12 9:02
jschell25-May-12 9:02 
AnswerRe: Cross cutting concerns Pin
jschell25-May-12 9:12
jschell25-May-12 9:12 
AnswerRe: Cross cutting concerns Pin
Ed K6-Jun-12 3:49
Ed K6-Jun-12 3:49 
AnswerRe: Cross cutting concerns Pin
Keld Ølykke20-Jun-12 6:00
Keld Ølykke20-Jun-12 6:00 
Interesting topic.

I agree with jschell. It is really hard to get the right data logged out from compiled software. It really requires a multidimensional matrix e.g. class x instance id x methods or something like that.

Since, you will never get coders to insert handles in each and every method, the only viable solutions I can see are

1) a set of base classes with carefully placed handles,
2) AOP or
3) code generation.

I think some OOP Patterns like Command, Stategy and State tries to structure computation in a uniform manner, so base classes supporting these patterns might be the place to add handles into.

At work we make code generated Command implementations. If we have the logging level set to debug, we get a log entry when a command completes/aborts. In most cases this is information overload, so we instead raise the the General logging level to Info and add some logging exceptions per class. However, this is currently requiring a recompile.... Pattern-wise this should be possible to generalize e.g. into a LoggingManager with a configuration that can be changed at runtime.

Log4Net can monitor when its config file is changed at runtime. Maybe it also can filter logging based on classes, but I don't think there is a concept filtering per entity id or method tags.
QuestionScope For Hospital Management Pin
santosh_pathak22-May-12 21:57
santosh_pathak22-May-12 21:57 
AnswerRe: Scope For Hospital Management Pin
Pete O'Hanlon22-May-12 22:06
mvePete O'Hanlon22-May-12 22:06 
GeneralRe: Scope For Hospital Management Pin
santosh_pathak22-May-12 22:14
santosh_pathak22-May-12 22:14 
GeneralRe: Scope For Hospital Management Pin
Pete O'Hanlon22-May-12 22:21
mvePete O'Hanlon22-May-12 22:21 
GeneralRe: Scope For Hospital Management Pin
santosh_pathak22-May-12 22:25
santosh_pathak22-May-12 22:25 
GeneralRe: Scope For Hospital Management Pin
Vivi Chellappa27-May-12 21:51
professionalVivi Chellappa27-May-12 21:51 
AnswerRe: Scope For Hospital Management Pin
Bernhard Hiller22-May-12 22:30
Bernhard Hiller22-May-12 22:30 
GeneralRe: Scope For Hospital Management Pin
santosh_pathak22-May-12 22:55
santosh_pathak22-May-12 22:55 
AnswerRe: Scope For Hospital Management Pin
jschell23-May-12 10:28
jschell23-May-12 10:28 
GeneralRe: Scope For Hospital Management Pin
santosh_pathak23-May-12 17:15
santosh_pathak23-May-12 17:15 
GeneralRe: Scope For Hospital Management Pin
jschell24-May-12 8:29
jschell24-May-12 8:29 
AnswerRe: Scope For Hospital Management Pin
wizardzz5-Jun-12 6:49
wizardzz5-Jun-12 6:49 
AnswerRe: Scope For Hospital Management Pin
kishhr22-Jun-12 9:02
kishhr22-Jun-12 9:02 
QuestionStudent needs help designing a OOP program Pin
Dora Gaxiola22-May-12 13:44
Dora Gaxiola22-May-12 13:44 
AnswerRe: Student needs help designing a OOP program Pin
Richard MacCutchan22-May-12 22:47
mveRichard MacCutchan22-May-12 22:47 
AnswerRe: Student needs help designing a OOP program Pin
Eddy Vluggen23-May-12 0:27
professionalEddy Vluggen23-May-12 0:27 
GeneralRe: Student needs help designing a OOP program Pin
Paul Conrad24-May-12 13:04
professionalPaul Conrad24-May-12 13:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.