atom feed36 messages in org.apache.incubator.flex-devRe: Trace & Log
FromSent OnAttachments
Martin HeideggerJan 19, 2012 9:37 am 
Omar GonzalezJan 19, 2012 9:40 am 
Skogen, EspenJan 19, 2012 9:45 am 
Martin HeideggerJan 19, 2012 9:51 am 
Arnoud BosJan 19, 2012 9:55 am 
Rui SilvaJan 19, 2012 9:57 am 
Petr CihelkaJan 19, 2012 10:01 am 
Martin HeideggerJan 19, 2012 10:02 am 
Omar GonzalezJan 19, 2012 10:04 am 
Alex HaruiJan 19, 2012 10:06 am 
Martin HeideggerJan 19, 2012 10:20 am 
Omar GonzalezJan 19, 2012 10:28 am 
Martin HeideggerJan 19, 2012 11:10 am 
Alex HaruiJan 19, 2012 11:31 am 
Martin HeideggerJan 19, 2012 12:02 pm 
Martin HeideggerJan 19, 2012 12:04 pm 
Alex HaruiJan 19, 2012 12:33 pm 
Roland ZwagaJan 19, 2012 1:52 pm 
Martin HeideggerJan 19, 2012 7:08 pm 
saurabh jainJan 19, 2012 10:28 pm 
Martin HeideggerJan 19, 2012 10:36 pm 
Alex HaruiJan 19, 2012 10:42 pm 
saurabh jainJan 19, 2012 10:44 pm 
Martin HeideggerJan 19, 2012 11:33 pm 
saurabh jainJan 19, 2012 11:43 pm 
Martin HeideggerJan 19, 2012 11:51 pm 
saurabh jainJan 20, 2012 12:17 am 
Dirk EismannJan 20, 2012 12:42 am 
Martin HeideggerJan 20, 2012 12:46 am 
Dirk EismannJan 20, 2012 6:42 am 
Martin HeideggerJan 20, 2012 6:59 am 
Roland ZwagaJan 20, 2012 7:03 am 
Dirk EismannJan 20, 2012 7:12 am 
Roland ZwagaJan 20, 2012 7:25 am 
Martin HeideggerJan 25, 2012 12:52 am 
Alex HaruiJan 25, 2012 2:06 pm 
Subject:Re: Trace & Log
From:saurabh jain (jain@gmail.com)
Date:Jan 20, 2012 12:17:44 am
List:org.apache.incubator.flex-dev

On Fri, Jan 20, 2012 at 1:21 PM, Martin Heidegger <mh@leichtgewicht.at>wrote:

setLogType(Framework.**RecordDetails);

How would you implement this method? As its a method it seems to be a runtime switch (logic to be changed during runtime). The problem is that this data is not available during runtime at first place. Might be I see this wrong.

yours Martin.

Ok. So here what I can think of it on a single go.

1. Have a list of predefined values/constants which let us determine what all log options are available. Lets say "RecordDetails", "RecordMessagesOnly", "RecordCallHierarchy", etc 2. setLogType will be a framework method which will accept one on the constants defined above and set a variable for the active log type. 3. The method for log() will use this active log type variable and based on it will perform the action.

May be there can be better way to do this. Any other ideas from community??