liblog: check loggability before formatting

Only print logs with priority >= INFO on host, as fake_log_device
does.

This fixes a regression in host builds where loggability wasn't
checked at all.

Bug: 69935292
Test: ART host tests don't print extraneous logs
Change-Id: I885b794da6f24bd905192252925e4a9f88b06674
3 files changed
tree: f57fc5549f5e39f0056be0f022471890e5230f2b
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/