diff options
author | Yuri Wiitala <miu@chromium.org> | 2019-11-08 15:17:20 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-08 23:26:39 +0000 |
commit | b797903e40723dc41d7eefb438eb0ac0af648c27 (patch) | |
tree | c01896414ea2ff5a17de9268da4f08ec8f64be5a /BUILD.gn | |
parent | 21b5adc8409a64f7902bda4f8e690a42f949395f (diff) | |
download | openscreen-b797903e40723dc41d7eefb438eb0ac0af648c27.tar.gz |
Minimize platform/api/logging.h, consolidate macros/impl elsewhere.
Reduces the logging API that must be implemented by embedders to three
simple functions: IsLoggingOn(), LogWithLevel(), and Break(). Added
documentation for these functions.
All logging convenience macros that OpenScreen code uses have been moved
to platform/api/internal/logging_macros.h, and are being #included from
platform/api/logging.h. This is to make it easier for embedder
developers to identify what is being required from them.
All standalone impl for logging has been consolidated into
platform/impl/logging.h (declaration of init routines) and
logging_posix.cc (POSIX implementation, writing to stderr or a FIFO).
Bug: openscreen:77
Change-Id: Id14a380569373a443a81b7bb5139b4648643495e
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1900333
Reviewed-by: Yuri Wiitala <miu@chromium.org>
Reviewed-by: mark a. foltz <mfoltz@chromium.org>
Commit-Queue: Yuri Wiitala <miu@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -17,7 +17,6 @@ group("gn_all") { "osp", "osp/msgs", "platform", - "platform:default_logger", "streaming/cast:receiver", "streaming/cast:sender", "third_party/abseil", |