tree: ef2496e01c21d695c5cc868c4363d8dbcf2f0cc4 [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_internal.h
  12. log_settings_unittest.cc
  13. log_structure_unittest.cc
  14. logger.cc
  15. logger.h
  16. logging_backend_fuchsia.cc
  17. logging_backend_fuchsia_globals.cc
  18. logging_backend_fuchsia_globals.h
  19. logging_unittest.cc
  20. macros.h
  21. README.md
  22. 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.