[cobalt/fidl] Add Event variant to CobaltEvent.EventPayload
This makes the CobaltEvent interface more uniform with the existing Log* methods. The only unsupported Log* method is LogCustomEvent. Test: Add some tests for logging CobaltEvent (including new variant). Change-Id: I28720826d7a552141d5e0ea64cdfe4e533261262
Showing
- sdk/fidl/fuchsia.cobalt/fuchsia.cobalt.api 1 addition, 1 deletionsdk/fidl/fuchsia.cobalt/fuchsia.cobalt.api
- src/cobalt/bin/app/logger_impl.cc 9 additions, 0 deletionssrc/cobalt/bin/app/logger_impl.cc
- src/cobalt/bin/testapp/BUILD.gn 1 addition, 0 deletionssrc/cobalt/bin/testapp/BUILD.gn
- src/cobalt/bin/testapp/cobalt_testapp_logger.cc 28 additions, 2 deletionssrc/cobalt/bin/testapp/cobalt_testapp_logger.cc
- src/cobalt/bin/testapp/cobalt_testapp_logger.h 11 additions, 2 deletionssrc/cobalt/bin/testapp/cobalt_testapp_logger.h
- src/cobalt/bin/testapp/tests.cc 78 additions, 0 deletionssrc/cobalt/bin/testapp/tests.cc
- src/cobalt/bin/testapp/tests.h 2 additions, 0 deletionssrc/cobalt/bin/testapp/tests.h
- src/lib/cobalt/cpp/cobalt_event_builder.cc 8 additions, 0 deletionssrc/lib/cobalt/cpp/cobalt_event_builder.cc
- src/lib/cobalt/cpp/cobalt_event_builder.h 1 addition, 0 deletionssrc/lib/cobalt/cpp/cobalt_event_builder.h
- zircon/system/fidl/fuchsia-cobalt/cobalt.fidl 14 additions, 6 deletionszircon/system/fidl/fuchsia-cobalt/cobalt.fidl
Loading
Please register or sign in to comment