How do you disable os_log_info and os_log_debug messages in Xcode console?

I have used DTS and got the answer from an Apple engineer:

The new unified logging system is a relatively recent addition and, alas, Xcode has not yet caught up with it. If you'd like to see a future version of Xcode support log filtering, I encourage you to file an enhancement request describing your requirements.

So please duplicate rdar://28288063, the more requests the better. Thanks!


Update: As noted by Max below, you can modify visibility for custom logs:

os_log_t custom = os_log_create("com.acme.demo", "custom");
os_log_info(custom, "Info");
os_log_debug(custom, "Debug");
os_log_error(custom, "Error");
os_log_fault(custom, "Fault");
os_log(custom, "Default");

The following Terminal command will suppress “Info” and “Debug” strings in Xcode:

sudo log config --mode "level:default" --subsystem "com.acme.demo"

To reset system defaults:

sudo log config -reset --subsystem "com.acme.demo"

To check current status:

sudo log config --subsystem "com.acme.demo"

You can switch debug-level in terminal:

$ sudo log config --mode "level:debug" --subsystem com.your_company.your_subsystem_name

To check your current level:

$ sudo log config --status --subsystem com.your_company.your_subsystem_name
Mode for 'com.your_company.your_subsystem_name'  DEBUG

For more information see Apple Documentation