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

5
LINES

< > BotCompany Repo | #1035551 // tempPrintAlsoToSystemOut - make print() also print to System.out temporarily

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

Libraryless. Click here for Pure Java version (9124L/50K).

please include function print.

static AutoCloseable tempPrintAlsoToSystemOut() {
  ret tempSetGeneric(-> printAlsoToSystemOut, x -> printAlsoToSystemOut = x, true);
}

Author comment

Began life as a copy of #1035550

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035551
Snippet name: tempPrintAlsoToSystemOut - make print() also print to System.out temporarily
Eternal ID of this version: #1035551/2
Text MD5: f753616d79f0b14d0fb7cd00645227d8
Transpilation MD5: 27642345587fdc690202f3258fd0a628
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-16 13:33:37
Source code size: 171 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 53 / 79
Version history: 1 change(s)
Referenced in: [show references]