make generic log prettier

This commit is contained in:
Florian Stinglmayr 2021-11-11 17:22:53 +01:00
parent 9657627273
commit af347a30bb

View File

@ -132,7 +132,7 @@ namespace EliteBGS.BGS {
foreach (var mission in collated) { foreach (var mission in collated) {
if (objective.Faction != null) { if (objective.Faction != null) {
output.AppendFormat("{0} for {1}\n", mission.Key, objective.Faction); output.AppendFormat("{0}\n", mission.Key);
} else { } else {
output.AppendFormat("{0}\n", mission.Key); output.AppendFormat("{0}\n", mission.Key);
} }
@ -181,6 +181,7 @@ namespace EliteBGS.BGS {
log.AppendFormat("**Date:** {0}\n", FormatDate()); log.AppendFormat("**Date:** {0}\n", FormatDate());
log.AppendFormat("**Location:** {0}\n", objective.ToShortString()); log.AppendFormat("**Location:** {0}\n", objective.ToShortString());
log.AppendFormat("**Faction:** {0}\n", objective.Faction);
log.Append("\n"); log.Append("\n");
log.Append("```\n"); log.Append("```\n");