Make a function in C, call it from java with JNA.
Levi Yourchuck
Senior Programmer Analyst
G&K Services
Phone: 952 912 5828
www.gkservices.com
Enhancing Image & Safety Through Innovation
This e-mail and any attachments may contain confidential and privileged
information. If you are not the intended recipient, please notify the
sender immediately by return e-mail, delete this e-mail and destroy any
copies. Any dissemination or use of this information by a person other
than the intended recipient is unauthorized and may be illegal.
Kunal Shah <kuna...@gmail.com>
02/04/2009 02:46 PM
Please respond to
use...@jna.dev.java.net
To
use...@jna.dev.java.net
cc
Subject
[jna-users] Log statements of C/C++ to Java logger
I am working on a C/C++ application which generates tons of logs. I am
looking forward to find a way to specify C/C++ application's
'stdout/printf' output on a log4j/logger.
I am not looking for a fancy functionality like, debug/info/error. All I
need is a way to turn ON/OFF the logs.
Thanks,
Kunal