Make logging private
Summary: @public Makes logging implementation internal to Yoga. Breaking changes: removed `YGLog` and `YGLogWithConfig`. The upcoming changes to the JNI layer (removal of weak global refs for each node) requires adding additional parameters to the logging functions that will only be available when calculating layout. Reviewed By: SidharthGuglani Differential Revision: D14123390 fbshipit-source-id: 468e4a240c190342868ffbb5f8beb92324cdfdd6
This commit is contained in:
committed by
Facebook Github Bot
parent
446101a168
commit
1b9053bc5d
10
yoga/Yoga.h
10
yoga/Yoga.h
@@ -348,16 +348,6 @@ WIN_EXPORT float YGNodeLayoutGetPadding(
|
||||
const YGEdge edge);
|
||||
|
||||
WIN_EXPORT void YGConfigSetLogger(const YGConfigRef config, YGLogger logger);
|
||||
WIN_EXPORT void YGLog(
|
||||
const YGNodeRef node,
|
||||
YGLogLevel level,
|
||||
const char* message,
|
||||
...);
|
||||
WIN_EXPORT void YGLogWithConfig(
|
||||
const YGConfigRef config,
|
||||
YGLogLevel level,
|
||||
const char* format,
|
||||
...);
|
||||
WIN_EXPORT void YGAssert(const bool condition, const char* message);
|
||||
WIN_EXPORT void YGAssertWithNode(
|
||||
const YGNodeRef node,
|
||||
|
Reference in New Issue
Block a user