Skip to content
Advertisement

Tag: stdout

relations between log levels and stdErr/stdOut

i read many informations on the net but i’d like to summarize, and still no understand how it works. I’d like to know the relation betwenn log levels and stdOut vs stdErr in java ? what about these kinds of logs ? what do these logs go ? i absolutly don’t see relation between java logs and stdOut/stdErr. Thanks by

Redirecting stdout from C lib in Java in JNA

I want to redirect the stdout and stderr C streams to Java, but I am struggling to do so. I used the result of this thread: https://users.jna.dev.java.narkive.com/VdgNgCIb/jna-solutions-to-catch-stdout-stderr-of-dll but it still does not work as intended. Here is my C code (I compiled it as a TestPrintf.dll library): And my Java code: The interface for catching the stdout stream: The interface

Advertisement