Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1002393 // logStructure

JavaX fragment (include)

static void logStructure(File logFile, O o) {
  logQuoted(logFile, structure(o));
}

// quick version - log to file in program directory
static void logStructure(S fileName, O o) {
  logStructure(getProgramFile(fileName), o);
}

static void logStructure(S progID, S fileName, O o) {
  logStructure(getProgramFile(progID, fileName), o);
}

Author comment

Began life as a copy of #1001456

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: #1002393
Snippet name: logStructure
Eternal ID of this version: #1002393/2
Text MD5: 0f3a16f33b9c28a607808d99999e45c7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-11 22:28:52
Source code size: 348 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 634 / 1213
Version history: 1 change(s)
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1002678 - logMap - synonym of logStructure for maps
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1010277 - logStructureWithDate
#1010731 - logStructure_twoFiles
#3000382 - Answer for ferdie (>> t = 1, f = 0)