[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 26 Jun 2003 10:23:35 +0100
Forgot to do 'reply all'
Begin forwarded message:
From: Richard Frith-Macdonald <address@hidden>
Date: Thu Jun 26, 2003 10:20:25 am Europe/London
Subject: Re: debugSet
On Wednesday, June 25, 2003, at 07:08 pm, Manuel Guesdon wrote:
Is it possible to add a method in NSProcessInfo to assign debugSet ?
It's allow to disable dynamically disable completely debug logs (with
the possibility to re enabled them later) and it
will save process time.
Following is a quick & dirty patch for this.
Or may be a better solution: having a flag to disable/enable debug
What is wrong with doing ....
set = [[NSProcessInfo processInfo] debugSet];
saved = [set copy];
[set removeAllObjects]; // Turn off all debugging
[set unionSet: saved]; // Turn back on again
- debugSet, Manuel Guesdon, 2003/06/25
- Fwd: debugSet,
Richard Frith-Macdonald <=
- Re: Re: debugSet, Richard Frith-Macdonald, 2003/06/26