From d2ab30e7a69bfe7efda63ae75812207377917bd3 Mon Sep 17 00:00:00 2001
From: miepzerino <o.skotnik@gmail.com>
Date: Sun, 30 Mar 2025 18:50:27 +0000
Subject: [PATCH] Merge branch 'Flexalon-UI-Layouts' into develop

---
 Assets/Flexalon/Runtime/Core/FlexalonLog.cs |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/Assets/Flexalon/Runtime/Core/FlexalonLog.cs b/Assets/Flexalon/Runtime/Core/FlexalonLog.cs
new file mode 100644
index 0000000..b047b5f
--- /dev/null
+++ b/Assets/Flexalon/Runtime/Core/FlexalonLog.cs
@@ -0,0 +1,25 @@
+using UnityEngine;
+
+namespace Flexalon
+{
+    internal class FlexalonLog
+    {
+        [System.Diagnostics.Conditional("FLEXALON_LOG")]
+        public static void Log(string message)
+        {
+            Debug.Log(message);
+        }
+
+        [System.Diagnostics.Conditional("FLEXALON_LOG")]
+        public static void Log(string message, FlexalonNode node)
+        {
+            Debug.Log(message + " (" + node?.GameObject?.name + ")");
+        }
+
+        [System.Diagnostics.Conditional("FLEXALON_LOG")]
+        public static void Log(string message, FlexalonNode node, params object[] values)
+        {
+            Debug.Log(message + " (" + node?.GameObject?.name + "): " + string.Join(", ", values));
+        }
+    }
+}
\ No newline at end of file

--
Gitblit v1.9.3