asl_send не отображается в xcode-Windows-Devices?

Я пишу код:

asl_object_t client = asl_open(NULL, "com.apple.console", 0);
asl_log(client, NULL, ASL_LEVEL_WARNING, "%s","test");

Может отображаться в xcode-Windows-Devices.

но напиши:

asl_object_t client = asl_open(NULL, "com.apple.console", 0);
asl_object_t asl_msg = asl_new(ASL_TYPE_MSG);
asl_set(asl_msg, ASL_KEY_MSG, "asl test output");
asl_send(client, asl_msg);
asl_free(asl_msg);

Это не отображается в xcode-Windows-Devices.

0 ответов

Другие вопросы по тегам