Summary: X-link: https://github.com/facebook/react-native/pull/37242 Pull Request resolved: https://github.com/facebook/yoga/pull/1278 Reviewed By: yungsters Differential Revision: D45552325 fbshipit-source-id: 5687e8ec27a7a70df66e2f89e800210e3ce21ba3
39 lines
659 B
C++
39 lines
659 B
C++
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <yoga/YGEnums.h>
|
|
|
|
struct YGNode;
|
|
struct YGConfig;
|
|
|
|
namespace facebook {
|
|
namespace yoga {
|
|
|
|
namespace detail {
|
|
|
|
struct Log {
|
|
static void log(
|
|
YGNode* node,
|
|
YGLogLevel level,
|
|
void*,
|
|
const char* message,
|
|
...) noexcept;
|
|
|
|
static void log(
|
|
YGConfig* config,
|
|
YGLogLevel level,
|
|
void*,
|
|
const char* format,
|
|
...) noexcept;
|
|
};
|
|
|
|
} // namespace detail
|
|
} // namespace yoga
|
|
} // namespace facebook
|