Hook into System.out.println(); and modify

This question shows research effort; it is useful and clear

6

This question does not show any research effort; it is unclear or not useful

Show activity on this post.

I would like to modify the output printed by System.out.println();. How is this possible? It is possible - I've seen it in Bukkit/Craftbukkit. If a plugin is printing a string with System.out.println(String string); Bukkit adds a time/date and logging status to the string. I would like to do the same like Bukkit.

首页 - Wiki
Copyright © 2011-2024 iteam. Current version is 2.125.0. UTC+08:00, 2024-05-03 15:48
浙ICP备14020137号-1 $访客地图$