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

6
LINES

< > BotCompany Repo | #1034514 // printVars_shorten - print a bunch of vars, shorten long values

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5173L/28K).

// Use like this: printVars_str(+x, +y);
// Or: printVars("bla", +x);
// Or: printVars bla(+x);
svoid mapMethodLike printVars_shorten(O... params) {
  print(renderVars_stringifier(o -> str_shorten(o), params));
}

Author comment

Began life as a copy of #1024542

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034514
Snippet name: printVars_shorten - print a bunch of vars, shorten long values
Eternal ID of this version: #1034514/1
Text MD5: b00f1398fd51fd13dc47cc541fc3165e
Transpilation MD5: ce57a66ee549246947b394b345454682
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-10 05:19:48
Source code size: 217 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 70 / 99
Referenced in: [show references]