← Prev in month ← Prev in thread
Next in thread → Next in month →

Issue #317: result.kind/result.level

From
Larry Golding (Myriad Consulting Inc) <>
Date
2019-02-20T23:23:39+00:00
ID
Thread
Issue #317: result.kind/result.level
Despite our discussion this morning, kind.debug is not necessary, because:

 

The 
notification object does not have a 
kind property. Only the result object has it.

For a result,
kind.debug makes no sense. The usage scenario for
kind.debug was a tool trace message. You wouldn’t record such a thing as a
result.

 

If you want to explicitly represent a tool debug or trace message as a notification (and you don’t think
level.note is good enough), you’d need to add
level.debug. But then you couldn’t use the same level enumeration for results and notifications, because
level.debug makes no sense for a result. The ability to unify the level enumeration was one of the attractions of splitting
result.kind from 
result.level.

 

Larry
← Prev in month ← Prev in thread
Next in thread → Next in month →