I'm having some problems with OpenCore logs!

In class pvmf_streaming_manager_node.cpp I am using the command
PVMF_SM_LOGERROR ((0, "log text")); to log into the logcat, in the
pvmf_sm_fsp_registry.cpp class that is part of the same package, by
default has no system log, however, if add the following code

#include "pvlogger.h"

PVLogger * iLogger;

//Logging macros
#define PVMF_SM_LOGERROR(m)
PVLOGGER_LOGMSG(PVLOGMSG_INST_REL,iLogger,PVLOGMSG_ERR,m);
#define PVMF_SM_LOGINFOHI(m)
PVLOGGER_LOGMSG(PVLOGMSG_INST_HLDBG,iLogger,PVLOGMSG_NOTICE,m);
#define PVMF_SM_LOGINFOMED(m)
PVLOGGER_LOGMSG(PVLOGMSG_INST_MLDBG,iLogger,PVLOGMSG_INFO,m);
#define PVMF_SM_LOGSTACKTRACE(m)
PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG,iLogger,PVLOGMSG_STACK_TRACE,m);

now i can use the command PVMF_SM_LOGERROR ((0, "log text")); the
problem is that the logs do not appear in logcat!
Someone can give me some help to see what is going on? I need to log
in this class and I am not getting, if anyone knows the solution or
you have another solution for show the log in this class, please give
me some help!

Best regards,
André Barbosa.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to