Libraryless. Click here for Pure Java version (2522L/16K).
static AutoCloseable temp_printPrefix (S prefix) { O oldValue = print_byThread(); print_setPrefixForThread(prefix); ret autoCloseable { print_byThread().set(oldValue); }; }
Began life as a copy of #1008118
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029815 |
Snippet name: | temp_printPrefix - temporarily set prefix for all print() in thread |
Eternal ID of this version: | #1029815/3 |
Text MD5: | 362249e82d5a2f233f3182623abc75e5 |
Transpilation MD5: | 31c6b2e325f4160226be6afd81712af6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-18 18:46:35 |
Source code size: | 182 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 210 / 303 |
Version history: | 2 change(s) |
Referenced in: | [show references] |