I want to write a Jetbrains IntelliJ plugin which aims to duplicate all the command line output to some files with timestamp. Directly change the direction of System.out
when coding is not I want, and the recording is executed passively by the plugin, so it's just a duplicate of command line information. Thus, how can I implement it?
For example, File_7891242885.log
records "Hello World!" and other command line output when I executed the class at timestamp 7891242885.
I have solved it by the suggestion from @Karol Lewandowski. Suggestion from Karol Lewandowski