public static void MaybeLog(string message, [CallerFilePath] string filePath = "", [CallerLineNumber] int lineNumber = 0) { if (debug) { MetricsManager.LogInfo(filePath + ":" + lineNumber + ": " + message); } }