diff --git a/runtime/sdl/src/Runtime.cs b/runtime/sdl/src/Runtime.cs index dcab61e1..55fa4fa9 100644 --- a/runtime/sdl/src/Runtime.cs +++ b/runtime/sdl/src/Runtime.cs @@ -55,7 +55,12 @@ public IBitmap Cursor CursorChanged?.Invoke(this, EventArgs.Empty); } } + +#if RELEASE + public void Log(string value, params object[] formatArgs) { } +#else public void Log(string value, params object[] formatArgs) => Console.WriteLine(value, formatArgs); +#endif Platform IRuntime.CurrentPlatform => Platform.Windows; string IRuntime.StorageDirectory => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CivOne");