static bool recordSuccessOrFailure(S info, bool b) { logStructWithDate(b ? successLog() : failureLog(), litorderedmap(result := b ? "SUCCESS" : "FAILURE", programID := programID(), programName := programName(), +info); ret b; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1015690 | 
| Snippet name: | recordSuccessOrFailure - records success if value is true & failure if value is false | 
| Eternal ID of this version: | #1015690/1 | 
| Text MD5: | ca03db03c4abfda38b645d282f495bb1 | 
| Author: | stefan | 
| Category: | javax / reporting | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-05-23 13:08:43 | 
| Source code size: | 260 bytes / 8 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 607 / 654 | 
| Referenced in: | [show references] |