mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-19 10:01:24 +00:00
improve reporting of debug status
This commit is contained in:
parent
d73852fbad
commit
1a8d6f6195
3 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2019-10-05 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* EcLogger.m:
|
||||||
|
* EcProcess.m:
|
||||||
|
The debug command at the Console should report when debug (STDERR)
|
||||||
|
is suppressed.
|
||||||
|
|
||||||
2019-10-04 Richard Frith-Macdonald <rfm@gnu.org>
|
2019-10-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* EcCommand.m:
|
* EcCommand.m:
|
||||||
|
|
|
@ -187,7 +187,7 @@ static NSArray *modes;
|
||||||
[lock lock];
|
[lock lock];
|
||||||
if (NO == shouldForward)
|
if (NO == shouldForward)
|
||||||
{
|
{
|
||||||
[s appendFormat: @"%@ output via NSLog only.\n", key];
|
[s appendFormat: @"%@ output to file only.\n", key];
|
||||||
}
|
}
|
||||||
else if (size == 0)
|
else if (size == 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -4208,6 +4208,11 @@ NSLog(@"Ignored attempt to set timer interval to %g ... using 10.0", interval);
|
||||||
|
|
||||||
[self cmdPrintf: @"%@\n", cmdDebugKnown];
|
[self cmdPrintf: @"%@\n", cmdDebugKnown];
|
||||||
}
|
}
|
||||||
|
else if (YES == cmdKillDebug)
|
||||||
|
{
|
||||||
|
[self cmdPrintf:
|
||||||
|
@"All output to STDERR suppressed by KillDebugOutput=YES\n"];
|
||||||
|
}
|
||||||
else if ([msg count] > 1)
|
else if ([msg count] > 1)
|
||||||
{
|
{
|
||||||
NSString *mode = (NSString*)[msg objectAtIndex: 1];
|
NSString *mode = (NSString*)[msg objectAtIndex: 1];
|
||||||
|
|
Loading…
Reference in a new issue