public void LogWarning(Func<ILogger, string> logEntryBuilder) { Debug.Write("LOG WARNING:"); Debug.WriteLine(logEntryBuilder(this)); } }