tree: 8575b7713664476fb747c234ac8a4b8e4366b5f3 [path history] [tgz]
  1. meta/
  2. BUILD.gn
  3. log_level.h
  4. log_settings.cc
  5. log_settings.h
  6. log_settings_unittest.cc
  7. log_structure_unittest.cc
  8. logging_backend.h
  9. logging_backend_fuchsia.cc
  10. logging_backend_fuchsia_globals.cc
  11. logging_backend_fuchsia_globals.h
  12. logging_backend_fuchsia_legacy.cc
  13. logging_backend_fuchsia_private.h
  14. logging_backend_host.cc
  15. logging_backend_shared.cc
  16. logging_backend_shared.h
  17. logging_socket_unittest.cc
  18. logging_unittest.cc
  19. macros.cc
  20. macros.h
  21. 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.