コード例 #1
0
int property_set(const char* name, const char* value) {
    int rc = property_set_impl(name, value);
    if (rc == -1) {
        ERROR("property_set(\"%s\", \"%s\") failed\n", name, value);
    }
    return rc;
}
コード例 #2
0
int property_set(const char* name, const char* value) {
    int rc = property_set_impl(name, value);
    if (rc == -1) {
        LOG(ERROR) << "property_set(\"" << name << "\", \"" << value << "\") failed";
    }
    return rc;
}