static void Log(YGConfig config, YGNode node, YGLogLevel level, object context, string message) { YGConfig logConfig = config ?? YGGlobal.YGConfigGetDefault(); logConfig.Log(logConfig, node, level, context, message); if (level == YGLogLevel.Fatal) { Environment.FailFast("Fatal exception"); } }
public void Log(YGConfig config, YGNode node, YGLogLevel level, string message) { LoggerFunc(config, node, level, Context, message); }
public YGConfig(YGConfig config) { CloneNodeFunc = config.CloneNodeFunc; LoggerFunc = config.LoggerFunc; }
public NodeDeallocationEventArgs(YGNode node, YGConfig config) : base(node) { Config = config; }
public static void Log(YGConfig config, YGLogLevel level, object context, string message) { Log(config, null, level, context, message); }