Logging improvements

This commit is contained in:
2014-05-08 14:30:44 -04:00
parent ff0b2a140c
commit 979e73def9
3 changed files with 16 additions and 2 deletions
+2 -2
View File
@@ -151,8 +151,8 @@ namespace MileageTraker.Web.ViewModels.Log
public override string ToString()
{
return string.Format(
"vehicle: {0}, odo: {1}, type: {2}, city: {3}, gas: {4}, purpose: {5}, date: {6}",
VehicleId, EndOdometer, LogType, CityName, GasPurchased, Purpose, Date.ToShortDateString());
"vehicle: {0}, odo: {1}, type: {2}, city: {3}, gas: {4}, purpose: {5}, date: {6}, user: {7}",
VehicleId, EndOdometer, LogType, CityName, GasPurchased, Purpose, Date.ToShortDateString(), UserFullName);
}
}
}