tree: 126cb3113e1b324c60132a52287be2b319d9bb26 [path history] [tgz]
  1. host/
  2. meta/
  3. backend_fuchsia_globals.api
  4. backend_fuchsia_globals.ifs
  5. BUILD.gn
  6. log_from_void.cc
  7. log_level.h
  8. log_message_impl.cc
  9. log_message_impl.h
  10. log_settings.h
  11. log_settings_unittest.cc
  12. log_structure_unittest.cc
  13. logging_backend_fuchsia.cc
  14. logging_backend_fuchsia_globals.cc
  15. logging_backend_fuchsia_globals.h
  16. logging_unittest.cc
  17. macros.h
  18. README.md
  19. syslog_cpp.api
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.