private void Log(string action, CardEntity ce) { var player = IsLocalPlayer ? "Player " : "Opponent "; Logger.WriteLine(ce.ToString(), player + action); }
private void Log(string action, CardEntity ce) { Log(ce.ToString(), action); }
private void Log(string action, CardEntity ce) => Log(ce.ToString(), action);
private void Log(CardEntity ce, [CallerMemberName] string memberName = "", [CallerFilePath] string sourceFilePath = "") => Log(ce.ToString(), memberName, sourceFilePath);