Performance Fish

This commit is contained in:
bbradson
2022-10-24 18:24:02 +02:00
parent 594b32b4ef
commit 2efa8e466c
69 changed files with 9147 additions and 3 deletions
+23
View File
@@ -0,0 +1,23 @@
// Copyright (c) 2022 bradson
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
using System.Diagnostics;
namespace PerformanceFish;
/// <summary>
/// Log Functions that only do something when compiling in Debug Mode
/// </summary>
public static class DebugLog
{
[Conditional("DEBUG")]
public static void Message(string text) => Log.Message(text);
[Conditional("DEBUG")]
public static void Warning(string text) => Log.Warning(text);
[Conditional("DEBUG")]
public static void Error(string text) => Log.Error(text);
}