I don't quite understand what it supposed to do? Enable logs for all queries when some "elliptics-originated" function returns value with highest bit set? Why can't elliptics just set loglevel via already presented API?

PS. Also additional non-inlined function call in log macro is not very cheap.