JNIEXPORT void JNICALL
Java_org_zeromq_czmq_Zproc__1_1setLogIdent (JNIEnv *env, jclass c, jstring value)
{
    char *value_ = (char *) (*env)->GetStringUTFChars (env, value, NULL);
    zproc_set_log_ident (value_);
    (*env)->ReleaseStringUTFChars (env, value, value_);
}
示例#2
0
///
//  Set log identity, which is a string that prefixes all log messages sent
//  by this process. The log identity defaults to the environment variable 
//  ZSYS_LOGIDENT, if that is set.                                         
void QmlZprocAttached::setLogIdent (const QString &value) {
    zproc_set_log_ident (value.toUtf8().data());
};
示例#3
0
文件: qzproc.cpp 项目: evoskuil/czmq
///
//  Set log identity, which is a string that prefixes all log messages sent
//  by this process. The log identity defaults to the environment variable
//  ZSYS_LOGIDENT, if that is set.
void QZproc::setLogIdent (const QString &value)
{
    zproc_set_log_ident (value.toUtf8().data());

}