tree: a05c0e193328e900b77ae56198ebcde308382712 [path history] [tgz]
  1. host/
  2. meta/
  3. BUILD.gn
  4. log_level.h
  5. log_settings.cc
  6. log_settings.h
  7. log_settings_unittest.cc
  8. log_structure_unittest.cc
  9. logging_backend.h
  10. logging_backend_fuchsia.cc
  11. logging_backend_fuchsia_globals.cc
  12. logging_backend_fuchsia_globals.h
  13. logging_socket_unittest.cc
  14. logging_unittest.cc
  15. macros.cc
  16. macros.h
  17. README.md
sdk/lib/syslog/cpp/README.md

syslog

Syslog provides logging infrastructure and corresponding tests for Fuchsia.

Building tests

Append --with //sdk/lib/syslog/cpp:tests to your fx set invocation.

Running tests

To run host tests, use

$ fx test --host logging_cpp_unittests

Note that host tests are not currently supported on ARM MacOS, but should function on Intel-based Macs or on certain Linux distributions.