Uses 911K of libraries. Click here for Pure Java version (3632L/18K).
1 | !7 |
2 | |
3 | cmodule RotateModuleLogs > DynEnabled {
|
4 | switchable int max = 500*1000; |
5 | |
6 | start {
|
7 | doEveryAndNow(10.0, r {
|
8 | if (!enabled) ret; |
9 | for (S id : dm_listModuleIDs()) pcall {
|
10 | rotateStringBuffer_gen(dm_callOpt(id, '_actualPrintLog), max); |
11 | } |
12 | }); |
13 | } |
14 | } |
Began life as a copy of #1024272
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024434 |
| Snippet name: | Rotate all module's print logs |
| Eternal ID of this version: | #1024434/3 |
| Text MD5: | f5723d75f0a453f4258055fd5bb9d546 |
| Transpilation MD5: | 0d857c8c31bfc4510a62d0e3b2822773 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-12 16:50:20 |
| Source code size: | 294 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 444 / 273494 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |