tree: a68fefbb2dfbe73e96b3c20cb1ae05f3fc0a4748 [path history] [tgz]
  1. meta/
  2. BUILD.gn
  3. fx_log_api.cc
  4. fx_log_api_null.cc
  5. log_level.h
  6. log_settings.cc
  7. log_settings.h
  8. log_settings_unittest.cc
  9. log_structure_unittest.cc
  10. logging_backend.h
  11. logging_backend_fuchsia.cc
  12. logging_backend_fuchsia_globals.cc
  13. logging_backend_fuchsia_globals.h
  14. logging_backend_fuchsia_private.h
  15. logging_backend_host.cc
  16. logging_backend_shared.cc
  17. logging_backend_shared.h
  18. logging_socket_unittest.cc
  19. logging_unittest.cc
  20. macros.cc
  21. macros.h
  22. README.md
sdk/lib/syslog/cpp/README.md

syslog

Syslog provides logging infrastructure and corresponding tests for Fuchsia.

Building tests

To add this component to your build, append --with-host-labels //sdk/lib/syslog/cpp:tests to the 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.