1 | static <A> A logStructureWithDate(File logFile, A o) { |
2 | logQuoted(logFile, now() + " " + structure(o)); |
3 | ret o; |
4 | } |
5 | |
6 | // quick version - log to file in program directory |
7 | static <A> A logStructureWithDate(S fileName, A o) { |
8 | ret logStructureWithDate(getProgramFile(fileName), o); |
9 | } |
Began life as a copy of #1002393
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: | #1010277 |
Snippet name: | logStructureWithDate |
Eternal ID of this version: | #1010277/3 |
Text MD5: | a92b099fddaf79b58274e40a624c7679 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-10 17:58:16 |
Source code size: | 288 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 499 / 535 |
Version history: | 2 change(s) |
Referenced in: | [show references] |