OSDN Git Service

Trigger a compilation error when LOG_TAG is not provided
authorJakub Pawlowski <jpawlowski@google.com>
Mon, 11 Apr 2016 08:54:54 +0000 (01:54 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Tue, 12 Apr 2016 18:45:12 +0000 (18:45 +0000)
commit92f0ed330a0ae2e52f5a0538041cc54762781ad0
tree74ce11a645e340ba9b54e99d5db2acba9779d9f2
parentb4a42e7b9c277cfd71a575cbdb104013855b80cd
Trigger a compilation error when LOG_TAG is not provided

When compiling for OS_GENERIC, lack of LOG_TAG causes a compilation error.
Most developement happens on Android, which compiles this without an
error. This patch triggers a compilation failure on Android when LOG_TAG is not
provided.

Bug: 28118588
Change-Id: I316aa01952fb88d77bbabb197c77e4287a3fc39b
osi/include/log.h