Problem with CPhidget_log

C, C++, and Visual C++
Fresh meat
Posts: 1
Joined: Fri Feb 06, 2015 9:53 am

Problem with CPhidget_log

Postby gdonaire » Mon Feb 08, 2016 8:48 am


I have problems with the use of CPhidget_log function, when the log level is INFO I have no problem:

Code: Select all

CPhidget_enableLogging(PHIDGET_LOG_INFO, LOG_FILE);
CPhidget_log(PHIDGET_LOG_INFO, "STATION", "State: WAIT_AUV\n");

But when I change the level to DEBUG, the log file is empty

Code: Select all

CPhidget_enableLogging(PHIDGET_LOG_DEBUG, LOG_FILE);
CPhidget_log(PHIDGET_LOG_DEBUG, "STATION", "State: WAIT_AUV\n");

Any suggestion, why this error?

User avatar
Lead Developer
Posts: 3155
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada

Re: Problem with CPhidget_log

Postby Patrick » Mon Feb 08, 2016 9:37 am

DEBUG level messages are only printed in the debug version of the library.


Return to “C/C++”

Who is online

Users browsing this forum: No registered users and 1 guest