log.h 652 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the LICENSE
  5. * file in the root directory of this source tree.
  6. */
  7. #pragma once
  8. #include "YGEnums.h"
  9. struct YGNode;
  10. struct YGConfig;
  11. namespace facebook {
  12. namespace yoga {
  13. namespace detail {
  14. struct Log {
  15. static void log(
  16. YGNode* node,
  17. YGLogLevel level,
  18. void*,
  19. const char* message,
  20. ...) noexcept;
  21. static void log(
  22. YGConfig* config,
  23. YGLogLevel level,
  24. void*,
  25. const char* format,
  26. ...) noexcept;
  27. };
  28. } // namespace detail
  29. } // namespace yoga
  30. } // namespace facebook